* Optimize pathfinding
* Minor fleeing monsters fix
* Fix whitespace and else brackets
* More cleanup
* Cleanup
* Remove uneeded variable name change
* Cleanup
* Move neighbor arrays back to map.cpp to fix unused variable failure
* Fix some compiling warnings
* Fix incorrect method call in game.cpp
* Update to new creature isDead method
* Update to clang format
* Update to clang format
* Fix maxSearchDist=0 searches and delayed reaction to onFollowCreature
* Fix fleeing monster randomly turning
* Reduce memory consumption and update pathmatching algorithm
* Clang formatting
* Clang formatting
* Remove uneeded check on new nodes
* Normalize pathfinding algorithm
* Final Changes: Move pathfinding call to onWalk
* Remove incorrect code
* Move from Euclidean to standard A*
* Fix overlooked typos and uneeded logic
* Remove uneeded nullptr check and change iterations to int8_t
* Revert int8_t
* Fix creature label error and update algorithm
* Remove uneeded resizing
* Revert comment
* Add missing pathmatching call
* Allow force update path to be called more often
* Fix sight blocked monsters path updating
* Additional blocked sight fix
* Allow paths to be drawn a little farther like rl tibia
* Add delay to pathfinding and optimize code
* Fix incorrect conditional
* Move path delay to force update path
* Change uint64_t to int64_t
* Add pathfinding interval and delay to config.lua
* Add viewport check
* Fix memory leak
* Add memory management to follow list and pathmatching
* Replace std::sqrt for std::hypot
* Update to new constexpr position methods
* Revert int declarations in pathmatching
* Change std::hypot for much faster std::sqrtf
* Formatting
* Add math.h
* Revert sqrtf and math.h
* Remove uneeded path call and add speed check
* Fix rainsalt review
* Update configmanager
* Update configmanager
* Fix configmanager after merge
* Update to configermanager namespace methods
* Clang format
* Use getX()/getY() and remove calculateHueristic from AStarNodes
* Replace AStarNodes:calculateHeuristic
* Add a couple code optimizations
* Move logic for better performance
* Replace std::list for vector and modify datatypes
* Replace push_back for emplace_back and revert calculateHeuristic
* Replace followedByCreature for followers and update std::array
* Change addFollowedByCreature to addFollower
* Update method calls
* Add additional checks for redundant pathfinding calls
* Remove redundant check
* Clang Format
* Change updateFollowingCreaturePaths to updateFollowersPaths
* Fix a problem in most recent path conditional
* Fix bug in pre path conditional check
* Fix logic in last commit
* Add required nullptr check to stop crashes on creature death
* Revert crash unrelated
* Add updateCreaturesPath
* Convert calculate heuristic to int
* Convert to new code style
* Fix memory leak in followers
* Additional nodes clear for possible memory leak
* Fix logic for when to remove follower
* Dynamically allocated nodes MUST be deleted.
* Remove nodes.clear()
* Revert
* Fix pathfinding delays.
* Remove delay check in map.cpp and add in correct places.
* Fix typo
* Check for duplicate creatures, add optimization, and remove uneeded
* Modify config values for best performance while maintaining proper following behavior
* Fix datatype typo
* Optimize removeFollower code && update datatypes.
* Update CMake_Lists
* Revert static const
* Modify removefollower O(n2) to O(n)
* Code cleanup, Comments, remove uneeded code
* Rewrite Position methods in constexpr
- Refactor static functions to member functions
- Drop unnecessary fast integer variants
- Remove redundant template parameter to std::max/min
* Add constexpr abs to workaround MSVC
- Use base Google style
- Drop column limit override
- Format all files
- Use tabs for indentation
- Move system headers after project headers
- Avoid breaking string literals
- Reflow usage text
- Match breaks before braces and colons to previous style
- Reduce spaces before trailing comments
- Reflow comments and fix macro usage in luascript.cpp
- Fix invalid code
- Don't align newline escapes
- Reflow comment to make more sense
* now the structure that holds the creature walk steps is std::vector(faster) and now we are using std::move in few places where std::vector is a temporary
* replace emplace_back with push_back
* fix Creature::addEventWalk call
added Creature::startAutoWalk(Direction direction) for player move requests
use a more simply copy method for listWalkDir inside Creature:startAutoWalk(const std::vector<Direction>& listDir)
Use the creature listWalkDir in Npc::doMoveTo
* change the way to reverse the dir list
* Remove trailing spaces
Removed trailing spaces and added spaces to some XML tags
Removed else statment from sweetheart_ring.lua
* Remove variable from sweetheart_ring.lua