diff options
Diffstat (limited to 'src/ap_state.h')
-rw-r--r-- | src/ap_state.h | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/src/ap_state.h b/src/ap_state.h index 420a032..6667e0d 100644 --- a/src/ap_state.h +++ b/src/ap_state.h | |||
@@ -12,9 +12,31 @@ class TrackerFrame; | |||
12 | 12 | ||
13 | enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; | 13 | enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; |
14 | 14 | ||
15 | enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2 }; | 15 | enum VictoryCondition { |
16 | 16 | kTHE_END = 0, | |
17 | enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; | 17 | kTHE_MASTER = 1, |
18 | kLEVEL_2 = 2, | ||
19 | kPILGRIMAGE = 3 | ||
20 | }; | ||
21 | |||
22 | enum LocationChecks { | ||
23 | kNORMAL_LOCATIONS = 0, | ||
24 | kREDUCED_LOCATIONS = 1, | ||
25 | kPANELSANITY = 2 | ||
26 | }; | ||
27 | |||
28 | enum SunwarpAccess { | ||
29 | kSUNWARP_ACCESS_NORMAL = 0, | ||
30 | kSUNWARP_ACCESS_DISABLED = 1, | ||
31 | kSUNWARP_ACCESS_UNLOCK = 2, | ||
32 | kSUNWARP_ACCESS_INDIVIDUAL = 3, | ||
33 | kSUNWARP_ACCESS_PROGRESSIVE = 4 | ||
34 | }; | ||
35 | |||
36 | struct SunwarpMapping { | ||
37 | int dots; | ||
38 | int exit_index; | ||
39 | }; | ||
18 | 40 | ||
19 | void AP_SetTrackerFrame(TrackerFrame* tracker_frame); | 41 | void AP_SetTrackerFrame(TrackerFrame* tracker_frame); |
20 | 42 | ||
@@ -46,6 +68,18 @@ bool AP_HasAchievement(const std::string& achievement_name); | |||
46 | 68 | ||
47 | bool AP_HasEarlyColorHallways(); | 69 | bool AP_HasEarlyColorHallways(); |
48 | 70 | ||
71 | bool AP_IsPilgrimageEnabled(); | ||
72 | |||
73 | bool AP_DoesPilgrimageAllowRoofAccess(); | ||
74 | |||
75 | bool AP_DoesPilgrimageAllowPaintings(); | ||
76 | |||
77 | SunwarpAccess AP_GetSunwarpAccess(); | ||
78 | |||
79 | bool AP_IsSunwarpShuffle(); | ||
80 | |||
81 | const std::map<int, SunwarpMapping>& AP_GetSunwarpMapping(); | ||
82 | |||
49 | bool AP_HasReachedGoal(); | 83 | bool AP_HasReachedGoal(); |
50 | 84 | ||
51 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); | 85 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); |