UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_console.h
Go to the documentation of this file.
1
5
6
/*
7
All original material Copyright (C) 2002-2025 UFO: Alien Invasion.
8
9
Original file from Quake 2 v3.21: quake2-2.31/client/console.h
10
Copyright (C) 1997-2001 Id Software, Inc.
11
12
This program is free software; you can redistribute it and/or
13
modify it under the terms of the GNU General Public License
14
as published by the Free Software Foundation; either version 2
15
of the License, or (at your option) any later version.
16
17
This program is distributed in the hope that it will be useful,
18
but WITHOUT ANY WARRANTY; without even the implied warranty of
19
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
21
See the GNU General Public License for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with this program; if not, write to the Free Software
25
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27
*/
28
29
#pragma once
30
31
void
Con_DrawString
(
const
char
* text,
int
x,
int
y,
unsigned
int
width);
32
void
Con_Scroll
(
int
scroll);
33
void
Con_CheckResize
(
void
);
34
void
Con_Init
(
void
);
35
void
Con_DrawConsole
(
float
frac);
36
void
Con_Print
(
const
char
* txt);
37
void
Con_ToggleConsole_f
(
void
);
38
void
Con_Close
(
void
);
39
40
void
Con_SaveConsoleHistory
(
void
);
41
void
Con_LoadConsoleHistory
(
void
);
42
43
#define CONSOLE_PROMPT_CHAR ']'
44
45
extern
const
int
con_fontHeight
;
46
extern
const
int
con_fontWidth
;
47
extern
const
int
con_fontShift
;
con_fontShift
const int con_fontShift
Definition
cl_console.cpp:77
con_fontWidth
const int con_fontWidth
Definition
cl_console.cpp:76
con_fontHeight
const int con_fontHeight
Definition
cl_console.cpp:75
Con_Init
void Con_Init(void)
Definition
cl_console.cpp:276
Con_DrawString
void Con_DrawString(const char *text, int x, int y, unsigned int width)
Definition
cl_console.cpp:105
Con_LoadConsoleHistory
void Con_LoadConsoleHistory(void)
Load the console history.
Definition
cl_console.cpp:223
Con_SaveConsoleHistory
void Con_SaveConsoleHistory(void)
Stores the console history.
Definition
cl_console.cpp:250
Con_Print
void Con_Print(const char *txt)
Handles cursor positioning, line wrapping, etc All console printing must go through this in order to ...
Definition
cl_console.cpp:318
Con_Close
void Con_Close(void)
Hide the gameconsole if active.
Definition
cl_console.cpp:393
Con_DrawConsole
void Con_DrawConsole(float frac)
Draws the console with the solid background.
Definition
cl_console.cpp:443
Con_Scroll
void Con_Scroll(int scroll)
Scrolls the console.
Definition
cl_console.cpp:172
Con_ToggleConsole_f
void Con_ToggleConsole_f(void)
Definition
cl_console.cpp:138
Con_CheckResize
void Con_CheckResize(void)
If the line width has changed, reformat the buffer.
Definition
cl_console.cpp:184
src
client
cl_console.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0