|
From: Lasse Kärkkäi. <tr...@us...> - 2012-11-06 09:49:20
|
Author: Lasse Karkkainen <tro...@tr...> Date: Tue Nov 6 11:33:48 2012 +0200 Major changes to color system. - Color(...) is now sRGB non-premultiplied (as it were in the past) - OpenGL always uses premultiplied linear RGBA (as it has since a while back) - Proper conversions are done more or less automatically - Color::alpha(a) shorthand to avoid Color(1.0, 1.0, 1.0, a) everywhere --- game/color.cc | 12 ++++++++++++ game/color.hh | 21 ++++++++++++--------- game/dancegraph.cc | 6 +++--- game/glmath.hh | 6 ++++-- game/guitargraph.cc | 15 +++++++-------- game/instrumentgraph.cc | 14 +++++++------- game/layout_singer.cc | 16 +++++++--------- game/layout_singer.hh | 2 +- game/notegraph.cc | 4 ++-- game/screen_audiodevices.cc | 2 +- game/screen_intro.cc | 6 +++--- game/screen_players.cc | 2 +- game/screen_sing.cc | 12 ++++++------ game/screen_songs.cc | 2 +- game/screenmanager.cc | 10 +++++----- game/video.cc | 17 ++++------------- game/video_driver.cc | 2 +- 17 files changed, 77 insertions(+), 72 deletions(-) |