super-star-trek.git
17 years agoRemove CRs.
Eric S. Raymond [Fri, 4 Feb 2005 23:51:24 +0000 (23:51 +0000)]
Remove CRs.

17 years agoPrevent the sensor display from being garbled.
Eric S. Raymond [Fri, 4 Feb 2005 22:56:07 +0000 (22:56 +0000)]
Prevent the sensor display from being garbled.

17 years agoDon't use a compiler trick to initialize the conio library, because
Eric S. Raymond [Fri, 4 Feb 2005 17:31:03 +0000 (17:31 +0000)]
Don't use a compiler trick to initialize the conio library, because
later we'll need to make the choice about whether or not to use it
at runtime.

17 years agoCall it SST 2K.
Eric S. Raymond [Fri, 4 Feb 2005 17:17:43 +0000 (17:17 +0000)]
Call it SST 2K.

17 years agoWe don't want to support non-Unix OSes any more.
Eric S. Raymond [Fri, 4 Feb 2005 17:14:42 +0000 (17:14 +0000)]
We don't want to support non-Unix OSes any more.

17 years agoXML validates OK.
Eric S. Raymond [Fri, 4 Feb 2005 17:11:17 +0000 (17:11 +0000)]
XML validates OK.

17 years agoA step towards validation.
Eric S. Raymond [Fri, 4 Feb 2005 17:06:07 +0000 (17:06 +0000)]
A step towards validation.

17 years agoHeader file cleanup.
Eric S. Raymond [Fri, 4 Feb 2005 16:53:47 +0000 (16:53 +0000)]
Header file cleanup.

17 years agoDocumentation fixes.
Eric S. Raymond [Fri, 4 Feb 2005 16:32:15 +0000 (16:32 +0000)]
Documentation fixes.

17 years agoThere is a separate STATUS command.
Eric S. Raymond [Fri, 4 Feb 2005 15:54:22 +0000 (15:54 +0000)]
There is a separate STATUS command.

17 years agoRestored REQUEST.
Eric S. Raymond [Fri, 4 Feb 2005 15:27:17 +0000 (15:27 +0000)]
Restored REQUEST.

17 years agoMake sure this builds with -DSERGEEV.
Eric S. Raymond [Fri, 4 Feb 2005 14:52:23 +0000 (14:52 +0000)]
Make sure this builds with -DSERGEEV.

17 years agoFix some messages.
Eric S. Raymond [Fri, 4 Feb 2005 14:21:20 +0000 (14:21 +0000)]
Fix some messages.

17 years agoMinor cleanup.
Eric S. Raymond [Fri, 4 Feb 2005 14:04:16 +0000 (14:04 +0000)]
Minor cleanup.

17 years agoPull SERGEEV dependencies out of sst.c, fix docs.
Eric S. Raymond [Fri, 4 Feb 2005 13:57:04 +0000 (13:57 +0000)]
Pull SERGEEV dependencies out of sst.c, fix docs.

17 years agoSERGEEV dependencies cleaned out of battle.c
Eric S. Raymond [Fri, 4 Feb 2005 13:18:15 +0000 (13:18 +0000)]
SERGEEV dependencies cleaned out of battle.c

17 years agoRemove some dependencies from battle.c.
Eric S. Raymond [Fri, 4 Feb 2005 04:04:51 +0000 (04:04 +0000)]
Remove some dependencies from battle.c.

17 years agoMore factoring out.
Eric S. Raymond [Fri, 4 Feb 2005 03:40:01 +0000 (03:40 +0000)]
More factoring out.

17 years agosetwnd() is now a save no-op in TTY mode.
Eric S. Raymond [Fri, 4 Feb 2005 03:32:10 +0000 (03:32 +0000)]
setwnd() is now a save no-op in TTY mode.

17 years agoRenumber some commands.
Eric S. Raymond [Fri, 4 Feb 2005 03:16:50 +0000 (03:16 +0000)]
Renumber some commands.

