| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/Main/lib/AppConsole.h $ |
| 21 | * $Revision: 3 $ |
| 22 | * $Date: 10/30/98 5:52p $ |
| 23 | * $Author: Jeff $ |
| 24 | * |
| 25 | * |
| 26 | * |
| 27 | * $Log: /DescentIII/Main/lib/AppConsole.h $ |
| 28 | * |
| 29 | * 3 10/30/98 5:52p Jeff |
| 30 | * implemented up arrow for last command, and esc to clear the line |
| 31 | * |
| 32 | * 2 9/16/98 5:02p Samir |
| 33 | * reimplemented X style console. |
| 34 | * |
| 35 | * 1 9/14/98 4:02p Samir |
| 36 | * new console library. |
| 37 | * |
| 38 | * $NoKeywords: $ |
| 39 | */ |
| 40 | |
| 41 | #ifndef APPCONSOLE_H |
| 42 | #define APPCONSOLE_H |
| 43 | |
| 44 | #define CON_MAX_STRINGLEN 768 |
| 45 | void con_Printf(const char *fmt, ...); |
| 46 | bool con_Input(char *buf, int buflen); |
| 47 | |
| 48 | #endif |