Added explanation message to locked game modes and tracks.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-05-26 04:31:53 +00:00
parent 2dd0211ede
commit a338b7098e
2 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,8 @@ GameMode::GameMode()
widget_manager->setWgtColor( WTOK_FOLLOW_LEADER, WGT_GRAY);
widget_manager->setWgtTexture( WTOK_FOLLOW_LEADER, "gui_lock.rgb", false );
widget_manager->showWgtTexture( WTOK_FOLLOW_LEADER );
widget_manager->setWgtText(WTOK_FOLLOW_LEADER,
_("Fulfil challenge to unlock"));
}
widget_manager->addEmptyWgt( WidgetManager::WGT_NONE, 1, 7);

View File

@ -68,6 +68,7 @@ TrackSel::TrackSel()
widget_manager->setWgtColor( WTOK_TRACK0 + i, WGT_GRAY );
widget_manager->setWgtTexture( WTOK_TRACK0 + i, "gui_lock.rgb", false );
widget_manager->showWgtTexture( WTOK_TRACK0 + i );
widget_manager->setWgtText(WTOK_TRACK0+i, _("Fulfil challenge to unlock"));
}
if( i%2 != 0 ) widget_manager->breakLine();
else if (i + 1 == track_manager->getTrackCount() )