diff options
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/ui')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut | 34 | ||||
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut | 5 |
2 files changed, 18 insertions, 21 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut index 9a40f788..c6ef5f3a 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut @@ -599,22 +599,24 @@ void function DoGameNeedsToInstallDialog() void function UpdateTrialLabel() { - bool isTrialVersion - bool lastIsTrialVersion = Script_IsRunningTrialVersion() - - Hud_SetVisible( file.trialLabel, lastIsTrialVersion ) - - while ( GetTopNonDialogMenu() == file.menu ) - { - isTrialVersion = Script_IsRunningTrialVersion() - - if ( isTrialVersion != lastIsTrialVersion ) - Hud_SetVisible( file.trialLabel, isTrialVersion ) - - lastIsTrialVersion = isTrialVersion - - WaitFrame() - } + //bool isTrialVersion + //bool lastIsTrialVersion = Script_IsRunningTrialVersion() + + Hud_SetColor( file.trialLabel, 101, 109, 207, 255 ) + Hud_SetText( file.trialLabel, "+ NORTHSTAR" ) + Hud_SetVisible( file.trialLabel, true ) + + //while ( GetTopNonDialogMenu() == file.menu ) + //{ + // isTrialVersion = Script_IsRunningTrialVersion() + // + // if ( isTrialVersion != lastIsTrialVersion ) + // Hud_SetVisible( file.trialLabel, isTrialVersion ) + // + // lastIsTrialVersion = isTrialVersion + // + // WaitFrame() + //} } void function OpenSinglePlayerDevMenu( var button ) diff --git a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut index d42a2331..2eafa373 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut @@ -32,11 +32,6 @@ const DEBUG_PERMISSIONS = false void function InitMainMenuPanel() { - // disable communities because of the cool openinvite exploit (not required anymore but keeping here anyway - SetConVarBool( "communities_enabled", false ) - SetConVarString( "communities_hostname", "localhost" ) - - RegisterSignal( "EndShowMainMenuPanel" ) file.panel = GetPanel( "MainMenuPanel" ) |