mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-11 02:00:56 +00:00
console.c: move some externals to a better place
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@757 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
c82e5f3ef3
commit
0f6c4e036e
1 changed files with 8 additions and 7 deletions
|
@ -104,10 +104,10 @@ const char *Con_Quakebar (int len)
|
||||||
Con_ToggleConsole_f
|
Con_ToggleConsole_f
|
||||||
================
|
================
|
||||||
*/
|
*/
|
||||||
|
extern int history_line; //johnfitz
|
||||||
|
|
||||||
void Con_ToggleConsole_f (void)
|
void Con_ToggleConsole_f (void)
|
||||||
{
|
{
|
||||||
extern int history_line; //johnfitz
|
|
||||||
|
|
||||||
if (key_dest == key_console)
|
if (key_dest == key_console)
|
||||||
{
|
{
|
||||||
if (cls.state == ca_connected)
|
if (cls.state == ca_connected)
|
||||||
|
@ -1063,13 +1063,14 @@ Con_DrawNotify
|
||||||
Draws the last few lines of output transparently over the game top
|
Draws the last few lines of output transparently over the game top
|
||||||
================
|
================
|
||||||
*/
|
*/
|
||||||
|
extern char chat_buffer[];
|
||||||
|
|
||||||
void Con_DrawNotify (void)
|
void Con_DrawNotify (void)
|
||||||
{
|
{
|
||||||
int x, v;
|
int x, v;
|
||||||
char *text;
|
char *text;
|
||||||
int i;
|
int i;
|
||||||
float time;
|
float time;
|
||||||
extern char chat_buffer[];
|
|
||||||
|
|
||||||
GL_SetCanvas (CANVAS_CONSOLE); //johnfitz
|
GL_SetCanvas (CANVAS_CONSOLE); //johnfitz
|
||||||
v = vid.conheight; //johnfitz
|
v = vid.conheight; //johnfitz
|
||||||
|
@ -1135,10 +1136,6 @@ void Con_DrawNotify (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern qpic_t *pic_ovr, *pic_ins; //johnfitz -- new cursor handling
|
|
||||||
extern double key_blinktime;
|
|
||||||
extern int key_insert;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================
|
================
|
||||||
Con_DrawInput -- johnfitz -- modified to allow insert editing
|
Con_DrawInput -- johnfitz -- modified to allow insert editing
|
||||||
|
@ -1146,6 +1143,10 @@ Con_DrawInput -- johnfitz -- modified to allow insert editing
|
||||||
The input line scrolls horizontally if typing goes beyond the right edge
|
The input line scrolls horizontally if typing goes beyond the right edge
|
||||||
================
|
================
|
||||||
*/
|
*/
|
||||||
|
extern qpic_t *pic_ovr, *pic_ins; //johnfitz -- new cursor handling
|
||||||
|
extern double key_blinktime;
|
||||||
|
extern int key_insert;
|
||||||
|
|
||||||
void Con_DrawInput (void)
|
void Con_DrawInput (void)
|
||||||
{
|
{
|
||||||
int i, ofs;
|
int i, ofs;
|
||||||
|
|
Loading…
Reference in a new issue