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
Script_Interpreter.cpp
Script_Interpreter.h
Script_Program.cpp
Script_Program.h Increase Script MAX_GLOBALS in vanilla game DLL 2018-11-05 04:33:57 +01:00
Script_Thread.cpp
Script_Thread.h