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 5c37b56..c514489 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, kPANELS_MODE = 1, kDOORS_MODE = 2 }; | 13 | enum DoorShuffleMode { kNO_DOORS = 0, kPANELS_MODE = 1, kDOORS_MODE = 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 | ||
@@ -48,6 +70,18 @@ bool AP_HasAchievement(const std::string& achievement_name); | |||
48 | 70 | ||
49 | bool AP_HasEarlyColorHallways(); | 71 | bool AP_HasEarlyColorHallways(); |
50 | 72 | ||
73 | bool AP_IsPilgrimageEnabled(); | ||
74 | |||
75 | bool AP_DoesPilgrimageAllowRoofAccess(); | ||
76 | |||
77 | bool AP_DoesPilgrimageAllowPaintings(); | ||
78 | |||
79 | SunwarpAccess AP_GetSunwarpAccess(); | ||
80 | |||
81 | bool AP_IsSunwarpShuffle(); | ||
82 | |||
83 | const std::map<int, SunwarpMapping>& AP_GetSunwarpMapping(); | ||
84 | |||
51 | bool AP_HasReachedGoal(); | 85 | bool AP_HasReachedGoal(); |
52 | 86 | ||
53 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); | 87 | std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); |