super-star-trek.git
8 years agoScanner clearing was being done at the wrong point.
Eric S. Raymond [Fri, 17 Feb 2012 20:46:49 +0000 (15:46 -0500)]
Scanner clearing was being done at the wrong point.

8 years agoFix strange bug in warp code.
Eric S. Raymond [Fri, 17 Feb 2012 12:13:29 +0000 (07:13 -0500)]
Fix strange bug in warp code.

8 years agoMerge branch 'master' of ssh://git.berlios.de/gitroot/sst
Eric S. Raymond [Fri, 17 Feb 2012 02:46:10 +0000 (21:46 -0500)]
Merge branch 'master' of ssh://git.berlios.de/gitroot/sst

8 years agoTypo fix.
Eric S. Raymond [Fri, 17 Feb 2012 00:25:50 +0000 (19:25 -0500)]
Typo fix.

8 years agoNote the Python translation.
Eric S. Raymond [Fri, 17 Feb 2012 00:14:35 +0000 (19:14 -0500)]
Note the Python translation.

8 years agoPackaging changes and version bump. 2.1
Eric S. Raymond [Thu, 16 Feb 2012 22:52:27 +0000 (17:52 -0500)]
Packaging changes and version bump.

9 years agopatch from Javier Novoa:
Stas Sergeev [Wed, 16 Mar 2011 17:30:50 +0000 (20:30 +0300)]
patch from Javier Novoa:
Zero out the game arrays on initialization to prevent lockups
when they are randomly populated with the game data.
This fixes the lockup when the game is played the second time.

9 years agodo not abbreviate commands after abandon
Stas Sergeev [Wed, 15 Dec 2010 15:21:11 +0000 (18:21 +0300)]
do not abbreviate commands after abandon

9 years agoAbbreviations should not collide - lets stay compatible with the original.
Stas P [Wed, 15 Dec 2010 15:12:17 +0000 (18:12 +0300)]
Abbreviations should not collide - lets stay compatible with the original.

9 years agoset message_window earlier to avoid crash on startup.
Stas P [Tue, 14 Dec 2010 16:43:14 +0000 (19:43 +0300)]
set message_window earlier to avoid crash on startup.

9 years agoneed to clean scanner before asking for the game type.
Stas P [Tue, 14 Dec 2010 16:24:31 +0000 (19:24 +0300)]
need to clean scanner before asking for the game type.
Not sure about the command line parameters in the comment.

9 years agofix password acceptance
Stas P [Tue, 14 Dec 2010 15:21:56 +0000 (18:21 +0300)]
fix password acceptance

9 years agofix array index overrun
Stas P [Tue, 14 Dec 2010 15:11:00 +0000 (18:11 +0300)]
fix array index overrun

9 years agoavoid trailing newlines to cause scroll-pausing.
Stas P [Tue, 14 Dec 2010 15:02:16 +0000 (18:02 +0300)]
avoid trailing newlines to cause scroll-pausing.

9 years agoTypo fix.
Eric S. Raymond [Tue, 14 Dec 2010 11:20:27 +0000 (06:20 -0500)]
Typo fix.

9 years agoRefactor to evade a bug in pychecker.
Eric S. Raymond [Tue, 7 Dec 2010 21:48:00 +0000 (16:48 -0500)]
Refactor to evade a bug in pychecker.

9 years agoAdd explanatory comment.
Eric S. Raymond [Tue, 7 Dec 2010 21:42:07 +0000 (16:42 -0500)]
Add explanatory comment.

9 years agoQuiet down pychecker.
Eric S. Raymond [Tue, 7 Dec 2010 21:41:09 +0000 (16:41 -0500)]
Quiet down pychecker.

9 years agoYet more pychecker fixes.
Eric S. Raymond [Tue, 7 Dec 2010 02:38:25 +0000 (21:38 -0500)]
Yet more pychecker fixes.

10 years agoYet more pychecker fixes. Down to 16 warnings now.
Eric S. Raymond [Mon, 6 Dec 2010 20:51:34 +0000 (15:51 -0500)]
Yet more pychecker fixes.  Down to 16 warnings now.

