diff options
Diffstat (limited to 'src/game_data.h')
-rw-r--r-- | src/game_data.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game_data.h b/src/game_data.h index 24760de..ac911e5 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
@@ -57,6 +57,7 @@ struct Panel { | |||
57 | int ap_location_id = -1; | 57 | int ap_location_id = -1; |
58 | bool hunt = false; | 58 | bool hunt = false; |
59 | int panel_door = -1; | 59 | int panel_door = -1; |
60 | int solve_index = -1; | ||
60 | }; | 61 | }; |
61 | 62 | ||
62 | struct ProgressiveRequirement { | 63 | struct ProgressiveRequirement { |
@@ -85,10 +86,10 @@ struct Door { | |||
85 | }; | 86 | }; |
86 | 87 | ||
87 | struct PanelDoor { | 88 | struct PanelDoor { |
88 | int room; | ||
89 | int ap_item_id = -1; | 89 | int ap_item_id = -1; |
90 | int group_ap_item_id = -1; | 90 | int group_ap_item_id = -1; |
91 | std::vector<ProgressiveRequirement> progressives; | 91 | std::vector<ProgressiveRequirement> progressives; |
92 | std::string item_name; | ||
92 | }; | 93 | }; |
93 | 94 | ||
94 | struct Exit { | 95 | struct Exit { |
@@ -176,6 +177,7 @@ const std::vector<Door>& GD_GetDoors(); | |||
176 | const Door& GD_GetDoor(int door_id); | 177 | const Door& GD_GetDoor(int door_id); |
177 | int GD_GetDoorByName(const std::string& name); | 178 | int GD_GetDoorByName(const std::string& name); |
178 | const Panel& GD_GetPanel(int panel_id); | 179 | const Panel& GD_GetPanel(int panel_id); |
180 | int GD_GetPanelBySolveIndex(int solve_index); | ||
179 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); | 181 | const PanelDoor& GD_GetPanelDoor(int panel_door_id); |
180 | const std::vector<PaintingExit>& GD_GetPaintings(); | 182 | const std::vector<PaintingExit>& GD_GetPaintings(); |
181 | const PaintingExit& GD_GetPaintingExit(int painting_id); | 183 | const PaintingExit& GD_GetPaintingExit(int painting_id); |
@@ -188,5 +190,8 @@ const std::vector<SubwayItem>& GD_GetSubwayItems(); | |||
188 | const SubwayItem& GD_GetSubwayItem(int id); | 190 | const SubwayItem& GD_GetSubwayItem(int id); |
189 | std::optional<int> GD_GetSubwayItemForPainting(const std::string& painting_id); | 191 | std::optional<int> GD_GetSubwayItemForPainting(const std::string& painting_id); |
190 | int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp); | 192 | int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp); |
193 | std::string GD_GetItemName(int id); | ||
194 | |||
195 | LingoColor GetLingoColorForString(const std::string& str); | ||
191 | 196 | ||
192 | #endif /* end of include guard: GAME_DATA_H_9C42AC51 */ | 197 | #endif /* end of include guard: GAME_DATA_H_9C42AC51 */ |