This commit is contained in:
Paul 2001-01-31 21:05:12 +00:00
parent dd8242267a
commit 982015e348
2 changed files with 63 additions and 1 deletions

View file

@ -182,6 +182,11 @@ private:
{
INVIBCIBLE_FRAMES__START=120, // Invincible for this many frames at start of life
INVINCIBLE_FRAMES__HIT=25, // Invincible for this many frames after taking damage
LOOKAROUND_DELAY=90, // Frames before look around starts
LOOKAROUND_SCROLLSPEED=2, // Speed to scroll at
LOOKAROUND_MAXSCROLL=60, // Maximum distance to scroll
LOOKAROUND_RESETSPEED=6, // Speed of scroll back when look around ended
};
int m_invincibleFrameCount;
@ -194,6 +199,8 @@ private:
DVECTOR m_cameraOffsetTarget;
DVECTOR m_cameraOffset;
int m_cameraLookYOffset;
int m_cameraLookTimer;
void updatePadInput();
virtual int readPadInput();