]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
added debug mode for maps
[l2e.git] / src / map / MapState.h
index b753ccfd61201aa1e2decb13f586c6bda05ef64d..4ba149db1d96c3e05749c4a5b32f411b5938dfc5 100644 (file)
@@ -44,14 +44,24 @@ public:
 
 private:
        static bool ZCompare(const Entity *lhs, const Entity *rhs);
+
+       bool CheckBlocking() const;
+
+       void OnTileLock();
        void OnGridLock();
-       void OnMove();
+       void OnMove(bool);
+
+       void UpdateFollower(Entity &);
+       void StopFollowers(Entity &);
 
-       void UpdateFollower(Entity *);
+       void LockEntities();
+       void CheckMonster();
+       void CheckTrigger();
 
 private:
        Map *map;
        Entity *controlled;
+       app::Timer<float> moveTimer;
        geometry::Vector<float> tempTarget;
        geometry::Vector<int> lastLock;
        graphics::Camera camera;
@@ -59,6 +69,7 @@ private:
        float walkingSpeed;
        int nextDirection;
        bool afterLock;
+       bool debug;
 
 };