C# Class idTech4.idGameConsole

Afficher le fichier Open project: iainmckay/idtech4.net

Méthodes publiques

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

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

public Close ( ) : void
Résultat void

Draw() public méthode

public Draw ( bool forceFullScreen ) : void
forceFullScreen bool
Résultat void

Dump() public méthode

public Dump ( string file ) : void
file string
Résultat void

Init() public méthode

public Init ( ) : void
Résultat void

LoadGraphics() public méthode

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

ProcessEvent() public méthode

public ProcessEvent ( SystemEvent ev, bool forceAccept ) : bool
ev SystemEvent
forceAccept bool
Résultat bool

WriteLine() public méthode

public WriteLine ( string msg ) : void
msg string
Résultat void

idGameConsole() public méthode

public idGameConsole ( ) : System
Résultat System