yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::DungeonState Class Referenceabstract

Interface for accessing dungeon game state. More...

#include <dungeon_state.h>

Inheritance diagram for yaze::zelda3::DungeonState:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~DungeonState()

virtual yaze::zelda3::DungeonState::~DungeonState ( )
virtualdefault

Member Function Documentation

◆ IsChestOpen()

◆ IsBigChestOpen() [1/2]

◆ IsBigChestOpen() [2/2]

virtual bool yaze::zelda3::DungeonState::IsBigChestOpen ( int room_id,
int chest_index ) const
inlinevirtual

Reimplemented in yaze::zelda3::EditorDungeonState.

Definition at line 26 of file dungeon_state.h.

References IsBigChestOpen(), and IsChestOpen().

Here is the call graph for this function:

◆ IsDoorOpen()

◆ IsDoorSwitchActive()

◆ IsBigKeyLockOpen()

virtual bool yaze::zelda3::DungeonState::IsBigKeyLockOpen ( int room_id,
int room_event_index ) const
inlinevirtual

Definition at line 39 of file dungeon_state.h.

References IsChestOpen().

Referenced by yaze::zelda3::ObjectDrawer::DrawBigKeyLock().

Here is the call graph for this function:

◆ IsWaterFaceActive()

◆ IsDamFloodgateOpen()

◆ IsWallMoved()

◆ IsFloorBombable()

◆ IsRupeeFloorCleared()

◆ IsCrystalSwitchBlue()


The documentation for this class was generated from the following file: