minor prototype cleanups

This commit is contained in:
Bill Currie 2001-12-14 00:06:58 +00:00
parent 69e1a9aab5
commit 9b4e21a914
4 changed files with 17 additions and 23 deletions

View file

@ -87,8 +87,6 @@ extern qboolean con_initialized;
extern byte *con_chars;
extern int con_notifylines; // scan lines to clear for notify lines
void Con_DrawCharacter (int cx, int line, int num);
void Con_CheckResize (void);
void Con_DrawConsole (int lines);
void Con_DrawDownload (int lines);
@ -96,9 +94,7 @@ void Con_DrawDownload (int lines);
void Con_Print (const char *fmt, va_list args);
void Con_Printf (const char *fmt, ...) __attribute__((format(printf,1,2)));
void Con_DPrintf (const char *fmt, ...) __attribute__((format(printf,1,2)));
void Con_Clear_f (void);
void Con_DrawNotify (void);
void Con_ClearNotify (void);
void Con_ToggleConsole_f (void);
// wrapper function to attempt to either complete the command line

View file

@ -619,7 +619,6 @@ VID_Update (vrect_t *rects)
vid.recalc_refdef = 1; /* force a surface cache flush */
Con_CheckResize ();
Con_Clear_f ();
return;
}

View file

@ -80,6 +80,15 @@ qboolean con_debuglog;
qboolean con_initialized;
void
Con_ClearNotify (void)
{
int i;
for (i = 0; i < NUM_CON_TIMES; i++)
con_times[i] = 0;
}
void
Con_ToggleConsole_f (void)
{
@ -122,15 +131,6 @@ Con_Clear_f (void)
con_main.display = con_main.current;
}
void
Con_ClearNotify (void)
{
int i;
for (i = 0; i < NUM_CON_TIMES; i++)
con_times[i] = 0;
}
void
Con_MessageMode_f (void)
{

View file

@ -80,6 +80,14 @@ qboolean con_initialized;
#define MAXCMDLINE 256
void
Con_ClearNotify (void)
{
int i;
for (i = 0; i < NUM_CON_TIMES; i++)
con_times[i] = 0;
}
void
Con_ToggleConsole_f (void)
@ -127,15 +135,6 @@ Con_Clear_f (void)
con_main.display = con_main.current;
}
void
Con_ClearNotify (void)
{
int i;
for (i = 0; i < NUM_CON_TIMES; i++)
con_times[i] = 0;
}
void
Con_MessageMode_f (void)
{