50 Commits (M_RoundWalk)

Author SHA1 Message Date
Anders Jenbo d9e0658643 Clang-tidy: basic naming 5 years ago
Juliano Leal Goncalves cbb84199c2 ♻️ Replace Point addition with 'Point + Displacement' 5 years ago
Juliano Leal Goncalves 0441ffc2f4 ♻️ Move 'fromDirection' from 'Point' type to 'Displacement' type 5 years ago
Anders Jenbo 0f2ad469ea ♻️Clean up variable initialization 5 years ago
Juliano Leal Goncalves f621655a93 ♻️ Simplify mouse cursor logic in 'plrctrls' using 'Point' 5 years ago
Juliano Leal Goncalves a37311ddc4 ♻️ Leverage 'Point.Contains' for bound checks related to character buttons 5 years ago
Juliano Leal Goncalves fd9f2099d0 ♻️ Leverage 'Point' to represent mouse position 5 years ago
Anders Jenbo fa54499aeb Clang-tidy: readability-uppercase-literal-suffix 5 years ago
Anders Jenbo f167bd4dfb Clang-tidy: llvm-include-order 5 years ago
Anders Jenbo 8f3266244a Clang-tidy: readability-else-after-return 5 years ago
Anders Jenbo 19d980582f Clang-tidy: readability-static-definition-in-anonymous-namespace 5 years ago
Andrew James ff145b422d
Refactor plrctrls functions to use Point and Direction types (#2155) 5 years ago
Gleb Mazovetskiy f9f301b054 🚚 engine.h: Extract `Point`, `Direction`, `clamp` 5 years ago
Juliano Leal Goncalves 25eaac78c1 ♻️ Leverage 'Size' to represent a 'Rectangle's width/height 5 years ago
Juliano Leal Goncalves e3ea6a9042 ♻️ Leverage 'Point' to represent a 'Rectangle's position 5 years ago
Juliano Leal Goncalves a983792880 ♻️ Replace 'pair<int, int>' with 'Size' in 'GetItemSizeOnSlot' and 'GetInvItemSize' 5 years ago
Juliano Leal Goncalves 07a049f667 ♻️ Replace 'INV_SLOT_SIZE_PX' macro with Size-based constexpr 5 years ago
Vladimir Olteanu 39bbf07866 Use WalkingDistance for GetMinDistance 5 years ago
Vladimir Olteanu 690211a699 replace Point::Absolute with abs 5 years ago
Vladimir Olteanu de2c640a9b Use Point::Absolute in GetMinDistance 5 years ago
Juliano Leal Goncalves 293803df51 ♻️ Replace 'coord' struct with 'Point' 5 years ago
Juliano Leal Goncalves ff3dee8d45 ♻️ Replace poor usages of 'Size' with 'Point's 5 years ago
Juliano Leal Goncalves abee4fe6fe ♻️ Repurpose the 'InvXY' struct as a new 'Size' struct 5 years ago
Juliano Leal Goncalves dd9e05222d ♻️ Change 'PosOkPlayer' to take a 'Point' instead of 2 separate ints 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
Juliano Leal Goncalves b3ec79af4f
Leverage 'Point' in Lighting and Player functions (#2048) 5 years ago
Juliano Leal Goncalves d55cd99dd5 🚚 Rename 'direction' enum to 'Direction' 5 years ago
Juliano Leal Goncalves 15c46b9eb0 💬 Rename HeroSpeech members to improve discoverability 5 years ago
Juliano Leal Goncalves 5350250a76 🚚 Rename speech functions to 'Say' variations 5 years ago
Juliano Leal Goncalves 8c620ce29e ♻️ Extract 'HeroSpeech' enum class for hero sounds instead of using raw `int`s 5 years ago
staphen 1dd5245158 Fix camera jerking when changing direction on controller. 5 years ago
staphen 4c39ac4402 Fix crash when using Town Portal on controller. 5 years ago
Stefan Mielke dfece830ad
Controller Inventory Improvements (#1885) 5 years ago
Anders Jenbo 654a2b8834 ♻️Clean up automap code 5 years ago
Anders Jenbo 5745f099ba ♻️Use Point for positions in msg.cpp functions 5 years ago
Anders Jenbo f77c52941a ♻️Make GetDirection take Points instead of ints 5 years ago
Anders Jenbo 2bd13451a1 ♻️Apply point positioning to all remaning entities 5 years ago
Anders Jenbo 98cd435fba ♻️ Apply point types to missiles 5 years ago
Anders Jenbo efbe8a8338 ♻️ add possition points to monsters 5 years ago
Anders Jenbo 7912e510f0 🎨 Clean up overuse of SDL types 5 years ago
Anders Jenbo e4cfad3196 ♻️Use points instead of individual fileds for player structure 5 years ago
Anders Jenbo cc164985a3 🎨 Correct type checks in src sub-folder 5 years ago
Anders Jenbo 2969b80163 🎨 Run readability-identifier-naming on all src sub-folders 5 years ago
Anders Jenbo 1e3ed903be 🎨 strip redundant else 5 years ago
qndel ec74917cb4 class sounds cleanup 5 years ago
Anders Jenbo 9e307a0d4a 🎨 Rename towner[] to towners[] 5 years ago
Anders Jenbo 373f28736f 🎨 Acceptable parts of modernize-* 5 years ago
Anders Jenbo b978d80119 🎨 llvm-include-order 5 years ago
Anders Jenbo bb4e1960e7 🎨 modernize-use-nullptr 5 years ago
Anders Jenbo 8c821e98d3 🚚 Restructure files 5 years ago