Features
ZScript
-
JIT compile scripts with background threads
e0a845b53
Control how many threads are used with
[ZSCRIPT] jit_threads
.# Number of background threads for compiling scripts. # -1 to set to number of available CPU threads # -x to set to x/(number of available CPU threads) # 0 to only compile on the main thread jit_threads = -2
Visual Studio Code Extension
-
create VS Code extension
dabe7c091
This adds support to VS Code for displaying error/warning messages, syntax highlighting, and code formatting. You can install it by searching for "zscript" in the extensions Marketplace. See the extension homepage for more:
https://marketplace.visualstudio.com/items?itemName=cjamcl.zquest-lsp
-
update vscode extension keywords
6ecf0775a
Bug Fixes
Player
- check for invalid screen index in subscreen map draw
f327193e1
ZScript
- QUOTEDSTRINGs not merging for all use cases (ex. annotations)
c9caaafa5
Visual Studio Code Extension
- support missing edge case for parsing error
8b70ca3d0
Build
-
upgrade to latest allegro
845acc646
https://github.com/liballeg/allegro5/compare/68946485f315c5a6df753250ec5979ab291c60a9...c2bf1e11bed0b63539267115baf190741e0a437a
https://github.com/connorjclark/allegro5/compare/my-fork-2..my-fork-3
Refactors
Player
-
remove windows midi_patch; improve switch out/in
dc48c2763
This code was pausing/restarting MIDIs and resetting the volume in a convulted manner, likely to workaround some old bug with MIDIs seen on windows only. We've since upgraded to allegro 5, which gives a different backend for playing MIDIs, so this bug is likely ancient history now.
There was some issue with blurring window focus losing percussion, sometimes. Not sure if this change will have an impact, but let's see.
Replaced the midi_patch UI toggle with pause_in_background.
https://discord.com/channels/876899628556091432/1114306020848717904
Misc.
- set failing_frame in replays for rng desync, even in replay mode
6bbe3a0e9
- add new commit scope for the extension: vscode
57d2c1930
Visual Studio Code Extension
- publish 1.0.5
6092d4483