More effective fixes. Still no issues.
Note: you will most likely end up recompiling the whole thing.
This commit is contained in:
+9
-1
@@ -27,11 +27,19 @@ struct InputQueueCode
|
||||
public:
|
||||
bool Load( RString sButtonsNames );
|
||||
bool EnteredCode( GameController controller ) const;
|
||||
|
||||
InputQueueCode(): m_aPresses() {}
|
||||
|
||||
private:
|
||||
struct ButtonPress
|
||||
{
|
||||
ButtonPress() { m_bAllowIntermediatePresses = false; memset( m_InputTypes, 0, sizeof(m_InputTypes) ); m_InputTypes[IET_FIRST_PRESS] = true; }
|
||||
ButtonPress(): m_aButtonsToHold(), m_aButtonsToNotHold(),
|
||||
m_aButtonsToPress(),
|
||||
m_bAllowIntermediatePresses(false)
|
||||
{
|
||||
memset( m_InputTypes, 0, sizeof(m_InputTypes) );
|
||||
m_InputTypes[IET_FIRST_PRESS] = true;
|
||||
}
|
||||
vector<GameButton> m_aButtonsToHold;
|
||||
vector<GameButton> m_aButtonsToNotHold;
|
||||
vector<GameButton> m_aButtonsToPress;
|
||||
|
||||
Reference in New Issue
Block a user