summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/pathmanager.h')
-rw-r--r--src/koopatlas/pathmanager.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.h b/src/koopatlas/pathmanager.h
index 522db7f..27fcfd6 100644
--- a/src/koopatlas/pathmanager.h
+++ b/src/koopatlas/pathmanager.h
@@ -74,12 +74,16 @@ class dWMPathManager_c {
int newlyAvailablePaths;
int newlyAvailableNodes;
+ bool panningCameraToPaths;
+ bool panningCameraFromPaths;
int unlockingAlpha; // -1 if not used
int countdownToFadeIn;
int waitAfterUnlock;
+ int waitBeforePanBack;
private:
void unlockPaths();
+ void finalisePathUnlocks();
bool evaluateUnlockCondition(u8 *&in, SaveBlock *save, int stack);
int cachedTotalStarCoinCount;
int cachedUnspentStarCoinCount;
@@ -97,11 +101,22 @@ class dWMPathManager_c {
int levelStartWait;
int waitAtStart;
bool mustPlayAfterDeathAnim;
- int waitForAfterDeathAnim;
+ bool mustPlayAfterWinAnim;
+ int waitAfterInitialPlayerAnim;
+ bool initialLoading;
bool doingThings();
dLevelInfo_c::entry_s *enteredLevel;
+
+
+ private:
+ int camMinX, camMinY, camMaxX, camMaxY;
+ int nodeStackLength;
+ bool camBoundsValid;
+ void visitNodeForCamCheck(dKPNode_s *node);
+ void findCameraBoundsForUnlockedPaths();
+ void addNodeToCameraBounds(dKPNode_s *node);
};
#endif