23 Commits (render)

Author SHA1 Message Date
Gleb Mazovetskiy 0f77cc3797 Force-inline methods to improve debug build perf 3 years ago
Gleb Mazovetskiy 62e9aa0448 `MissilePosition`: Use `WorldTilePosition` 3 years ago
Gleb Mazovetskiy 62d067b653 Remove utils/stdcompat/abs.hpp 3 years ago
Anders Jenbo b7424a0068 Clean up PmChangeLightOff() 3 years ago
staphen ce413ec4a6 Round to the nearest integer when computing missile coordinates 3 years ago
Gleb Mazovetskiy 759ca7f055 `WorldTileRectangle/Size` 3 years ago
zaid-ismail031 b0c9a8024e Refactor missiles.cpp to use Direction enum instead of magic Point/Displacement constants. 4 years ago
Vladimir Olteanu 8fd3be67b5 Refactor VisionCrawlTable 4 years ago
Andrew James a083b76ec4
Avoid casting unnecessarily in worldToNormalScreen (#4852) 4 years ago
Gleb Mazovetskiy 3b2e560fa0
Non-int versions of `Point` and `Displacement` (#4824) 4 years ago
Vladimir Olteanu 5a5111f1d8
Refactor CrawlTable (#4833) 4 years ago
ephphatha 606cc162a1 Use helpers when calculating missile velocity 4 years ago
Andrew James 1047e408bd
Simplify logic of UpdateMissilePos using helpers from 4620 (#4621) 4 years ago
Vladimir Olteanu 25d412d1ac Remove duplicate code in DoLighting 4 years ago
ephphatha c4c664c6be Add class to allow iterating over all points in a rectangle 4 years ago
Gleb Mazovetskiy ff9affa513 Fix a couple of noisy MSVC warnings 5 years ago
ephphatha b12de6fe12 Use scoped enum for Direction 5 years ago
Juliano Leal Goncalves 5bb7b0bf23 ♻️ Reduce visibility of 'Displacement::fromDirection' to 'private' 5 years ago
Juliano Leal Goncalves 244235d1de 🏷️ Add explicit conversion constructor on 'Displacement' from 'Direction' 5 years ago
ephphatha e25d287ba9 Move SetObjMapRange to a member function 5 years ago
ephphatha 6008ea91c1 Address C4244 warnings in MSVC 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