ddnet/src/game
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
..
client Merge #1979 2019-12-03 12:09:57 +00:00
editor Merge #1974 2019-11-27 17:55:45 +00:00
server Merge #1976 2019-12-03 11:58:09 +00:00
collision.cpp Optimize CCollision::MoveBox to stop looping once velocity is 0 2019-10-22 13:48:05 +02:00
collision.h Fix unintentional behavior change with blockers 2019-10-06 13:51:16 +02:00
ddracecommands.h Rename rifle to laser 2019-11-22 15:37:18 +01:00
extrainfo.cpp Rerevert #1187 2019-05-21 10:51:43 +02:00
extrainfo.h Rerevert #1187 2019-05-21 10:51:43 +02:00
gamecore.cpp Rename rifle to laser 2019-11-22 15:37:18 +01:00
gamecore.h Rename rifle to laser 2019-11-22 15:37:18 +01:00
layers.cpp removed unused Dest function for layers 2017-07-28 14:43:03 +02:00
layers.h removed unused Dest function for layers 2017-07-28 14:43:03 +02:00
localization.cpp added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
localization.h Enable -Wextra and -Wformat=2 2017-07-27 20:38:17 +02:00
mapbugs.cpp Also use sha256 for the mapbugs stuff 2018-08-19 12:12:11 +02:00
mapbugs.h Also use sha256 for the mapbugs stuff 2018-08-19 12:12:11 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Validate game layer hookthrough shortcut 2019-04-02 22:55:12 +02:00
mapitems.h Rename rifle to laser 2019-11-22 15:37:18 +01:00
mapitems_ex.cpp Add support for extra map items in datafiles 2018-10-08 23:05:56 +02:00
mapitems_ex.h Save automapper config as external-typed mapitem 2018-10-09 13:17:05 +03:00
mapitems_ex_types.h Save automapper config as external-typed mapitem 2018-10-09 13:17:05 +03:00
teamscore.cpp Fix number 100000 for this 2015-02-28 01:18:35 +01:00
teamscore.h make the client aware of other players solo status 2019-04-12 16:16:21 +02:00
tuning.h Rename rifle to laser 2019-11-22 15:37:18 +01:00
variables.h Save selected UI settings page 2019-11-17 18:11:33 +01:00
version.h Version 12.7.3 2019-10-31 14:37:09 +01:00
voting.h Fix: team 0 doesn't count players 2013-08-01 22:27:19 +02:00