diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-27 12:48:19 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-04-27 12:48:19 -0400 |
commit | 2f66b91fbc595fd19acc481567cb9946501e6d92 (patch) | |
tree | e5c9835ea2762474cdbe8395a90d2346845b6532 /src/ap_state.h | |
parent | 004fb711a86d91985d8e94e1b87089db2ac2cadc (diff) | |
parent | 9e71e02add40d0108204d0d18ae921e6b82cd77c (diff) | |
download | lingo-ap-tracker-2f66b91fbc595fd19acc481567cb9946501e6d92.tar.gz lingo-ap-tracker-2f66b91fbc595fd19acc481567cb9946501e6d92.tar.bz2 lingo-ap-tracker-2f66b91fbc595fd19acc481567cb9946501e6d92.zip |
Merge branch 'main' into panels
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(); |