Just tuned the X_SPACE, so that Tux position in screen is exactly the same as before.
authorRicardo Cruz <rick2@aeiou.pt>
Wed, 5 May 2004 12:03:50 +0000 (12:03 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Wed, 5 May 2004 12:03:50 +0000 (12:03 +0000)
Check and remove the TODO point, in case you agree.

SVN-Revision: 991

src/world.cpp

index 00b075a..4564c01 100644 (file)
@@ -311,7 +311,7 @@ World::action(double frame_ratio)
 
 // the space that it takes for the screen to start scrolling, regarding
 // screen bounds (in pixels)
-#define X_SPACE 380
+#define X_SPACE (400-16)
 // the time it takes to move the camera (in ms)
 #define CHANGE_DIR_SCROLL_SPEED 2000