diff options
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 23f7b3a..197585c 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
@@ -55,6 +55,7 @@ struct Panel { | |||
55 | bool non_counting = false; | 55 | bool non_counting = false; |
56 | int ap_location_id = -1; | 56 | int ap_location_id = -1; |
57 | bool hunt = false; | 57 | bool hunt = false; |
58 | int panel_door = -1; | ||
58 | }; | 59 | }; |
59 | 60 | ||
60 | struct ProgressiveRequirement { | 61 | struct ProgressiveRequirement { |
@@ -82,6 +83,12 @@ struct Door { | |||
82 | DoorType type = DoorType::kNormal; | 83 | DoorType type = DoorType::kNormal; |
83 | }; | 84 | }; |
84 | 85 | ||
86 | struct PanelDoor { | ||
87 | int ap_item_id = -1; | ||
88 | int group_ap_item_id = -1; | ||
89 | std::vector<ProgressiveRequirement> progressives; | ||
90 | }; | ||
91 | |||
85 | struct Exit { | 92 | struct Exit { |
86 | int source_room; | 93 | int source_room; |
87 | int destination_room; | 94 | int destination_room; |
@@ -158,6 +165,7 @@ const std::vector<Door>& GD_GetDoors(); | |||
158 | const Door& GD_GetDoor(int door_id); | 165 | const Door& GD_GetDoor(int door_id); |
159 | int GD_GetDoorByName(const std::string& name); | 166 | int GD_GetDoorByName(const std::string& name); |
160 | const Panel& GD_GetPanel(int panel_id); | 167 | const Panel& GD_GetPanel(int panel_id); |
168 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | ||
161 | const PaintingExit& GD_GetPaintingExit(int painting_id); | 169 | const PaintingExit& GD_GetPaintingExit(int painting_id); |
162 | int GD_GetPaintingByName(const std::string& name); | 170 | int GD_GetPaintingByName(const std::string& name); |
163 | const std::vector<int>& GD_GetAchievementPanels(); | 171 | const std::vector<int>& GD_GetAchievementPanels(); |