doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions | Variables
Console.cpp File Reference
#include "../idlib/precompiled.h"

Go to the source code of this file.

Classes

class  idConsoleLocal
 

Macros

#define LINE_WIDTH   78
 
#define NUM_CON_TIMES   4
 
#define CON_TEXTSIZE   0x30000
 
#define TOTAL_LINES   (CON_TEXTSIZE / LINE_WIDTH)
 
#define CONSOLE_FIRSTREPEAT   200
 
#define CONSOLE_REPEAT   100
 
#define COMMAND_HISTORY   64
 
#define FPS_FRAMES   4
 

Functions

void SCR_DrawTextLeftAlign (float &y, const char *text,...) id_attribute((format(printf
 
void void SCR_DrawTextRightAlign (float &y, const char *text,...) id_attribute((format(printf
 
float SCR_DrawFPS (float y)
 
float SCR_DrawMemoryUsage (float y)
 
float SCR_DrawAsyncStats (float y)
 
float SCR_DrawSoundDecoders (float y)
 

Variables

idConsoleconsole = &localConsole
 

Macro Definition Documentation

#define COMMAND_HISTORY   64

Definition at line 42 of file Console.cpp.

#define CON_TEXTSIZE   0x30000

Definition at line 37 of file Console.cpp.

#define CONSOLE_FIRSTREPEAT   200

Definition at line 39 of file Console.cpp.

#define CONSOLE_REPEAT   100

Definition at line 40 of file Console.cpp.

#define FPS_FRAMES   4

Definition at line 180 of file Console.cpp.

#define LINE_WIDTH   78

Definition at line 35 of file Console.cpp.

#define NUM_CON_TIMES   4

Definition at line 36 of file Console.cpp.

#define TOTAL_LINES   (CON_TEXTSIZE / LINE_WIDTH)

Definition at line 38 of file Console.cpp.

Function Documentation

float SCR_DrawAsyncStats ( float  y)

Definition at line 244 of file Console.cpp.

float SCR_DrawFPS ( float  y)

Definition at line 181 of file Console.cpp.

float SCR_DrawMemoryUsage ( float  y)

Definition at line 225 of file Console.cpp.

float SCR_DrawSoundDecoders ( float  y)

Definition at line 298 of file Console.cpp.

void SCR_DrawTextLeftAlign ( float y,
const char *  text,
  ... 
)

Definition at line 147 of file Console.cpp.

void SCR_DrawTextRightAlign ( float y,
const char *  text,
  ... 
)

Definition at line 162 of file Console.cpp.

Variable Documentation

idConsole* console = &localConsole

Definition at line 122 of file Console.cpp.