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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game_data.h b/src/game_data.h index b787e6f..197585c 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -55,6 +55,7 @@ struct Panel {
55 bool non_counting = false; 55 bool non_counting = false;
56 int ap_location_id = -1; 56 int ap_location_id = -1;
57 bool hunt = false; 57 bool hunt = false;
58 int panel_door = -1;
58}; 59};
59 60
60struct ProgressiveRequirement { 61struct ProgressiveRequirement {
@@ -82,7 +83,14 @@ struct Door {
82 DoorType type = DoorType::kNormal; 83 DoorType type = DoorType::kNormal;
83}; 84};
84 85
86struct PanelDoor {
87 int ap_item_id = -1;
88 int group_ap_item_id = -1;
89 std::vector<ProgressiveRequirement> progressives;
90};
91
85struct Exit { 92struct Exit {
93 int source_room;
86 int destination_room; 94 int destination_room;
87 std::optional<int> door; 95 std::optional<int> door;
88 EntranceType type = EntranceType::kNormal; 96 EntranceType type = EntranceType::kNormal;
@@ -157,6 +165,7 @@ const std::vector<Door>& GD_GetDoors();
157const Door& GD_GetDoor(int door_id); 165const Door& GD_GetDoor(int door_id);
158int GD_GetDoorByName(const std::string& name); 166int GD_GetDoorByName(const std::string& name);
159const Panel& GD_GetPanel(int panel_id); 167const Panel& GD_GetPanel(int panel_id);
168const PanelDoor& GD_GetPanelDoor(int panel_door_id);
160const PaintingExit& GD_GetPaintingExit(int painting_id); 169const PaintingExit& GD_GetPaintingExit(int painting_id);
161int GD_GetPaintingByName(const std::string& name); 170int GD_GetPaintingByName(const std::string& name);
162const std::vector<int>& GD_GetAchievementPanels(); 171const std::vector<int>& GD_GetAchievementPanels();