mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 08:20:40 +00:00
finally, the client console is merged
This commit is contained in:
parent
778af4276e
commit
c86c5a78bf
19 changed files with 300 additions and 1675 deletions
|
@ -45,7 +45,7 @@ static const char rcsid[] =
|
|||
|
||||
int con_linewidth; // characters across screen
|
||||
|
||||
static plugin_t *con_module;
|
||||
plugin_t *con_module;
|
||||
|
||||
static con_buffer_t *(*const buffer) (size_t, int) = Con_CreateBuffer;
|
||||
static void (*const complete)(inputline_t *) = Con_BasicCompleteCommandLine;
|
||||
|
@ -119,3 +119,31 @@ Con_ProcessInput (void)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Con_KeyEvent (knum_t key, short unicode, qboolean down)
|
||||
{
|
||||
if (con_module)
|
||||
con_module->functions->console->pC_KeyEvent (key, unicode, down);
|
||||
}
|
||||
|
||||
void
|
||||
Con_SetOrMask (int mask)
|
||||
{
|
||||
if (con_module)
|
||||
con_module->data->console->ormask = mask;
|
||||
}
|
||||
|
||||
void
|
||||
Con_DrawConsole (int lines)
|
||||
{
|
||||
if (con_module)
|
||||
con_module->functions->console->pC_DrawConsole (lines);
|
||||
}
|
||||
|
||||
void
|
||||
Con_CheckResize (void)
|
||||
{
|
||||
if (con_module)
|
||||
con_module->functions->console->pC_CheckResize ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue