about summary refs log tree commit diff stats
path: root/game_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'game_data.h')
-rw-r--r--game_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/game_data.h b/game_data.h index ec3e94d..3c50b68 100644 --- a/game_data.h +++ b/game_data.h
@@ -36,6 +36,7 @@ struct Door {
36 std::string item_name; 36 std::string item_name;
37 std::string group_name; 37 std::string group_name;
38 bool skip_location = false; 38 bool skip_location = false;
39 bool skip_item = false;
39 std::vector<int> panels; 40 std::vector<int> panels;
40 bool exclude_reduce = true; 41 bool exclude_reduce = true;
41}; 42};
@@ -79,6 +80,8 @@ class GameData {
79 80
80 const Room& GetRoom(int room_id) const { return rooms_.at(room_id); } 81 const Room& GetRoom(int room_id) const { return rooms_.at(room_id); }
81 82
83 const std::vector<Door>& GetDoors() const { return doors_; }
84
82 const Door& GetDoor(int door_id) const { return doors_.at(door_id); } 85 const Door& GetDoor(int door_id) const { return doors_.at(door_id); }
83 86
84 const Panel& GetPanel(int panel_id) const { return panels_.at(panel_id); } 87 const Panel& GetPanel(int panel_id) const { return panels_.at(panel_id); }