figure out secondary button names dynamically

This commit is contained in:
Glenn Maynard
2004-12-04 04:39:51 +00:00
parent d7a03bb37f
commit 36d462ffd6
4 changed files with 65 additions and 2 deletions
+1 -1
View File
@@ -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 = GAMESTATE->GetCurrentGame()->m_szSecondaryFunction[b];
CString sSecondary = GAMEMAN->GetSecondaryMenuButtonName( GAMESTATE->GetCurrentGame(), b );
m_textName[b].LoadFromFont( THEME->GetPathToF("Common title") );
m_textName[b].SetXY( SCREEN_CENTER_X, -6 );