icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
29 #define MAXCMDLINE 256
169 f = fopen (
name,
"w");
203 fprintf (f,
"%s\n",
buffer);
255 int i,
j,
width, oldwidth, oldtotallines, numlines, numchars;
276 numlines = oldtotallines;
289 for (
i=0 ;
i<numlines ;
i++)
291 for (
j=0 ;
j<numchars ;
j++)
295 oldtotallines) * oldwidth +
j];
369 if (txt[0] == 1 || txt[0] == 2)
620 for (
x=0 ;
x<5 ;
x++)
635 rows = (lines-22)>>3;
655 for (
i=0 ;
i<rows ;
i++,
y-=8, row--)
682 y =
x - strlen(text) - 8;
684 if (strlen(text) >
i) {
686 strncpy(dlbar, text,
i);
688 strcat(dlbar,
"...");
700 for (
j = 0;
j <
y;
j++)
712 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)
void Con_MessageMode_f(void)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
void Con_CheckResize(void)
void Cbuf_AddText(char *text)
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)
char key_lines[32][MAXCMDLINE]
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)