3.0 Prerelease 38 2024-02-07
Downloads:
Bug Fixes
ZScript
- return enemy x,y when getting fairy item x,y
38d6fb23d
Setting
item->X,Y
on 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->X
causing the engine fairy movement to halt. - consider PEEK when finding function calls for structured zasm
c45c5f5e7
The structured zasm builder assumed all function calls are followed by
POP D4
in older scripts. However, ifPOP D4
is followed byPUSH D4
then 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
694d589f6
The 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