don't process hold note logic while paused

SM_Pause can be sent from elsewhere to pause
START unpauses when paused
don't move on to another screen when paused
This commit is contained in:
Glenn Maynard
2005-03-11 03:54:40 +00:00
parent afe1f892eb
commit f61cce45f5
4 changed files with 31 additions and 2 deletions
+2
View File
@@ -51,6 +51,7 @@ public:
void FadeToFail();
TapNoteScore GetLastTapNoteScore() const { return m_LastTapNoteScore; }
void ApplyWaitingTransforms();
void SetPaused( bool bPaused ) { m_bPaused = bPaused; }
static float GetMaxStepDistanceSeconds();
@@ -75,6 +76,7 @@ protected:
PlayerStageStats* m_pPlayerStageStats;
float m_fNoteFieldHeight;
bool m_bPaused;
float m_fOffset[SAMPLE_COUNT]; // for AutoSync
int m_iOffsetSample;