yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::DungeonMapSnapshot Struct Reference

Snapshot of dungeon map editing state for undo/redo. More...

#include <screen_undo_actions.h>

Collaboration diagram for yaze::editor::DungeonMapSnapshot:

Public Attributes

int dungeon_index = 0
 
zelda3::DungeonMap map_data {0, 0, 0, {}, {}}
 
std::vector< std::array< std::string, zelda3::kNumRooms > > labels
 

Detailed Description

Snapshot of dungeon map editing state for undo/redo.

Captures the full DungeonMap for one dungeon (floor_rooms, floor_gfx, boss_room, nbr_of_floor, nbr_of_basement) so that undo restores the previous layout and redo re-applies the change.

Definition at line 35 of file screen_undo_actions.h.

Member Data Documentation

◆ dungeon_index

int yaze::editor::DungeonMapSnapshot::dungeon_index = 0

◆ map_data

◆ labels

std::vector<std::array<std::string, zelda3::kNumRooms> > yaze::editor::DungeonMapSnapshot::labels

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