(cuto, show_mission): Fix justification of coordinate output.
This commit is contained in:
parent
498d9fbfaa
commit
acd2c7c2a8
2 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ cuto(void)
|
||||||
}
|
}
|
||||||
if (player->god)
|
if (player->god)
|
||||||
pr("%3d", sect.sct_own);
|
pr("%3d", sect.sct_own);
|
||||||
pr("%7s", xyas(nstr.x, nstr.y, player->cnum));
|
prxy("%3d,%-3d", nstr.x, nstr.y, player->cnum);
|
||||||
pr(" %c ", dchr[sect.sct_type].d_mnem);
|
pr(" %c ", dchr[sect.sct_type].d_mnem);
|
||||||
pr("%c", dirstr[sect.sct_del[I_CIVIL] & 0x7]);
|
pr("%c", dirstr[sect.sct_del[I_CIVIL] & 0x7]);
|
||||||
pr("%c", dirstr[sect.sct_del[I_MILIT] & 0x7]);
|
pr("%c", dirstr[sect.sct_del[I_MILIT] & 0x7]);
|
||||||
|
|
|
@ -894,13 +894,13 @@ show_mission(int type, struct nstr_item *np)
|
||||||
first = 0;
|
first = 0;
|
||||||
}
|
}
|
||||||
pr("%-25s", nameofitem(gp, type));
|
pr("%-25s", nameofitem(gp, type));
|
||||||
pr(" %7s", xyas(gp->x, gp->y, player->cnum));
|
prxy(" %3d,%-3d", gp->x, gp->y, player->cnum);
|
||||||
if (gp->mission == MI_INTERDICT || gp->mission == MI_SUPPORT ||
|
if (gp->mission == MI_INTERDICT || gp->mission == MI_SUPPORT ||
|
||||||
gp->mission == MI_OSUPPORT ||
|
gp->mission == MI_OSUPPORT ||
|
||||||
gp->mission == MI_DSUPPORT || gp->mission == MI_AIR_DEFENSE) {
|
gp->mission == MI_DSUPPORT || gp->mission == MI_AIR_DEFENSE) {
|
||||||
radius = 999;
|
radius = 999;
|
||||||
oprange(gp, type, &radius);
|
oprange(gp, type, &radius);
|
||||||
pr(" %7s", xyas(gp->opx, gp->opy, player->cnum));
|
prxy(" %3d,%-3d", gp->opx, gp->opy, player->cnum);
|
||||||
if (radius < gp->radius)
|
if (radius < gp->radius)
|
||||||
pr(" %4d", radius);
|
pr(" %4d", radius);
|
||||||
else
|
else
|
||||||
|
@ -917,7 +917,7 @@ show_mission(int type, struct nstr_item *np)
|
||||||
plus = 0;
|
plus = 0;
|
||||||
else
|
else
|
||||||
plus += ((struct lndstr *)block)->lnd_rad_max;
|
plus += ((struct lndstr *)block)->lnd_rad_max;
|
||||||
pr(" %7s", xyas(gp->x, gp->y, player->cnum));
|
prxy(" %3d,%-3d", gp->x, gp->y, player->cnum);
|
||||||
pr(" %4d", plus);
|
pr(" %4d", plus);
|
||||||
} else if (gp->mission == MI_ESCORT) {
|
} else if (gp->mission == MI_ESCORT) {
|
||||||
pr(" ");
|
pr(" ");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue