about summary refs log tree commit diff stats
path: root/game_data.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 21:00:00 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-02 21:00:00 -0400
commit1ec273825497fd6feda19079fa8006096777b11d (patch)
tree6b705070cde43de5dbf167f636bd13428e26b3a0 /game_data.h
parenta3eaefcd38f5f92dc342a2a43d37b6571d2a7a6d (diff)
downloadlingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.tar.gz
lingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.tar.bz2
lingo-ap-tracker-1ec273825497fd6feda19079fa8006096777b11d.zip
Support door shuffle
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); }