diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 11:40:26 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 11:40:26 -0500 |
commit | 2c2d9e9f39ea780b5a04159f9c62fd5540471b86 (patch) | |
tree | ee77e44a683cdc656196f4a04a643fed72de7ad5 /src/game_data.h | |
parent | b2b60f8ade218920dc3eb5304e7abb7dfa9f3a8d (diff) | |
download | lingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.tar.gz lingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.tar.bz2 lingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.zip |
Fix pilgrimage detection for vanilla doors
Also add new pilgrimage options.
Diffstat (limited to 'src/game_data.h')
-rw-r--r-- | src/game_data.h | 9 |
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 | |||
35 | enum class DoorType { | ||
36 | kNormal, | ||
37 | kSunwarp, | ||
38 | kSunPainting, | ||
32 | }; | 39 | }; |
33 | 40 | ||
34 | struct Panel { | 41 | struct 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 | ||
74 | struct Exit { | 82 | struct Exit { |
@@ -120,5 +128,6 @@ const Panel& GD_GetPanel(int panel_id); | |||
120 | int GD_GetRoomForPainting(const std::string& painting_id); | 128 | int GD_GetRoomForPainting(const std::string& painting_id); |
121 | const std::vector<int>& GD_GetAchievementPanels(); | 129 | const std::vector<int>& GD_GetAchievementPanels(); |
122 | int GD_GetItemIdForColor(LingoColor color); | 130 | int GD_GetItemIdForColor(LingoColor color); |
131 | const 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 */ |