diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 11:40:26 -0500 | 
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-28 11:40:26 -0500 | 
| commit | 2c2d9e9f39ea780b5a04159f9c62fd5540471b86 (patch) | |
| tree | ee77e44a683cdc656196f4a04a643fed72de7ad5 /src/ap_state.h | |
| parent | b2b60f8ade218920dc3eb5304e7abb7dfa9f3a8d (diff) | |
| download | lingo-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.h | 29 | 
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 | ||
| 11 | enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; | 11 | enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; | 
| 12 | 12 | ||
| 13 | enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2, kPILGRIMAGE = 3 }; | 13 | enum VictoryCondition { | 
| 14 | 14 | kTHE_END = 0, | |
| 15 | enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; | 15 | kTHE_MASTER = 1, | 
| 16 | 16 | kLEVEL_2 = 2, | |
| 17 | enum SunwarpAccess { kSUNWARP_ACCESS_NORMAL = 0, kSUNWARP_ACCESS_DISABLED = 1, kSUNWARP_ACCESS_UNLOCK = 2, kSUNWARP_ACCESS_PROGRESSIVE = 3 }; | 17 | kPILGRIMAGE = 3 | 
| 18 | }; | ||
| 19 | |||
| 20 | enum LocationChecks { | ||
| 21 | kNORMAL_LOCATIONS = 0, | ||
| 22 | kREDUCED_LOCATIONS = 1, | ||
| 23 | kPANELSANITY = 2 | ||
| 24 | }; | ||
| 25 | |||
| 26 | enum 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 | ||
| 19 | void AP_SetTrackerFrame(TrackerFrame* tracker_frame); | 34 | void AP_SetTrackerFrame(TrackerFrame* tracker_frame); | 
| 20 | 35 | ||
| @@ -48,6 +63,10 @@ bool AP_HasEarlyColorHallways(); | |||
| 48 | 63 | ||
| 49 | bool AP_IsPilgrimageEnabled(); | 64 | bool AP_IsPilgrimageEnabled(); | 
| 50 | 65 | ||
| 66 | bool AP_DoesPilgrimageAllowRoofAccess(); | ||
| 67 | |||
| 68 | bool AP_DoesPilgrimageAllowPaintings(); | ||
| 69 | |||
| 51 | SunwarpAccess AP_GetSunwarpAccess(); | 70 | SunwarpAccess AP_GetSunwarpAccess(); | 
| 52 | 71 | ||
| 53 | bool AP_HasReachedGoal(); | 72 | bool AP_HasReachedGoal(); | 
