Mercurial > hg > openttd
changeset 16950:53b5779d2cfb draft
(svn r21686) -Cleanup: remove unused constants and comment used ones
author | smatz <smatz@openttd.org> |
---|---|
date | Sat, 01 Jan 2011 16:35:32 +0000 |
parents | c762ac4f057d |
children | b363297469db |
files | src/console.cpp |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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