projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up ugly FORTRANISH names.
[super-star-trek.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 13ceea0e59b8015c636d23f2fac7c553bcf5cea9..072c2e6d95a2b39e56b58caf8dc466fedbe6bc91 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-147,7
+147,7
@@
void events(void)
prout(_(" surveillance reports are coming in."));
skip(1);
if (!game.iseenit) {
prout(_(" surveillance reports are coming in."));
skip(1);
if (!game.iseenit) {
- attakreport(false);
+ atta
c
kreport(false);
game.iseenit = true;
}
rechart();
game.iseenit = true;
}
rechart();
@@
-159,7
+159,7
@@
void events(void)
switch (evcode) {
case FSNOVA: /* Supernova */
pause_game(true);
switch (evcode) {
case FSNOVA: /* Supernova */
pause_game(true);
- snova(false, NULL);
+ s
uper
nova(false, NULL);
schedule(FSNOVA, expran(0.5*game.intime));
if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova)
return;
schedule(FSNOVA, expran(0.5*game.intime));
if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova)
return;
@@
-374,7
+374,7
@@
void events(void)
schedule(FSCMOVE, 0.2777);
if (!game.ientesc && !istract && game.isatb != 1 &&
(!game.iscate || !game.justin))
schedule(FSCMOVE, 0.2777);
if (!game.ientesc && !istract && game.isatb != 1 &&
(!game.iscate || !game.justin))
- s
com
();
+ s
upercommander
();
break;
case FDSPROB: /* Move deep space probe */
schedule(FDSPROB, 0.01);
break;
case FDSPROB: /* Move deep space probe */
schedule(FDSPROB, 0.01);
@@
-423,7
+423,7
@@
void events(void)
game.proben--; // One less to travel
if (game.proben == 0 && game.isarmed && pdest->stars) {
/* lets blow the sucker! */
game.proben--; // One less to travel
if (game.proben == 0 && game.isarmed && pdest->stars) {
/* lets blow the sucker! */
- snova(true, &game.probec);
+ s
uper
nova(true, &game.probec);
unschedule(FDSPROB);
if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova)
return;
unschedule(FDSPROB);
if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova)
return;
@@
-635,7
+635,7
@@
void nova(coord nov)
if (Rand() < 0.05) {
/* Wow! We've supernova'ed */
if (Rand() < 0.05) {
/* Wow! We've supernova'ed */
- snova(false, &nov);
+ s
uper
nova(false, &nov);
return;
}
return;
}
@@
-674,7
+674,7
@@
void nova(coord nov)
case IHSTAR: /* Affect another star */
if (Rand() < 0.05) {
/* This star supernovas */
case IHSTAR: /* Affect another star */
if (Rand() < 0.05) {
/* This star supernovas */
- snova(false, &scratch);
+ s
uper
nova(false, &scratch);
return;
}
top2++;
return;
}
top2++;
@@
-814,7
+814,7
@@
void nova(coord nov)
}
}
-void snova(bool induced, coord *w)
+void s
uper
nova(bool induced, coord *w)
/* star goes supernova */
{
int num = 0, nrmdead, npdead, kldead;
/* star goes supernova */
{
int num = 0, nrmdead, npdead, kldead;