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-21 14:34:30 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-04-21 14:34:30 -0400
commit85b4303b60bde56c16ca0c23f9ca2407e3f8b50c (patch)
tree2dbc69d71e44166b1ee6c1a0fbbb1d9739a25048 /src/ap_state.h
parentdc56f752bb33b4e779c5507dea03a6764d08fd0a (diff)
parentf90f0847f55490167d0395ad1b9408595b4f4667 (diff)
downloadlingo-ap-tracker-85b4303b60bde56c16ca0c23f9ca2407e3f8b50c.tar.gz
lingo-ap-tracker-85b4303b60bde56c16ca0c23f9ca2407e3f8b50c.tar.bz2
lingo-ap-tracker-85b4303b60bde56c16ca0c23f9ca2407e3f8b50c.zip
Merge branch 'future' into tinysphere
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 420a032..6667e0d 100644 --- a/src/ap_state.h +++ b/src/ap_state.h
@@ -12,9 +12,31 @@ class TrackerFrame;
12 12
13enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; 13enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 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
@@ -46,6 +68,18 @@ bool AP_HasAchievement(const std::string& achievement_name);
46 68
47bool AP_HasEarlyColorHallways(); 69bool AP_HasEarlyColorHallways();
48 70
71bool AP_IsPilgrimageEnabled();
72
73bool AP_DoesPilgrimageAllowRoofAccess();
74
75bool AP_DoesPilgrimageAllowPaintings();
76
77SunwarpAccess AP_GetSunwarpAccess();
78
79bool AP_IsSunwarpShuffle();
80
81const std::map<int, SunwarpMapping>& AP_GetSunwarpMapping();
82
49bool AP_HasReachedGoal(); 83bool AP_HasReachedGoal();
50 84
51std::optional<std::tuple<int, int>> AP_GetPlayerPosition(); 85std::optional<std::tuple<int, int>> AP_GetPlayerPosition();