about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-26 21:30:56 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-26 21:30:56 -0500
commitd03abe0db3c56502a1522230bc392f993447213d (patch)
tree85f48868c13667dff389ca95b09b30b151340078 /src
parentbe20b76ac411cc6017c4359ee36a1c9855a9f66e (diff)
downloadlingo-ap-tracker-d03abe0db3c56502a1522230bc392f993447213d.tar.gz
lingo-ap-tracker-d03abe0db3c56502a1522230bc392f993447213d.tar.bz2
lingo-ap-tracker-d03abe0db3c56502a1522230bc392f993447213d.zip
Added pilgrimage goal
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}