0
0
Fork 0
mirror of https://github.com/dhewm/dhewm3.git synced 2025-03-21 10:11:01 +00:00

Increase Script MAX_GLOBALS in vanilla game DLL

It's the same value d3xp uses.
This is for mods that have their own (more complex) scripts, but use
the standard base.dll/.so
This commit is contained in:
Daniel Gibson 2018-11-05 04:33:46 +01:00
parent cd0a11f974
commit f407b2b8e9

View file

@ -44,7 +44,7 @@ class idSaveGame;
class idRestoreGame;
#define MAX_STRING_LEN 128
#define MAX_GLOBALS 196608 // in bytes
#define MAX_GLOBALS 296608 // in bytes - DG: increased this for better support of mods that use the vanilla game dll
#define MAX_STRINGS 1024
#define MAX_FUNCS 3072
#define MAX_STATEMENTS 81920 // statement_t - 18 bytes last I checked