Interface for accessing dungeon game state. More...
#include <dungeon_state.h>

Public Member Functions | |
| virtual | ~DungeonState ()=default |
| virtual bool | IsChestOpen (int room_id, int chest_index) const =0 |
| virtual bool | IsBigChestOpen () const =0 |
| virtual bool | IsBigChestOpen (int room_id, int chest_index) const |
| virtual bool | IsDoorOpen (int room_id, int door_index) const =0 |
| virtual bool | IsDoorSwitchActive (int room_id) const =0 |
| virtual bool | IsBigKeyLockOpen (int room_id, int room_event_index) const |
| virtual bool | IsWaterFaceActive (int room_id) const |
| virtual bool | IsDamFloodgateOpen (int room_id) const |
| virtual bool | IsWallMoved (int room_id) const =0 |
| virtual bool | IsFloorBombable (int room_id) const =0 |
| virtual bool | IsRupeeFloorCleared (int room_id) const =0 |
| virtual bool | IsCrystalSwitchBlue () const =0 |
Interface for accessing dungeon game state.
This interface abstracts the access to game state variables (SRAM/RAM) that affect object rendering and logic. This allows the editor to simulate game state without a full emulator running.
Definition at line 16 of file dungeon_state.h.
|
virtualdefault |
|
pure virtual |
Implemented in yaze::zelda3::EditorDungeonState, yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Referenced by yaze::zelda3::draw_routines::DrawChest(), IsBigChestOpen(), and IsBigKeyLockOpen().
|
pure virtual |
Implemented in yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, yaze::zelda3::EditorDungeonState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Referenced by yaze::zelda3::ObjectDrawer::DrawBigChest(), and IsBigChestOpen().
|
inlinevirtual |
Reimplemented in yaze::zelda3::EditorDungeonState.
Definition at line 26 of file dungeon_state.h.
References IsBigChestOpen(), and IsChestOpen().

|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Definition at line 39 of file dungeon_state.h.
References IsChestOpen().
Referenced by yaze::zelda3::ObjectDrawer::DrawBigKeyLock().

|
inlinevirtual |
Reimplemented in yaze::zelda3::EditorDungeonState, yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Definition at line 45 of file dungeon_state.h.
Referenced by yaze::zelda3::draw_routines::DrawEmptyWaterFace().
|
inlinevirtual |
Reimplemented in yaze::zelda3::EditorDungeonState, yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Definition at line 52 of file dungeon_state.h.
Referenced by yaze::zelda3::draw_routines::anonymous_namespace{special_routines.cc}::DrawDamFloodGate().
|
pure virtual |
Implemented in yaze::zelda3::EditorDungeonState, yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Referenced by yaze::zelda3::draw_routines::DrawMovingWallEast(), and yaze::zelda3::draw_routines::DrawMovingWallWest().
|
pure virtual |
Implemented in yaze::zelda3::EditorDungeonState, yaze::cli::anonymous_namespace{dungeon_object_validate_commands.cc}::ActiveValidationState, and yaze::zelda3::anonymous_namespace{object_geometry.cc}::MeasurementDungeonState.
Referenced by yaze::zelda3::draw_routines::DrawBigLightBeamOnFloor(), and yaze::zelda3::draw_routines::DrawBombableFloor().
|
pure virtual |
|
pure virtual |