452 Commits (cpp20-using-enum)

Author SHA1 Message Date
obligaron 551645060b Fix item swapping and AnimationInfo::ChangeAnimationData 5 years ago
obligaron 1956c6a1c2
Fix some 64bit warnings 5 years ago
ephphatha f01d551eb0 Add tests for path_get_h_cost, IsTileWalkable, IsTile(Not)Solid, path_solid_pieces, FindPath 5 years ago
obligaron 54d63e2edd Change AnimationInfo.pCelSprite to const 5 years ago
ephphatha e25d287ba9 Move SetObjMapRange to a member function 5 years ago
ephphatha b680e3fef1 Align end comment markers for doxygen comments 5 years ago
Anders Jenbo 2ca6e37c46 Clean up sub folders using clang-tidy/Android Studio 5 years ago
Anders Jenbo dce78dde62 Rename lighting globals 5 years ago
ephphatha 3520dc4201 Update numeric literals to use appropriate suffix 5 years ago
Gleb Mazovetskiy 55464eec78 Fix `-Wmissing-braces` 5 years ago
Anders Jenbo a7c7fa0030 Fully apply clang-tidy/format to all files 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
Gleb Mazovetskiy 3faeb5628a Fix `Rectangle::Contains` bounds check 5 years ago
ephphatha 6008ea91c1 Address C4244 warnings in MSVC 5 years ago
qndel a1710ff51e
pass item to CelDrawItem (#2265) 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
Juliano Leal Goncalves 7f89420559 Add 'Displacement' type to represent coordinate deltas 5 years ago
Anders Jenbo 0f2ad469ea ♻️Clean up variable initialization 5 years ago
Anders Jenbo 8e07ef8fe5 Clang-tidy: misc-unused-parameters 5 years ago
Juliano Leal Goncalves d93e1fdf07 Add 'Contains' function for 'Rectangle' 5 years ago
ephphatha 921c7af8c6 Expand comments for vanilla RNG functions 5 years ago
ephphatha 357f6f1dc3 Move RNG functions to their own header/source files 5 years ago
obligaron 3a9cc631c7 Rename DelayLen -> TicksPerFrame 5 years ago
obligaron 3ba4bac5e2 Harmonize DelayLen for Player and Monster (was 1-based on monseter (>= DelayLen) and 0-based on player (> DelayLen). Now both are 1-based (>= DelayLen) 5 years ago
Anders Jenbo fa54499aeb Clang-tidy: readability-uppercase-literal-suffix 5 years ago
Anders Jenbo ec8d7bebe2 Clang-tidy: modernize-use-auto 5 years ago
obligaron d4bda3c13e ADL: correct comment typo 5 years ago
obligaron 801207a8ac ADL: Handle incorrect TicksSinceSequenceStarted better 5 years ago
Anders Jenbo 2bdb6caa07
Cleanup majority of remaning implicit bool conversions (#2234) 5 years ago
Andrew James ff145b422d
Refactor plrctrls functions to use Point and Direction types (#2155) 5 years ago
obligaron fb23521288 Introduce AnimationInfo.IsPetrified to handle Stone Curse Spell 5 years ago
obligaron a4cacfbcbe Enable ADL for Monsters 5 years ago
Anders Jenbo 2417d3d333 🔥 Remove unused code 5 years ago
Anders Jenbo af254601d6 ♻️ Apply clang-tidy to engine 5 years ago
Andrew James 60a47caf1b
Refactor Draw* functions to use Rectangle and Point types 5 years ago
Gleb Mazovetskiy 8a9618aea2 ♻️ Clean up `cel_header.hpp` 5 years ago
Gleb Mazovetskiy 14218080b6 🚚 engine.h: Extract `CelGetFrame` and friends 5 years ago
Gleb Mazovetskiy 1bc9c3973f 🚚 engine.h: Extract `Rectangle` 5 years ago
Gleb Mazovetskiy e40b1963f9 🚚 engine.h: Extract `CelSprite` and file loading 5 years ago
Gleb Mazovetskiy aa54675d83 🚚 engine.h: Extract `Size` 5 years ago
Gleb Mazovetskiy dcf3397139 🚚 engine.h: Extract `ActorPosition` 5 years ago
Gleb Mazovetskiy f9f301b054 🚚 engine.h: Extract `Point`, `Direction`, `clamp` 5 years ago
ephphatha b478d8295c Remove dead code, FreeText() is never called 5 years ago
qndel 6931c438d3
fix typo (#2150) 5 years ago
Chance4us 608c231f46
Draw black drop shadow for automap (#2090) 5 years ago
Kalebe Alves 118efe8e6d
Use Point/SDL_Rect for control functions coordinate system 5 years ago
Kalebe Alves 0461529176 Move byte from engine.h 5 years ago
qndel b1d74d2791
alt highlighting (#2060) 5 years ago
obligaron 61ba5009ac Convert to CelSprite 5 years ago