182 Commits (01ee2ecefc0b82f8eb52592518b2f8ceddfce3a8)

Author SHA1 Message Date
Andrew James 021c7a652f
Add helpers for checking object type (#3357) 4 years ago
Anders Jenbo 74b57558c9 🚚 Move local code to anonymous namespace 5 years ago
Gleb Mazovetskiy cb0dae8590 🚚 Rename `CelOutputBuf` to `Surface` and extract 5 years ago
qndel 373f1db22e
If cleanup + bugfixes (#2273) 5 years ago
ephphatha 357f6f1dc3 Move RNG functions to their own header/source files 5 years ago
Andrew James 20190ee687
Update random number functions to avoid IB (#2226) 5 years ago
Anders Jenbo af254601d6 ♻️ Apply clang-tidy to engine 5 years ago
Gleb Mazovetskiy 14218080b6 🚚 engine.h: Extract `CelGetFrame` and friends 5 years ago
Gleb Mazovetskiy 4ea7ba0f5f 🚚 engine.h: Extract `LoadLE32` and `LoadBE32` 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
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 ff147f9280 🚚 Rename 'RECT32' to 'Rectangle' to match naming style of other core structs 5 years ago
Juliano Leal Goncalves 4490340a47 🚚 Move 'RECT32' type to 'engine.h' alongside other core types 5 years ago
ephphatha 8d5b5e833b Add tests for LCG random engine 5 years ago
Gleb Mazovetskiy 982260d94e Clip control.cpp draw calls 5 years ago
Juliano Leal Goncalves 1328c9ea93 🎨 Make 'Size' fields camelCase 5 years ago
qndel 4ba2c755c3
attempt to fix CI (#2113) 5 years ago
Vladimir Olteanu 02ffada9b8 constexpr version of abs 5 years ago
Vladimir Olteanu fce8f7a503 Make Point stuff constexpr 5 years ago
Vladimir Olteanu e37e7e408c Introduce Point::WalkingDistance 5 years ago
Vladimir Olteanu 690211a699 replace Point::Absolute with abs 5 years ago
Vladimir Olteanu ba3f0aef8b Introduce Point::Absolute and Point::ManhattanDistance 5 years ago
Juliano Leal Goncalves 8622130966 ♻️ Add '==' and '!=' operators to 'Size' struct 5 years ago
Juliano Leal Goncalves 58501cab26 🚚 Move 'Size' struct to engine.h 5 years ago
Kalebe Alves 0461529176 Move byte from engine.h 5 years ago
Juliano Leal Goncalves 94164812f4 🏷️ Add integer overload for Point multiplication operator 5 years ago
Anders Jenbo 43f26084d0 Fix warnigns 5 years ago
Juliano Leal Goncalves 21fdb0dcd9 ♻️ Replace manual direction displacement logic with 'Point' add operator 5 years ago
Juliano Leal Goncalves d55cd99dd5 🚚 Rename 'direction' enum to 'Direction' 5 years ago
Gleb Mazovetskiy 2f3fa76320 Fix gkd350h build 5 years ago
obligaron be13a0f727 Point: Add operator* float and operator- 5 years ago
Gleb Mazovetskiy 1181cc68ac 🎉 Remove buffer padding 5 years ago
Vladimir Olteanu 4ff0221a8d Fix https://github.com/diasurgical/devilutionX/issues/1928 5 years ago
Gleb Mazovetskiy 710ddb9af6 ♻️ Make SetPixel a method 5 years ago
Gleb Mazovetskiy 9a9941efdd 🚚 Move CL2 rendering to engine/render/cl2_render.cpp 5 years ago
Gleb Mazovetskiy febaf0dc8b 🐞 Fix misaligned load in `GetCelFrame` 5 years ago
Gleb Mazovetskiy 0edfa3de66 🚚 Move CEL rendering to engine/render/cel_render.cpp 5 years ago
Gleb Mazovetskiy 473d1b0b14 🎉 Clip CEL drawing functions 5 years ago
Gleb Mazovetskiy 59dd42692f 🚚 Move render.cpp to engine/render/dun_render.cpp 5 years ago
Anders Jenbo f579b2f287 Handle cel/cl2 files as byte arrays 5 years ago
Gleb Mazovetskiy e7a9293153 ♻️ engine.h: Minor refactoring 5 years ago
Gleb Mazovetskiy afef72f916 🎉 New map renderer 5 years ago
Anders Jenbo 3746723f52 ♻️Add type to MIN-files and TRN-files 5 years ago
Anders Jenbo fa0b286693 ♻️Typed file loading 5 years ago
thebigMuh 24f32a1d53
Fix sound volume/panning attenuation (#1789) 5 years ago