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 cd09627..09824d7 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -53,6 +53,7 @@ struct Panel {
53 bool non_counting = false; 53 bool non_counting = false;
54 int ap_location_id = -1; 54 int ap_location_id = -1;
55 bool hunt = false; 55 bool hunt = false;
56 int panel_door = -1;
56}; 57};
57 58
58struct ProgressiveRequirement { 59struct ProgressiveRequirement {
@@ -79,6 +80,12 @@ struct Door {
79 DoorType type = DoorType::kNormal; 80 DoorType type = DoorType::kNormal;
80}; 81};
81 82
83struct PanelDoor {
84 int ap_item_id = -1;
85 int group_ap_item_id = -1;
86 std::vector<ProgressiveRequirement> progressives;
87};
88
82struct Exit { 89struct Exit {
83 int destination_room; 90 int destination_room;
84 std::optional<int> door; 91 std::optional<int> door;
@@ -126,6 +133,7 @@ const std::vector<Door>& GD_GetDoors();
126const Door& GD_GetDoor(int door_id); 133const Door& GD_GetDoor(int door_id);
127int GD_GetDoorByName(const std::string& name); 134int GD_GetDoorByName(const std::string& name);
128const Panel& GD_GetPanel(int panel_id); 135const Panel& GD_GetPanel(int panel_id);
136const PanelDoor& GD_GetPanelDoor(int panel_door_id);
129int GD_GetRoomForPainting(const std::string& painting_id); 137int GD_GetRoomForPainting(const std::string& painting_id);
130const std::vector<int>& GD_GetAchievementPanels(); 138const std::vector<int>& GD_GetAchievementPanels();
131int GD_GetItemIdForColor(LingoColor color); 139int GD_GetItemIdForColor(LingoColor color);