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 3179365..9b6f3b2 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -56,6 +56,7 @@ struct Panel {
56 bool non_counting = false; 56 bool non_counting = false;
57 int ap_location_id = -1; 57 int ap_location_id = -1;
58 bool hunt = false; 58 bool hunt = false;
59 int panel_door = -1;
59}; 60};
60 61
61struct ProgressiveRequirement { 62struct ProgressiveRequirement {
@@ -83,6 +84,12 @@ struct Door {
83 DoorType type = DoorType::kNormal; 84 DoorType type = DoorType::kNormal;
84}; 85};
85 86
87struct PanelDoor {
88 int ap_item_id = -1;
89 int group_ap_item_id = -1;
90 std::vector<ProgressiveRequirement> progressives;
91};
92
86struct Exit { 93struct Exit {
87 int source_room; 94 int source_room;
88 int destination_room; 95 int destination_room;
@@ -161,6 +168,7 @@ const std::vector<Door>& GD_GetDoors();
161const Door& GD_GetDoor(int door_id); 168const Door& GD_GetDoor(int door_id);
162int GD_GetDoorByName(const std::string& name); 169int GD_GetDoorByName(const std::string& name);
163const Panel& GD_GetPanel(int panel_id); 170const Panel& GD_GetPanel(int panel_id);
171const PanelDoor& GD_GetPanelDoor(int panel_door_id);
164const PaintingExit& GD_GetPaintingExit(int painting_id); 172const PaintingExit& GD_GetPaintingExit(int painting_id);
165int GD_GetPaintingByName(const std::string& name); 173int GD_GetPaintingByName(const std::string& name);
166const std::vector<int>& GD_GetAchievementPanels(); 174const std::vector<int>& GD_GetAchievementPanels();