diff options
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/state_ui.nut')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/state_ui.nut | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/state_ui.nut b/Northstar.Client/mod/scripts/vscripts/state_ui.nut deleted file mode 100644 index 51e4856f..00000000 --- a/Northstar.Client/mod/scripts/vscripts/state_ui.nut +++ /dev/null @@ -1,36 +0,0 @@ -untyped - -globalize_all_functions - -void function NSUpdateGameStateUIStart() -{ - thread NSUpdateGameStateLoopUI() -} - -void function NSUpdateGameStateLoopUI() -{ - while ( true ) - { - wait 1.0 - if ( uiGlobal.loadedLevel == "" ) - { - if ( uiGlobal.isLoading ) - NSSetLoading( true ) - else - { - NSSetLoading( false ) - NSUpdateGameStateUI( "", "", "", "", true, false ) - } - continue - } - NSSetLoading( false ) - if(GetConVarString( "mp_gamemode" ) == "solo") - { - NSUpdateGameStateUI( "northstar", Localize( GetMapDisplayName( GetActiveLevel()+"_CAMPAIGN_NAME" ) ) , "Campaign", "Campaign", IsFullyConnected(), false ) - - } - else{ - NSUpdateGameStateUI( GetActiveLevel(), Localize( GetMapDisplayName( GetActiveLevel() ) ), GetConVarString( "mp_gamemode" ), Localize( GetPlaylistDisplayName( GetConVarString("mp_gamemode") ) ), IsFullyConnected(), false ) - } -} -} |