From: Eric S. Raymond Date: Fri, 3 Jan 2014 20:26:41 +0000 (-0500) Subject: Allow for larger terminal emulators. X-Git-Tag: 1.12~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=08a9dac7690791ed4f71af8ebe1544374ba688be;p=vms-empire.git Allow for larger terminal emulators. --- diff --git a/empire.h b/empire.h index 8f028f3..729852f 100644 --- a/empire.h +++ b/empire.h @@ -36,7 +36,15 @@ typedef long count_t; /* for iterating over or counting board locations */ #define NUMTOPS 3 /* number of lines at top of screen for messages */ #define NUMSIDES 6 /* number of lines at side of screen */ -#define STRSIZE 80 /* number of characters in a string */ + +/* + * This used to be 80, and that was appropriate back when this game was + * played on hardware terminals. Nowadays it's almost certain to be running + * on a software terminal emulator that would have been considered + * dizzyingly huge back in the day. Memory is cheap, we'll leave some + * headroom. + */ +#define STRSIZE 400 /* number of characters in a string */ /* Information we maintain about cities. */