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 e37c276..aca4c3d 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -54,6 +54,7 @@ struct Panel {
54 bool non_counting = false; 54 bool non_counting = false;
55 int ap_location_id = -1; 55 int ap_location_id = -1;
56 bool hunt = false; 56 bool hunt = false;
57 int panel_door = -1;
57}; 58};
58 59
59struct ProgressiveRequirement { 60struct ProgressiveRequirement {
@@ -81,6 +82,12 @@ struct Door {
81 DoorType type = DoorType::kNormal; 82 DoorType type = DoorType::kNormal;
82}; 83};
83 84
85struct PanelDoor {
86 int ap_item_id = -1;
87 int group_ap_item_id = -1;
88 std::vector<ProgressiveRequirement> progressives;
89};
90
84struct Exit { 91struct Exit {
85 int destination_room; 92 int destination_room;
86 std::optional<int> door; 93 std::optional<int> door;
@@ -156,6 +163,7 @@ const std::vector<Door>& GD_GetDoors();
156const Door& GD_GetDoor(int door_id); 163const Door& GD_GetDoor(int door_id);
157int GD_GetDoorByName(const std::string& name); 164int GD_GetDoorByName(const std::string& name);
158const Panel& GD_GetPanel(int panel_id); 165const Panel& GD_GetPanel(int panel_id);
166const PanelDoor& GD_GetPanelDoor(int panel_door_id);
159const PaintingExit& GD_GetPaintingExit(int painting_id); 167const PaintingExit& GD_GetPaintingExit(int painting_id);
160int GD_GetPaintingByName(const std::string& name); 168int GD_GetPaintingByName(const std::string& name);
161const std::vector<int>& GD_GetAchievementPanels(); 169const std::vector<int>& GD_GetAchievementPanels();