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 cd09627..09824d7 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
| @@ -53,6 +53,7 @@ struct Panel { | |||
| 53 | bool non_counting = false; | 53 | bool non_counting = false; |
| 54 | int ap_location_id = -1; | 54 | int ap_location_id = -1; |
| 55 | bool hunt = false; | 55 | bool hunt = false; |
| 56 | int panel_door = -1; | ||
| 56 | }; | 57 | }; |
| 57 | 58 | ||
| 58 | struct ProgressiveRequirement { | 59 | struct ProgressiveRequirement { |
| @@ -79,6 +80,12 @@ struct Door { | |||
| 79 | DoorType type = DoorType::kNormal; | 80 | DoorType type = DoorType::kNormal; |
| 80 | }; | 81 | }; |
| 81 | 82 | ||
| 83 | struct PanelDoor { | ||
| 84 | int ap_item_id = -1; | ||
| 85 | int group_ap_item_id = -1; | ||
| 86 | std::vector<ProgressiveRequirement> progressives; | ||
| 87 | }; | ||
| 88 | |||
| 82 | struct Exit { | 89 | struct Exit { |
| 83 | int destination_room; | 90 | int destination_room; |
| 84 | std::optional<int> door; | 91 | std::optional<int> door; |
| @@ -126,6 +133,7 @@ const std::vector<Door>& GD_GetDoors(); | |||
| 126 | const Door& GD_GetDoor(int door_id); | 133 | const Door& GD_GetDoor(int door_id); |
| 127 | int GD_GetDoorByName(const std::string& name); | 134 | int GD_GetDoorByName(const std::string& name); |
| 128 | const Panel& GD_GetPanel(int panel_id); | 135 | const Panel& GD_GetPanel(int panel_id); |
| 136 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | ||
| 129 | int GD_GetRoomForPainting(const std::string& painting_id); | 137 | int GD_GetRoomForPainting(const std::string& painting_id); |
| 130 | const std::vector<int>& GD_GetAchievementPanels(); | 138 | const std::vector<int>& GD_GetAchievementPanels(); |
| 131 | int GD_GetItemIdForColor(LingoColor color); | 139 | int GD_GetItemIdForColor(LingoColor color); |
