684 Commits (fc353fc799c884799f46c2da48bd9fb5beefa784)

Author SHA1 Message Date
Anders Jenbo ee2e7518c4 Clang-tidy: FunctionCase part 2 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
Anders Jenbo a350fb0b15 Clang-tidy: FunctionCase part 1 5 years ago
Anders Jenbo 4cd916a085 Clang-tidy: EnumConstantCase 5 years ago
Anders Jenbo e426c38adb Correct AddInitItems 5 years ago
Anders Jenbo d9e0658643 Clang-tidy: basic naming 5 years ago
Anders Jenbo b1d237c823
More init clean up (#2262) 5 years ago
Juliano Leal Goncalves cbb84199c2 ♻️ Replace Point addition with 'Point + Displacement' 5 years ago
ephphatha 357f6f1dc3 Move RNG functions to their own header/source files 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 8a4d38dd74 Stabalize clang-tidy runs 5 years ago
Anders Jenbo f167bd4dfb Clang-tidy: llvm-include-order 5 years ago
Anders Jenbo de4ced7e4f Clang-tidy: readability-qualified-auto 5 years ago
Anders Jenbo f4f8f22699 Clang-tidy: readability-redundant-control-flow 5 years ago
Anders Jenbo bf221f4322 Clang-tidy: readability-simplify-boolean-expr 5 years ago
Anders Jenbo 2bdb6caa07
Cleanup majority of remaning implicit bool conversions (#2234) 5 years ago
ephphatha f4f6a8a51e Refactor PlaySfxLoc to take a Point instead of x/y params 5 years ago
Anders Jenbo d8fa29c972 Clean up more implicit bool conversion 5 years ago
Anders Jenbo 22b632f04a ♻️Clean up implicit bool conversions 5 years ago
Anders Jenbo 1cc0eb25ca ♻️Use ranges for loops (clang-tidy) 5 years ago
Anders Jenbo 625333dfb1 ♻️Clean up items 5 years ago
Andrew James 60a47caf1b
Refactor Draw* functions to use Rectangle and Point types 5 years ago
Anders Jenbo ee7b32d8f6 Player by reference part 3 5 years ago
qndel 92d1006134 Use std::move for premiumitems shift 5 years ago
Juliano Leal Goncalves 604b72bb12 Reword potion effect descriptions for consistency 5 years ago
Gleb Mazovetskiy e40b1963f9 🚚 engine.h: Extract `CelSprite` and file loading 5 years ago
Gleb Mazovetskiy dcf3397139 🚚 engine.h: Extract `ActorPosition` 5 years ago
Juliano Leal Goncalves d47fc924f3 ♻️ Use '_item_indexes' instead of 'int' for 'ItemStruct.IDidx' field 5 years ago
obligaron ab3f3f3ee7 Introduce ItemStruct.SetNewAnimation(bool) to start Animations only at one location 5 years ago
obligaron 6d5291b17d Enable ADL for Items 5 years ago
obligaron ccc1ccf9c3 Introduce ItemStruct.AnimInfo 5 years ago
Anders Jenbo 27591cc29f Fix spawn save game compatability 5 years ago
Juliano Leal Goncalves e67683e5be ♻️ Simplify 'GetSuperItemLoc' logic using 'Point'. 5 years ago
Juliano Leal Goncalves b0584f1925 ♻️ Simplify 'GetSuperItemSpace' logic using 'Point'. 5 years ago
Juliano Leal Goncalves 1cc121e95c ♻️ Simplify 'SpawnRock' logic using 'Point'. 5 years ago
Juliano Leal Goncalves 1bf319bc11 ♻️ Leverage 'Point' struct on 'ItemPlace' 5 years ago
Juliano Leal Goncalves 6aa6efb720 ♻️ Extract item position generation logic to common function 5 years ago
Juliano Leal Goncalves b04047ba4d ♻️ Leverage 'Point' struct on 'SpawnUnique' 5 years ago
Juliano Leal Goncalves 9c85e61025 ♻️ Leverage 'Point' struct on 'ItemSpaceOk' 5 years ago
qndel ab0478319c assign seed to quest items + rng cleanup 5 years ago
Kalebe Alves 118efe8e6d
Use Point/SDL_Rect for control functions coordinate system 5 years ago
Gleb Mazovetskiy dd3ea66fa2 ♻️ Split getTextColor(bool) into 2 functions 5 years ago
qndel 2f3cf65b27 cleanup getTextColor 5 years ago
qndel b1d74d2791
alt highlighting (#2060) 5 years ago
Anders Jenbo 68249d07e3 Correct false positives translation warnings 5 years ago
Anders Jenbo 8a7ec56d3a Player by reference part 2 5 years ago
obligaron d97131349e Unify player_graphic memory handling 5 years ago
obligaron 61ba5009ac Convert to CelSprite 5 years ago
obligaron 3067aeacb8 Remove PlayerStruct._pXYZWidth and replace it with calls to GetAnimationWidth 5 years ago
obligaron c424f601ec Change LoadPlrGFX from pnum to PlayerStruct 5 years ago