mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-25 05:51:15 +00:00
8ff66b7eab
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. |
||
---|---|---|
.. | ||
Script_Compiler.cpp | ||
Script_Compiler.h | ||
Script_Interpreter.cpp | ||
Script_Interpreter.h | ||
Script_Program.cpp | ||
Script_Program.h | ||
Script_Thread.cpp | ||
Script_Thread.h |