about summary refs log tree commit diff stats
path: root/src/game_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_data.h')
-rw-r--r--src/game_data.h8
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
36enum class DoorType { 37enum 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
62struct ProgressiveRequirement { 64struct ProgressiveRequirement {
@@ -85,10 +87,10 @@ struct Door {
85}; 87};
86 88
87struct PanelDoor { 89struct 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
94struct Exit { 96struct Exit {
@@ -176,6 +178,7 @@ const std::vector<Door>& GD_GetDoors();
176const Door& GD_GetDoor(int door_id); 178const Door& GD_GetDoor(int door_id);
177int GD_GetDoorByName(const std::string& name); 179int GD_GetDoorByName(const std::string& name);
178const Panel& GD_GetPanel(int panel_id); 180const Panel& GD_GetPanel(int panel_id);
181int GD_GetPanelBySolveIndex(int solve_index);
179const PanelDoor& GD_GetPanelDoor(int panel_door_id); 182const PanelDoor& GD_GetPanelDoor(int panel_door_id);
180const std::vector<PaintingExit>& GD_GetPaintings(); 183const std::vector<PaintingExit>& GD_GetPaintings();
181const PaintingExit& GD_GetPaintingExit(int painting_id); 184const PaintingExit& GD_GetPaintingExit(int painting_id);
@@ -188,5 +191,8 @@ const std::vector<SubwayItem>& GD_GetSubwayItems();
188const SubwayItem& GD_GetSubwayItem(int id); 191const SubwayItem& GD_GetSubwayItem(int id);
189std::optional<int> GD_GetSubwayItemForPainting(const std::string& painting_id); 192std::optional<int> GD_GetSubwayItemForPainting(const std::string& painting_id);
190int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp); 193int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp);
194std::string GD_GetItemName(int id);
195
196LingoColor 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 */