C# Class idTech4.idSystem

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

OnExiting() protected méthode

protected OnExiting ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
Résultat void

StartupVariable() public méthode

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
Résultat void

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

idSystem() public méthode

public idSystem ( string args ) : System
args string
Résultat System