summaryrefslogtreecommitdiff
path: root/src/console.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-01-01 16:35:32 +0000
committersmatz <smatz@openttd.org>2011-01-01 16:35:32 +0000
commit62bc55cf7be5afc1c70bdd358e2d2748163f2881 (patch)
treeca53e10702a357fa984f28c50b86fd316758156c /src/console.cpp
parent36f55a882326986835e86ab073555eac4f4844d4 (diff)
downloadopenttd-62bc55cf7be5afc1c70bdd358e2d2748163f2881.tar.xz
(svn r21686) -Cleanup: remove unused constants and comment used ones
Diffstat (limited to 'src/console.cpp')
-rw-r--r--src/console.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/console.cpp b/src/console.cpp
index 922385202..7389c9bb8 100644
--- a/src/console.cpp
+++ b/src/console.cpp
@@ -20,13 +20,8 @@
#include <stdarg.h>
-#define ICON_BUFFER 79
-#define ICON_HISTORY_SIZE 20
-#define ICON_LINE_HEIGHT 12
-#define ICON_RIGHT_BORDERWIDTH 10
-#define ICON_BOTTOM_BORDERWIDTH 12
-#define ICON_MAX_ALIAS_LINES 40
-#define ICON_TOKEN_COUNT 20
+static const uint ICON_TOKEN_COUNT = 20; ///< Maximum number of tokens in one command
+static const uint ICON_MAX_ALIAS_LINES = 40; ///< Maximum number of commands executed by one alias
/* console parser */
IConsoleCmd *_iconsole_cmds; ///< list of registered commands