diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-26 15:15:50 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-11-26 15:15:50 -0500 |
commit | 1ae8293937501c3628afb7c02810aac33b832218 (patch) | |
tree | 345877810e89eb284574a40bfaba8030d0eaee7c /src/game_data.h | |
parent | 9bef147ae92afbb8803d98bee6b2be3385c948a2 (diff) | |
parent | 0e6be5bbe8c506882e8100ccaaf13a5f58079f97 (diff) | |
download | lingo-ap-tracker-1ae8293937501c3628afb7c02810aac33b832218.tar.gz lingo-ap-tracker-1ae8293937501c3628afb7c02810aac33b832218.tar.bz2 lingo-ap-tracker-1ae8293937501c3628afb7c02810aac33b832218.zip |
Merge branch 'panels'
Diffstat (limited to 'src/game_data.h')
-rw-r--r-- | src/game_data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game_data.h b/src/game_data.h index 1f6d247..b00bac9 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
@@ -56,6 +56,7 @@ struct Panel { | |||
56 | bool non_counting = false; | 56 | bool non_counting = false; |
57 | int ap_location_id = -1; | 57 | int ap_location_id = -1; |
58 | bool hunt = false; | 58 | bool hunt = false; |
59 | int panel_door = -1; | ||
59 | }; | 60 | }; |
60 | 61 | ||
61 | struct ProgressiveRequirement { | 62 | struct ProgressiveRequirement { |
@@ -83,6 +84,12 @@ struct Door { | |||
83 | DoorType type = DoorType::kNormal; | 84 | DoorType type = DoorType::kNormal; |
84 | }; | 85 | }; |
85 | 86 | ||
87 | struct PanelDoor { | ||
88 | int ap_item_id = -1; | ||
89 | int group_ap_item_id = -1; | ||
90 | std::vector<ProgressiveRequirement> progressives; | ||
91 | }; | ||
92 | |||
86 | struct Exit { | 93 | struct Exit { |
87 | int source_room; | 94 | int source_room; |
88 | int destination_room; | 95 | int destination_room; |
@@ -165,6 +172,7 @@ const std::vector<Door>& GD_GetDoors(); | |||
165 | const Door& GD_GetDoor(int door_id); | 172 | const Door& GD_GetDoor(int door_id); |
166 | int GD_GetDoorByName(const std::string& name); | 173 | int GD_GetDoorByName(const std::string& name); |
167 | const Panel& GD_GetPanel(int panel_id); | 174 | const Panel& GD_GetPanel(int panel_id); |
175 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | ||
168 | const PaintingExit& GD_GetPaintingExit(int painting_id); | 176 | const PaintingExit& GD_GetPaintingExit(int painting_id); |
169 | int GD_GetPaintingByName(const std::string& name); | 177 | int GD_GetPaintingByName(const std::string& name); |
170 | const std::vector<int>& GD_GetAchievementPanels(); | 178 | const std::vector<int>& GD_GetAchievementPanels(); |