mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
e02cd322ad
1979: Clean up color handling a bit r=Learath2 a=def- - SetAlpha should be called WithAlpha and only works for RGBA - Fix type correctness of color_scale and introduce color_invert - Nicer hook coll color handling in RenderPlayer - Use CRTP to have type safe WithAlpha, otherwise this would compile: `ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));` Follow-up to https://github.com/ddnet/ddnet/pull/1968 Co-authored-by: Dennis Felsing <dennis@felsin9.de> |
||
---|---|---|
.. | ||
base | ||
engine | ||
game | ||
mastersrv | ||
osx | ||
osxlaunch | ||
test | ||
tools | ||
twping |