diff options
Diffstat (limited to 'src/game_data.h')
| -rw-r--r-- | src/game_data.h | 9 |
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/game_data.h b/src/game_data.h index b787e6f..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,7 +83,14 @@ 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 { |
| 93 | int source_room; | ||
| 86 | int destination_room; | 94 | int destination_room; |
| 87 | std::optional<int> door; | 95 | std::optional<int> door; |
| 88 | EntranceType type = EntranceType::kNormal; | 96 | EntranceType type = EntranceType::kNormal; |
| @@ -157,6 +165,7 @@ const std::vector<Door>& GD_GetDoors(); | |||
| 157 | const Door& GD_GetDoor(int door_id); | 165 | const Door& GD_GetDoor(int door_id); |
| 158 | int GD_GetDoorByName(const std::string& name); | 166 | int GD_GetDoorByName(const std::string& name); |
| 159 | const Panel& GD_GetPanel(int panel_id); | 167 | const Panel& GD_GetPanel(int panel_id); |
| 168 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | ||
| 160 | const PaintingExit& GD_GetPaintingExit(int painting_id); | 169 | const PaintingExit& GD_GetPaintingExit(int painting_id); |
| 161 | int GD_GetPaintingByName(const std::string& name); | 170 | int GD_GetPaintingByName(const std::string& name); |
| 162 | const std::vector<int>& GD_GetAchievementPanels(); | 171 | const std::vector<int>& GD_GetAchievementPanels(); |