10 years agoMore pychecker fixes.
Eric S. Raymond [Mon, 6 Dec 2010 20:24:20 +0000 (15:24 -0500)]
More pychecker fixes.

10 years agoMerge branch 'master' of ssh://git.berlios.de/gitroot/sst
Eric S. Raymond [Mon, 6 Dec 2010 00:09:58 +0000 (19:09 -0500)]
Merge branch 'master' of ssh://git.berlios.de/gitroot/sst

10 years agoMore pychecker fixes.
Eric S. Raymond [Mon, 6 Dec 2010 00:09:22 +0000 (19:09 -0500)]
More pychecker fixes.

10 years agochmod +x sst.py
Stas Sergeev [Sun, 5 Dec 2010 13:19:25 +0000 (16:19 +0300)]
chmod +x sst.py

10 years agoGet the Freshmeat project name right.
Eric S. Raymond [Wed, 1 Dec 2010 13:02:26 +0000 (08:02 -0500)]
Get the Freshmeat project name right.

10 years agoFix Berlios bug #1745.
Eric S. Raymond [Wed, 1 Dec 2010 12:25:38 +0000 (07:25 -0500)]
Fix Berlios bug #1745.

10 years agoNote where the historic versions live now. 2.0
Eric S. Raymond [Wed, 1 Dec 2010 04:20:54 +0000 (23:20 -0500)]
Note where the historic versions live now.

10 years agoAll old versions moved to 'historic' directoery.
Eric S. Raymond [Wed, 1 Dec 2010 04:15:48 +0000 (23:15 -0500)]
All old versions moved to 'historic' directoery.

10 years agoPreparing for release.
Eric S. Raymond [Wed, 1 Dec 2010 04:05:16 +0000 (23:05 -0500)]
Preparing for release.

10 years agoAdd the Starfleet command insignia.
Eric S. Raymond [Wed, 1 Dec 2010 03:58:12 +0000 (22:58 -0500)]
Add the Starfleet command insignia.

10 years agoFix the document-upload stuff. Soon shipper will take over this function.
Eric S. Raymond [Wed, 1 Dec 2010 01:05:20 +0000 (20:05 -0500)]
Fix the document-upload stuff. Soon shipper will take over this function.

10 years agoRepo switched to git.
Eric S. Raymond [Wed, 1 Dec 2010 00:59:20 +0000 (19:59 -0500)]
Repo switched to git.

10 years agoAdd the website files to the git repo.
Eric S. Raymond [Wed, 1 Dec 2010 00:42:31 +0000 (19:42 -0500)]
Add the website files to the git repo.

Sigh.  The website actually started in 2004 and was last updated in 2006.
Metadata and some history are lost because I used a nonstandard Subversion
branch layout putting this stuff under 'www'; nprmal up-conversion via
git-svn threw this out.

10 years agoTypo fix.
Eric S. Raymond [Tue, 30 Nov 2010 23:25:40 +0000 (18:25 -0500)]
Typo fix.

10 years agoAdd a shipper control file.
Eric S. Raymond [Tue, 30 Nov 2010 23:11:47 +0000 (18:11 -0500)]
Add a shipper control file.

10 years agoTypo fix.
Eric S. Raymond [Tue, 30 Nov 2010 18:00:33 +0000 (18:00 +0000)]
Typo fix.

10 years agoReplace autotools cruft for .handling po->.mo generation with Pyton.
Eric S. Raymond [Tue, 30 Nov 2010 17:57:50 +0000 (17:57 +0000)]
Replace autotools cruft for .handling po->.mo generation with Pyton.

10 years agoSilence some DocBook warnings.
Eric S. Raymond [Tue, 30 Nov 2010 10:31:51 +0000 (10:31 +0000)]
Silence some DocBook warnings.

10 years agoA much simpler makefile.
Eric S. Raymond [Tue, 30 Nov 2010 10:29:51 +0000 (10:29 +0000)]
A much simpler makefile.

10 years agoAdd a -V option.
Eric S. Raymond [Tue, 30 Nov 2010 10:19:08 +0000 (10:19 +0000)]
Add a -V option.

