Debian Codegraph @

prboom2/src/dsda/console.h

raw
1 //
2 // Copyright(C) 2020 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA Console
16 //
17
18 #ifndef __DSDA_CONSOLE__
19 #define __DSDA_CONSOLE__
20
21 #include "doomtype.h"
22 #include "m_menu.h"
23
24 #define CONSOLE_SCRIPT_COUNT 10
25
26 extern menu_t dsda_ConsoleDef;
27
28 int dsda_ConsoleHeight(void);
29 dboolean dsda_OpenConsole(void);
30 void dsda_UpdateConsoleText(char* text);
31 void dsda_UpdateConsole(int action);
32 void dsda_ExecuteConsoleScript(int i);
33 void dsda_InterpretConsoleCommands(const char* str, dboolean noise, dboolean raise_errors);
34
35 #endif