Reworked the title screen and lock buttons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -54,7 +54,7 @@ GameMode::GameMode()
|
||||
widget_manager->addWgt(WTOK_GP, 50, 7);
|
||||
if(unlock_manager->isLocked("grandprix"))
|
||||
{
|
||||
widget_manager->setWgtText( WTOK_GP, "???");
|
||||
widget_manager->hideWgtText(WTOK_GP);
|
||||
widget_manager->deactivateWgt(WTOK_GP);
|
||||
|
||||
const Material *m = material_manager->getMaterial("gui_lock.rgb", false);
|
||||
@@ -78,7 +78,7 @@ GameMode::GameMode()
|
||||
widget_manager->addWgt(WTOK_FOLLOW_LEADER, 50, 7);
|
||||
if(unlock_manager->isLocked("followleader"))
|
||||
{
|
||||
widget_manager->setWgtText( WTOK_FOLLOW_LEADER, "???");
|
||||
widget_manager->hideWgtText(WTOK_FOLLOW_LEADER);
|
||||
widget_manager->deactivateWgt(WTOK_FOLLOW_LEADER);
|
||||
|
||||
const Material *m = material_manager->getMaterial("gui_lock.rgb", false);
|
||||
|
||||
@@ -58,7 +58,7 @@ TrackSel::TrackSel()
|
||||
widget_manager->setWgtTextSize( WTOK_TRACK0 + i, WGT_FNT_SML );
|
||||
if(!isAvailable)
|
||||
{
|
||||
widget_manager->setWgtText( WTOK_TRACK0 + i, "???");
|
||||
widget_manager->hideWgtText(WTOK_TRACK0 + i);
|
||||
widget_manager->deactivateWgt(WTOK_TRACK0 + i);
|
||||
|
||||
const Material *m = material_manager->getMaterial("gui_lock.rgb", false);
|
||||
|
||||
Reference in New Issue
Block a user