Go to the documentation of this file.
31 #define MAXCMDLINE 256
162 f = fopen (
name,
"w");
196 fprintf (f,
"%s\n",
buffer);
248 int i,
j,
width, oldwidth, oldtotallines, numlines, numchars;
269 numlines = oldtotallines;
282 for (
i=0 ;
i<numlines ;
i++)
284 for (
j=0 ;
j<numchars ;
j++)
288 oldtotallines) * oldwidth +
j];
362 if (txt[0] == 1 || txt[0] == 2)
433 l = (
int)strlen(text);
594 for (
x=0 ;
x<5 ;
x++)
600 rows = (lines-22)>>3;
615 for (
i=0 ;
i<rows ;
i++,
y-=8, row--)
640 if (strlen(text) >
i) {
642 strncpy(dlbar, text,
i);
644 strcat(dlbar,
"...");
648 i = (
int)strlen(dlbar);
656 for (
j = 0;
j <
y;
j++)
668 for (
i = 0;
i < strlen(dlbar);
i++)
void SCR_EndLoadingPlaque(void)
CONST PIXELFORMATDESCRIPTOR int
void DrawAltString(int x, int y, char *s)
char chat_buffer[MAXCMDLINE]
void Con_ToggleChat_f(void)
void Con_ToggleConsole_f(void)
void Con_DrawConsole(float frac)
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void FS_CreatePath(char *path)
static void skip(vorb *z, int n)
void Con_MessageMode_f(void)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
void Con_CheckResize(void)
void Cbuf_AddText(char *text)
char key_lines[128][MAXCMDLINE]
void Con_ClearNotify(void)
void DrawString(int x, int y, char *s)
void SCR_AddDirtyPoint(int x, int y)
void Key_ClearTyping(void)
void Con_DrawNotify(void)
float times[NUM_CON_TIMES]
void Con_CenteredPrint(char *text)
int Com_ServerState(void)
void(* DrawStretchPic)(int x, int y, int w, int h, char *name)
cvar_t * Cvar_Set(char *var_name, char *value)
void Con_Print(char *txt)
char downloadname[MAX_OSPATH]
void(* DrawChar)(int x, int y, int c)
void Com_Printf(char *fmt,...)
void Com_sprintf(char *dest, int size, char *fmt,...)
float Cvar_VariableValue(char *var_name)
void Con_MessageMode2_f(void)