ddnet/src/game/client/components
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
..
background.cpp Implement changes suggested by -Wuseless-cast 2019-04-11 19:54:43 +02:00
background.h make background class inherited from maplayers and change some things in 2017-09-12 20:13:53 +02:00
binds.cpp Fix sticky binds 2019-05-11 02:46:22 +02:00
binds.h Allow binding with modifiers in settings 2019-04-28 20:22:19 +03:00
broadcast.cpp Broadcast: Fix display time during demo replay 2019-04-02 23:28:13 +02:00
broadcast.h Broadcast: Fix display time during demo replay 2019-04-02 23:28:13 +02:00
camera.cpp remove for loop in camera 2019-10-27 13:04:08 +01:00
camera.h Simplify Dyncam and fix #311 2015-08-27 20:26:05 +02:00
chat.cpp Clean up color handling a bit 2019-12-03 11:32:55 +01:00
chat.h infinite length and a lot of changes including notifications are now chat messages 2019-06-05 19:17:55 +02:00
console.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
console.h Add commands for switching pages in console 2018-06-03 11:48:08 +02:00
controls.cpp Rename rifle to laser 2019-11-22 15:37:18 +01:00
controls.h Fix dummy input reset 2017-03-06 19:45:39 +01:00
countryflags.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
countryflags.h more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
damageind.cpp add buffering for dmg indicator, map items, particles and players 2018-03-13 21:52:44 +01:00
damageind.h add buffering for dmg indicator, map items, particles and players 2018-03-13 21:52:44 +01:00
debughud.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
debughud.h added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
effects.cpp Apply ShowOtherAlpha to projectiles 2019-07-16 22:06:57 +02:00
effects.h Apply ShowOtherAlpha to projectiles 2019-07-16 22:06:57 +02:00
emoticon.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
emoticon.h fixed eyewheel (originally from Chairn) 2015-11-15 00:31:24 +01:00
flow.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
flow.h added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
ghost.cpp Remove all checking for the gametype in the game 2019-06-14 00:28:59 +02:00
ghost.h Add cl_confirm_disconnect_quit_time (fixes #1530) 2019-03-25 20:10:38 +01:00
hud.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
hud.h Revert "Merge pull request #1736 from sirius1242/master" 2019-06-14 12:00:49 +02:00
items.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
items.h Fix intratick for predicted pickup 2019-06-18 19:08:09 +02:00
killmessages.cpp Merge #1844 2019-07-30 10:36:14 +00:00
killmessages.h Fix killmessages aswell 2019-07-29 17:36:44 +03:00
mapimages.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
mapimages.h more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
maplayers.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
maplayers.h Even more refactoring 2019-04-27 01:11:15 +03:00
mapsounds.cpp Fix style in several places 2017-03-22 19:45:14 +01:00
mapsounds.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
menus.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
menus.h more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
menus_browser.cpp Use colors in CTextRender 2019-04-27 01:34:20 +03:00
menus_demo.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
menus_ingame.cpp Clean up color handling a bit 2019-12-03 11:32:55 +01:00
menus_settings.cpp Update localizations (Thanks to Cellegen for report) 2019-12-02 09:09:01 +01:00
motd.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
motd.h added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
nameplates.cpp Remove ClAfkMark option & rename it to ClAfkEmote 2019-07-30 20:19:46 +02:00
nameplates.h Remove ClAfkMark option & rename it to ClAfkEmote 2019-07-30 20:19:46 +02:00
particles.cpp Rewrite of prediction code, with additional prediction 2019-04-21 16:12:20 +02:00
particles.h Don't inherit from vector, more cleanup 2019-04-27 00:47:34 +03:00
players.cpp Clean up color handling a bit 2019-12-03 11:32:55 +01:00
players.h Apply ShowOtherAlpha to projectiles 2019-07-16 22:06:57 +02:00
race_demo.cpp Remove all checking for the gametype in the game 2019-06-14 00:28:59 +02:00
race_demo.h Clean up ghost and race recorder 2017-10-06 22:01:33 +02:00
scoreboard.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
scoreboard.h Remove all checking for the gametype in the game 2019-06-14 00:28:59 +02:00
skins.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
skins.h more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
sounds.cpp Fix typo 2018-07-10 17:29:02 +08:00
sounds.h Overhauled job system 2017-11-23 15:47:38 +01:00
spectator.cpp more typesafty in the graphics. introduced the IGraphics::CTextureHandle 2019-11-22 18:08:37 +01:00
spectator.h Fix spectating in demo viewer and add a button to choose to follow a player 2015-07-26 18:21:51 +02:00
statboard.cpp Merge #1974 2019-11-27 17:55:45 +00:00
statboard.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
voting.cpp Don't inherit from vector, more cleanup 2019-04-27 00:47:34 +03:00
voting.h Removed level stuff 2011-08-13 02:11:06 +02:00