]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
extracted map loading/unloading
[l2e.git] / src / map / MapState.h
index 371a881e5c54cc1b363ce2269dfa58e71c16b622..0e49100e3b305b6e458123af8060986fd4b76958 100644 (file)
@@ -42,9 +42,14 @@ public:
 
        void SetWalkingSpeed(float s) { walkingSpeed = s; }
 
+       void Transition(Map *, const geometry::Vector<int> &coordinates);
+
 private:
        static bool ZCompare(const Entity *lhs, const Entity *rhs);
 
+       void UnloadMap();
+       void LoadMap(Map *);
+
        bool CheckBlocking() const;
 
        void OnTileLock();
@@ -55,6 +60,8 @@ private:
        void StopFollowers(Entity &);
 
        void LockEntities();
+       void CheckMonster();
+       void CheckTrigger();
 
 private:
        Map *map;
@@ -67,6 +74,8 @@ private:
        float walkingSpeed;
        int nextDirection;
        bool afterLock;
+       bool skipLock;
+       bool debug;
 
 };