Replace literal numbers with MAX_BOTS and MAX_MPCHRS constants where appropriate

This commit is contained in:
Ryan Dwyer
2022-01-14 07:57:44 +10:00
parent aeeaecea17
commit 653069fe07
16 changed files with 99 additions and 97 deletions
+3 -3
View File
@@ -284,12 +284,12 @@ extern u32 var800ac4cc;
extern struct chrdata *g_MpAllChrPtrs[MAX_MPCHRS];
extern struct mpchrconfig *g_MpAllChrConfigPtrs[MAX_MPCHRS];
extern s32 g_MpNumChrs;
extern struct mpbotconfig g_BotConfigsArray[MAX_SIMULANTS];
extern u8 g_MpSimulantDifficultiesPerNumPlayers[8][4];
extern struct mpbotconfig g_BotConfigsArray[MAX_BOTS];
extern u8 g_MpSimulantDifficultiesPerNumPlayers[MAX_BOTS][4];
extern struct mpplayerconfig g_PlayerConfigsArray[6];
extern u8 g_AmBotCommands[16];
extern struct mpsetup g_MpSetup;
extern struct bossfile g_BossFile;
extern struct chrdata *g_MpBotChrPtrs[MAX_SIMULANTS];
extern struct chrdata *g_MpBotChrPtrs[MAX_BOTS];
#endif