ddnet/src
bors[bot] e02cd322ad
Merge #1979
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>
2019-12-03 12:09:57 +00:00
..
base Clean up color handling a bit 2019-12-03 11:32:55 +01:00
engine more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
game Merge #1979 2019-12-03 12:09:57 +00:00
mastersrv Fixes and stress improvements 2018-12-17 20:05:50 +01:00
osx Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
osxlaunch Fix small issue 2019-07-15 14:48:45 +03:00
test Use unsigned integers for colors 2019-05-15 18:05:19 +02:00
tools UTF8 nocase compare & use for chat TAB completion 2019-01-09 08:31:03 +01:00
twping Rename ping -> twping 2014-11-24 23:22:37 +01:00