17 years agogetline -> cgetline.
Eric S. Raymond [Fri, 4 Feb 2005 03:12:57 +0000 (03:12 +0000)]
getline -> cgetline.

17 years agoGive names to the windows.
Eric S. Raymond [Fri, 4 Feb 2005 02:57:57 +0000 (02:57 +0000)]
Give names to the windows.

17 years agoRewrote the command dispatcher.
Eric S. Raymond [Fri, 4 Feb 2005 00:46:02 +0000 (00:46 +0000)]
Rewrote the command dispatcher.

17 years agoStart pulling SERGEEV dependencies out of sst.c.
Eric S. Raymond [Thu, 3 Feb 2005 23:05:18 +0000 (23:05 +0000)]
Start pulling SERGEEV dependencies out of sst.c.

17 years agoRenove SERGEEV deoendency from planets.c
Eric S. Raymond [Thu, 3 Feb 2005 22:56:12 +0000 (22:56 +0000)]
Renove SERGEEV deoendency from planets.c

17 years agoPull SERGEEV dependencies out of reports.c.
Eric S. Raymond [Thu, 3 Feb 2005 22:50:15 +0000 (22:50 +0000)]
Pull SERGEEV dependencies out of reports.c.

17 years agoMore dependency reduction.
Eric S. Raymond [Thu, 3 Feb 2005 22:33:55 +0000 (22:33 +0000)]
More dependency reduction.
Pull SERGEEV dependencies out of sstlinux.c.

17 years agoPull SERGEEV dependencies out of sstlinux.c.
Eric S. Raymond [Thu, 3 Feb 2005 22:31:42 +0000 (22:31 +0000)]
Pull SERGEEV dependencies out of sstlinux.c.

17 years agoGet rid of clearscreen().
Eric S. Raymond [Thu, 3 Feb 2005 21:56:24 +0000 (21:56 +0000)]
Get rid of clearscreen().

17 years agoKnock SERGEEV out of setup.
Eric S. Raymond [Thu, 3 Feb 2005 20:19:59 +0000 (20:19 +0000)]
Knock SERGEEV out of setup.

17 years agoREmove half the conditionals.
Eric S. Raymond [Thu, 3 Feb 2005 20:08:04 +0000 (20:08 +0000)]
REmove half the conditionals.

17 years agoPartial merge of I/O management.
Eric S. Raymond [Thu, 3 Feb 2005 20:00:17 +0000 (20:00 +0000)]
Partial merge of I/O management.

17 years agotextcolor() is now available in the text input manager.
Eric S. Raymond [Thu, 3 Feb 2005 19:38:09 +0000 (19:38 +0000)]
textcolor() is now available in the text input manager.

17 years agoMerge some game logic.
Eric S. Raymond [Thu, 3 Feb 2005 19:15:06 +0000 (19:15 +0000)]
Merge some game logic.

17 years agoGet rid of some unneeded conditionalizations.
Eric S. Raymond [Thu, 3 Feb 2005 18:30:44 +0000 (18:30 +0000)]
Get rid of some unneeded conditionalizations.

17 years agoTrim a message.
Eric S. Raymond [Thu, 3 Feb 2005 18:17:07 +0000 (18:17 +0000)]
Trim a message.

17 years agoMerge Stas's patch #3.
Eric S. Raymond [Thu, 3 Feb 2005 18:04:05 +0000 (18:04 +0000)]
Merge Stas's patch #3.

17 years agoOops -- this wasn't in the repo.
Eric S. Raymond [Thu, 3 Feb 2005 17:15:07 +0000 (17:15 +0000)]
Oops -- this wasn't in the repo.

17 years agoStill more mergedown.
Eric S. Raymond [Fri, 28 Jan 2005 22:23:10 +0000 (22:23 +0000)]
Still more mergedown.

17 years agoMake sure we actually take input!
Eric S. Raymond [Fri, 28 Jan 2005 22:12:47 +0000 (22:12 +0000)]
Make sure we actually take input!

