Dilithium crystal indicator.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 5 Feb 2005 23:39:05 +0000 (23:39 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 5 Feb 2005 23:39:05 +0000 (23:39 +0000)
TODO
battle.c
reports.c
sst-doc.xml

diff --git a/TODO b/TODO
index ae961f4e23666ace008647ddbfef5c1da9bb1848..f896c3045d5c0e24ca8a6540a980fbe746e36ba6 100644 (file)
--- a/TODO
+++ b/TODO
@@ -9,12 +9,3 @@
   REST, DOCK, QUIT, and DAMAGE were in the original non-"super" version.
 
 * Add a field to the report indicating whether we have dilithium.
-
-* Look:
-
-Track for torpedo number 1-  6 - 5   7 - 6   8 - 7   ***Commander at Sector 8 - 7 damaged-- displaced by blast to Sector 9 - 8
-
-Track for torpedo number 2-  6 - 5   7 - 6   8 - 6
-9 - 7
-***Commander at Sector 9 - 8 destroyed.
-COMMAND>
index 0f760d9bb73b74e324abdb1a17c3db4fdad65017..9b35e4f0ad838da1523e79f5a4852a83350eeeef 100644 (file)
--- a/battle.c
+++ b/battle.c
@@ -203,6 +203,7 @@ void torpedo(double course, double r, int inx, int iny, double *hit, int wait, i
                if (iquad==IHDOT) continue;
                /* hit something */
                setwnd(message_window);
+               prout("");      /* start new line after text track */
                switch(iquad) {
                        case IHE: /* Hit our ship */
                        case IHF:
@@ -319,7 +320,7 @@ void torpedo(double course, double r, int inx, int iny, double *hit, int wait, i
                                plnetx = plnety = 0;
                                game.quad[ix][iy] = IHDOT;
                                if (landed==1) {
-                                       /* captain parishes on planet */
+                                       /* captain perishes on planet */
                                        finish(FDPLANET);
                                }
                                return;
index 98721c6961240a63ad99221c23ac362f024a5880..bdb0e9435cd0a5b83727bd277b2fb02437a0fc57 100644 (file)
--- a/reports.c
+++ b/reports.c
@@ -321,6 +321,8 @@ int srscan(int l) {
                                        break;
                                case 6:
                                        proutn("Energy        %.2f", energy);
+                                       if (icrystl)
+                                           proutn(" (crystals on board)");
                                        break;
                                case 7:
                                        proutn("Torpedoes     %d", torps);
index 1a747808f98a66a1cdf2bbd03140c9ca5d2a8bee..fd03ba60b10fd376969cd5fa068d376a33784ec5 100644 (file)
@@ -1757,6 +1757,9 @@ of platform dependencies in the code.
 <listitem><para>
 The HELP/CALL/SOS command is now MAYDAY.  SOS and CALL are still accepted.
 </para></listitem>
+<listitem><para>
+Status report now indicates if dilithium crystals arre on board.
+</para></listitem>
 </itemizedlist>
 
 <para>Here are some good pages on the history of Star Trek games:</para>