Gleb Mazovetskiy
|
b83637add8
|
Use a C array for transparency LUT for debug perf
In a debug build, `std::array` accesses are function calls.
Timedemo on my machine:
* Before: 45.39 seconds 141.3 FPS
* After: 40.20 seconds 159.5 FPS
|
3 years ago |
Gleb Mazovetskiy
|
5bf0b8bc96
|
Add more missing <cstdint> includes
https://github.com/diasurgical/devilutionX/pull/6095 only added includes
for `uint32_t`, this PR also adds the includes for the remaining
integral types.
|
3 years ago |
qndel
|
731ad1ada5
|
use std::rotate (#6019)
|
3 years ago |
Gleb Mazovetskiy
|
37f4d0cb97
|
`CreateHalfSizeItemSprites`: Reuse surfaces
Rather than allocating surfaces on every loop iteration, reuse the same
2 surfaces.
|
3 years ago |
staphen
|
af5dc9ccb6
|
Add item graphics to store menus
|
3 years ago |
Gleb Mazovetskiy
|
1d48dd095d
|
Scale hardware cursor bilinearly
Make the hardware cursor blurry like the rest of the screen.
|
5 years ago |