Features
- Trigger flag 'Apply Discount', allows wealth medal discount to apply to trigger counter costs
7ffb36113
- 'Light Wave' effect for dark room lights
b46b96c18
Makes the lights increase and decrease radius in a sine wave pattern, with a specified rate and size. Lantern items have a checkbox to ignore this effect.
ZScript
- add
@Bitflags
enum annotation (#1064)c089b2af1
This annotation turns an enum into a bitflags enum:
- Auto-incrementing values starting at 1 and doubling the previous for each new enum member
- For type safety, bitwise operations on enum bitflags are only allowed with the same type
For example:
@Bitflags("int") // "long" is also supported enum SomeBitflags { Fast, Big, Loud, }; @Bitflags("int") enum OtherBitflags { Combo, Enemy, Weapon, }; auto x = Fast | Big; // inferred type is SomeBitflags if (x & Enemy) // Errors, scripter accidentally used the wrong enum. // ...
Co-authored-by: Connor Clark cjamcl@gmail.com
Visual Studio Code Extension
- support Go To Definition for function return type
ea021739a
Also support tooltip showing up when hovering over declarations.
- support 'Find all references'
e15861fc0
For now, this is only able to list all references within the current file.
Bug Fixes
- System menu mouse responsiveness
25027ba99
Holding left-click and dragging across menus now allows going through multiple 'submenus' at once, including going back up to clicked-on parent menus. These were features of the old menu system, which were lost during the system upgrade.
- prevent crash when loading midi with 32 tracks
45b09b94b
Player
- some collision issues related to 4-way movement with no-gridlock enabled.
95d63d727
- 'Platform' ffcs teleporting the player as the screen loads
364a014f7
- Game time shows in-game, even when you've 'cheated'
01614ff3c
Editor
- lockblock/chest combo wizard bad field for counter amount
5b2e5ccb2
- description of 'Consume w/o trig' triggerflag was misleading
6be636e6d
ZScript
- improve comment parser linkification by skipping when in backticks
66b437106
- prevent many out-of-bounds reads/writes
e85392e65
Documentation
- add new zscript language documentation (#1061)
e1cfeefd1
Co-authored-by: Connor Clark cjamcl@gmail.com
- remove zscript intro from tutorial toctree, broke prev/next order
fab7b4a50
Refactors
- move src/zc/zc_custom.cpp to src/hero_tiles.cpp
5d9810165
ZScript
- tidy up std, move many enum/constants to bindings (#1065)
45b9f1794
Many constants are now named enums, and moved from
std
to binding files (which are imported automatically). This allows these values to be used with internal bindings (likeGame->
) without importingstd
; and improves documentation by giving everything a reference-able name.Also did a large general clean up of documentation comments, and made sure every internal function/variable documents what enum applies to it.
Removed many unused or unimplemented features.
- add @deprecated_getter
7a64c6ee3
- minor comment fixes
84e93831c
Visual Studio Code Extension
- add job pool, improve script processing
6e70798b2
Tests
Visual Studio Code Extension
- add tests for 2.55 and 3.0
c9334a381
Also:
- On Mac, can now use path to
.app
bundle as installation folder - For 2.55, fix bug where parser errors underlined the entire line
- On Mac, can now use path to
CI
- move update_auto_script_tests.py after replays
2319ae6a3