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 8a38264..aa5ac19 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
| @@ -38,6 +38,7 @@ struct Panel { | |||
| 38 | bool non_counting = false; | 38 | bool non_counting = false; |
| 39 | int ap_location_id = -1; | 39 | int ap_location_id = -1; |
| 40 | bool hunt = false; | 40 | bool hunt = false; |
| 41 | int panel_door = -1; | ||
| 41 | }; | 42 | }; |
| 42 | 43 | ||
| 43 | struct ProgressiveRequirement { | 44 | struct ProgressiveRequirement { |
| @@ -63,6 +64,12 @@ struct Door { | |||
| 63 | int ap_location_id = -1; | 64 | int ap_location_id = -1; |
| 64 | }; | 65 | }; |
| 65 | 66 | ||
| 67 | struct PanelDoor { | ||
| 68 | int ap_item_id = -1; | ||
| 69 | int group_ap_item_id = -1; | ||
| 70 | std::vector<ProgressiveRequirement> progressives; | ||
| 71 | }; | ||
| 72 | |||
| 66 | struct Exit { | 73 | struct Exit { |
| 67 | int destination_room; | 74 | int destination_room; |
| 68 | std::optional<int> door; | 75 | std::optional<int> door; |
| @@ -108,6 +115,7 @@ const Room& GD_GetRoom(int room_id); | |||
| 108 | const std::vector<Door>& GD_GetDoors(); | 115 | const std::vector<Door>& GD_GetDoors(); |
| 109 | const Door& GD_GetDoor(int door_id); | 116 | const Door& GD_GetDoor(int door_id); |
| 110 | const Panel& GD_GetPanel(int panel_id); | 117 | const Panel& GD_GetPanel(int panel_id); |
| 118 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | ||
| 111 | int GD_GetRoomForPainting(const std::string& painting_id); | 119 | int GD_GetRoomForPainting(const std::string& painting_id); |
| 112 | const std::vector<int>& GD_GetAchievementPanels(); | 120 | const std::vector<int>& GD_GetAchievementPanels(); |
| 113 | int GD_GetItemIdForColor(LingoColor color); | 121 | int GD_GetItemIdForColor(LingoColor color); |
