C# Class idTech4.idSession

The session is the glue that holds games together between levels.
ファイルを表示 Open project: iainmckay/idtech4.net

Public Methods

Method Description
Frame ( ) : void
GuiFrameEvents ( ) : void
Init ( ) : void

Called in an orderly fashion at system startup, so commands, cvars, files, etc are all available.

ProcessEvent ( SystemEvent ev ) : bool
SetUserInterface ( idUserInterface ui, object handle ) : void
StartMenu ( bool playIntro = false ) : void

Activates the main menu.

StartNewGame ( string mapName, bool devMap ) : void
UpdateScreen ( bool outOfSequence = true ) : void
idSession ( ) : System

Private Methods

Method Description
ClearWipe ( ) : void
Cmd_Map ( object sender, CommandEventArgs e ) : void
DispatchCommand ( idUserInterface gui, string menuCommand ) : void
DispatchCommand ( idUserInterface gui, string menuCommand, bool doIngame ) : void
Draw ( ) : void
DrawWipeModel ( ) : void

Draw the fade material over everything that has been drawn.

ExecuteMapChange ( bool noFadeWipe = false ) : void

Performs the initialization of a game based on mapSpawnData, used for both single player and multiplayer, but not for renderDemos, which don't create a game at all.

LoadLoadingInterface ( string mapName ) : void
MoveToNewMap ( string mapName ) : void

Leaves the existing userinfo and serverinfo.

ProcessMenuEvent ( SystemEvent ev ) : bool
RunGameTic ( ) : void
SetMainMenuVariables ( ) : void
ShowLoadingInterface ( ) : void

Method Details

Frame() public method

public Frame ( ) : void
return void

GuiFrameEvents() public method

public GuiFrameEvents ( ) : void
return void

Init() public method

Called in an orderly fashion at system startup, so commands, cvars, files, etc are all available.
public Init ( ) : void
return void

ProcessEvent() public method

public ProcessEvent ( SystemEvent ev ) : bool
ev SystemEvent
return bool

SetUserInterface() public method

public SetUserInterface ( idUserInterface ui, object handle ) : void
ui idTech4.UI.idUserInterface
handle object
return void

StartMenu() public method

Activates the main menu.
public StartMenu ( bool playIntro = false ) : void
playIntro bool
return void

StartNewGame() public method

public StartNewGame ( string mapName, bool devMap ) : void
mapName string
devMap bool
return void

UpdateScreen() public method

public UpdateScreen ( bool outOfSequence = true ) : void
outOfSequence bool
return void

idSession() public method

public idSession ( ) : System
return System