X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Fmoving.c;h=4621a1d7a9ccc10617934f9752377ee4bc299798;hb=a0afd227763655ee0ecd7ef5faea92d63d5c5ba6;hp=126d3baa13ecd63c12158781a8ddfeefdf7c3a97;hpb=fbb4aa04129c7e9fbe17428c5e151d4afbdd039e;p=super-star-trek.git diff --git a/src/moving.c b/src/moving.c index 126d3ba..4621a1d 100644 --- a/src/moving.c +++ b/src/moving.c @@ -113,7 +113,7 @@ void imove(void) skip(1); prout(_("Entering %s."), cramlc(quadrant, game.quadrant)); game.quad[game.sector.x][game.sector.y] = game.ship; - newqad(0); + newqad(false); if (game.skill>SKILL_NOVICE) attack(0); return; } @@ -242,7 +242,7 @@ void dock(bool verbose) (is_scheduled(FCDBAS) || game.isatb == 1) && game.iseenit == 0) { /* get attack report from base */ prout(_("Lt. Uhura- \"Captain, an important message from the starbase:\"")); - attakreport(0); + attakreport(false); game.iseenit = 1; } } @@ -675,7 +675,7 @@ void setwrp(void) return; } -void atover(int igrab) +void atover(bool igrab) { double power, distreq; @@ -824,7 +824,7 @@ void timwrp() postpone(FTBEAM, game.optime); game.damage[DRADIO] += game.optime; } - newqad(0); + newqad(false); events(); /* Stas Sergeev added this -- do pending events */ } @@ -943,7 +943,7 @@ void mayday(void) } /* Since starbase not in quadrant, set up new quadrant */ game.quadrant = game.state.baseq[line]; - newqad(1); + newqad(true); } /* dematerialize starship */ game.quad[game.sector.x][game.sector.y]=IHDOT;