From c9b02c1cf80a315b689ed04312408f6287a7335a Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 17 Jul 2001 21:04:20 +0000 Subject: [PATCH] --- source/player/player.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/player/player.cpp b/source/player/player.cpp index 84dd3ddb1..ca88b30a7 100644 --- a/source/player/player.cpp +++ b/source/player/player.cpp @@ -565,14 +565,16 @@ s8 s_animMapNet[NUM_PLAYER_ADDONS][NUM_ANIM_SPONGEBOB]= int m_cameraXScrollDir; int m_cameraXScrollPos; -int CAMERA_SCROLLLIMIT=8; // SB is this many tiles off centre at most -int CAMERA_SCROLLTHRESHOLD=6; // If SB moves when more than this many tiles off-centre, the camera will *always* scroll -int CAMERA_STARTMOVETHRESHOLD=90; // If SB moves faster than this then the camera starts scrolling -int CAMERA_STOPMOVETHRESHOLD=10; // If SB moves slower than this then the camera stops scrolling -int CAMERA_SCROLLSPEED=1000; // Speed of the scroll +int CAMERA_SCROLLLIMIT=8; // SB is this many tiles off centre at most +int CAMERA_SCROLLTHRESHOLD=0; // (pkg 17/7) // If SB moves when more than this many tiles off-centre, the camera will *always* scroll +int CAMERA_STARTMOVETHRESHOLD=90; // If SB moves faster than this then the camera starts scrolling +int CAMERA_STOPMOVETHRESHOLD=0; // (pkg 17/7) // If SB moves slower than this then the camera stops scrolling +int CAMERA_SCROLLSPEED=1000; // Speed of the scroll int CAMERA_ACCURACYSHIFT=8; const int CAMERA_TILESIZE=16; +// Well, there goes any chance of refined camera control for the player! :( ( pkg 17/7 ) + int m_isFalling; int m_fallFrames;