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