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