public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
* Note to game designers
@ 2004-07-17  3:54 Hans Ronne
  0 siblings, 0 replies; only message in thread
From: Hans Ronne @ 2004-07-17  3:54 UTC (permalink / raw)
  To: xconq7

There used to be a problem with random crashes due to buffer overflow in
the game blurb. I have now fixed that, and also increased the size of the
blurb. It can now hold up to 480 characters, and anything beyond that is
just truncated instead of crashing the game. Furthermore, the blurb is now
a lisp object instead of a string, so you don't have to write it all on a
single line in the game file. Instead, enclose multpile strings within a
parenthesis, if necessary:

(blurb (
	"first string"
	"second string"
	"third string"
))

and they are concatenated just like the notices and instructions strings.
An empty string "" inserts a linefeed.

I have also tweaked the interfaces so that the blurb gets more space.

The idea is not to have gigantic blurbs in the future- you should still try
to keep it short and concise- but a little more room doesn't hurt.

Hans


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-16 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-17  3:54 Note to game designers Hans Ronne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).