Author: alink
Date: Mon Nov  5 20:02:53 2007
New Revision: 21520

URL: http://svn.gna.org/viewcvs/wesnoth?rev=21520&view=rev
Log:
use a less intense flash for the default selection anim
because the normal brightening on selected unit amplify the effect.
changing from 0.6 to 0.4 was enough to compensate but i think that the chaining
of blending and brightening damage the colors (blendind to white move colors 
channels near maximum, where the 150% brightening will maximise a lot of them)

Modified:
    trunk/src/unit_animation.cpp

Modified: trunk/src/unit_animation.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_animation.cpp?rev=21520&r1=21519&r2=21520&view=diff
==============================================================================
--- trunk/src/unit_animation.cpp (original)
+++ trunk/src/unit_animation.cpp Mon Nov  5 20:02:53 2007
@@ -284,7 +284,7 @@
        for(anim_itor = parsed_animations.begin(); anim_itor != 
parsed_animations.end(); ++anim_itor) {
                animations.push_back(unit_animation(**anim_itor));
        }
-       
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),300,"","",display::rgb(255,255,255),"0.0~0.6:100,0.6~0.0:200"),"selected",unit_animation::DEFAULT_ANIM));
+       
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),300,"","",display::rgb(255,255,255),"0.0~0.3:100,0.3~0.0:200"),"selected",unit_animation::DEFAULT_ANIM));
 
 
        expanded_cfg = unit_animation::prepare_animation(cfg,"leading_anim");


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to