]> 4ch.mooo.com Git - 16.git/blob - 16/v2/source/verge/ENGINE/CONSOLE.H
attempted font system added
[16.git] / 16 / v2 / source / verge / ENGINE / CONSOLE.H
1 /*\r
2 Copyright (C) 1998 BJ Eirich (aka vecna)\r
3 This program is free software; you can redistribute it and/or\r
4 modify it under the terms of the GNU General Public License\r
5 as published by the Free Software Foundation; either version 2\r
6 of the License, or (at your option) any later version.\r
7 This program is distributed in the hope that it will be useful,\r
8 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
10 See the GNU General Public Lic\r
11 See the GNU General Public License for more details.\r
12 You should have received a copy of the GNU General Public License\r
13 along with this program; if not, write to the Free Software\r
14 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
15 */\r
16 \r
17 #ifndef CONSOLE_H\r
18 #define CONSOLE_H\r
19 \r
20 #include "main.h"\r
21 \r
22 // -- externs --\r
23 \r
24 extern byte *consolebg;                   // Console background image\r
25 extern byte *consoletext;                 // Console text buffer\r
26 extern byte *cmd, *cmd2, cmdlen;          // command line buffer\r
27 extern char *lastcmds, numcmds, cmdpos;   // last-command memory\r
28 extern byte *args[10], numargs;           // command argument pointers\r
29 extern char cursor, more;                 // flag on/off cursor visible\r
30 extern int cswtime;                       // cursor switch time.\r
31 extern int conlines;                      // Number of visible lines\r
32 extern int lines;                         // number of lines entered since last draw\r
33 extern char startln;                      // Start display ofs (for scrollback)\r
34 extern char allowconsole;\r
35 extern char consoleoverride;\r
36 \r
37 extern byte key_ascii_tbl[128];\r
38 extern byte key_shift_tbl[128];\r
39 \r
40 extern char *concmds[];\r
41 \r
42 // -- prototypes --\r
43 \r
44 extern void InitConsole(void);\r
45 extern void Con_Printf(char *str);\r
46 extern void Con_NextLine(void);\r
47 \r
48 extern int ShowConsole(void);\r
49 extern int HideConsole(void);\r
50 \r
51 extern void DrawConsole(void);\r
52 extern int Args(int num);\r
53 extern void ListCmds(void);\r
54 extern void LastCmds(void);\r
55 extern void ExecuteCommand(int i);\r
56 extern void ParseCommand(void);\r
57 extern void ProcessCommand(void);\r
58 extern void CommandInput(void);\r
59 extern void ActivateConsole(void);\r
60 \r
61 #endif // CONSOLE_H\r