Mercurial > hg > openttd
changeset 9905:77fc338573e5 draft
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 12 Aug 2008 20:31:49 +0000 |
parents | 52a8ffb34e97 |
children | b5cdbf8eadf3 |
files | src/console_internal.h src/video/dedicated_v.cpp |
diffstat | 2 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/console_internal.h +++ b/src/console_internal.h @@ -7,10 +7,9 @@ #include "console_func.h" -/* maximum length of a typed in command */ -#define ICON_CMDLN_SIZE 255 -/* maximum length of a totally expanded command */ -#define ICON_MAX_STREAMSIZE 1024 +enum { + ICON_CMDLN_SIZE = 1024, ///< maximum length of a typed in command + ICON_MAX_STREAMSIZE = 2048, ///< maximum length of a totally expanded command enum IConsoleVarTypes { ICONSOLE_VAR_BOOLEAN,