10 years agoFix a reference to sys.version_info.major that broke Python 2.6.
Eric S. Raymond [Tue, 30 Nov 2010 10:09:53 +0000 (10:09 +0000)]
Fix a reference to sys.version_info.major that broke Python 2.6.

10 years agoTypo fix.
Eric S. Raymond [Tue, 30 Nov 2010 09:51:35 +0000 (09:51 +0000)]
Typo fix.

10 years agoKeep around Stas's narrative for archival purposes.
Eric S. Raymond [Tue, 30 Nov 2010 09:47:59 +0000 (09:47 +0000)]
Keep around Stas's narrative for archival purposes.

10 years agoDocumentation update.
Eric S. Raymond [Tue, 30 Nov 2010 09:44:56 +0000 (09:44 +0000)]
Documentation update.

10 years agoMove the replay debugging script iup from the C sources directory.
Eric S. Raymond [Tue, 30 Nov 2010 08:57:12 +0000 (08:57 +0000)]
Move the replay debugging script iup from the C sources directory.

10 years agoTypo fix.
Eric S. Raymond [Tue, 30 Nov 2010 08:53:27 +0000 (08:53 +0000)]
Typo fix.

10 years agoPull this loose from the autoconf goo.
Eric S. Raymond [Tue, 30 Nov 2010 08:48:52 +0000 (08:48 +0000)]
Pull this loose from the autoconf goo.

10 years agoThese changes allow the obsolete C sources to build again.
Eric S. Raymond [Tue, 30 Nov 2010 08:31:22 +0000 (08:31 +0000)]
These changes allow the obsolete C sources to build again.

10 years agoC files and associated autotools stuff moved to the c-version subdirectory.
Eric S. Raymond [Tue, 30 Nov 2010 08:15:36 +0000 (08:15 +0000)]
C files and associated autotools stuff moved to the c-version subdirectory.

10 years agoTypo fix.
Eric S. Raymond [Tue, 30 Nov 2010 07:23:53 +0000 (07:23 +0000)]
Typo fix.

10 years agofix warp
Stas Sergeev [Thu, 4 Nov 2010 23:58:22 +0000 (23:58 +0000)]
fix warp

10 years agoshorten password to 3, its just a game
Stas Sergeev [Thu, 4 Nov 2010 23:00:20 +0000 (23:00 +0000)]
shorten password to 3, its just a game

10 years agofix report
Stas Sergeev [Thu, 4 Nov 2010 22:58:33 +0000 (22:58 +0000)]
fix report

10 years agofixed visual bugs
Stas Sergeev [Thu, 4 Nov 2010 22:57:06 +0000 (22:57 +0000)]
fixed visual bugs

10 years agothis enabled UTF8 for some recent versions of python2.
Stas Sergeev [Thu, 4 Nov 2010 22:23:18 +0000 (22:23 +0000)]
this enabled UTF8 for some recent versions of python2.

python3 has no problems at all

10 years agoSilence some compile warnings.
Eric S. Raymond [Tue, 14 Sep 2010 21:54:31 +0000 (21:54 +0000)]
Silence some compile warnings.

10 years agoRemnove some generated autotools stuff from the repo.
Eric S. Raymond [Tue, 14 Sep 2010 21:16:49 +0000 (21:16 +0000)]
Remnove some generated autotools stuff from the repo.

10 years agoSet ignore properties correctly for subdirectories.
Eric S. Raymond [Tue, 14 Sep 2010 21:11:37 +0000 (21:11 +0000)]
Set ignore properties correctly for subdirectories.

10 years agoTweak some ignores.
Eric S. Raymond [Tue, 14 Sep 2010 21:07:00 +0000 (21:07 +0000)]
Tweak some ignores.

10 years agoIgnore some generated files.
Eric S. Raymond [Tue, 14 Sep 2010 21:04:19 +0000 (21:04 +0000)]
Ignore some generated files.

10 years agoFollow through on a command name change.
Eric S. Raymond [Tue, 14 Sep 2010 20:59:01 +0000 (20:59 +0000)]
Follow through on a command name change.

10 years agoCatch the help up with what the game uses.
Eric S. Raymond [Tue, 14 Sep 2010 20:50:46 +0000 (20:50 +0000)]
Catch the help up with what the game uses.

