super-star-trek.git
20 years agoprintfs have been banished. All outputnow goes through prout/proutn/prouts.
Eric S. Raymond [Mon, 1 Nov 2004 03:48:44 +0000 (03:48 +0000)]
printfs have been banished.  All outputnow goes through prout/proutn/prouts.

These are now prinf-like variadic functions.  The point of this
maneuver was to make the output capturable by a different front end,
for example a curses-based front end.

20 years agoMagic number changes, get rid of nulplanet structure.
Eric S. Raymond [Mon, 1 Nov 2004 01:23:39 +0000 (01:23 +0000)]
Magic number changes, get rid of nulplanet structure.

...in favor of DESTROY macro, change planet indices to be zero-based.

20 years agoMagic-constent elimination (use an enum instead.
Eric S. Raymond [Mon, 1 Nov 2004 00:43:25 +0000 (00:43 +0000)]
Magic-constent elimination (use an enum instead.

20 years agoAnother step in consolidating the saved-state globals.
Eric S. Raymond [Mon, 1 Nov 2004 00:23:05 +0000 (00:23 +0000)]
Another step in consolidating the saved-state globals.

They all live in one structure now.

20 years agoAnother step in coalescing all the globals.
Eric S. Raymond [Mon, 1 Nov 2004 00:00:39 +0000 (00:00 +0000)]
Another step in coalescing all the globals.

20 years agoThe quad global gets pulled into the frozen structure.
Eric S. Raymond [Sun, 31 Oct 2004 20:26:15 +0000 (20:26 +0000)]
The quad global gets pulled into the frozen structure.

20 years agoNext step towards structure merge.
Eric S. Raymond [Sun, 31 Oct 2004 20:05:04 +0000 (20:05 +0000)]
Next step towards structure merge.

Change state variables to names that will be easy to replace.

20 years agoFix some C that gcc tags as unclean or unsafe. Rename 'a' structure to 'game'.
Eric S. Raymond [Sun, 31 Oct 2004 15:53:36 +0000 (15:53 +0000)]
Fix some C that gcc tags as unclean or unsafe. Rename 'a' structure to 'game'.

Someday we'll bundle every saveable thing into this. Add a clean
production to the makefile and fix the target.

20 years agoCode, comment, and documentation typo fixes.
Eric S. Raymond [Sun, 31 Oct 2004 15:30:51 +0000 (15:30 +0000)]
Code, comment, and documentation typo fixes.

20 years agoInitial commit of Tom Almy's version plus sst.doc.
Eric S. Raymond [Sun, 31 Oct 2004 14:49:26 +0000 (14:49 +0000)]
Initial commit of Tom Almy's version plus sst.doc.