port: moved the max explosions config to the .ini file

This commit is contained in:
Raf committed 2025-05-30 01:25:18 -03:00
1 parent a040b29d40
commit 8037431686
5 files changed
+3 -9

No files matched your search

+1
View File
@@ -169,6 +169,7 @@ PD_CONSTRUCTOR static void gameConfigInit(void)
configRegisterInt("Game.SkipIntro", &g_SkipIntro, 0, 1);
configRegisterInt("Game.DisableMpDeathMusic", &g_MusicDisableMpDeath, 0, 1);
configRegisterInt("Game.GEMuzzleFlashes", &g_BgunGeMuzzleFlashes, 0, 1);
configRegisterInt("Game.MaxExplosions", &g_MaxExplosions, 6, 96);
for (s32 j = 0; j < MAX_PLAYERS; ++j) {
const s32 i = j + 1;
configRegisterFloat(strFmt("Game.Player%d.FovY", i), &g_PlayerExtCfg[j].fovy, 5.f, 175.f);