10 years agoFixed the Python help command.
Eric S. Raymond [Tue, 14 Sep 2010 20:43:11 +0000 (20:43 +0000)]
Fixed the Python help command.

10 years agoInfrastructure for color in the Python version (currently disabled).
Eric S. Raymond [Tue, 14 Sep 2010 20:05:46 +0000 (20:05 +0000)]
Infrastructure for color in the Python version (currently disabled).

10 years agoComment fix.
Eric S. Raymond [Tue, 14 Sep 2010 07:20:48 +0000 (07:20 +0000)]
Comment fix.

10 years agoSmall refactoring step.
Eric S. Raymond [Mon, 13 Sep 2010 22:23:45 +0000 (22:23 +0000)]
Small refactoring step.

10 years agoAdd sanity check.
Eric S. Raymond [Mon, 13 Sep 2010 22:19:19 +0000 (22:19 +0000)]
Add sanity check.

10 years agoVon Mises variate isn't actually a good idea.
Eric S. Raymond [Mon, 13 Sep 2010 17:17:16 +0000 (17:17 +0000)]
Von Mises variate isn't actually a good idea.

...it's uniformly distributed when we want something more like a
Gaussian.

10 years agoForward-porting to Python 2.6 exposed a bug.
Eric S. Raymond [Mon, 13 Sep 2010 15:58:55 +0000 (15:58 +0000)]
Forward-porting to Python 2.6 exposed a bug.

10 years agoEnable environment variable TMPDIR to set the log temporary directory.
Eric S. Raymond [Mon, 13 Sep 2010 15:49:11 +0000 (15:49 +0000)]
Enable environment variable TMPDIR to set the log temporary directory.

10 years agoTypo fix.
Eric S. Raymond [Mon, 13 Sep 2010 15:31:34 +0000 (15:31 +0000)]
Typo fix.

12 years agoforgotten piece of the prev commit.
Stas Sergeev [Thu, 8 May 2008 11:51:50 +0000 (11:51 +0000)]
forgotten piece of the prev commit.

12 years agoStarchart and base-attack tweaks.
Stas Sergeev [Thu, 8 May 2008 11:15:44 +0000 (11:15 +0000)]
Starchart and base-attack tweaks.

- Allow startchart updates by sr and lr scans.
Otherwise if you kill the enemies in the quadrant
and the radio is not working, the evemies are still
on a chart, etc.
- Fix bug that the message about base under attack
sticks when the base is killed by supernova.

12 years agoTranslation and score tweaks.
Stas Sergeev [Fri, 14 Mar 2008 14:44:09 +0000 (14:44 +0000)]
Translation and score tweaks.

- Update translation
- Fix score calculation for romulans and worlds
- Rewrite the score calculation of C version

12 years agoFix buggy processing of shield energy change request.
Eric S. Raymond [Fri, 14 Dec 2007 00:15:51 +0000 (00:15 +0000)]
Fix buggy processing of shield energy change request.

12 years agoUse /tmp for logs, as /usr/tmp is not available under Ubuntu.
Eric S. Raymond [Thu, 13 Dec 2007 23:59:23 +0000 (23:59 +0000)]
Use /tmp for logs, as /usr/tmp is not available under Ubuntu.

14 years agoUse libncursesw, not libncurses
Stas Sergeev [Fri, 27 Oct 2006 19:06:09 +0000 (19:06 +0000)]
Use libncursesw, not libncurses

14 years agouse the python code as the source for the translation
Stas Sergeev [Mon, 23 Oct 2006 18:00:05 +0000 (18:00 +0000)]
use the python code as the source for the translation

14 years agoClean up and document constants.
Eric S. Raymond [Sun, 22 Oct 2006 13:13:46 +0000 (13:13 +0000)]
Clean up and document constants.

14 years agoSpot a use of normal distribution that wasn't encapsulated.
Eric S. Raymond [Sat, 21 Oct 2006 19:49:34 +0000 (19:49 +0000)]
Spot a use of normal distribution that wasn't encapsulated.

