diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-12 17:48:02 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-12 17:48:02 -0400 |
commit | ea16cff14ff4faf5782da8ff684a6ec412b7b6ac (patch) | |
tree | a5f09508f2f6c5e969a993de67181d5e94878924 /src/game_data.h | |
parent | 8edd1bfd4ed2a42c28830f6c6575684aa3461b77 (diff) | |
download | lingo-ap-tracker-ea16cff14ff4faf5782da8ff684a6ec412b7b6ac.tar.gz lingo-ap-tracker-ea16cff14ff4faf5782da8ff684a6ec412b7b6ac.tar.bz2 lingo-ap-tracker-ea16cff14ff4faf5782da8ff684a6ec412b7b6ac.zip |
Started making subway map
Diffstat (limited to 'src/game_data.h')
-rw-r--r-- | src/game_data.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/game_data.h b/src/game_data.h index cd09627..37d1eb3 100644 --- a/src/game_data.h +++ b/src/game_data.h | |||
@@ -62,6 +62,7 @@ struct ProgressiveRequirement { | |||
62 | }; | 62 | }; |
63 | 63 | ||
64 | struct Door { | 64 | struct Door { |
65 | int id; | ||
65 | int room; | 66 | int room; |
66 | std::string name; | 67 | std::string name; |
67 | std::string location_name; | 68 | std::string location_name; |
@@ -118,6 +119,28 @@ struct MapArea { | |||
118 | bool hunt = false; | 119 | bool hunt = false; |
119 | }; | 120 | }; |
120 | 121 | ||
122 | enum class SubwaySunwarpType { | ||
123 | kEnter, | ||
124 | kExit, | ||
125 | kFinal | ||
126 | }; | ||
127 | |||
128 | struct SubwaySunwarp { | ||
129 | int dots; | ||
130 | SubwaySunwarpType type; | ||
131 | }; | ||
132 | |||
133 | struct SubwayItem { | ||
134 | int id; | ||
135 | int x; | ||
136 | int y; | ||
137 | std::optional<int> door; | ||
138 | std::vector<std::string> paintings; | ||
139 | std::vector<std::string> tags; | ||
140 | std::optional<SubwaySunwarp> sunwarp; | ||
141 | std::optional<std::string> special; | ||
142 | }; | ||
143 | |||
121 | const std::vector<MapArea>& GD_GetMapAreas(); | 144 | const std::vector<MapArea>& GD_GetMapAreas(); |
122 | const MapArea& GD_GetMapArea(int id); | 145 | const MapArea& GD_GetMapArea(int id); |
123 | int GD_GetRoomByName(const std::string& name); | 146 | int GD_GetRoomByName(const std::string& name); |
@@ -131,5 +154,7 @@ const std::vector<int>& GD_GetAchievementPanels(); | |||
131 | int GD_GetItemIdForColor(LingoColor color); | 154 | int GD_GetItemIdForColor(LingoColor color); |
132 | const std::vector<int>& GD_GetSunwarpDoors(); | 155 | const std::vector<int>& GD_GetSunwarpDoors(); |
133 | int GD_GetRoomForSunwarp(int index); | 156 | int GD_GetRoomForSunwarp(int index); |
157 | const std::vector<SubwayItem>& GD_GetSubwayItems(); | ||
158 | const SubwayItem& GD_GetSubwayItem(int id); | ||
134 | 159 | ||
135 | #endif /* end of include guard: GAME_DATA_H_9C42AC51 */ | 160 | #endif /* end of include guard: GAME_DATA_H_9C42AC51 */ |