Learath
d200ef0bb0
Remove ugly hack
2020-06-19 21:42:19 +03:00
Learath
9e2434c65d
Better skin colors. Better game message translation
2020-06-19 20:28:55 +03:00
Dennis Felsing
37ef24225e
Clean up color handling a bit
...
- 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));
2019-12-03 11:32:55 +01:00
Learath2
1993989067
Fix toggle not working with colors
2019-07-02 14:54:06 +02:00
Learath
b86c457c91
Remember whether a color is lit or not
2019-05-01 23:35:29 +03:00
Learath
5d0a1c8d0a
Unlighten colors when sending to server
2019-05-01 22:49:52 +03:00
Learath
05b3df0afa
Add the default constructors
2019-04-27 02:07:11 +03:00
Learath
979d58f830
Use colors in CTextRender
2019-04-27 01:34:20 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
Learath
be26789872
Remove unused function
2019-04-26 22:57:40 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
1b668916f2
Fix the test, fix small bug
2019-04-26 21:01:41 +03:00
Learath
69d78c21b4
Lighten tee colors
2019-04-26 16:38:16 +03:00
Learath
54afd2c5af
No iostream
2019-04-26 15:09:12 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
987b9f69de
Only lighten if too dark
2019-04-25 23:29:31 +03:00
Learath
93265dbb9c
Please MSVC
2019-04-25 21:09:32 +03:00
Learath
f53f09339a
Default constructor
2019-04-25 19:59:04 +03:00
Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
95a3a69e08
Start phasing out vectors for colors
2019-04-25 18:21:35 +03:00
Learath
0f781df1dd
Try handling colors in console
2019-04-25 14:48:53 +03:00
Learath
5e5def314f
Add tests
2019-04-24 23:53:38 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
BeaR
a4cfc10898
Implement an HSV picker for color of quad points
2015-08-17 20:14:23 +02:00