fMaxSecondsBack -> m_fMaxSecondsBack

This commit is contained in:
Glenn Maynard
2007-04-25 20:19:06 +00:00
parent 79194f2d6b
commit 9bbed8657d
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ bool InputQueueCode::EnteredCode( GameController controller ) const
return false; return false;
RageTimer OldestTimeAllowed; RageTimer OldestTimeAllowed;
OldestTimeAllowed += -fMaxSecondsBack; OldestTimeAllowed += -m_fMaxSecondsBack;
// iterate newest to oldest // iterate newest to oldest
int iSequenceIndex = m_aPresses.size()-1; // count down int iSequenceIndex = m_aPresses.size()-1; // count down
@@ -221,9 +221,9 @@ bool InputQueueCode::Load( RString sButtonsNames )
} }
if( m_aPresses.size() == 1 ) if( m_aPresses.size() == 1 )
fMaxSecondsBack = 0.55f; m_fMaxSecondsBack = 0.55f;
else else
fMaxSecondsBack = (m_aPresses.size()-1)*0.6f; m_fMaxSecondsBack = (m_aPresses.size()-1)*0.6f;
// if we make it here, we found all the buttons in the code // if we make it here, we found all the buttons in the code
return true; return true;
+1 -1
View File
@@ -41,7 +41,7 @@ private:
}; };
vector<ButtonPress> m_aPresses; vector<ButtonPress> m_aPresses;
float fMaxSecondsBack; float m_fMaxSecondsBack;
}; };
extern InputQueue* INPUTQUEUE; // global and accessable from anywhere in our program extern InputQueue* INPUTQUEUE; // global and accessable from anywhere in our program