summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-07-24 15:55:13 +0200
committerTreeki <treeki@gmail.com>2012-07-24 15:55:13 +0200
commit57577aa4c163b01572b21914defe34e7ee24104b (patch)
tree290d0c97cb6344bd5e21d8c5f6e0c4afb10a76e7 /src/koopatlas/pathmanager.h
parent86cef888c196c138f71388aa9b701ac09eb95d14 (diff)
downloadkamek-57577aa4c163b01572b21914defe34e7ee24104b.tar.gz
kamek-57577aa4c163b01572b21914defe34e7ee24104b.zip
parts of the new unlock system, still got to wrap up some stuff
Diffstat (limited to 'src/koopatlas/pathmanager.h')
-rw-r--r--src/koopatlas/pathmanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.h b/src/koopatlas/pathmanager.h
index 969bdb2..5d35f4c 100644
--- a/src/koopatlas/pathmanager.h
+++ b/src/koopatlas/pathmanager.h
@@ -10,6 +10,7 @@ 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) {
@@ -36,6 +37,12 @@ class dWMPathManager_c {
bool reverseThroughPath; // direction we are going through the path
bool mustComplainToMapCreator;
+
+ private:
+ void unlockPaths();
+ bool evaluateUnlockCondition(u8 *&in, SaveBlock *save);
+
+ bool isEnteringLevel;
};
#endif