super-star-trek.git
14 years agomerge the autotools branch
Stas Sergeev [Wed, 13 Sep 2006 17:20:32 +0000 (17:20 +0000)]
merge the autotools branch

14 years agoClean up a warning.
Eric S. Raymond [Wed, 13 Sep 2006 17:20:21 +0000 (17:20 +0000)]
Clean up a warning.

14 years agoThis is Jaap Boender's original example code.
Eric S. Raymond [Wed, 13 Sep 2006 17:18:31 +0000 (17:18 +0000)]
This is Jaap Boender's original example code.

14 years agoExperimental X code
Eric S. Raymond [Wed, 13 Sep 2006 16:36:24 +0000 (16:36 +0000)]
Experimental X code

Starting from Jaap Bender's tutorial example at <http://www.kerguelen.org/x/>.

14 years agofix typos
Stas Sergeev [Wed, 13 Sep 2006 16:30:11 +0000 (16:30 +0000)]
fix typos

14 years agomove away www, hope that wont make any harm
Stas Sergeev [Tue, 12 Sep 2006 19:17:42 +0000 (19:17 +0000)]
move away www, hope that wont make any harm

14 years agoMention related projects.
Eric S. Raymond [Tue, 12 Sep 2006 19:00:30 +0000 (19:00 +0000)]
Mention related projects.

14 years agoReorganize documentation of changes, Add some stuff from Tom Almy's web page.
Eric S. Raymond [Tue, 12 Sep 2006 17:52:11 +0000 (17:52 +0000)]
Reorganize documentation of changes, Add some stuff from Tom Almy's web page.

14 years agoFix game type parsing.
Eric S. Raymond [Tue, 12 Sep 2006 17:28:40 +0000 (17:28 +0000)]
Fix game type parsing.

14 years agoDeathray is now regressed to original 5% probability in 'plain' games.
Eric S. Raymond [Tue, 12 Sep 2006 17:27:46 +0000 (17:27 +0000)]
Deathray is now regressed to original 5% probability in 'plain' games.

14 years agoAdded the ability to suppress newer features with a game type option.
Eric S. Raymond [Tue, 12 Sep 2006 10:23:36 +0000 (10:23 +0000)]
Added the ability to suppress newer features with a game type option.

14 years agoYet more documentation.
Eric S. Raymond [Tue, 12 Sep 2006 08:05:09 +0000 (08:05 +0000)]
Yet more documentation.

14 years agoYet more history.
Eric S. Raymond [Tue, 12 Sep 2006 07:57:38 +0000 (07:57 +0000)]
Yet more history.

14 years agoYet more documenation of the history, and archiving of some ancestral versions.
Eric S. Raymond [Tue, 12 Sep 2006 07:49:55 +0000 (07:49 +0000)]
Yet more documenation of the history, and archiving of some ancestral versions.

14 years agoCosmetic fixes.
Eric S. Raymond [Tue, 12 Sep 2006 03:25:33 +0000 (03:25 +0000)]
Cosmetic fixes.

14 years agoAnother documentation update.
Eric S. Raymond [Tue, 12 Sep 2006 02:04:01 +0000 (02:04 +0000)]
Another documentation update.

14 years agoWeb page now published. Add material to the history section of the docs.
Eric S. Raymond [Mon, 11 Sep 2006 23:30:44 +0000 (23:30 +0000)]
Web page now published.  Add material to the history section of the docs.

14 years agoStas believes he's fixed the warp-out-of-supernova bug.
Eric S. Raymond [Mon, 11 Sep 2006 19:15:35 +0000 (19:15 +0000)]
Stas believes he's fixed the warp-out-of-supernova bug.

15 years agoFix the logic around remkl.
Stas Sergeev [Wed, 25 May 2005 17:42:07 +0000 (17:42 +0000)]
Fix the logic around remkl.

- There were the confusions about the remkl around the code:
sometimes it was used as a total klingons count, sometimes - as
a count of only an ordinary klingons. I added the separate
counters for those. Also removed the killed counters; added
the macros that calculates "killed" values as initial_val-remaining_val.
- Reset the klingons, starbases and supernovas on map upon an
initialization. This fixes the bug where the unkilled klingons
could propagate themselves to the subsequent game round.

15 years agoSmall bug with displaying the starbase's lrscan
Stas Sergeev [Wed, 25 May 2005 17:36:09 +0000 (17:36 +0000)]
Small bug with displaying the starbase's lrscan

