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 2c18588..16d006c 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -29,6 +29,13 @@ enum class EntranceType {
29 kSunwarp, 29 kSunwarp,
30 kWarp, 30 kWarp,
31 kPilgrimage, 31 kPilgrimage,
32 kCrossroadsRoofAccess,
33};
34
35enum class DoorType {
36 kNormal,
37 kSunwarp,
38 kSunPainting,
32}; 39};
33 40
34struct Panel { 41struct Panel {
@@ -69,6 +76,7 @@ struct Door {
69 int ap_item_id = -1; 76 int ap_item_id = -1;
70 int group_ap_item_id = -1; 77 int group_ap_item_id = -1;
71 int ap_location_id = -1; 78 int ap_location_id = -1;
79 DoorType type = DoorType::kNormal;
72}; 80};
73 81
74struct Exit { 82struct Exit {
@@ -120,5 +128,6 @@ const Panel& GD_GetPanel(int panel_id);
120int GD_GetRoomForPainting(const std::string& painting_id); 128int GD_GetRoomForPainting(const std::string& painting_id);
121const std::vector<int>& GD_GetAchievementPanels(); 129const std::vector<int>& GD_GetAchievementPanels();
122int GD_GetItemIdForColor(LingoColor color); 130int GD_GetItemIdForColor(LingoColor color);
131const std::vector<int>& GD_GetSunwarpDoors();
123 132
124#endif /* end of include guard: GAME_DATA_H_9C42AC51 */ 133#endif /* end of include guard: GAME_DATA_H_9C42AC51 */