mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 17:44:18 +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> |
||
---|---|---|
.. | ||
client | ||
editor | ||
server | ||
collision.cpp | ||
collision.h | ||
ddracecommands.h | ||
extrainfo.cpp | ||
extrainfo.h | ||
gamecore.cpp | ||
gamecore.h | ||
layers.cpp | ||
layers.h | ||
localization.cpp | ||
localization.h | ||
mapbugs.cpp | ||
mapbugs.h | ||
mapbugs_list.h | ||
mapitems.cpp | ||
mapitems.h | ||
mapitems_ex.cpp | ||
mapitems_ex.h | ||
mapitems_ex_types.h | ||
teamscore.cpp | ||
teamscore.h | ||
tuning.h | ||
variables.h | ||
version.h | ||
voting.h |