Fix the build.
This commit is contained in:
@@ -68,6 +68,7 @@ enum StepsType
|
|||||||
STEPS_TYPE_TECHNO_DOUBLE5,
|
STEPS_TYPE_TECHNO_DOUBLE5,
|
||||||
STEPS_TYPE_POPN_FIVE,
|
STEPS_TYPE_POPN_FIVE,
|
||||||
STEPS_TYPE_POPN_NINE,
|
STEPS_TYPE_POPN_NINE,
|
||||||
|
STEPS_TYPE_GUITAR_FIVE,
|
||||||
STEPS_TYPE_LIGHTS_CABINET,
|
STEPS_TYPE_LIGHTS_CABINET,
|
||||||
NUM_StepsType, // leave this at the end
|
NUM_StepsType, // leave this at the end
|
||||||
StepsType_Invalid,
|
StepsType_Invalid,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ StringToX( GameController );
|
|||||||
|
|
||||||
RString GameButtonToString( const InputScheme* pInputs, GameButton i )
|
RString GameButtonToString( const InputScheme* pInputs, GameButton i )
|
||||||
{
|
{
|
||||||
return pInputs->m_szButtonNames[i];
|
return pInputs->m_GameButtonInfo[i].m_szName;
|
||||||
}
|
}
|
||||||
|
|
||||||
RString GameButtonToLocalizedString( const InputScheme* pInputs, GameButton i )
|
RString GameButtonToLocalizedString( const InputScheme* pInputs, GameButton i )
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ RString Style::ColToButtonName( int iCol ) const
|
|||||||
return pzColumnName;
|
return pzColumnName;
|
||||||
|
|
||||||
GameInput GI = StyleInputToGameInput( iCol, PLAYER_1 );
|
GameInput GI = StyleInputToGameInput( iCol, PLAYER_1 );
|
||||||
return INPUTMAPPER->GetInputScheme()->m_szButtonNames[GI.button];
|
return INPUTMAPPER->GetInputScheme()->m_GameButtonInfo[GI.button].m_szName;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lua bindings
|
// Lua bindings
|
||||||
|
|||||||
Reference in New Issue
Block a user