]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
added 500ms blackness between map transitions
[l2e.git] / src / map / MapState.h
index 371a881e5c54cc1b363ce2269dfa58e71c16b622..dc352f69522636e5f2248076f6cddb59bea2a804 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,8 +60,11 @@ private:
        void StopFollowers(Entity &);
 
        void LockEntities();
+       void CheckMonster();
+       void CheckTrigger();
 
 private:
+       app::Application *ctrl;
        Map *map;
        Entity *controlled;
        app::Timer<float> moveTimer;
@@ -67,6 +75,8 @@ private:
        float walkingSpeed;
        int nextDirection;
        bool afterLock;
+       bool skipLock;
+       bool debug;
 
 };