dhewm3-sdk/game/script
Daniel Gibson 1f0e16fae2 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.
2021-01-18 03:05:03 +01:00
..
Script_Compiler.cpp Fix "t->c->value.argSize == func->parmTotal" Assertion in Scripts, #303 2021-01-18 03:05:03 +01: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 Ruiner compiles 2018-08-27 15:13:36 +02:00
Script_Program.cpp More logging cleanup 2018-08-20 01:46:36 +02:00
Script_Program.h Increased max globals 2018-10-21 04:31:15 +02:00
Script_Thread.cpp Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Script_Thread.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00