Commit graph

8 commits

Author SHA1 Message Date
Gleb Mazovetskiy
8ac9047b4f 🧹 Clean up CEL outline clipping
A simpler structure based on the CL2 implementation.
2021-05-13 23:41:50 +02:00
Gleb Mazovetskiy
29a488738e 🔥 Mark core CL2 and CEL functions as inline hot 2021-05-13 02:22:38 +02:00
Gleb Mazovetskiy
e53a79259d 🐞 CL2 outline: Fix left clip 2021-05-13 01:01:45 +02:00
Gleb Mazovetskiy
537e056111 🐞 CL2 outline: Skip color index 0
Fixes a regression introduced in #1934
2021-05-12 08:19:19 +02:00
Gleb Mazovetskiy
64ad9aeacf 🎉 cl2_render.cpp: Clip the outline 2021-05-11 07:57:08 +02:00
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
2021-05-09 05:48:48 +02:00
Anders Jenbo
bcbaeba2f0 📝 Correct file header 2021-05-08 18:48:19 +02:00
Gleb Mazovetskiy
9a9941efdd 🚚 Move CL2 rendering to engine/render/cl2_render.cpp 2021-05-07 01:02:03 +02:00