15 years agoThis hopefully fixes the "lockup on supernova" problem.
Stas Sergeev [Wed, 25 May 2005 17:35:17 +0000 (17:35 +0000)]
This hopefully fixes the "lockup on supernova" problem.
The scenario I've seen was that warp() calls imove() which calls
srawmaps(), which leaves the lrscan_window active. When nova kills
you, all the game status was dumped to lrscan_window, and the
question "play again?" in that window was effectively a lock-up.
But I haven't tested the fact that the problem is really no longer
happens.

15 years agoFixed klingon count to avoid winning the game before all the klingons
Stas Sergeev [Tue, 24 May 2005 17:51:35 +0000 (17:51 +0000)]
Fixed klingon count to avoid winning the game before all the klingons
are destroyed.

16 years agoNote the existence of the new commit-watch list.
Eric S. Raymond [Fri, 29 Apr 2005 15:01:00 +0000 (15:01 +0000)]
Note the existence of the new commit-watch list.

16 years agoFix the scroll-pausing code.
Stas Sergeev [Thu, 28 Apr 2005 16:15:32 +0000 (16:15 +0000)]
Fix the scroll-pausing code.

16 years agoResync code and docs.
Eric S. Raymond [Mon, 18 Apr 2005 16:03:09 +0000 (16:03 +0000)]
Resync code and docs.

16 years agoTry to handle message scrolling in curses.
Eric S. Raymond [Mon, 18 Apr 2005 09:22:02 +0000 (09:22 +0000)]
Try to handle message scrolling in curses.

16 years agoRPM building works now.
Eric S. Raymond [Thu, 14 Apr 2005 14:50:17 +0000 (14:50 +0000)]
RPM building works now.

16 years agoJust a rename.
Eric S. Raymond [Thu, 14 Apr 2005 14:43:17 +0000 (14:43 +0000)]
Just a rename.

16 years agoUpdates for the build machinery.
Eric S. Raymond [Thu, 14 Apr 2005 14:42:53 +0000 (14:42 +0000)]
Updates for the build machinery.

16 years agoGet rid of the DOS CRs.
Eric S. Raymond [Thu, 14 Apr 2005 14:25:22 +0000 (14:25 +0000)]
Get rid of the DOS CRs.

16 years agoStas's change to get rid of unwanted EOLs.
Eric S. Raymond [Thu, 14 Apr 2005 14:11:10 +0000 (14:11 +0000)]
Stas's change to get rid of unwanted EOLs.

16 years agoMerge Stas's fixes to restore old behavior in the chart function and
Eric S. Raymond [Fri, 18 Feb 2005 03:53:35 +0000 (03:53 +0000)]
Merge Stas's fixes to restore old behavior in the chart function and
do the Mayday animation.  Also get rid of literal \n and \r.

16 years agoDefault version generates your password.
Eric S. Raymond [Sun, 13 Feb 2005 06:39:56 +0000 (06:39 +0000)]
Default version generates your password.

16 years agoStas's fixes for torpedo and phaser animation.
Eric S. Raymond [Sun, 13 Feb 2005 06:13:23 +0000 (06:13 +0000)]
Stas's fixes for torpedo and phaser animation.

16 years agoGet rid of \r characters.
Eric S. Raymond [Sun, 13 Feb 2005 06:09:59 +0000 (06:09 +0000)]
Get rid of \r characters.

16 years agoFix the bracket display.
Eric S. Raymond [Sat, 12 Feb 2005 13:48:18 +0000 (13:48 +0000)]
Fix the bracket display.

16 years agoFollow up on OPTION_SHOWME.
Eric S. Raymond [Sat, 12 Feb 2005 04:49:52 +0000 (04:49 +0000)]
Follow up on OPTION_SHOWME.

16 years agoAdded OPTION_SHOWME.
Eric S. Raymond [Sat, 12 Feb 2005 04:47:57 +0000 (04:47 +0000)]
Added OPTION_SHOWME.

16 years agoTypo fix.
Eric S. Raymond [Sat, 12 Feb 2005 04:34:36 +0000 (04:34 +0000)]
Typo fix.

16 years agoSimplified the logic for refeshing starcharts.
Eric S. Raymond [Sat, 12 Feb 2005 04:33:52 +0000 (04:33 +0000)]
Simplified the logic for refeshing starcharts.

16 years agoGet rid of another magic number.
Eric S. Raymond [Sat, 12 Feb 2005 04:13:42 +0000 (04:13 +0000)]
Get rid of another magic number.

