Odamex
Setting the Standard in Multiplayer Doom
client/src/c_console.cpp File Reference

Data Structures

struct  History

Functions

 EXTERN_CVAR (show_messages) EXTERN_CVAR(print_stdout) static unsigned int TickerAt
 EXTERN_CVAR (con_notifytime) EXTERN_CVAR(con_scaletext) static struct NotifyText
BOOL C_HandleKey (event_t *ev, byte *buffer, int len)
 CVAR_FUNC_IMPL (msg0color)
 CVAR_FUNC_IMPL (msg1color)
 CVAR_FUNC_IMPL (msg2color)
 CVAR_FUNC_IMPL (msg3color)
 CVAR_FUNC_IMPL (msg4color)
 CVAR_FUNC_IMPL (msgmidcolor)
 EXTERN_CVAR (con_scrlock) void C_Close()
void C_InitConsole (int width, int height, BOOL ingame)
void C_AddNotifyString (int printlevel, const char *source)
int PrintString (int printlevel, const char *outline)
int VPrintf (int printlevel, const char *format, va_list parms)
int STACK_ARGS Printf (int printlevel, const char *format,...)
int STACK_ARGS Printf_Bold (const char *format,...)
int STACK_ARGS DPrintf (const char *format,...)
void C_FlushDisplay (void)
void C_AdjustBottom (void)
void C_NewModeAdjust (void)
void C_Ticker (void)
void C_InitTicker (const char *label, unsigned int max)
void C_SetTicker (unsigned int at)
void C_DrawConsole (void)
void C_FullConsole (void)
void C_ToggleConsole (void)
void C_HideConsole (void)
void C_ServerDisconnectEffect (void)
BOOL C_Responder (event_t *ev)
 BEGIN_COMMAND (history)
 END_COMMAND (history) BEGIN_COMMAND(clear)
 END_COMMAND (clear) BEGIN_COMMAND(echo)
 END_COMMAND (echo) BEGIN_COMMAND(toggleconsole)
 END_COMMAND (toggleconsole) static brokenlines_t *MidMsg
 EXTERN_CVAR (con_midtime) void C_MidPrint(const char *msg
tabcommand_map_tTabCommands ()
void C_AddTabCommand (const char *name)
void C_RemoveTabCommand (const char *name)

Variables

int KeyRepeatRate
int KeyRepeatDelay
int gametic
BOOL automapactive
BOOL advancedemo
unsigned int ConRows
unsigned int ConCols
unsigned int PhysRows
char * Lines
char * Last = NULL
BOOL vidactive = false
BOOL gotconback = false
BOOL cursoron = false
int SkipRows
int ConBottom
unsigned int RowAdjust
int CursorTicker
int ScrollState = 0
constate_e ConsoleState = c_up
char VersionString [8]
event_t RepeatEvent
int RepeatCountdown
BOOL KeysShifted
BOOL KeysCtrl
 TickerMax
static struct HistoryHistTail = NULL
static struct HistoryHistPos = NULL
 NotifyStrings [NUMNOTIFIES]
int PrintColors [PRINTLEVELS+1] = { CR_RED, CR_GOLD, CR_GRAY, CR_GREEN, CR_GREEN, CR_GOLD }
cvar_t msglevel ("msg","0", CVAR_ARCHIVE)
int DisplayWidth
BOOL gameisdead
static int MidLines
player_tp
size_t tabcommand_map_t

Function Documentation

BEGIN_COMMAND ( history  )
void C_AddNotifyString ( int  printlevel,
const char *  source 
)
void C_AddTabCommand ( const char *  name)
void C_AdjustBottom ( void  )
void C_DrawConsole ( void  )
void C_FlushDisplay ( void  )
void C_FullConsole ( void  )
BOOL C_HandleKey ( event_t ev,
byte buffer,
int  len 
)
void C_HideConsole ( void  )
void C_InitConsole ( int  width,
int  height,
BOOL  ingame 
)
void C_InitTicker ( const char *  label,
unsigned int  max 
)
void C_NewModeAdjust ( void  )
void C_RemoveTabCommand ( const char *  name)
BOOL C_Responder ( event_t ev)
void C_ServerDisconnectEffect ( void  )
void C_SetTicker ( unsigned int  at)
void C_Ticker ( void  )
void C_ToggleConsole ( void  )
CVAR_FUNC_IMPL ( msg2color  )
CVAR_FUNC_IMPL ( msg3color  )
CVAR_FUNC_IMPL ( msg4color  )
CVAR_FUNC_IMPL ( msgmidcolor  )
CVAR_FUNC_IMPL ( msg0color  )
CVAR_FUNC_IMPL ( msg1color  )
int STACK_ARGS DPrintf ( const char *  format,
  ... 
)
END_COMMAND ( history  )
END_COMMAND ( clear  )
END_COMMAND ( echo  )
END_COMMAND ( toggleconsole  )
EXTERN_CVAR ( show_messages  )
EXTERN_CVAR ( con_notifytime  )
EXTERN_CVAR ( con_scrlock  )
EXTERN_CVAR ( con_midtime  ) const
int STACK_ARGS Printf ( int  printlevel,
const char *  format,
  ... 
)
int STACK_ARGS Printf_Bold ( const char *  format,
  ... 
)
int PrintString ( int  printlevel,
const char *  outline 
)
tabcommand_map_t& TabCommands ( )
int VPrintf ( int  printlevel,
const char *  format,
va_list  parms 
)

Variable Documentation

int ConBottom
unsigned int ConCols
unsigned int ConRows
BOOL cursoron = false
int gametic
BOOL gotconback = false
struct History * HistPos = NULL
struct History * HistTail = NULL
char * Last = NULL
char* Lines
int MidLines
cvar_t msglevel("msg","0", CVAR_ARCHIVE)
NotifyStrings[NUMNOTIFIES]
unsigned int PhysRows
int PrintColors[PRINTLEVELS+1] = { CR_RED, CR_GOLD, CR_GRAY, CR_GREEN, CR_GREEN, CR_GOLD }
unsigned int RowAdjust
int ScrollState = 0
int SkipRows
char VersionString[8]
BOOL vidactive = false
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends