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, 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
43struct ProgressiveRequirement { 44struct ProgressiveRequirement {
@@ -63,6 +64,12 @@ struct Door {
63 int ap_location_id = -1; 64 int ap_location_id = -1;
64}; 65};
65 66
67struct PanelDoor {
68 int ap_item_id = -1;
69 int group_ap_item_id = -1;
70 std::vector<ProgressiveRequirement> progressives;
71};
72
66struct Exit { 73struct 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);
108const std::vector<Door>& GD_GetDoors(); 115const std::vector<Door>& GD_GetDoors();
109const Door& GD_GetDoor(int door_id); 116const Door& GD_GetDoor(int door_id);
110const Panel& GD_GetPanel(int panel_id); 117const Panel& GD_GetPanel(int panel_id);
118const PanelDoor& GD_GetPanelDoor(int panel_door_id);
111int GD_GetRoomForPainting(const std::string& painting_id); 119int GD_GetRoomForPainting(const std::string& painting_id);
112const std::vector<int>& GD_GetAchievementPanels(); 120const std::vector<int>& GD_GetAchievementPanels();
113int GD_GetItemIdForColor(LingoColor color); 121int GD_GetItemIdForColor(LingoColor color);