Features
Editor
- 'Reference Tiles'
782ac109aIn the tile pages, 'RClick->Set as Reference'. This tile will now display on the left-hand side while editing any other tile, as a reference.
ZScript
- support internal vars outside classes
6fa039e16MAX_FFCis now an internal variable (needed for z3). - add
Game->HeroScreen80f87e325In 2.55, this is always equal to
Game->CurScreen. In 3.0, this updates as the player moves around. Added to 2.55 for script compatability. - add
sprite::SpawnScreenc9fbd48d7This is the screen that the sprite spawned on. In a non-scrolling region, this is the same as
Game->CurScreen. - add
Viewportbc51c3a4bThis global represents the currently visible playing field. In 2.55, this is all read-only and only changes during scroll transitions. In 3.0, the visible viewport can be modified by scripts, and updates as the player moves around a scrolling region.
- add
Screen->Indexb2436129fIn 2.55, this is always equal to
Game->CurScreen. In 3.0 scrolling regions, the value of this varies depending on the context (for example, an npc script will have this set to the screen the enemy spawned on). - add
Screen->DrawOriginf2211a3acDetermines how coordinates given to Screen drawing functions are interpreted. For more, see: https://docs.zquestclassic.com/zscript/globals/screen#globals-screen-var-draworigin
Visual Studio Code Extension
- if in zc repo, use resources folder as cwd
adc41634c
Web
- playground ?url accepts manifest files
e96fa3a29 - in playground, add all folders in manifest to includepaths
2cf001cba
Bug Fixes
Player
- broken 'Z_Eventlog
output related to ExStates [01b66de11`](https://github.com/ZQuestClassic/ZQuestClassic/commit/01b66de111ec5e3b96bf9863fe2c64c74e67fdde)
Web
- correctly apply NO_ERROR_HALT in playground - was not working on first compile
1f3219587
Documentation
- improve comment parsing for lists. add support for headers
28da49eb4 - fix rst generation issue for monospace text with no whitespace padding
bc4f40227For example, the doc comment for
bitmap::Writewas problematic. - improve support for multi-record tags
7ae890620 - show alias annotations in doc site
69fd7e21f - fix sprintf doc comments
98d7bbc98 - add @version to some newer symbols
4cfbcb663 - add tutorials/z3_user_guide.rst
1946e2dc1
Refactors
ZScript
- remove @link
1dd1ef5d1 - remove HEADER_GUARD (allow and ignore duplicate imports)
626c87772 - prevent parsing same files multiple times
20885219bBefore, every import would parse the file it included. Now, a cache is used so every file is only parsed once. This reduces compiler times (for example: compiling the binding files went from ~300ms to ~200ms).
- remove old metadata output to stdout
29ee8155a - remove imports within bindings
a310b2de2Just rely on the fact that binding files are all processed upfront, even when viewing a binding file directly with the extension.
Tests
- sleep in testDiagnostics to avoid flaky failures
498114da0 - add freeform_shutters.zplay
15fd7e5e0 - upgrade zscript database
2c72590cc
CI
- checkout private zscript database
9361eb356 - fix secret for downloading zscript database not working in forks
bacc5313d