Increase Script MAX_GLOBALS in game/

It's the same value d3xp uses and thus probably a better default for
mods.
This commit is contained in:
Daniel Gibson 2020-09-06 04:27:04 +02:00
parent 6fe60ec230
commit 8d10759cb7

View file

@ -44,7 +44,7 @@ class idSaveGame;
class idRestoreGame; class idRestoreGame;
#define MAX_STRING_LEN 128 #define MAX_STRING_LEN 128
#define MAX_GLOBALS 196608 // in bytes #define MAX_GLOBALS 296608 // in bytes - DG: increased this to the same value d3xp uses
#define MAX_STRINGS 1024 #define MAX_STRINGS 1024
#define MAX_FUNCS 3072 #define MAX_FUNCS 3072
#define MAX_STATEMENTS 81920 // statement_t - 18 bytes last I checked #define MAX_STATEMENTS 81920 // statement_t - 18 bytes last I checked