doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
idConsoleLocal Class Reference
Inheritance diagram for idConsoleLocal:
idConsole

Public Member Functions

virtual void Init (void)
 
virtual void Shutdown (void)
 
virtual void LoadGraphics (void)
 
virtual bool ProcessEvent (const sysEvent_t *event, bool forceAccept)
 
virtual bool Active (void)
 
virtual void ClearNotifyLines (void)
 
virtual void Close (void)
 
virtual void Print (const char *text)
 
virtual void Draw (bool forceFullScreen)
 
void Dump (const char *toFile)
 
void Clear ()
 
- Public Member Functions inherited from idConsole
virtual ~idConsole (void)
 
virtual bool ProcessEvent (const struct sysEvent_s *event, bool forceAccept)=0
 

Public Attributes

const idMaterialcharSetShader
 

Private Member Functions

void KeyDownEvent (int key)
 
void Linefeed ()
 
void PageUp ()
 
void PageDown ()
 
void Top ()
 
void Bottom ()
 
void DrawInput ()
 
void DrawNotify ()
 
void DrawSolidConsole (float frac)
 
void Scroll ()
 
void SetDisplayFraction (float frac)
 
void UpdateDisplayFraction (void)
 

Private Attributes

bool keyCatching
 
short text [CON_TEXTSIZE]
 
int current
 
int x
 
int display
 
int lastKeyEvent
 
int nextKeyEvent
 
float displayFrac
 
float finalFrac
 
int fracTime
 
int vislines
 
int times [NUM_CON_TIMES]
 
idVec4 color
 
idEditField historyEditLines [COMMAND_HISTORY]
 
int nextHistoryLine
 
int historyLine
 
idEditField consoleField
 
const idMaterialwhiteShader
 
const idMaterialconsoleShader
 

Static Private Attributes

static idCVar con_speed
 
static idCVar con_notifyTime
 
static idCVar con_noPrint
 

Detailed Description

Definition at line 47 of file Console.cpp.

Member Function Documentation

bool idConsoleLocal::Active ( void  )
virtual

Implements idConsole.

Definition at line 408 of file Console.cpp.

void idConsoleLocal::Bottom ( void  )
private

Definition at line 546 of file Console.cpp.

void idConsoleLocal::Clear ( void  )

Definition at line 442 of file Console.cpp.

void idConsoleLocal::ClearNotifyLines ( void  )
virtual

Implements idConsole.

Definition at line 417 of file Console.cpp.

void idConsoleLocal::Close ( void  )
virtual

Implements idConsole.

Definition at line 430 of file Console.cpp.

void idConsoleLocal::Draw ( bool  forceFullScreen)
virtual

Implements idConsole.

Definition at line 1140 of file Console.cpp.

void idConsoleLocal::DrawInput ( )
private

Definition at line 947 of file Console.cpp.

void idConsoleLocal::DrawNotify ( )
private

Definition at line 979 of file Console.cpp.

void idConsoleLocal::DrawSolidConsole ( float  frac)
private

Definition at line 1032 of file Console.cpp.

void idConsoleLocal::Dump ( const char *  toFile)

Definition at line 459 of file Console.cpp.

void idConsoleLocal::Init ( void  )
virtual

Implements idConsole.

Definition at line 358 of file Console.cpp.

void idConsoleLocal::KeyDownEvent ( int  key)
private

Definition at line 566 of file Console.cpp.

void idConsoleLocal::Linefeed ( )
private

Definition at line 823 of file Console.cpp.

void idConsoleLocal::LoadGraphics ( void  )
virtual

Implements idConsole.

Definition at line 397 of file Console.cpp.

void idConsoleLocal::PageDown ( void  )
private

Definition at line 525 of file Console.cpp.

void idConsoleLocal::PageUp ( void  )
private

Definition at line 513 of file Console.cpp.

void idConsoleLocal::Print ( const char *  text)
virtual

Implements idConsole.

Definition at line 849 of file Console.cpp.

bool idConsoleLocal::ProcessEvent ( const sysEvent_t event,
bool  forceAccept 
)
virtual

Definition at line 741 of file Console.cpp.

void idConsoleLocal::Scroll ( )
private

Definition at line 676 of file Console.cpp.

void idConsoleLocal::SetDisplayFraction ( float  frac)
private

Definition at line 701 of file Console.cpp.

void idConsoleLocal::Shutdown ( void  )
virtual

Implements idConsole.

Definition at line 384 of file Console.cpp.

void idConsoleLocal::Top ( void  )
private

Definition at line 537 of file Console.cpp.

void idConsoleLocal::UpdateDisplayFraction ( void  )
private

Definition at line 713 of file Console.cpp.

Member Data Documentation

const idMaterial* idConsoleLocal::charSetShader

Definition at line 64 of file Console.cpp.

idVec4 idConsoleLocal::color
private

Definition at line 103 of file Console.cpp.

idCVar idConsoleLocal::con_noPrint
staticprivate

Definition at line 115 of file Console.cpp.

idCVar idConsoleLocal::con_notifyTime
staticprivate

Definition at line 114 of file Console.cpp.

idCVar idConsoleLocal::con_speed
staticprivate

Definition at line 113 of file Console.cpp.

idEditField idConsoleLocal::consoleField
private

Definition at line 111 of file Console.cpp.

const idMaterial* idConsoleLocal::consoleShader
private

Definition at line 118 of file Console.cpp.

int idConsoleLocal::current
private

Definition at line 89 of file Console.cpp.

int idConsoleLocal::display
private

Definition at line 91 of file Console.cpp.

float idConsoleLocal::displayFrac
private

Definition at line 95 of file Console.cpp.

float idConsoleLocal::finalFrac
private

Definition at line 96 of file Console.cpp.

int idConsoleLocal::fracTime
private

Definition at line 97 of file Console.cpp.

idEditField idConsoleLocal::historyEditLines[COMMAND_HISTORY]
private

Definition at line 105 of file Console.cpp.

int idConsoleLocal::historyLine
private

Definition at line 108 of file Console.cpp.

bool idConsoleLocal::keyCatching
private

Definition at line 86 of file Console.cpp.

int idConsoleLocal::lastKeyEvent
private

Definition at line 92 of file Console.cpp.

int idConsoleLocal::nextHistoryLine
private

Definition at line 107 of file Console.cpp.

int idConsoleLocal::nextKeyEvent
private

Definition at line 93 of file Console.cpp.

short idConsoleLocal::text[CON_TEXTSIZE]
private

Definition at line 88 of file Console.cpp.

int idConsoleLocal::times[NUM_CON_TIMES]
private

Definition at line 101 of file Console.cpp.

int idConsoleLocal::vislines
private

Definition at line 99 of file Console.cpp.

const idMaterial* idConsoleLocal::whiteShader
private

Definition at line 117 of file Console.cpp.

int idConsoleLocal::x
private

Definition at line 90 of file Console.cpp.


The documentation for this class was generated from the following file: