about summary refs log tree commit diff stats
path: root/src/ap_state.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-04-27 12:48:19 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-27 12:48:19 -0400
commit2f66b91fbc595fd19acc481567cb9946501e6d92 (patch)
treee5c9835ea2762474cdbe8395a90d2346845b6532 /src/ap_state.h
parent004fb711a86d91985d8e94e1b87089db2ac2cadc (diff)
parent9e71e02add40d0108204d0d18ae921e6b82cd77c (diff)
downloadlingo-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.h40
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
13enum DoorShuffleMode { kNO_DOORS = 0, kPANELS_MODE = 1, kDOORS_MODE = 2 }; 13enum DoorShuffleMode { kNO_DOORS = 0, kPANELS_MODE = 1, kDOORS_MODE = 2 };
14 14
15enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2 }; 15enum VictoryCondition {
16 16 kTHE_END = 0,
17enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; 17 kTHE_MASTER = 1,
18 kLEVEL_2 = 2,
19 kPILGRIMAGE = 3
20};
21
22enum LocationChecks {
23 kNORMAL_LOCATIONS = 0,
24 kREDUCED_LOCATIONS = 1,
25 kPANELSANITY = 2
26};
27
28enum 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
36struct SunwarpMapping {
37 int dots;
38 int exit_index;
39};
18 40
19void AP_SetTrackerFrame(TrackerFrame* tracker_frame); 41void AP_SetTrackerFrame(TrackerFrame* tracker_frame);
20 42
@@ -48,6 +70,18 @@ bool AP_HasAchievement(const std::string& achievement_name);
48 70
49bool AP_HasEarlyColorHallways(); 71bool AP_HasEarlyColorHallways();
50 72
73bool AP_IsPilgrimageEnabled();
74
75bool AP_DoesPilgrimageAllowRoofAccess();
76
77bool AP_DoesPilgrimageAllowPaintings();
78
79SunwarpAccess AP_GetSunwarpAccess();
80
81bool AP_IsSunwarpShuffle();
82
83const std::map<int, SunwarpMapping>& AP_GetSunwarpMapping();
84
51bool AP_HasReachedGoal(); 85bool AP_HasReachedGoal();
52 86
53std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); 87std::optional<std::tuple<int, int>> AP_GetPlayerPosition();