16 years agoFix several minor bugs reported by Stas Sergeev.
Eric S. Raymond [Sat, 12 Feb 2005 03:56:02 +0000 (03:56 +0000)]
Fix several minor bugs reported by Stas Sergeev.

16 years agoSpeed up slow printing somewhat.
Eric S. Raymond [Mon, 7 Feb 2005 20:40:37 +0000 (20:40 +0000)]
Speed up slow printing somewhat.

16 years agoMore presentation bugs.
Eric S. Raymond [Mon, 7 Feb 2005 20:39:00 +0000 (20:39 +0000)]
More presentation bugs.

16 years agoFix two minor presentation bugs.
Eric S. Raymond [Mon, 7 Feb 2005 20:29:53 +0000 (20:29 +0000)]
Fix two minor presentation bugs.

16 years agoBug fix inbase iteration.
Eric S. Raymond [Mon, 7 Feb 2005 20:05:12 +0000 (20:05 +0000)]
Bug fix inbase iteration.

16 years agoCleanup up after previous change.
Eric S. Raymond [Mon, 7 Feb 2005 19:10:42 +0000 (19:10 +0000)]
Cleanup up after previous change.

16 years agoCompute the maximum number of bases from BASEMAX.
Eric S. Raymond [Mon, 7 Feb 2005 19:05:07 +0000 (19:05 +0000)]
Compute the maximum number of bases from BASEMAX.

16 years agoDe-FORTRANize the future array.
Eric S. Raymond [Mon, 7 Feb 2005 18:35:02 +0000 (18:35 +0000)]
De-FORTRANize the future array.

16 years agoYet more origin-hiding.
Eric S. Raymond [Mon, 7 Feb 2005 16:17:08 +0000 (16:17 +0000)]
Yet more origin-hiding.

16 years agoMore origin-hiding.
Eric S. Raymond [Mon, 7 Feb 2005 16:08:11 +0000 (16:08 +0000)]
More origin-hiding.

16 years agoHide more origin differences.
Eric S. Raymond [Mon, 7 Feb 2005 15:48:12 +0000 (15:48 +0000)]
Hide more origin differences.

16 years agoHide some differences between 0-origin and 1-origin addressing.
Eric S. Raymond [Mon, 7 Feb 2005 15:40:59 +0000 (15:40 +0000)]
Hide some differences between 0-origin and 1-origin addressing.

16 years agoStash orbital height in gane structure in case we save while in orbit.
Eric S. Raymond [Mon, 7 Feb 2005 13:16:38 +0000 (13:16 +0000)]
Stash orbital height in gane structure in case we save while in orbit.

16 years agoRewrite to get ride of FORTRANish galaxy and newstuff arrays. It's
Eric S. Raymond [Mon, 7 Feb 2005 13:10:54 +0000 (13:10 +0000)]
Rewrite to get ride of FORTRANish galaxy and newstuff arrays.  It's
all one C structure array now.  Also back out "Bases left" report.

16 years agoChange devices arrays from 1-origin to 0-origin.
Eric S. Raymond [Mon, 7 Feb 2005 09:47:49 +0000 (09:47 +0000)]
Change devices arrays from 1-origin to 0-origin.

16 years agoDo Thingy as Dave suggests, not retained in saved games.
Eric S. Raymond [Mon, 7 Feb 2005 06:34:38 +0000 (06:34 +0000)]
Do Thingy as Dave suggests, not retained in saved games.

16 years agoOK, now we implement command suppression by options.
Eric S. Raymond [Mon, 7 Feb 2005 06:25:54 +0000 (06:25 +0000)]
OK, now we implement command suppression by options.

16 years agoFirst cut at game-option support.
Eric S. Raymond [Mon, 7 Feb 2005 06:12:18 +0000 (06:12 +0000)]
First cut at game-option support.

16 years agoComments on the history.
Eric S. Raymond [Mon, 7 Feb 2005 04:17:38 +0000 (04:17 +0000)]
Comments on the history.

16 years agoconio.[ch] is gone.
Eric S. Raymond [Mon, 7 Feb 2005 00:02:19 +0000 (00:02 +0000)]
conio.[ch] is gone.

16 years agoNo longer needed.
Eric S. Raymond [Mon, 7 Feb 2005 00:01:39 +0000 (00:01 +0000)]
No longer needed.

16 years agoQuiet the sensors.
Eric S. Raymond [Sun, 6 Feb 2005 22:04:32 +0000 (22:04 +0000)]
Quiet the sensors.

