summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-25 14:10:39 +0200
committerTreeki <treeki@gmail.com>2012-07-25 14:10:39 +0200
commit6895c831ad320c14b01ccabe1c8adcec354e3f9f (patch)
treea47ec4a7b2ce494c668771975e4880ada1d3557c /src/koopatlas/pathmanager.h
parent0d20c172706178e5df2d426fcf5cb1b7ae85c225 (diff)
downloadkamek-freeform-unlocks.tar.gz
kamek-freeform-unlocks.zip
lots more work completed, basic unlocks workingfreeform-unlocks
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.h b/src/koopatlas/pathmanager.h
index 5d35f4c..2ce0e9c 100644
--- a/src/koopatlas/pathmanager.h
+++ b/src/koopatlas/pathmanager.h
@@ -14,6 +14,8 @@ class 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);
}
@@ -38,6 +40,12 @@ class dWMPathManager_c {
bool mustComplainToMapCreator;
+ int newlyAvailablePaths;
+ int newlyAvailableNodes;
+
+ int unlockingAlpha; // -1 if not used
+ int countdownToFadeIn;
+
private:
void unlockPaths();
bool evaluateUnlockCondition(u8 *&in, SaveBlock *save);