projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the scroll-pausing code.
[super-star-trek.git]
/
sst.c
diff --git
a/sst.c
b/sst.c
index 87595a694e8c7670e7e6a82203cec54e10f66abe..eabe0ffccb061dd508e68989c21eda21a0e0f177 100644
(file)
--- a/
sst.c
+++ b/
sst.c
@@
-82,7
+82,7
@@
Here are Stas Sergeev's changes:
chasing SCom can take an eternity).
5. Probe target you enter is now the destination quadrant. Before I don't
chasing SCom can take an eternity).
5. Probe target you enter is now the destination quadrant. Before I don't
- remember what it was, but it was something I had difficulty using
)
+ remember what it was, but it was something I had difficulty using
.
6. Secret password is now autogenerated.
6. Secret password is now autogenerated.
@@
-196,7
+196,7
@@
commands[] = {
#define MAYDAY 32
{"MAYDAY", MAYDAY, 0},
//{"SOS", MAYDAY, 0},
#define MAYDAY 32
{"MAYDAY", MAYDAY, 0},
//{"SOS", MAYDAY, 0},
-
{"CALL",
MAYDAY, 0},
+
//{"CALL",
MAYDAY, 0},
#define QUIT 33
{"QUIT", QUIT, 0},
#define HELP 34
#define QUIT 33
{"QUIT", QUIT, 0},
#define HELP 34
@@
-508,9
+508,9
@@
int main(int argc, char **argv)
{
int i, option;
{
int i, option;
- game.options = OPTION_ALL &~
OPTION_IOMODES
;
+ game.options = OPTION_ALL &~
(OPTION_IOMODES | OPTION_SHOWME)
;
if (getenv("TERM"))
if (getenv("TERM"))
- game.options |= OPTION_CURSES;
+ game.options |= OPTION_CURSES
| OPTION_SHOWME
;
else
game.options |= OPTION_TTY;
else
game.options |= OPTION_TTY;
@@
-537,7
+537,7
@@
int main(int argc, char **argv)
while (TRUE) { /* Play a game */
setwnd(fullscreen_window);
#ifdef DEBUG
while (TRUE) { /* Play a game */
setwnd(fullscreen_window);
#ifdef DEBUG
- prout("INITIAL OPTIONS: %0lx
\n
", game.options);
+ prout("INITIAL OPTIONS: %0lx", game.options);
#endif /* DEBUG */
clrscr();
prelim();
#endif /* DEBUG */
clrscr();
prelim();
@@
-751,7
+751,6
@@
void debugme(void)
for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
- stdamtim = FOREVER;
}
proutn("Toggle idebug? ");
if (ja() != 0) {
}
proutn("Toggle idebug? ");
if (ja() != 0) {
@@
-770,8
+769,6
@@
void debugme(void)
key = scan();
if (key == IHALPHA && isit("y")) {
game.damage[i] = 10.0;
key = scan();
if (key == IHALPHA && isit("y")) {
game.damage[i] = 10.0;
- if (i == DRADIO)
- stdamtim = game.state.date;
}
}
}
}
}
}
@@
-800,5
+797,10
@@
void debugme(void)
}
chew();
}
}
chew();
}
+ proutn("Induce supernova here? ");
+ if (ja() != 0) {
+ game.state.galaxy[quadx][quady].supernova = TRUE;
+ atover(1);
+ }
}
#endif
}
#endif