16 years agoGet rid of FORTRANisms.
Eric S. Raymond [Sun, 6 Feb 2005 21:49:56 +0000 (21:49 +0000)]
Get rid of FORTRANisms.

16 years agoSome changes get reverted.
Eric S. Raymond [Sun, 6 Feb 2005 18:58:39 +0000 (18:58 +0000)]
Some changes get reverted.

16 years agoMore magic-number chasing, and the "Bases left" report.
Eric S. Raymond [Sun, 6 Feb 2005 18:32:49 +0000 (18:32 +0000)]
More magic-number chasing, and the "Bases left" report.

16 years agoMore magic-number chasing.
Eric S. Raymond [Sun, 6 Feb 2005 17:16:42 +0000 (17:16 +0000)]
More magic-number chasing.

16 years agoMore magic-number hunting -- BASEMAX this time.
Eric S. Raymond [Sun, 6 Feb 2005 16:45:25 +0000 (16:45 +0000)]
More magic-number hunting -- BASEMAX this time.

16 years agoMore magic-number fixes.
Eric S. Raymond [Sun, 6 Feb 2005 16:37:01 +0000 (16:37 +0000)]
More magic-number fixes.

16 years agoMagic number elimination.
Eric S. Raymond [Sun, 6 Feb 2005 16:24:55 +0000 (16:24 +0000)]
Magic number elimination.

Try to replace instances of 8 meaning the galaxy size with GALSIZE,
and 10 meaning the quadrant size with QUADSIZE.  It's not certain I
got all of them, however.

16 years agoColor is working.
Eric S. Raymond [Sun, 6 Feb 2005 06:28:54 +0000 (06:28 +0000)]
Color is working.

16 years agoColor is working.
Eric S. Raymond [Sun, 6 Feb 2005 06:26:07 +0000 (06:26 +0000)]
Color is working.

16 years agoUpdate the TODO.
Eric S. Raymond [Sun, 6 Feb 2005 00:06:43 +0000 (00:06 +0000)]
Update the TODO.

16 years agoBetter command suppression.
Eric S. Raymond [Sun, 6 Feb 2005 00:06:05 +0000 (00:06 +0000)]
Better command suppression.

16 years agoDilithium crystal indicator.
Eric S. Raymond [Sat, 5 Feb 2005 23:39:05 +0000 (23:39 +0000)]
Dilithium crystal indicator.

16 years agoCorrect the prompt-setting.
Eric S. Raymond [Sat, 5 Feb 2005 23:24:02 +0000 (23:24 +0000)]
Correct the prompt-setting.

16 years agoNo longer needed.
Eric S. Raymond [Sat, 5 Feb 2005 22:37:56 +0000 (22:37 +0000)]
No longer needed.

16 years agoThis completely merges the line-oriented and screen I/O managers,
Eric S. Raymond [Sat, 5 Feb 2005 22:23:50 +0000 (22:23 +0000)]
This completely merges the line-oriented and screen I/O managers,
except it doesn't do color.

16 years agoAdd a TODO.
Eric S. Raymond [Sat, 5 Feb 2005 21:58:43 +0000 (21:58 +0000)]
Add a TODO.

16 years agoMove cursor restoration into io.c.
Eric S. Raymond [Sat, 5 Feb 2005 18:41:54 +0000 (18:41 +0000)]
Move cursor restoration into io.c.

16 years agoSimplify the starchart code.
Eric S. Raymond [Sat, 5 Feb 2005 18:10:01 +0000 (18:10 +0000)]
Simplify the starchart code.

16 years agoFirst half of runtime merge.
Eric S. Raymond [Sat, 5 Feb 2005 17:43:19 +0000 (17:43 +0000)]
First half of runtime merge.

16 years agoGuard against nasty surprises when building with -DESERGEEV off.
Eric S. Raymond [Sat, 5 Feb 2005 17:23:38 +0000 (17:23 +0000)]
Guard against nasty surprises when building with -DESERGEEV off.

16 years agoHide a structure.
Eric S. Raymond [Sat, 5 Feb 2005 06:42:05 +0000 (06:42 +0000)]
Hide a structure.

16 years agoGet rid of c_printf().
Eric S. Raymond [Fri, 4 Feb 2005 23:59:11 +0000 (23:59 +0000)]
Get rid of c_printf().

16 years agoRemove CRs.
Eric S. Raymond [Fri, 4 Feb 2005 23:51:24 +0000 (23:51 +0000)]
Remove CRs.

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

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

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

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

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

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

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

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

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

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

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

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

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

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