about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ap_state.h2
-rw-r--r--src/global.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ap_state.h b/src/ap_state.h index fe424fd..e3c2d7f 100644 --- a/src/ap_state.h +++ b/src/ap_state.h
@@ -10,7 +10,7 @@ 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 }; 13enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2, kPILGRIMAGE = 3 };
14 14
15enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; 15enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 };
16 16
diff --git a/src/global.cpp b/src/global.cpp index bd0dcaa..1eb3f8d 100644 --- a/src/global.cpp +++ b/src/global.cpp
@@ -36,5 +36,7 @@ bool IsLocationWinCondition(const Location& location) {
36 "Orange Tower Seventh Floor - THE MASTER"; 36 "Orange Tower Seventh Floor - THE MASTER";
37 case kLEVEL_2: 37 case kLEVEL_2:
38 return location.ap_location_name == "Second Room - LEVEL 2"; 38 return location.ap_location_name == "Second Room - LEVEL 2";
39 case kPILGRIMAGE:
40 return location.ap_location_name == "Pilgrim Antechamber - PILGRIM";
39 } 41 }
40} 42}