dhewm3-sdk/game/script
Daniel Gibson 1e80eac345 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-06 04:56:53 +02:00
..
Script_Compiler.cpp Fix "t->c->value.argSize == func->parmTotal" Assertion in Scripts, #303 2020-09-06 04:56:53 +02:00
Script_Compiler.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Script_Interpreter.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Script_Interpreter.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Script_Program.cpp More logging cleanup 2018-08-20 01:46:36 +02:00
Script_Program.h Increase Script MAX_GLOBALS in game/ 2020-09-06 04:27:04 +02:00
Script_Thread.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Script_Thread.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00