diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 21:00:00 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-02 21:00:00 -0400 |
| commit | 1ec273825497fd6feda19079fa8006096777b11d (patch) | |
| tree | 6b705070cde43de5dbf167f636bd13428e26b3a0 /game_data.h | |
| parent | a3eaefcd38f5f92dc342a2a43d37b6571d2a7a6d (diff) | |
| download | lingo-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.h | 3 |
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); } |
