Author: grzywacz
Date: Wed Apr 18 18:32:17 2007
New Revision: 16904
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16904&view=rev
Log:
Make floating labels move slower.
Modified:
branches/gp2x/src/display.cpp
branches/gp2x/src/font.hpp
Modified: branches/gp2x/src/display.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/gp2x/src/display.cpp?rev=16904&r1=16903&r2=16904&view=diff
==============================================================================
--- branches/gp2x/src/display.cpp (original)
+++ branches/gp2x/src/display.cpp Wed Apr 18 18:32:17 2007
@@ -1941,7 +1941,7 @@
const SDL_Color colour = {red,green,blue,255};
font::add_floating_label(text,font::SIZE_XLARGE,colour,get_location_x(loc)+zoom_/2,get_location_y(loc),
-
0,-2,60,screen_area(),font::CENTER_ALIGN,NULL,0,font::ANCHOR_LABEL_MAP);
+
0,-1,60,screen_area(),font::CENTER_ALIGN,NULL,0,font::ANCHOR_LABEL_MAP);
}
void display::draw_unit(int x, int y, surface image,
Modified: branches/gp2x/src/font.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/gp2x/src/font.hpp?rev=16904&r1=16903&r2=16904&view=diff
==============================================================================
--- branches/gp2x/src/font.hpp (original)
+++ branches/gp2x/src/font.hpp Wed Apr 18 18:32:17 2007
@@ -56,7 +56,7 @@
SIZE_15 = 9,
SIZE_PLUS = 9,
SIZE_LARGE = 10,
- SIZE_XLARGE = 10
+ SIZE_XLARGE = 12
;
#else
const int
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits