prout("the Faerie Queene, which is antiquated but,");
prout("still useable.");
if (game.icrystl!=0) prout("The dilithium crystals have been moved.");
prout("the Faerie Queene, which is antiquated but,");
prout("still useable.");
if (game.icrystl!=0) prout("The dilithium crystals have been moved.");
{
int i,j, krem, klumper;
int ix, iy;
// Decide how many of everything
if (choose(needprompt)) return; // frozen game
// Prepare the Enterprise
{
int i,j, krem, klumper;
int ix, iy;
// Decide how many of everything
if (choose(needprompt)) return; // frozen game
// Prepare the Enterprise
game.battle.x = game.battle.y = 0;
game.state.date = game.indate = 100.0*(int)(31.0*Rand()+20.0);
game.nkinks = game.nhelp = game.casual = game.abandoned = 0;
game.battle.x = game.battle.y = 0;
game.state.date = game.indate = 100.0*(int)(31.0*Rand()+20.0);
game.nkinks = game.nhelp = game.casual = game.abandoned = 0;
game.quad[game.ks[1].x][game.ks[1].y] = IHS;
game.kpower[1] = 1175.0 + 400.0*Rand() + 125.0*game.skill;
game.iscate = game.state.remkl>1;
game.quad[game.ks[1].x][game.ks[1].y] = IHS;
game.kpower[1] = 1175.0 + 400.0*Rand() + 125.0*game.skill;
game.iscate = game.state.remkl>1;
game.kpower[i] = Rand()*400.0 + 450.0 + 50.0*game.skill;
}
// If quadrant needs a starbase, put it in
game.kpower[i] = Rand()*400.0 + 450.0 + 50.0*game.skill;
}
// If quadrant needs a starbase, put it in
- if (here->planet != NOPLANET) {
- game.iplnet = here->planet;
- if (game.state.plnets[here->planet].inhabited == UNINHABITED)
+ if (q->planet != NOPLANET) {
+ game.iplnet = q->planet;
+ if (game.state.plnets[q->planet].inhabited == UNINHABITED)
dropin(IHP, &game.plnet);
else
dropin(IHW, &game.plnet);
dropin(IHP, &game.plnet);
else
dropin(IHW, &game.plnet);
game.tholian.y = Rand() > 0.5 ? QUADSIZE : 1;
} while (game.quad[game.tholian.x][game.tholian.y] != IHDOT);
game.quad[game.tholian.x][game.tholian.y] = IHT;
game.tholian.y = Rand() > 0.5 ? QUADSIZE : 1;
} while (game.quad[game.tholian.x][game.tholian.y] != IHDOT);
game.quad[game.tholian.x][game.tholian.y] = IHT;