summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-25 22:11:41 +0000
committerdarkvater <darkvater@openttd.org>2004-08-25 22:11:41 +0000
commitdaf82a0b07632591f69536686eb933b42772915e (patch)
tree39e1537586e6f756e3362f46611840aa6f4d4f1c /console.h
parent60c5307182d71c7073add5a41899d0d61807fec3 (diff)
downloadopenttd-daf82a0b07632591f69536686eb933b42772915e.tar.xz
(svn r142) -Feature development: [1016299] Console Rev #3 allowes variable references and has a new commandline buffer (sign_de)
Diffstat (limited to 'console.h')
-rw-r--r--console.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/console.h b/console.h
index 0f7c3a28b..6b6e87eab 100644
--- a/console.h
+++ b/console.h
@@ -17,6 +17,7 @@ enum {
ICONSOLE_VAR_INT32,
ICONSOLE_VAR_STRING,
ICONSOLE_VAR_POINTER,
+ ICONSOLE_VAR_REFERENCE,
ICONSOLE_VAR_UNKNOWN
} _iconsole_var_types;
@@ -38,6 +39,12 @@ typedef struct {
bool _malloc;
} _iconsole_var;
+// ** console colors ** //
+VARDEF byte _iconsole_color_default;
+VARDEF byte _iconsole_color_error;
+VARDEF byte _iconsole_color_debug;
+VARDEF byte _iconsole_color_commands;
+
// ** ttd.c functions ** //
void SetDebugString(const char *s);
@@ -52,8 +59,11 @@ void IConsoleSwitch();
void IConsoleClose();
void IConsoleOpen();
-// ** console output ** //
+// ** console cmd buffer ** //
+void IConsoleCmdBufferAdd(byte * cmd);
+void IConsoleCmdBufferNavigate(signed char direction);
+// ** console output ** //
void IConsolePrint(byte color_code, byte* string);
void IConsolePrintF(byte color_code, const char *s, ...);
void IConsoleDebug(byte* string);