3.0 Prerelease 38 2024-02-07
Downloads:
Bug Fixes
ZScript
- return enemy x,y when getting fairy item x,y
38d6fb23dSetting
item->X,Yon fairy items additionally sets the position of the corresponding fairy enemy sprite. However, the getter returns the item coordinate. This resulted in unexpected behavior from something harmless likeitem->X = item->Xcausing the engine fairy movement to halt. - consider PEEK when finding function calls for structured zasm
c45c5f5e7The structured zasm builder assumed all function calls are followed by
POP D4in older scripts. However, ifPOP D4is followed byPUSH D4then the compiler replaces it withPEEK D4. This oversight missed these function calls, which broke the JIT compiler and ZASM optimizations for newer 2.55 compiled scripts. - use correct config section for optimize_zasm
694d589f6The base config was using the wrong value, so it was still always on.
Build
- fix websocket cmake project from breaking CMAKE_CONFIGURATION_TYPES
a2801b774
Misc.
ZScript
- optimize PEEK in x64 and wasm jit
0ff7dee9e