summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.h b/src/koopatlas/pathmanager.h
index 969bdb2..2ce0e9c 100644
--- a/src/koopatlas/pathmanager.h
+++ b/src/koopatlas/pathmanager.h
@@ -10,9 +10,12 @@ extern "C" bool SpawnEffect(const char*, int, Vec*, S16Vec*, Vec*);
class dWMPathManager_c {
public:
void setup();
+ ~dWMPathManager_c();
void execute();
bool canUseExit(dKPPath_s *path) {
+ OSReport("Checking usability of path %p\n", path);
+ if (path) OSReport("Availability: %d\n", path->isAvailable);
return (path != 0) && (path->isAvailable);
}
@@ -36,6 +39,18 @@ class dWMPathManager_c {
bool reverseThroughPath; // direction we are going through the path
bool mustComplainToMapCreator;
+
+ int newlyAvailablePaths;
+ int newlyAvailableNodes;
+
+ int unlockingAlpha; // -1 if not used
+ int countdownToFadeIn;
+
+ private:
+ void unlockPaths();
+ bool evaluateUnlockCondition(u8 *&in, SaveBlock *save);
+
+ bool isEnteringLevel;
};
#endif