From 7f2f64ead0633ecae2aef50e841076d680d6e35a Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 14 May 2001 15:15:20 +0000 Subject: [PATCH] --- source/player/player.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/player/player.cpp b/source/player/player.cpp index 9cd338a58..15aecf393 100644 --- a/source/player/player.cpp +++ b/source/player/player.cpp @@ -517,8 +517,8 @@ static 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=20; // If SB moves faster than this then the camera starts scrolling +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_ACCURACYSHIFT=8; @@ -1457,7 +1457,6 @@ void CPlayer::respawn() m_lives--; } - /*---------------------------------------------------------------------- Function: Purpose: Yes - This function is fat! It can be tidied up when all of the anims @@ -1948,7 +1947,7 @@ void CPlayer::shove( DVECTOR move ) ---------------------------------------------------------------------- */ void CPlayer::moveLeft() { - if(m_moveVelocity.vx<-CAMERA_STARTMOVETHRESHOLD)//||m_cameraXScrollPos<-(CAMERA_SCROLLTHRESHOLD*CAMERA_TILESIZE)<CAMERA_STARTMOVETHRESHOLD)//||m_cameraXScrollPos>(CAMERA_SCROLLTHRESHOLD*CAMERA_TILESIZE)<CAMERA_STARTMOVETHRESHOLD||m_cameraXScrollPos>(CAMERA_SCROLLTHRESHOLD*CAMERA_TILESIZE)<