#include "client.h"
Go to the source code of this file.
Classes | |
struct | console_s |
Macros | |
#define | CON_TIMES 16 |
#define | CON_TIMES_MASK (CON_TIMES - 1) |
#define | CON_TOTALLINES 1024 |
#define | CON_TOTALLINES_MASK (CON_TOTALLINES - 1) |
#define | CON_LINEWIDTH 100 |
#define | CON_PRESTEP (CHAR_HEIGHT * 3 + CHAR_HEIGHT / 4) |
#define | APP_VERSION APPLICATION " " VERSION_STRING |
#define | VER_WIDTH ((int)(sizeof(APP_VERSION) + 1) * CHAR_WIDTH) |
Typedefs | |
typedef struct console_s | console_t |
Enumerations | |
enum | chatMode_t { CHAT_NONE, CHAT_DEFAULT, CHAT_TEAM } |
enum | consoleMode_t { CON_POPUP, CON_DEFAULT, CON_CHAT, CON_REMOTE } |
Variables | |
static console_t | con |
static cvar_t * | con_notifytime |
static cvar_t * | con_notifylines |
static cvar_t * | con_clock |
static cvar_t * | con_height |
static cvar_t * | con_speed |
static cvar_t * | con_alpha |
static cvar_t * | con_scale |
static cvar_t * | con_font |
static cvar_t * | con_background |
static cvar_t * | con_scroll |
static cvar_t * | con_history |
static const cmdreg_t | c_console [] |
#define APP_VERSION APPLICATION " " VERSION_STRING |
#define CON_TOTALLINES_MASK (CON_TOTALLINES - 1) |
#define VER_WIDTH ((int)(sizeof(APP_VERSION) + 1) * CHAR_WIDTH) |
enum chatMode_t |
enum consoleMode_t |
Definition at line 1289 of file console.c.
Referenced by Key_Event().
void CL_LoadState | ( | load_state_t | state | ) |
Definition at line 541 of file console.c.
Referenced by CL_Begin(), CL_Precache_f(), CL_PrepRefresh(), CL_RestartFilesystem(), and CL_RestartRefresh().
Definition at line 367 of file console.c.
Referenced by Con_Init(), con_scale_changed(), and SCR_ModeChanged().
Definition at line 276 of file console.c.
Referenced by CL_PrepRefresh(), Con_Close(), SCR_CenterPrint(), SCR_EndLoadingPlaque(), and toggle_console().
void Con_Close | ( | qboolean | force | ) |
Definition at line 124 of file console.c.
Referenced by CL_RestartFilesystem(), CL_RestartRefresh(), Key_Event(), SCR_PlayCinematic(), set_active_state(), start_message_mode(), and UI_PushMenu().
Definition at line 665 of file console.c.
Referenced by Con_DrawNotify(), and Con_DrawSolidConsole().
Definition at line 1055 of file console.c.
Referenced by Char_Console(), Con_Action(), Con_Paste(), and Key_Console().
|
static |
Definition at line 403 of file console.c.
Referenced by Con_Init().
void Con_Popup | ( | qboolean | force | ) |
Definition at line 152 of file console.c.
Referenced by CL_CheckForResend(), CL_Connect_f(), CL_PlayDemo_f(), CL_RestartFilesystem(), and CL_RestartRefresh().
void Con_Print | ( | const char * | txt | ) |
void Con_Printf | ( | const char * | fmt, |
... | |||
) |
Definition at line 611 of file console.c.
Referenced by CL_ParseServerData(), Con_Action(), and Con_Init().
Definition at line 628 of file console.c.
Referenced by CL_InitRefresh(), CL_RestartFilesystem(), CL_RestartRefresh(), and con_param_changed().
|
static |
Definition at line 1049 of file console.c.
Referenced by Con_Action(), and Key_Message().
|
static |
Definition at line 410 of file console.c.
Referenced by Con_Init().
void Con_SetColor | ( | color_index_t | color | ) |
void Con_SkipNotify | ( | qboolean | skip | ) |
Definition at line 99 of file console.c.
Referenced by CL_ParsePrint().
Definition at line 194 of file console.c.
Referenced by Key_Event().
|
static |
Definition at line 289 of file console.c.
Referenced by Con_MessageMode2_f(), and Con_MessageMode_f().
|
static |
Definition at line 169 of file console.c.
Referenced by Con_RemoteMode_f(), Con_ToggleChat2_f(), Con_ToggleChat_f(), and Con_ToggleConsole_f().
|
static |
Definition at line 417 of file console.c.
Referenced by Con_Init().
|
static |
Definition at line 78 of file console.c.
Referenced by Char_Console(), Char_Message(), CL_LoadState(), Con_Action(), Con_CarriageRet(), Con_CheckResize(), Con_CheckTop(), Con_Clear_f(), Con_ClearNotify_f(), Con_ClearTyping(), Con_Close(), Con_DrawConsole(), Con_DrawLine(), Con_DrawNotify(), Con_DrawSolidConsole(), Con_Dump_f(), Con_Init(), Con_InteractiveMode(), Con_Linefeed(), con_param_changed(), Con_Paste(), Con_Popup(), Con_PostInit(), Con_Print(), Con_RegisterMedia(), Con_RemoteMode_f(), Con_RunConsole(), Con_Say(), con_scale_changed(), Con_SetColor(), Con_Shutdown(), Con_SkipNotify(), Key_Console(), Key_Message(), start_message_mode(), and toggle_console().
|
static |
Definition at line 85 of file console.c.
Referenced by Con_DrawSolidConsole(), and Con_Init().
|
static |
Definition at line 88 of file console.c.
Referenced by Con_Init(), and Con_RegisterMedia().
|
static |
Definition at line 82 of file console.c.
Referenced by Con_DrawSolidConsole(), and Con_Init().
|
static |
Definition at line 87 of file console.c.
Referenced by Con_Init(), and Con_RegisterMedia().
|
static |
Definition at line 83 of file console.c.
Referenced by Con_DrawSolidConsole(), Con_Init(), and Con_RunConsole().
|
static |
Definition at line 90 of file console.c.
Referenced by Con_Init(), Con_PostInit(), and Con_Shutdown().
|
static |
Definition at line 81 of file console.c.
Referenced by Con_DrawNotify(), and Con_Init().
|
static |
Definition at line 80 of file console.c.
Referenced by Con_DrawNotify(), and Con_Init().
|
static |
Definition at line 86 of file console.c.
Referenced by Con_CheckResize(), and Con_Init().
|
static |
Definition at line 89 of file console.c.
Referenced by Con_Init(), Con_Linefeed(), and Key_Console().
|
static |
Definition at line 84 of file console.c.
Referenced by Con_Init(), and Con_RunConsole().