Break excessively long line.
This commit is contained in:
parent
7d12f4b841
commit
e1cb606dab
1 changed files with 18 additions and 1 deletions
|
@ -229,7 +229,24 @@ spyline(struct sctstr *sp)
|
||||||
|
|
||||||
getvec(VT_ITEM, vec, (s_char *)sp, EF_SECTOR);
|
getvec(VT_ITEM, vec, (s_char *)sp, EF_SECTOR);
|
||||||
prxy("%4d,%-4d", sp->sct_x, sp->sct_y, player->cnum);
|
prxy("%4d,%-4d", sp->sct_x, sp->sct_y, player->cnum);
|
||||||
pr(" %c%c %3d %3d %3d %3d %3d %3d %4d %4d %4d %3d %4d %4d %4d %3d %3d\n", dchr[sp->sct_type].d_mnem, (sp->sct_newtype == sp->sct_type) ? ' ' : dchr[sp->sct_newtype].d_mnem, sp->sct_own, sp->sct_oldown, roundintby((int)sp->sct_effic, 10), roundintby((int)sp->sct_road, 10), roundintby((int)sp->sct_rail, 10), roundintby((int)sp->sct_defense, 10), roundintby(vec[I_CIVIL], 10), roundintby(vec[I_MILIT], 10), roundintby(vec[I_SHELL], 10), roundintby(vec[I_GUN], 10), roundintby(vec[I_PETROL], 10), roundintby(vec[I_FOOD], 10), roundintby(vec[I_BAR], 10), count_sect_units(sp), count_sect_planes(sp));
|
pr(" %c%c %3d %3d %3d %3d %3d %3d %4d %4d %4d %3d %4d %4d %4d %3d %3d\n",
|
||||||
|
dchr[sp->sct_type].d_mnem,
|
||||||
|
(sp->sct_newtype == sp->sct_type) ? ' ' : dchr[sp->sct_newtype].d_mnem,
|
||||||
|
sp->sct_own,
|
||||||
|
sp->sct_oldown,
|
||||||
|
roundintby((int)sp->sct_effic, 10),
|
||||||
|
roundintby((int)sp->sct_road, 10),
|
||||||
|
roundintby((int)sp->sct_rail, 10),
|
||||||
|
roundintby((int)sp->sct_defense, 10),
|
||||||
|
roundintby(vec[I_CIVIL], 10),
|
||||||
|
roundintby(vec[I_MILIT], 10),
|
||||||
|
roundintby(vec[I_SHELL], 10),
|
||||||
|
roundintby(vec[I_GUN], 10),
|
||||||
|
roundintby(vec[I_PETROL], 10),
|
||||||
|
roundintby(vec[I_FOOD], 10),
|
||||||
|
roundintby(vec[I_BAR], 10),
|
||||||
|
count_sect_units(sp),
|
||||||
|
count_sect_planes(sp));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue