dhewm3/neo/game/script
Daniel Gibson c4c7236352 Fix "t->c->value.argSize == func->parmTotal" Assertion in Scripts, #303
If a "class" (object) in a Script has multiple member function
prototypes, and one function implementation later calls another before
that is implemented, there was an assertion when the script was parsed
(at map start), because the size of function arguments at the call-site
didn't match what the function expected - because the function hadn't
calculated that size yet, that only happened once its own
implementation was parsed.
Now it's calculated (and stored) when the prototype/declaration is
parsed to prevent this issue, which seems to be kinda common with Mods,
esp. Script-only mods, as the release game DLLs had Assertions disabled.
2020-09-05 20:46:01 +02:00
..
Script_Compiler.cpp Fix "t->c->value.argSize == func->parmTotal" Assertion in Scripts, #303 2020-09-05 20:46:01 +02:00
Script_Compiler.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Interpreter.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Interpreter.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Program.cpp More logging cleanup 2012-07-20 00:12:55 +02:00
Script_Program.h Increase Script MAX_GLOBALS in vanilla game DLL 2018-11-05 04:33:57 +01:00
Script_Thread.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Script_Thread.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00