17 years agoMore merge-down.
Eric S. Raymond [Fri, 28 Jan 2005 22:00:45 +0000 (22:00 +0000)]
More merge-down.

17 years agoSecond round of merging Sergeev changes.
Eric S. Raymond [Fri, 28 Jan 2005 21:49:25 +0000 (21:49 +0000)]
Second round of merging Sergeev changes.

17 years agoGet rid of all DOS-generated CRs.
Eric S. Raymond [Thu, 20 Jan 2005 21:31:19 +0000 (21:31 +0000)]
Get rid of all DOS-generated CRs.

17 years agoOne more small merge.
Eric S. Raymond [Thu, 20 Jan 2005 07:33:34 +0000 (07:33 +0000)]
One more small merge.

17 years agoMerge some more SERGEEV stuff.
Eric S. Raymond [Thu, 20 Jan 2005 07:23:49 +0000 (07:23 +0000)]
Merge some more SERGEEV stuff.

17 years agoMore merging of SERGEEV changes.
Eric S. Raymond [Thu, 20 Jan 2005 06:30:21 +0000 (06:30 +0000)]
More merging of SERGEEV changes.

17 years agoMerge more SERGEEV stuff.
Eric S. Raymond [Thu, 20 Jan 2005 06:01:20 +0000 (06:01 +0000)]
Merge more SERGEEV stuff.

17 years agoAvoid an infinite loop on some skips.
Eric S. Raymond [Thu, 20 Jan 2005 05:54:07 +0000 (05:54 +0000)]
Avoid an infinite loop on some skips.

17 years agoCleanup as part of Sergeev merge.
Eric S. Raymond [Thu, 20 Jan 2005 05:28:41 +0000 (05:28 +0000)]
Cleanup as part of Sergeev merge.

17 years agoThese are unused.
Eric S. Raymond [Wed, 19 Jan 2005 23:18:49 +0000 (23:18 +0000)]
These are unused.

17 years agoFirst round of Sergeev merges.
Eric S. Raymond [Wed, 19 Jan 2005 23:17:44 +0000 (23:17 +0000)]
First round of Sergeev merges.

17 years agoComment describing Stas Sergeev's changes, which we'll merge in next.
Eric S. Raymond [Wed, 19 Jan 2005 22:18:00 +0000 (22:18 +0000)]
Comment describing Stas Sergeev's changes, which we'll merge in next.

17 years agoFirst round of changes from Stas Sergeev.
Eric S. Raymond [Wed, 19 Jan 2005 03:45:27 +0000 (03:45 +0000)]
First round of changes from Stas Sergeev.

1. The Space Thingy can now be shoved.

2. Black holes are not instant  death any more, one has a chance of
   getting timewarped.

Various small code cleanups are included.

18 years agoSet up pre- and post-command hooks.
Eric S. Raymond [Fri, 5 Nov 2004 01:23:34 +0000 (01:23 +0000)]
Set up pre- and post-command hooks.

18 years agoCommit the first version of the curses interface.
Eric S. Raymond [Fri, 5 Nov 2004 01:08:30 +0000 (01:08 +0000)]
Commit the first version of the curses interface.

18 years agoWe have the framework of the curses interface working.
Eric S. Raymond [Fri, 5 Nov 2004 01:02:46 +0000 (01:02 +0000)]
We have the framework of the curses interface working.

18 years agoDon't generate UTF-8 into sst.doc.
Eric S. Raymond [Fri, 5 Nov 2004 00:20:22 +0000 (00:20 +0000)]
Don't generate UTF-8 into sst.doc.

18 years agocurses interface is now partly working.
Eric S. Raymond [Thu, 4 Nov 2004 23:17:07 +0000 (23:17 +0000)]
curses interface is now partly working.

