Add tests for controller fire attempt suppression and usecode interpreter functionality
- Enhanced isometric_controls_tests.cpp to include assertions for controller fire attempt suppression under various conditions. - Added tests for the Usecode interpreter in usecode_vm_tests.cpp, verifying script execution and stack manipulation. - Introduced a new PowerShell script, clean-old-build-artifacts.ps1, to facilitate the cleanup of old build artifacts in specified directories.
This commit is contained in:
parent
49a15602b6
commit
ffb1918f35
41 changed files with 3611 additions and 349 deletions
|
|
@ -16,6 +16,7 @@ namespace {
|
|||
|
||||
constexpr u16 flagInvisible = 0x0010;
|
||||
constexpr u16 flagFlipped = 0x0020;
|
||||
constexpr u16 flagEthereal = liveItemEtherealFlag;
|
||||
constexpr u32 siSolid = 0x0002;
|
||||
constexpr u32 siLand = 0x0008;
|
||||
constexpr u32 siOccl = 0x0010;
|
||||
|
|
@ -135,6 +136,9 @@ std::vector<SceneItem> collectSceneItems(
|
|||
if ((item.flags & flagInvisible) != 0 && !options.includeHiddenMarkers) {
|
||||
continue;
|
||||
}
|
||||
if ((item.flags & flagEthereal) != 0) {
|
||||
continue;
|
||||
}
|
||||
if ((info.flags & siRoof) != 0 && !options.includeRoofs) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue