Author: alink
Date: Fri Nov 2 00:46:05 2007
New Revision: 21400
URL: http://svn.gna.org/viewcvs/wesnoth?rev=21400&view=rev
Log:
make the flash of default unit-selection-animation more subtle
It seems to mix a little with the permanent higlighting of unit selection
and the ellipse is also refreshed. Both are not ugly and maybe useful,
but probably need to be tuned.
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=21400&r1=21399&r2=21400&view=diff
==============================================================================
--- trunk/src/unit_animation.cpp (original)
+++ trunk/src/unit_animation.cpp Fri Nov 2 00:46:05 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"]),100,"","",display::rgb(255,255,255),"1"),"selected",unit_animation::DEFAULT_ANIM));
+
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),100,"","",display::rgb(255,255,255),"0.1"),"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