18 years agoNext step: seal off the input logic.
Eric S. Raymond [Thu, 4 Nov 2004 21:37:49 +0000 (21:37 +0000)]
Next step: seal off the input logic.

18 years agoMove I/O to a separate module -- first step towards curses interface.
Eric S. Raymond [Thu, 4 Nov 2004 21:33:11 +0000 (21:33 +0000)]
Move I/O to a separate module -- first step towards curses interface.

18 years agoGet rid of linux.c and os2.c, code is pure ANSI now.
Eric S. Raymond [Thu, 4 Nov 2004 21:13:57 +0000 (21:13 +0000)]
Get rid of linux.c and os2.c, code is pure ANSI now.

18 years agoFirst step towards getting rid of the non-ANSI stuff.
Eric S. Raymond [Thu, 4 Nov 2004 21:12:18 +0000 (21:12 +0000)]
First step towards getting rid of the non-ANSI stuff.

18 years agoMake the internal pager actually work. In the process, remove getch()
Eric S. Raymond [Thu, 4 Nov 2004 20:52:38 +0000 (20:52 +0000)]
Make the internal pager actually work.  In the process, remove getch()
and the ANSI-terminal assumption.

18 years agoAdd the README and spec files
Eric S. Raymond [Wed, 3 Nov 2004 13:36:32 +0000 (13:36 +0000)]
Add the README and spec files

18 years agoInstall/uninstall are in place.
Eric S. Raymond [Wed, 3 Nov 2004 13:28:53 +0000 (13:28 +0000)]
Install/uninstall are in place.

18 years agoTwo more to-do items down.
Eric S. Raymond [Tue, 2 Nov 2004 00:24:45 +0000 (00:24 +0000)]
Two more to-do items down.

18 years agoWe can now override the docfile location.
Eric S. Raymond [Tue, 2 Nov 2004 00:23:46 +0000 (00:23 +0000)]
We can now override the docfile location.

18 years agoAdd a manual page.
Eric S. Raymond [Mon, 1 Nov 2004 23:51:38 +0000 (23:51 +0000)]
Add a manual page.

18 years agoKnows how to use LINES now.
Eric S. Raymond [Mon, 1 Nov 2004 23:09:46 +0000 (23:09 +0000)]
Knows how to use LINES now.

18 years agoBetter project documentation.
Eric S. Raymond [Mon, 1 Nov 2004 22:36:16 +0000 (22:36 +0000)]
Better project documentation.

18 years agoAdded a TO-DO list.
Eric S. Raymond [Mon, 1 Nov 2004 21:49:35 +0000 (21:49 +0000)]
Added a TO-DO list.

18 years agoThe beginnings of the website.
Eric S. Raymond [Mon, 1 Nov 2004 21:25:21 +0000 (21:25 +0000)]
The beginnings of the website.

18 years agoHelp system revamped.
Eric S. Raymond [Mon, 1 Nov 2004 20:46:57 +0000 (20:46 +0000)]
Help system revamped.

We still needs to fix it so it doesn't assume the help file is in the
current directory.

18 years agoFix a float format.
Eric S. Raymond [Mon, 1 Nov 2004 17:55:06 +0000 (17:55 +0000)]
Fix a float format.

18 years agoMore typo fixes. May be time to convert to DocBook.
Eric S. Raymond [Mon, 1 Nov 2004 15:20:26 +0000 (15:20 +0000)]
More typo fixes.  May be time to convert to DocBook.

18 years agoClean up some float formatting.
Eric S. Raymond [Mon, 1 Nov 2004 07:51:33 +0000 (07:51 +0000)]
Clean up some float formatting.

18 years agoDocument what I've done.
Eric S. Raymond [Mon, 1 Nov 2004 07:48:13 +0000 (07:48 +0000)]
Document what I've done.

18 years agoMore de-FORTRANizing of the output code.
Eric S. Raymond [Mon, 1 Nov 2004 06:23:29 +0000 (06:23 +0000)]
More de-FORTRANizing of the output code.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.