C# Class idTech4.idGameConsole

显示文件 Open project: iainmckay/idtech4.net

Public Methods

Method Description
Close ( ) : void
Draw ( bool forceFullScreen ) : void
Dump ( string file ) : void
Init ( ) : void
LoadGraphics ( ) : void

Can't be combined with init, because init happens before the renderSystem is initialized.

ProcessEvent ( SystemEvent ev, bool forceAccept ) : bool
WriteLine ( string msg ) : void
idGameConsole ( ) : System

Private Methods

Method Description
ClearNotificationLines ( ) : void
Cmd_Clear ( object sender, CommandEventArgs e ) : void
Cmd_Dump ( object sender, CommandEventArgs e ) : void
DrawFPS ( float y ) : float
DrawInput ( ) : void
DrawNotify ( ) : void
DrawSolidConsole ( float fraction ) : void

Draws the console with the solid background.

DrawText ( int lines, float y ) : void
DrawVersion ( int lines ) : void
Scroll ( ) : void

Deals with scrolling text because we don't have key repeat.

SetDisplayFraction ( float fraction ) : void

Causes the console to start opening the desired amount.

UpdateDisplayFraction ( ) : void

Scrolls the console up or down based on conspeed.

Method Details

Close() public method

public Close ( ) : void
return void

Draw() public method

public Draw ( bool forceFullScreen ) : void
forceFullScreen bool
return void

Dump() public method

public Dump ( string file ) : void
file string
return void

Init() public method

public Init ( ) : void
return void

LoadGraphics() public method

Can't be combined with init, because init happens before the renderSystem is initialized.
public LoadGraphics ( ) : void
return void

ProcessEvent() public method

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

WriteLine() public method

public WriteLine ( string msg ) : void
msg string
return void

idGameConsole() public method

public idGameConsole ( ) : System
return System