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-02-28 11:40:26 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-28 11:40:26 -0500
commit2c2d9e9f39ea780b5a04159f9c62fd5540471b86 (patch)
treeee77e44a683cdc656196f4a04a643fed72de7ad5 /src/ap_state.h
parentb2b60f8ade218920dc3eb5304e7abb7dfa9f3a8d (diff)
downloadlingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.tar.gz
lingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.tar.bz2
lingo-ap-tracker-2c2d9e9f39ea780b5a04159f9c62fd5540471b86.zip
Fix pilgrimage detection for vanilla doors
Also add new pilgrimage options.
Diffstat (limited to 'src/ap_state.h')
-rw-r--r--src/ap_state.h29
1 files changed, 24 insertions, 5 deletions
diff --git a/src/ap_state.h b/src/ap_state.h index e3c2d7f..e1f34c7 100644 --- a/src/ap_state.h +++ b/src/ap_state.h
@@ -10,11 +10,26 @@ class TrackerFrame;
10 10
11enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; 11enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 };
12 12
13enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2, kPILGRIMAGE = 3 }; 13enum VictoryCondition {
14 14 kTHE_END = 0,
15enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; 15 kTHE_MASTER = 1,
16 16 kLEVEL_2 = 2,
17enum SunwarpAccess { kSUNWARP_ACCESS_NORMAL = 0, kSUNWARP_ACCESS_DISABLED = 1, kSUNWARP_ACCESS_UNLOCK = 2, kSUNWARP_ACCESS_PROGRESSIVE = 3 }; 17 kPILGRIMAGE = 3
18};
19
20enum LocationChecks {
21 kNORMAL_LOCATIONS = 0,
22 kREDUCED_LOCATIONS = 1,
23 kPANELSANITY = 2
24};
25
26enum SunwarpAccess {
27 kSUNWARP_ACCESS_NORMAL = 0,
28 kSUNWARP_ACCESS_DISABLED = 1,
29 kSUNWARP_ACCESS_UNLOCK = 2,
30 kSUNWARP_ACCESS_INDIVIDUAL = 3,
31 kSUNWARP_ACCESS_PROGRESSIVE = 4
32};
18 33
19void AP_SetTrackerFrame(TrackerFrame* tracker_frame); 34void AP_SetTrackerFrame(TrackerFrame* tracker_frame);
20 35
@@ -48,6 +63,10 @@ bool AP_HasEarlyColorHallways();
48 63
49bool AP_IsPilgrimageEnabled(); 64bool AP_IsPilgrimageEnabled();
50 65
66bool AP_DoesPilgrimageAllowRoofAccess();
67
68bool AP_DoesPilgrimageAllowPaintings();
69
51SunwarpAccess AP_GetSunwarpAccess(); 70SunwarpAccess AP_GetSunwarpAccess();
52 71
53bool AP_HasReachedGoal(); 72bool AP_HasReachedGoal();