6 Commits (bb2463862c7c5ac37630aeeb693f09cc1bd6279f)

Author SHA1 Message Date
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
Anders Jenbo 7912e510f0 🎨 Clean up overuse of SDL types 5 years ago
Anders Jenbo a32ac83090 🎨 cleanup trivial trype comparisons 5 years ago
Anders Jenbo bb4e1960e7 🎨 modernize-use-nullptr 5 years ago
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 5 years ago
Anders Jenbo f450d6a125 🚚 Move defines to there proper files 5 years ago
Anders Jenbo 20186e0370 🎨 Replace TRUE/FALSE with true/false 5 years ago
Anders Jenbo 93d42b62b8 ♻️ Change BOOL to bool 5 years ago
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 5 years ago
Anders Jenbo 630e507f63 🚚 Apply namespace 5 years ago
Anders Jenbo ca2c2ba5e7 🚨 Handle a bunch of warnings from CLang 5 years ago
Anders Jenbo 17803d5923 ♻️ Apply proper types to PlayerStruct 5 years ago