[Super-tux-commit] supertux/src world.cpp,1.57,1.58
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-04 19:13:21
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29336/src Modified Files: world.cpp Log Message: Removed scrolling printf, back scrolling from level 13 and snow from menu. So, two points are gone now. Notice that the back scrolling is still in development, so please calm down, and don't add it to the TODO as a bug. Besides no level use it. I told Ryan to give a look at that code now. Index: world.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/world.cpp,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- world.cpp 4 May 2004 15:38:58 -0000 1.57 +++ world.cpp 4 May 2004 19:12:39 -0000 1.58 @@ -330,7 +330,7 @@ final_scroll_x = tux_pos_x - (screen->w - X_SPACE); else// if (tux.dir == LEFT)// && ) final_scroll_x = tux_pos_x - X_SPACE; -printf("%f\n", frame_ratio); + scroll_x += ((final_scroll_x - scroll_x) / (CHANGE_DIR_SCROLL_SPEED)) * frame_ratio; } |