mirror of
https://github.com/Ragora/TribesReplay.git
synced 2026-01-19 17:44:45 +00:00
* Fixed a problem that could have caused texture leaking in the interiors * Fixed an AI problem in Training 2 * Chinese "simplified" keyboard supported * Korean keyboard supported * A bug where infinite ammo could be gained by tossing the ammo was prevented. * Fixed a problem in Training 2 where a waypoint wouldn't update properly. * Thundersword and Havoc hold steady now when players try to jump in so they don't invert and detonate. * CD is now required in the drive for on-line play. * Scoring has been fixed so that it isn't blanked any longer if the admin changes the time limit during a game. * Active server queries will be cancelled now when you join a game (loads game faster now). * If standing in an inventory station when it is destroyed you no longer permanently lose weapons. * Fixed two issues that *could* cause crashes. * Fixed a problem where the bombardier could create a permanent targeting laser. * Cleaned up Chat text to remove programming characters. * Fixed "highlight text with my nick" option so it saves preference to file correctly. * Made MPB able to climb hills more easily and reduced damage from impact with the ground. * Added button to stop server queries in progress on "JOIN" screen. * Observers can now only chat with other observers (no one else can hear them). * Made deployable inv stations have smaller trigger so they don't "suck you in" from so far away. * Bots will now claim switches in CnH more accurately. * Added a "max distance" ring for sensors on the commander map so players can more accurately assess how well they placed the sensor in relation to how much area it is actually sensing. * Added a "ding" sound when you have filled up a text buffer so that you know why your text isn't showing up. * Fixed Chat HUD so that page up/page down works better. * Fixed a situation where Heavies could end up being permanently cloaked. * The MPBs on the "Alcatraz" map now deploy correctly (Siege map). * The "edited post" date stamp now works correctly. * If you jump into a vehicle while zoomed in, the zoom will reset correctly therafter now. * The Score Screen (F2) is now available while in a vehicle. * You can now vote to kick observers, if desired. * The ELF turret is fixed so it no longer fires at players when destroyed (an intermittent bug) * Some console spam associated with the Wildcat has been removed. * There was a situation where a player could die twice if he fell out of bounds. That has been resolved. * Screen resolution information should update properly now when restarting the application. * The camera should no longer be able to dip below terrain when in third person mode.
593 lines
15 KiB
C#
593 lines
15 KiB
C#
if ( $pref::Shell::lastBackground > 4 )
|
|
$pref::Shell::lastBackground = 0;
|
|
else
|
|
$pref::Shell::lastBackground++;
|
|
|
|
// load default controls:
|
|
exec("scripts/controlDefaults.cs");
|
|
|
|
// override with control settings
|
|
if ( $pref::Input::ActiveConfig !$= "" )
|
|
exec( "prefs/" @ $pref::Input::ActiveConfig @ ".cs", false, true );
|
|
|
|
//exec any user created .cs files found in scripts/autoexec (order is that returned by the OS)
|
|
function loadCustomScripts()
|
|
{
|
|
%path = "scripts/autoexec/*.cs";
|
|
for( %file = findFirstFile( %path ); %file !$= ""; %file = findNextFile( %path ) )
|
|
exec( %file );
|
|
}
|
|
loadCustomScripts();
|
|
|
|
// override settings from autoexec.cs
|
|
exec("autoexec.cs");
|
|
$LoginName = "";
|
|
$LoginPassword = "";
|
|
|
|
//TINMAN hack to add a command line option for starting a bot match...
|
|
if ($CmdLineBotCount !$= "")
|
|
{
|
|
$Host::BotCount = $CmdLineBotCount;
|
|
}
|
|
|
|
// message.cs is loaded so autoexec can add new message callbacks
|
|
|
|
exec("scripts/message.cs");
|
|
|
|
//function to be called when the game exits
|
|
function onExit()
|
|
{
|
|
IRCClient::quit();
|
|
|
|
echo("exporting pref::* to ClientPrefs.cs");
|
|
export("$pref::*", "prefs/ClientPrefs.cs", False);
|
|
BanList::Export("prefs/banlist.cs");
|
|
}
|
|
|
|
|
|
//--------------------------------------------------------------------------
|
|
|
|
exec("scripts/LaunchLanGui.cs");
|
|
exec("scripts/GameGui.cs");
|
|
exec("scripts/ChooseFilterDlg.cs");
|
|
exec("scripts/TrainingGui.cs");
|
|
exec("scripts/webstuff.cs");
|
|
exec("scripts/webforums.cs");
|
|
exec("scripts/webemail.cs");
|
|
exec("scripts/webbrowser.cs");
|
|
exec("scripts/webtest.cs");
|
|
exec("scripts/webnews.cs");
|
|
exec("scripts/weblinks.cs");
|
|
exec("scripts/OptionsDlg.cs");
|
|
exec("scripts/EditChatMenuGui.cs");
|
|
exec("scripts/scoreList.cs");
|
|
exec("scripts/LobbyGui.cs");
|
|
exec("scripts/DebriefGui.cs");
|
|
exec("scripts/commonDialogs.cs");
|
|
exec("scripts/client.cs");
|
|
exec("scripts/server.cs");
|
|
exec("scripts/hud.cs");
|
|
exec("scripts/objectiveHud.cs");
|
|
exec("scripts/vehicles/clientVehicleHud.cs");
|
|
exec("scripts/inventoryHud.cs");
|
|
exec("scripts/chatMenuHud.cs");
|
|
exec("scripts/scoreScreen.cs");
|
|
exec("scripts/loadingGui.cs");
|
|
exec("scripts/helpGuiText.cs");
|
|
exec("scripts/voiceChat.cs");
|
|
exec("scripts/clientTasks.cs");
|
|
exec("scripts/targetManager.cs");
|
|
exec("scripts/gameCanvas.cs");
|
|
exec("scripts/centerPrint.cs");
|
|
exec("scripts/CreditsGui.cs");
|
|
exec("scripts/ChatGui.cs");
|
|
|
|
// see if the mission and type are valid
|
|
// if they are they will be assigned into $Host::Map and $Host::MissionType
|
|
if($mission !$= "" && $missionType !$= "")
|
|
validateMissionAndType($mission, $missionType);
|
|
|
|
if($LaunchMode $= "DedicatedServer")
|
|
{
|
|
enableWinConsole(true);
|
|
$Host::Dedicated = true;
|
|
$HostGameType = "Online";
|
|
$ServerName = $Host::GameName;
|
|
$HostGameBotCount = $Host::BotCount;
|
|
setNetPort($Host::Port);
|
|
CreateServer($Host::Map, $Host::MissionType);
|
|
return;
|
|
}
|
|
else if($LaunchMode $= "Console")
|
|
{
|
|
enableWinConsole(true);
|
|
$Host::Dedicated = true;
|
|
return;
|
|
}
|
|
else if($LaunchMode $= "NavBuild")
|
|
{
|
|
enableWinConsole(true);
|
|
$Host::Dedicated = true;
|
|
$ServerName = $Host::GameName;
|
|
$Host::MissionType = $missionType;
|
|
$Host::Map = $Mission;
|
|
setNetPort($Host::Port);
|
|
CreateServer($Mission, $missionType);
|
|
return;
|
|
}
|
|
else if($LaunchMode $= "SpnBuild")
|
|
{
|
|
enableWinConsole(true);
|
|
$Host::Dedicated = true;
|
|
$ServerName = $Host::GameName;
|
|
$Host::MissionType = $missionType;
|
|
$Host::Map = $Mission;
|
|
setNetPort($Host::Port);
|
|
CreateServer($Mission, $missionType);
|
|
return;
|
|
}
|
|
|
|
function recordMovie(%movieName, %fps)
|
|
{
|
|
$timeAdvance = 1000 / %fps;
|
|
$screenGrabThread = schedule("movieGrabScreen(" @ %movieName @ ", 0);", $timeAdvance);
|
|
}
|
|
|
|
function movieGrabScreen(%movieName, %frameNumber)
|
|
{
|
|
if(%frameNumber < 10)
|
|
%frameNumber = "0" @ %frameNumber;
|
|
if(%frameNumber < 100)
|
|
%frameNumber = "0" @ %frameNumber;
|
|
if(%frameNumber < 1000)
|
|
%frameNumber = "0" @ %frameNumber;
|
|
if(%frameNumber < 10000)
|
|
%frameNumber = "0" @ %frameNumber;
|
|
screenshot(%movieName @ %frameNumber @ ".png");
|
|
$screenGrabThread = schedule("movieGrabScreen(" @ %movieName @ "," @ %frameNumber + 1 @ ");", $timeAdvance);
|
|
}
|
|
|
|
function stopMovie()
|
|
{
|
|
cancel($screenGrabThread);
|
|
}
|
|
|
|
function loadGui(%gui)
|
|
{
|
|
exec("gui/" @ %gui @ ".gui");
|
|
}
|
|
|
|
exec("scripts/clientAudio.cs");
|
|
exec("gui/guiProfiles.cs");
|
|
exec("scripts/recordings.cs");
|
|
|
|
// tool guis
|
|
loadGui("GuiEditorGui");
|
|
loadGui("consoleDlg");
|
|
loadGui("InspectDlg");
|
|
loadGui("CommonLoadDlg");
|
|
loadGui("CommonSaveDlg");
|
|
loadGui("FrameOverlayGui");
|
|
loadGui("TribeAdminMemberDlg");
|
|
loadGui("TSShowGui");
|
|
loadGui("TSShowLoadDlg");
|
|
loadGui("TSShowMiscDlg");
|
|
loadGui("TSShowThreadControlDlg");
|
|
loadGui("TSShowEditScale");
|
|
loadGui("TSShowLightDlg");
|
|
loadGui("TSShowTransitionDlg");
|
|
loadGui("TSShowTranDurEditDlg");
|
|
loadGui("TSShowDetailControlDlg");
|
|
|
|
// debugger GUI's
|
|
function Debugger()
|
|
{
|
|
if(!$DebuggerLoaded)
|
|
{
|
|
loadGui("debuggerGui");
|
|
loadGui("DebuggerBreakConditionDlg");
|
|
loadGui("DebuggerConnectDlg");
|
|
loadGui("DebuggerEditWatchDlg");
|
|
loadGui("DebuggerWatchDlg");
|
|
loadGui("DebuggerFindDlg");
|
|
exec("scripts/debuggerGui.cs");
|
|
$DebuggerLoaded = true;
|
|
}
|
|
Canvas.setContent(DebuggerGui);
|
|
}
|
|
|
|
// test GUIs
|
|
loadGui("GuiTestGui");
|
|
|
|
// common shell dialogs:
|
|
loadGui("MessageBoxDlg");
|
|
loadGui("MessagePopupDlg");
|
|
loadGui("ShellLoadFileDlg");
|
|
loadGui("ShellSaveFileDlg");
|
|
|
|
// menus
|
|
loadGui("AddressDlg");
|
|
loadGui("GenDialog");
|
|
loadGui("LaunchGui");
|
|
loadGui("LaunchToolbarDlg");
|
|
loadGui("GameGui");
|
|
loadGui("ChooseFilterDlg");
|
|
loadGui("ServerInfoDlg");
|
|
loadGui("AdvancedHostDlg");
|
|
loadGui("NewWarriorDlg");
|
|
loadGui("JoinChatDlg");
|
|
loadGui("ChannelKeyDlg");
|
|
loadGui("ChatOptionsDlg");
|
|
loadGui("ChannelOptionsDlg");
|
|
loadGui("ChannelBanDlg");
|
|
loadGui("FilterEditDlg");
|
|
loadGui("PasswordDlg");
|
|
loadGui("OptionsDlg");
|
|
loadGui("DriverInfoDlg");
|
|
loadGui("RemapDlg");
|
|
loadGui("MouseConfigDlg");
|
|
loadGui("JoystickConfigDlg");
|
|
loadGui("EditChatMenuGui");
|
|
loadGui("EditChatMenuDlg");
|
|
loadGui("EditChatCommandDlg");
|
|
loadGui("ChatGui");
|
|
loadGui("EmailGui");
|
|
loadGui("NewsGui");
|
|
loadGui("NewsPostDlg");
|
|
loadGui("NewsEditMOTDDlg");
|
|
loadGui("EmailBlockDlg");
|
|
loadGui("EmailComposeDlg");
|
|
loadGui("ForumsGui");
|
|
loadGui("ForumsComposeDlg");
|
|
loadGui("TribeAndWarriorBrowserGui");
|
|
loadGui("TribePropertiesDlg");
|
|
loadGui("WarriorPropertiesDlg");
|
|
loadGui("BrowserSearchDlg");
|
|
loadGui("BrowserEditInfoDlg");
|
|
loadGui("CreateTribeDlg");
|
|
loadGui("RecordingsDlg");
|
|
loadGui("TrainingGui");
|
|
loadGui("SinglePlayerEscapeDlg");
|
|
loadGui("LobbyGui");
|
|
loadGui("DebriefGui");
|
|
loadGui("CreditsGui");
|
|
|
|
loadGui("NewMissionGui");
|
|
loadGui("ChatDlg");
|
|
loadGui("PlayGui");
|
|
loadGui("PanoramaGui");
|
|
loadGui("LoadingGui");
|
|
loadGui("TestGui");
|
|
loadGui("BriefingGui");
|
|
|
|
// HUD GUI's:
|
|
loadGui("HUDDlgs");
|
|
|
|
// terraformer GUI's
|
|
loadGui("TerraformerGui");
|
|
loadGui("TerraformerTextureGui");
|
|
loadGui("TerraformerHeightfieldGui");
|
|
loadGui("TerraformerFullScreenGui");
|
|
loadGui("helpTextGui");
|
|
//
|
|
loadGui("InteriorPreviewGui");
|
|
loadGui("InteriorDebug");
|
|
loadGui("EditorGui");
|
|
loadGui("SceneLightingGui");
|
|
loadGui("InspectAddFieldDlg");
|
|
|
|
loadGui("PickTeamDlg");
|
|
|
|
loadGui("DetailSetDlg");
|
|
|
|
loadGui("IHVTest");
|
|
|
|
// Load material properties
|
|
echo("Load Material Properties:");
|
|
exec("textures/badlands/badlandsPropMap.cs");
|
|
exec("textures/desert/desertPropMap.cs");
|
|
exec("textures/ice/icePropMap.cs");
|
|
exec("textures/lava/lavaPropMap.cs");
|
|
exec("textures/lush/lushPropMap.cs");
|
|
|
|
// commander map
|
|
exec("scripts/commanderProfiles.cs");
|
|
exec("scripts/commanderMap.cs");
|
|
exec("scripts/commanderMapHelpText.cs");
|
|
|
|
loadGui(CommanderMapGui);
|
|
loadGui(cmdMapHelpText);
|
|
loadGui(TaskHudDlg);
|
|
|
|
|
|
function frameCounter()
|
|
{
|
|
return " FPS: " @ $fps::real @
|
|
" mspf: " @ 1000 / $fps::real;
|
|
}
|
|
|
|
function terrMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" L0: " @ $T2::levelZeroCount @
|
|
" FMC: " @ $T2::fullMipCount @
|
|
" DTC: " @ $T2::dynamicTextureCount @
|
|
" UNU: " @ $T2::unusedTextureCount @
|
|
" STC: " @ $T2::staticTextureCount @
|
|
" DTSU: " @ $T2::textureSpaceUsed @
|
|
" STSU: " @ $T2::staticTSU @
|
|
" FRB: " @ $T2::FogRejections;
|
|
}
|
|
|
|
function triMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" TC: " @ $OpenGL::triCount0 + $OpenGL::triCount1 + $OpenGL::triCount2 + $OpenGL::triCount3 @
|
|
" PC: " @ $OpenGL::primCount0 + $OpenGL::primCount1 + $OpenGL::primCount2 + $OpenGL::primCount3 @
|
|
" T_T: " @ $OpenGL::triCount1 @
|
|
" T_P: " @ $OpenGL::primCount1 @
|
|
" I_T: " @ $OpenGL::triCount2 @
|
|
" I_P: " @ $OpenGL::primCount2 @
|
|
" TS_T: " @ $OpenGL::triCount3 @
|
|
" TS_P: " @ $OpenGL::primCount3 @
|
|
" ?_T: " @ $OpenGL::triCount0 @
|
|
" ?_P: " @ $OpenGL::primCount0;
|
|
}
|
|
|
|
function interiorMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" NTL: " @ $Video::numTexelsLoaded @
|
|
" TRP: " @ $Video::texResidentPercentage @
|
|
" INP: " @ $Metrics::Interior::numPrimitives @
|
|
" INT: " @ $Matrics::Interior::numTexturesUsed @
|
|
" INO: " @ $Metrics::Interior::numInteriors;
|
|
}
|
|
|
|
function textureMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" NTL: " @ $Video::numTexelsLoaded @
|
|
" TRP: " @ $Video::texResidentPercentage @
|
|
" TCM: " @ $Video::textureCacheMisses;
|
|
}
|
|
|
|
function waterMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" Tri#: " @ $T2::waterTriCount @
|
|
" Pnt#: " @ $T2::waterPointCount @
|
|
" Hz#: " @ $T2::waterHazePointCount;
|
|
}
|
|
|
|
function timeMetrics()
|
|
{
|
|
return frameCounter() @ " Time: " @ getSimTime() @ " Mod: " @ getSimTime() % 32;
|
|
}
|
|
|
|
function vehicleMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" R: " @ $Vehicle::retryCount @
|
|
" C: " @ $Vehicle::searchCount @
|
|
" P: " @ $Vehicle::polyCount @
|
|
" V: " @ $Vehicle::vertexCount;
|
|
}
|
|
|
|
function audioMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" OH: " @ $Audio::numOpenHandles @
|
|
" OLH: " @ $Audio::numOpenLoopingHandles @
|
|
" OVH: " @ $Audio::numOpenVoiceHandles @
|
|
" AS: " @ $Audio::numActiveStreams @
|
|
" NAS: " @ $Audio::numNullActiveStreams @
|
|
" LAS: " @ $Audio::numActiveLoopingStreams @
|
|
" VAS: " @ $Audio::numActiveVoiceStreams @
|
|
" LS: " @ $Audio::numLoopingStreams @
|
|
" ILS: " @ $Audio::numInactiveLoopingStreams @
|
|
" CLS: " @ $Audio::numCulledLoopingStreams @
|
|
" MEM: " @ $Audio::memUsage @
|
|
" DYN: " @ $Audio::dynamicMemUsage @
|
|
" / " @ $Audio::dynamicMemSize @
|
|
" CNT: " @ $Audio::dynamicBufferCount @
|
|
" / " @ $Audio::bufferCount;
|
|
}
|
|
|
|
function DebugMetrics()
|
|
{
|
|
return frameCounter() @
|
|
" NTL: " @ $Video::numTexelsLoaded @
|
|
" TRP: " @ $Video::texResidentPercentage @
|
|
" NP: " @ $Metrics::numPrimitives @
|
|
" NT: " @ $Metrics::numTexturesUsed @
|
|
" NO: " @ $Metrics::numObjectsRendered;
|
|
}
|
|
|
|
|
|
function showTerr()
|
|
{
|
|
show("terrMetrics()");
|
|
}
|
|
|
|
function showTri()
|
|
{
|
|
GLEnableMetrics(true);
|
|
show("triMetrics()");
|
|
}
|
|
|
|
function showTime()
|
|
{
|
|
show("timeMetrics()");
|
|
}
|
|
|
|
function showWater()
|
|
{
|
|
show("waterMetrics()");
|
|
}
|
|
|
|
function showTexture()
|
|
{
|
|
show("textureMetrics()");
|
|
}
|
|
|
|
function showInterior()
|
|
{
|
|
$fps::virtual = 0;
|
|
$Interior::numPolys = 0;
|
|
$Interior::numTextures = 0;
|
|
$Interior::numTexels = 0;
|
|
$Interior::numLightmaps = 0;
|
|
$Interior::numLumels = 0;
|
|
show("interiorMetrics()");
|
|
}
|
|
|
|
function showVehicle()
|
|
{
|
|
show("vehicleMetrics()");
|
|
}
|
|
|
|
function showAudio()
|
|
{
|
|
show("audioMetrics()");
|
|
}
|
|
|
|
function showDebug()
|
|
{
|
|
show("DebugMetrics()");
|
|
}
|
|
|
|
|
|
function show(%expr)
|
|
{
|
|
if(%expr $= "")
|
|
{
|
|
GLEnableMetrics(false);
|
|
Canvas.popDialog(FrameOverlayGui);
|
|
}
|
|
else
|
|
{
|
|
Canvas.pushDialog(FrameOverlayGui, 1000);
|
|
TextOverlayControl.setValue(%expr);
|
|
}
|
|
}
|
|
//showInterior();
|
|
|
|
// check the launch mode:
|
|
|
|
Canvas.setCursor("DefaultCursor");
|
|
|
|
function dumpFile(%fileName)
|
|
{
|
|
%file = new FileObject();
|
|
if(%file.openForRead(%fileName))
|
|
{
|
|
while(!%file.isEOF())
|
|
echo(%file.readLine());
|
|
}
|
|
%file.delete();
|
|
}
|
|
|
|
function doScreenShot(%val)
|
|
{
|
|
$pref::interior::showdetailmaps = false;
|
|
if(!%val)
|
|
screenShot("screen" @ $screenshotnum++ @ ".png");
|
|
}
|
|
|
|
// set up the movement action map
|
|
GlobalActionMap.bind(keyboard, "print", doScreenShot);
|
|
GlobalActionMap.bindCmd(keyboard, "alt enter", "", "toggleFullScreen();");
|
|
|
|
// Get the joystick binding functions:
|
|
exec( "scripts/joystickBind.cs" );
|
|
|
|
function clientCMDgetManagerID(%client)
|
|
{
|
|
$client = %client;
|
|
}
|
|
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- //
|
|
|
|
function abs(%val)
|
|
{
|
|
if (%val < 0)
|
|
return %val * -1;
|
|
else
|
|
return %val;
|
|
}
|
|
|
|
//##############################################################################
|
|
//CreateServer(testmission);
|
|
//LocalConnect(UberBob);
|
|
//##############################################################################
|
|
|
|
function ServerConnectionAccepted()
|
|
{
|
|
Canvas.setContent("LoadingGui");
|
|
}
|
|
|
|
function LocalConnectionAccepted()
|
|
{
|
|
Canvas.setContent("LoadingGui");
|
|
}
|
|
|
|
function DispatchLaunchMode()
|
|
{
|
|
switch$($LaunchMode)
|
|
{
|
|
case "InteriorView":
|
|
if ( isFile( "missions/interiorTest.mis" ) )
|
|
{
|
|
$InteriorArgument = $TestObjectFileName;
|
|
$extension = fileExt( $TestObjectFileName );
|
|
if ( stricmp( $extension, ".dif\"" ) == 0 )
|
|
{
|
|
// Have to adjust for quotes:
|
|
$TestObjectFileName = getSubStr( $TestObjectFileName,
|
|
1, strlen( $TestObjectFileName ) - 2 );
|
|
}
|
|
|
|
if ( getSubStr( $TestObjectFileName, strlen( $TestObjectFileName ) - 6, 1 ) $= "_" )
|
|
{
|
|
// Strip the detail part off...
|
|
$TestObjectFileName = getSubStr( $TestObjectFileName, 0, strlen( $TestObjectFileName ) - 6 ) @ ".dif";
|
|
}
|
|
|
|
echo( $TestObjectFileName @ " is the file loaded" );
|
|
|
|
$ServerName = $Host::GameName;
|
|
$Host::TimeLimit = 60;
|
|
CreateServer( "interiorTest", "InteriorTest" );
|
|
localConnect( "TestGuy" );
|
|
}
|
|
else
|
|
MessageBoxOK( "FILE NOT FOUND", "You do not have the interior test mission in your mission folder.\nTalk to Brad or Tom to get it.", "quit();" );
|
|
case "Connect":
|
|
OnlineLogIn();
|
|
setNetPort(0);
|
|
JoinGame($JoinGameAddress);
|
|
case "HostGame":
|
|
$ServerName = $Host::GameName;
|
|
$Host::MissionType = $MissionType;
|
|
$Host::Map = $Mission;
|
|
CreateServer($Mission, $MissionType);
|
|
localConnect();
|
|
case "Normal":
|
|
OnlineLogIn();
|
|
case "Offline":
|
|
PlayOffline();
|
|
case "TSShow":
|
|
startShow();
|
|
case "SceneLight":
|
|
CreateServer($Mission);
|
|
localConnect();
|
|
case "Demo":
|
|
LoopDemos();
|
|
}
|
|
}
|
|
|
|
if($LaunchMode !$= "Demo")
|
|
VerifyCDCheck(DispatchLaunchMode);
|
|
else
|
|
DispatchLaunchMode();
|