projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More applications of same().
[super-star-trek.git]
/
src
/
battle.c
diff --git
a/src/battle.c
b/src/battle.c
index f47cd94874800f9deea528219d798438acd38b44..dc3cede30542008697aaefaf8272072d781200d3 100644
(file)
--- a/
src/battle.c
+++ b/
src/battle.c
@@
-407,8
+407,8
@@
void torpedo(double course, double r, coord in, double *hit, int i, int n)
/* captain perishes on planet */
finish(FDPLANET);
}
/* captain perishes on planet */
finish(FDPLANET);
}
- prout(
"You have just destroyed an inhabited planet."
);
- prout(
"Celebratory rallies are being held on the Klingon homeworld."
);
+ prout(
_("You have just destroyed an inhabited planet.")
);
+ prout(
_("Celebratory rallies are being held on the Klingon homeworld.")
);
return;
case IHSTAR: /* Hit a star */
if (Rand() > 0.10) {
return;
case IHSTAR: /* Hit a star */
if (Rand() > 0.10) {
@@
-544,7
+544,6
@@
void attack(bool torps_ok)
coord jay;
enum loctype where = neither;
coord jay;
enum loctype where = neither;
- game.iattak = 1;
if (game.alldone) return;
if (idebug) prout("=== ATTACK!");
if (game.alldone) return;
if (idebug) prout("=== ATTACK!");
@@
-1087,7
+1086,7
@@
void phasers(void)
irec+=fabs(game.kpower[i])/(PHASEFAC*pow(0.90,game.kdist[i]))*
(1.01+0.05*Rand()) + 1.0;
kz=1;
irec+=fabs(game.kpower[i])/(PHASEFAC*pow(0.90,game.kdist[i]))*
(1.01+0.05*Rand()) + 1.0;
kz=1;
- proutn(_("
(%d)
units required. "), irec);
+ proutn(_("
%d
units required. "), irec);
chew();
proutn(_("Units to fire= "));
key = scan();
chew();
proutn(_("Units to fire= "));
key = scan();