edit: Show edited planes and land units just like ships

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2013-01-15 19:19:56 +01:00
parent 59a15113d3
commit 53d0edc838
2 changed files with 6 additions and 0 deletions

View file

@ -313,6 +313,7 @@ print_nat(struct natstr *np)
static void static void
print_plane(struct plnstr *plane) print_plane(struct plnstr *plane)
{ {
pr("%s %s\n", prnatid(plane->pln_own), prplane(plane));
pr("UID <U>: %d\t\t", plane->pln_uid); pr("UID <U>: %d\t\t", plane->pln_uid);
pr("Owner <O>: %d\t\t", plane->pln_own); pr("Owner <O>: %d\t\t", plane->pln_own);
pr("Location <l>: %s\n", pr("Location <l>: %s\n",
@ -330,6 +331,7 @@ print_plane(struct plnstr *plane)
static void static void
print_land(struct lndstr *land) print_land(struct lndstr *land)
{ {
pr("%s %s\n", prnatid(land->lnd_own), prland(land));
pr("UID <U>: %d\n", land->lnd_uid); pr("UID <U>: %d\n", land->lnd_uid);
pr("Owner <O>: %d\n", land->lnd_own); pr("Owner <O>: %d\n", land->lnd_own);
pr("Location <L>: %s\n", xyas(land->lnd_x, land->lnd_y, player->cnum)); pr("Location <L>: %s\n", xyas(land->lnd_x, land->lnd_y, player->cnum));

View file

@ -1165,6 +1165,7 @@
Play#0 output Play#0 6 0 640 Play#0 output Play#0 6 0 640
Play#0 input edit p 0 Play#0 input edit p 0
Play#0 command edit Play#0 command edit
Play#0 output Play#0 1 POGO (#0) f1 Sopwith Camel #0
Play#0 output Play#0 1 UID <U>: 0 Owner <O>: 0 Location <l>: 1,-1 Play#0 output Play#0 1 UID <U>: 0 Owner <O>: 0 Location <l>: 1,-1
Play#0 output Play#0 1 Efficiency <e>: 0 Mobility <m>: 0 Play#0 output Play#0 1 Efficiency <e>: 0 Mobility <m>: 0
Play#0 output Play#0 1 Tech <t>: 100 Wing <w>: Play#0 output Play#0 1 Tech <t>: 100 Wing <w>:
@ -1176,6 +1177,7 @@
Play#0 input y -1 Play#0 input y -1
Play#0 output Play#0 4 %c xxxxx -- thing value : Play#0 output Play#0 4 %c xxxxx -- thing value :
Play#0 input Play#0 input
Play#0 output Play#0 1 POGO (#0) f1 Sopwith Camel #0
Play#0 output Play#0 1 UID <U>: 0 Owner <O>: 0 Location <l>: 1,-1 Play#0 output Play#0 1 UID <U>: 0 Owner <O>: 0 Location <l>: 1,-1
Play#0 output Play#0 1 Efficiency <e>: 0 Mobility <m>: 2 Play#0 output Play#0 1 Efficiency <e>: 0 Mobility <m>: 2
Play#0 output Play#0 1 Tech <t>: 100 Wing <w>: Play#0 output Play#0 1 Tech <t>: 100 Wing <w>:
@ -1184,6 +1186,7 @@
Play#0 output Play#0 6 0 640 Play#0 output Play#0 6 0 640
Play#0 input edit u 0 Play#0 input edit u 0
Play#0 command edit Play#0 command edit
Play#0 output Play#0 1 POGO (#0) sup supply #0
Play#0 output Play#0 1 UID <U>: 0 Play#0 output Play#0 1 UID <U>: 0
Play#0 output Play#0 1 Owner <O>: 0 Play#0 output Play#0 1 Owner <O>: 0
Play#0 output Play#0 1 Location <L>: 1,-1 Play#0 output Play#0 1 Location <L>: 1,-1
@ -1201,6 +1204,7 @@
Play#0 input Y -1 Play#0 input Y -1
Play#0 output Play#0 4 %c xxxxx -- thing value : Play#0 output Play#0 4 %c xxxxx -- thing value :
Play#0 input Play#0 input
Play#0 output Play#0 1 POGO (#0) sup supply #0
Play#0 output Play#0 1 UID <U>: 0 Play#0 output Play#0 1 UID <U>: 0
Play#0 output Play#0 1 Owner <O>: 0 Play#0 output Play#0 1 Owner <O>: 0
Play#0 output Play#0 1 Location <L>: 1,-1 Play#0 output Play#0 1 Location <L>: 1,-1