GetSecondaryMenuButtonName -> GetMenuButtonSecondaryFunction
This commit is contained in:
@@ -2694,7 +2694,7 @@ const Style* GameManager::GameAndStringToStyle( const Game *game, CString sStyle
|
||||
}
|
||||
|
||||
|
||||
CString GameManager::GetSecondaryMenuButtonName( const Game *pGame, GameButton gb ) const
|
||||
CString GameManager::GetMenuButtonSecondaryFunction( const Game *pGame, GameButton gb ) const
|
||||
{
|
||||
/*
|
||||
* Each GameButton can be used in gameplay (if any gameplay style maps to
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
static const Game* StringToGameType( CString sGameType );
|
||||
const Style* GameAndStringToStyle( const Game* pGame, CString sStyle );
|
||||
static CString StyleToThemedString( const Style* s );
|
||||
CString GetSecondaryMenuButtonName( const Game *pGame, GameButton gb ) const;
|
||||
CString GetMenuButtonSecondaryFunction( const Game *pGame, GameButton gb ) const;
|
||||
};
|
||||
|
||||
extern GameManager* GAMEMAN; // global and accessable from anywhere in our program
|
||||
|
||||
@@ -49,7 +49,7 @@ ScreenMapControllers::ScreenMapControllers( CString sClassName ) : ScreenWithMen
|
||||
for( int b=0; b<GAMESTATE->GetCurrentGame()->m_iButtonsPerController; b++ )
|
||||
{
|
||||
CString sName = GAMESTATE->GetCurrentGame()->m_szButtonNames[b];
|
||||
CString sSecondary = GAMEMAN->GetSecondaryMenuButtonName( GAMESTATE->GetCurrentGame(), b );
|
||||
CString sSecondary = GAMEMAN->GetMenuButtonSecondaryFunction( GAMESTATE->GetCurrentGame(), b );
|
||||
|
||||
m_textName[b].LoadFromFont( THEME->GetPathToF("Common title") );
|
||||
m_textName[b].SetXY( SCREEN_CENTER_X, -6 );
|
||||
|
||||
@@ -59,7 +59,7 @@ void ScreenTestInput::Update( float fDeltaTime )
|
||||
if( INPUTMAPPER->DeviceToGame(di,gi) )
|
||||
{
|
||||
CString sName = GAMESTATE->GetCurrentGame()->m_szButtonNames[gi.button];
|
||||
CString sSecondary = GAMEMAN->GetSecondaryMenuButtonName( GAMESTATE->GetCurrentGame(), gi.button );
|
||||
CString sSecondary = GAMEMAN->GetMenuButtonSecondaryFunction( GAMESTATE->GetCurrentGame(), gi.button );
|
||||
|
||||
sTemp += ssprintf(" (Controller %d %s) %s", gi.controller+1, sName.c_str(), sSecondary.c_str() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user