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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game_data.h b/src/game_data.h index aca4c3d..197585c 100644 --- a/src/game_data.h +++ b/src/game_data.h
@@ -22,6 +22,7 @@ enum class LingoColor {
22constexpr int kLOCATION_NORMAL = 1; 22constexpr int kLOCATION_NORMAL = 1;
23constexpr int kLOCATION_REDUCED = 2; 23constexpr int kLOCATION_REDUCED = 2;
24constexpr int kLOCATION_INSANITY = 4; 24constexpr int kLOCATION_INSANITY = 4;
25constexpr int kLOCATION_SMALL_SPHERE_ONE = 8;
25 26
26enum class EntranceType { 27enum class EntranceType {
27 kNormal, 28 kNormal,
@@ -89,6 +90,7 @@ struct PanelDoor {
89}; 90};
90 91
91struct Exit { 92struct Exit {
93 int source_room;
92 int destination_room; 94 int destination_room;
93 std::optional<int> door; 95 std::optional<int> door;
94 EntranceType type = EntranceType::kNormal; 96 EntranceType type = EntranceType::kNormal;
@@ -172,7 +174,7 @@ const std::vector<int>& GD_GetSunwarpDoors();
172int GD_GetRoomForSunwarp(int index); 174int GD_GetRoomForSunwarp(int index);
173const std::vector<SubwayItem>& GD_GetSubwayItems(); 175const std::vector<SubwayItem>& GD_GetSubwayItems();
174const SubwayItem& GD_GetSubwayItem(int id); 176const SubwayItem& GD_GetSubwayItem(int id);
175int GD_GetSubwayItemForPainting(const std::string& painting_id); 177std::optional<int> GD_GetSubwayItemForPainting(const std::string& painting_id);
176int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp); 178int GD_GetSubwayItemForSunwarp(const SubwaySunwarp& sunwarp);
177 179
178#endif /* end of include guard: GAME_DATA_H_9C42AC51 */ 180#endif /* end of include guard: GAME_DATA_H_9C42AC51 */