C# Class idTech4.idSystem

Inheritance: Microsoft.Xna.Framework.Game
ファイルを表示 Open project: iainmckay/idtech4.net Class Usage Examples

Private Properties

Property Type Description
AddStartupCommands bool
Cmd_Error void
Cmd_ExecMachineSpec void
Cmd_Quit void
Cmd_ReloadLanguage void
CreateConsole void
Error void
FatalError void
InitCommands void
InitConsole void
InitCvars void
InitGame void
InitLanguageDict void
InitRenderSystem void
LoadGameDLL void
ParseCommandLine void
PrintLoadingMessage void
SetHighQuality void
SetLowQuality void
SetMachineSpec void
SetMediumQuality void
SetUltraHighQuality void
Shutdown void
Sys_Error void
Sys_Init void
Sys_InitNetworking void

Public Methods

Method Description
StartupVariable ( string match, bool once ) : void

Searches for command line parameters that are set commands.

If match is not NULL, only that cvar will be looked for. That is necessary because cddir and basedir need to be set before the filesystem is started, but all other sets should be after execing the config and default.

idSystem ( string args ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
OnExiting ( object sender, EventArgs args ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddStartupCommands ( ) : bool

Adds command line parameters as script statements. Commands are separated by + signs.

Cmd_Error ( object sender, CommandEventArgs e ) : void

Just throw a fatal error to test error shutdown procedures.

Cmd_ExecMachineSpec ( object sender, CommandEventArgs e ) : void
Cmd_Quit ( object sender, CommandEventArgs e ) : void
Cmd_ReloadLanguage ( object sender, CommandEventArgs e ) : void
CreateConsole ( ) : void
Error ( string format ) : void
FatalError ( string format ) : void
InitCommands ( ) : void
InitConsole ( ) : void
InitCvars ( ) : void
InitGame ( ) : void
InitLanguageDict ( ) : void
InitRenderSystem ( ) : void
LoadGameDLL ( ) : void
ParseCommandLine ( string args ) : void
PrintLoadingMessage ( string msg ) : void
SetHighQuality ( ) : void
SetLowQuality ( ) : void
SetMachineSpec ( ) : void
SetMediumQuality ( ) : void
SetUltraHighQuality ( ) : void
Shutdown ( ) : void
Sys_Error ( string format ) : void

Show the early console as an error dialog.

Sys_Init ( ) : void
Sys_InitNetworking ( ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

OnExiting() protected method

protected OnExiting ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

StartupVariable() public method

Searches for command line parameters that are set commands.
If match is not NULL, only that cvar will be looked for. That is necessary because cddir and basedir need to be set before the filesystem is started, but all other sets should be after execing the config and default.
public StartupVariable ( string match, bool once ) : void
match string
once bool
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

idSystem() public method

public idSystem ( string args ) : System
args string
return System