14 years agoMove a comment that really belonged in the design notes.
Eric S. Raymond [Fri, 20 Oct 2006 21:35:03 +0000 (21:35 +0000)]
Move a comment that really belonged in the design notes.

14 years agoGetv rid of some scaffolding.
Eric S. Raymond [Fri, 20 Oct 2006 20:51:15 +0000 (20:51 +0000)]
Getv rid of some scaffolding.

14 years agoUse a better way of getting the username. Also, fix a typo.
Eric S. Raymond [Fri, 20 Oct 2006 19:57:38 +0000 (19:57 +0000)]
Use a better way of getting the username.  Also, fix a typo.

14 years agoRename class members to remove old assumption that all enemies are Klingons.
Eric S. Raymond [Wed, 18 Oct 2006 01:13:00 +0000 (01:13 +0000)]
Rename class members to remove old assumption that all enemies are Klingons.

14 years agoMore documentation improvements.
Eric S. Raymond [Tue, 17 Oct 2006 17:47:37 +0000 (17:47 +0000)]
More documentation improvements.

14 years agoEquates for display character names made sense when the values were
Eric S. Raymond [Tue, 17 Oct 2006 17:31:52 +0000 (17:31 +0000)]
Equates for display character names made sense when the values were
FORTRAN literals, but in Python it makes better readability to just let the
name of the display character be itself.  Search and replace is easy.

14 years agoImprive documentation, fix a typo, add the hacking guide.
Eric S. Raymond [Tue, 17 Oct 2006 15:09:45 +0000 (15:09 +0000)]
Imprive documentation, fix a typo, add the hacking guide.

14 years agoFix an embarassing last-minute bug.
Eric S. Raymond [Tue, 17 Oct 2006 14:08:28 +0000 (14:08 +0000)]
Fix an embarassing last-minute bug.

14 years agoA bit more code compression.
Eric S. Raymond [Mon, 16 Oct 2006 14:55:36 +0000 (14:55 +0000)]
A bit more code compression.

14 years agoMore trig refactoring.
Eric S. Raymond [Mon, 16 Oct 2006 13:41:47 +0000 (13:41 +0000)]
More trig refactoring.

14 years agoPrevent torpedo wraparound.
Eric S. Raymond [Mon, 16 Oct 2006 12:39:48 +0000 (12:39 +0000)]
Prevent torpedo wraparound.

14 years agoClean up and refactor the movement code, fix minor translation bugs.
Eric S. Raymond [Mon, 16 Oct 2006 02:19:40 +0000 (02:19 +0000)]
Clean up and refactor the movement code, fix minor translation bugs.

14 years agoMake it possible to reset a course object.
Eric S. Raymond [Fri, 13 Oct 2006 17:10:08 +0000 (17:10 +0000)]
Make it possible to reset a course object.

14 years agoSubsume more trig into the course object.
Eric S. Raymond [Fri, 13 Oct 2006 16:54:21 +0000 (16:54 +0000)]
Subsume more trig into the course object.

14 years agoNavigation is finally subsumed by the course object.
Eric S. Raymond [Fri, 13 Oct 2006 12:08:36 +0000 (12:08 +0000)]
Navigation is finally subsumed by the course object.

14 years agoMore vector-arithmetic abstraction.
Eric S. Raymond [Fri, 13 Oct 2006 11:39:37 +0000 (11:39 +0000)]
More vector-arithmetic abstraction.

14 years agoCompute final member in course object.
Eric S. Raymond [Fri, 13 Oct 2006 10:32:35 +0000 (10:32 +0000)]
Compute final member in course object.

14 years agoFix two minor bugs.
Eric S. Raymond [Fri, 13 Oct 2006 10:23:21 +0000 (10:23 +0000)]
Fix two minor bugs.

14 years agoMore course-object refactoring.
Eric S. Raymond [Fri, 13 Oct 2006 02:50:47 +0000 (02:50 +0000)]
More course-object refactoring.

14 years agoAnother step in subsuming navigation into the course object.
Eric S. Raymond [Fri, 13 Oct 2006 02:46:16 +0000 (02:46 +0000)]
Another step in subsuming navigation into the course object.