obligaron
b94e599f5e
ADL: Advance skipped Frames in SetNewAnimation and remove logic from PM_XYZ
5 years ago
Gleb Mazovetskiy
1838eb43f2
🎉 cl2_render.cpp: Clip the drawing functions
...
Clips all the drawing functions except the outline one.
Example FPS gain in a dungeon: 1454 -> 1488
5 years ago
Gleb Mazovetskiy
ad18ecc21b
🎉 cel_render.cpp: Clip stippled transparency
...
Example FPS change: 1336 -> 1424
5 years ago
Gleb Mazovetskiy
be7880c4db
🎉 cel_render.cpp: Clip outline
...
Clips `CelBlitOutlineTo` to the output buffer.
The templated implementation means that this compiles to many
case-specific functions with near-branchless inner loops.
Increases binary size by 92 KiB.
5 years ago
Anders Jenbo
0b3d1c68fa
✨ Precompute font color tables
5 years ago
Anders Jenbo
68923c6c33
✨ Generic game text render function
...
This should gradually replace all the direct rendering of game texts
throughout the code. The interface is made to closly mirror that of the
art fonts as that is what will eventually be used for rendering Unicode
fonts both in the menus and ingame.
fixup! ✨ Generic game text render function
5 years ago
Anders Jenbo
bcbaeba2f0
📝 Correct file header
5 years ago
Anders Jenbo
c11945e62b
🎨 Fix line endings
5 years ago
obligaron
e3e3d02da7
Correct Doxygen comments
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
0edfa3de66
🚚 Move CEL rendering to engine/render/cel_render.cpp
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
6474dea0a9
♻️ Move automap_render to engine/, rename 2->Steep
...
Also adds header file documentation.
5 years ago
obligaron
cb7819a75c
Introduce AnimationDistributionFlags::RepeatedAction
5 years ago
obligaron
b5954eb34b
Change AnimationDistributionParams to AnimationDistributionFlags
5 years ago
obligaron
b08e0c20dc
In repeated Animations show skipped Frames from previous Animation (repeated Attack/RangeAttack/Spell)
5 years ago
obligaron
401a820998
Rename GameTick to Tick (for variables)
5 years ago
obligaron
26601c98dc
Simplify GetFrameToUseForRendering (remove local variables and use member variables)
5 years ago
obligaron
ff995adc2b
Move ProcessPlayerAnimation to AnimationInfo
5 years ago
obligaron
16b3b38908
Move NewPlrAnim logic to AnimationInfo
...
Adjust SetNewAnimation-Parameter Names to Class Member
Adjust NewPlrAnim-Parameter Names to SetNewAnimation-Parameter Names
5 years ago
obligaron
3b87433fc2
Move GetFrameToUseForPlayerRendering to AnimationInfo
5 years ago
obligaron
1de46a8495
Rename member variables
5 years ago
obligaron
0b5183f63e
Introduce AnimationInfo
...
Update AnimationInfo.DelayLen comment
5 years ago