17 Commits (8573b78472f095655504c4d889fcbf548ebe798d)

Author SHA1 Message Date
Anders Jenbo 1c76897f2c Apply simple const rules using clang-tidy 7 months ago
staphen ba773259cd Fix gcc/MSVC compiler warnings 1 year ago
staphen a21a04d451 Fix off-by-one in path finding logic 1 year ago
Gleb Mazovetskiy 3e6b501d82 Fix pathfinding and increase player path limit 1 year ago
Gleb Mazovetskiy ee16071761 Untangle pathfinding dependencies 1 year ago
Gleb Mazovetskiy d7647d6c63 More dependency untangling 1 year ago
Gleb Mazovetskiy e692acb049 Pathfinding: Rename functions 1 year ago
Gleb Mazovetskiy 624afafe58 Extract Crawl to a library 2 years ago
Eric Robinson 0ac30d101d
Refactor TileHasAny() (#7085) 2 years ago
qndel b5ab3a10a2 correct IsTileWalkable to mark tiles out of bounds as not walkable 3 years ago
Gleb Mazovetskiy 4fa3732526 Add missing <cstdint> includes 3 years ago
Gleb Mazovetskiy 6dca019de2 Use `function_ref` instead of `function` 3 years ago
Anders Jenbo 7c9111ddb0 Correct casing for isDoor() 4 years ago
ephphatha 0ce76a3f13 Add Object lookup method to mimic map::at() 4 years ago
Gleb Mazovetskiy c8ddf7df65 Crawl: Move implementation from header to cpp 4 years ago
Vladimir Olteanu f463f08642 Refactor FindClosestValidPosition to use Crawl 4 years ago
Anders Jenbo 72656b3011 Move path and palette to the engine folder 4 years ago
Anders Jenbo 6d56058708 Move level generation to subfolder 4 years ago
Gleb Mazovetskiy 01ad1814ea Make path finding index-based 4 years ago
Anders Jenbo 860bd1cebf Operate directly on SOL data 4 years ago
ephphatha a6630eacb6 Use helper when checking if object exists in path.cpp 4 years ago
ephphatha 0b3c162ea7 Use helper instead of explicit dObject lookup in IsTileWalkable 4 years ago
Gleb Mazovetskiy 076b0c0c05 Overhaul tests 4 years ago
ephphatha b5bda7dbeb Use FindClosestValidPosition when placing Hork Spawn 4 years ago
ephphatha 730f0e65d5 Introduce FindClosestValidPosition function 4 years ago
qndel 0ccdf940f7
fix bounds checks (#3237) 4 years ago
Gleb Mazovetskiy c23c69d131 Fix OOB in TEST(PathTest, Solid) 5 years ago
ephphatha b12de6fe12 Use scoped enum for Direction 5 years ago
Anders Jenbo f0a7a5c989 🎨 Apply code style 5 years ago
Anders Jenbo 069249f318 🚚 Move local function to anonymous namespace i-p 5 years ago
Anders Jenbo f5406e7ce1 🚨 Fix warnings related to gdwCurPathStep signed ness 5 years ago
Anders Jenbo a19e7b2a3b Remove some more use of miniwin 5 years ago
ephphatha 4f6255791a Be more consistent with parameter names 5 years ago
ephphatha cecb5e5d2b Move private functions into anonymous namespace 5 years ago
ephphatha a8ed1998d1 Use Point in path_ functions that reference position 5 years ago
ephphatha 7de18d27cf Extract door object type test to ObjectStruct method 5 years ago
ephphatha 097a519bb7 Be more defensive when interacting with the path node stacks 5 years ago
Anders Jenbo 9264ad4b89 Use IsTileNotSolid() in place of !nSolidTable[dPiece[][]] 5 years ago
Anders Jenbo 2d4da488f0 Split path test functions 5 years ago
ephphatha 190025e79f Use bound parameters for pathfinding functions operating on entities 5 years ago
Anders Jenbo 903d4bd2e1 Scope all for loops 5 years ago
Anders Jenbo 9ebdb6db69 General clean up 5 years ago
Anders Jenbo 56d3b5d710 clang-tidy/Android Stuidio cleanups 5 5 years ago
Anders Jenbo a7c7fa0030 Fully apply clang-tidy/format to all files 5 years ago
Anders Jenbo ecea12fc15 Clang-tidy: ParameterCase 5 years ago
Anders Jenbo 0f2ad469ea ♻️Clean up variable initialization 5 years ago
Anders Jenbo 22b632f04a ♻️Clean up implicit bool conversions 5 years ago
Juliano Leal Goncalves dd9e05222d ♻️ Change 'PosOkPlayer' to take a 'Point' instead of 2 separate ints 5 years ago
Anders Jenbo 4a7ba94702 🎨 Run clang-format 5 years ago
Anders Jenbo 2bd13451a1 ♻️Apply point positioning to all remaning entities 5 years ago