373 Commits (cpp20-using-enum)

Author SHA1 Message Date
Anders Jenbo 9ea499e7f4 Clang-tidy: modernize-pass-by-value 5 years ago
Anders Jenbo acd74cc0e3 Clang-tidy: readability-convert-member-functions-to-static 5 years ago
Anders Jenbo 8f3266244a Clang-tidy: readability-else-after-return 5 years ago
Anders Jenbo 790f42d078 Clang-tidy: readability-inconsistent-declaration-parameter-name 5 years ago
Anders Jenbo de4ced7e4f Clang-tidy: readability-qualified-auto 5 years ago
Anders Jenbo 2641932763 Clang-tidy: readability-static-accessed-through-instance 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
Andrew James 60a47caf1b
Refactor Draw* functions to use Rectangle and Point types 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
Jmgr 5c6d778af1 Keymapper: fix actions being triggered while the chatbox is open 5 years ago
Jmgr b4ea4c29a0 Keymapper: add enabled condition, fix being able 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
Anders Jenbo 6ce8f13751 Apply clang-tidy to more code and do some related cleanups 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 d89221b15e Close Cathedral Map when B button is pressed on the controller. 5 years ago
staphen 4c39ac4402 Fix crash when using Town Portal on controller. 5 years ago
Gleb Mazovetskiy 4cd1fd9b72 🐞 Fix controller modifier hints 5 years ago
Stefan Mielke dfece830ad
Controller Inventory Improvements (#1885) 5 years ago
Anders Jenbo 72598865cc ♻️Replace PrintGameStr with DrawString 5 years ago
Anders Jenbo 68923c6c33 Generic game text render function 5 years ago
Anders Jenbo 4a7ba94702 🎨 Run clang-format 5 years ago
Ivan Epifanov be07c3fb65 Remove vita hack 5 years ago
Jmgr b07d83001a Fix Vita build 5 years ago
Jmgr 994c5e7cfe Add a keymapper 5 years ago
Anders Jenbo 654a2b8834 ♻️Clean up automap code 5 years ago
Jmgr 4fad8023ff Fix fmt issue with a nullptr controller mapping 5 years ago
Mathieu Maret f4ef9de2e6 Fix Control Hit Translation 5 years ago
Anders Jenbo 5745f099ba ♻️Use Point for positions in msg.cpp functions 5 years ago
Anders Jenbo 48dbb47d70 🌐 Apply static translations 5 years ago
Gleb Mazovetskiy 961047ca9e 🐞 Joystick::IsHatButtonPressed should not be static 5 years ago
obligaron a3229741d1 🖌️ Refurbish tables in source code (clang-format off) 5 years ago
Anders Jenbo b69d18f12d 🌐 Enable translation of all remaning strings 5 years ago
Jmgr c33182d6de Modernize deprecated headers 5 years ago