[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src unit_display.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src unit_display.cpp |
Date: |
Thu, 03 Feb 2005 18:09:32 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 05/02/03 23:09:31
Modified files:
src : unit_display.cpp
Log message:
made units move slightly slower (corrects previous patch which could
make them move rather fast)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/unit_display.cpp.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
Patches:
Index: wesnoth/src/unit_display.cpp
diff -u wesnoth/src/unit_display.cpp:1.47 wesnoth/src/unit_display.cpp:1.48
--- wesnoth/src/unit_display.cpp:1.47 Mon Jan 31 03:02:38 2005
+++ wesnoth/src/unit_display.cpp Thu Feb 3 23:09:31 2005
@@ -65,11 +65,11 @@
LOG_DP << "submerge: " << src_submerge << " -> " << dst_submerge <<
"\n";
const gamemap::TERRAIN terrain = map.get_terrain(b);
- const int nsteps = disp.turbo() ? 3 : 10*u.movement_cost(map,terrain);
+ const int nsteps = disp.turbo() ? 3 : 7*u.movement_cost(map,terrain);
const double xstep = double(xdst - xsrc) / nsteps;
const double ystep = double(ydst - ysrc) / nsteps;
- const int time_between_frames = disp.turbo() ? 2 : 10;
+ const int time_between_frames = disp.turbo() ? 10 : 20;
int ticks = SDL_GetTicks();
int skips = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp,
David White <=