Interception and missions launch planes automatically. The plane
owner (and for missions, the base sector owner) gets a message.
Destination coordinates are often obvious from the context, but not
always, e.g. when flying in support of allies, or when the mission
gets interepted and aborts. Include the destination coordinates in
the messages. Reported by Ulrich Hannemann.
if (first) {
first = 0;
PR(plane_owner, "%s launches SAMs!\n", cname(def_own));
if (first) {
first = 0;
PR(plane_owner, "%s launches SAMs!\n", cname(def_own));
- PR(def_own, "Launching SAMs at %s planes!\n",
- cname(plane_owner));
+ PR(def_own, "Launching SAMs at %s planes over %s!\n",
+ cname(plane_owner), xyas(x, y, def_own));
ac_combat_headers(plane_owner, def_own);
}
ac_dog(aplp, dplp);
ac_combat_headers(plane_owner, def_own);
}
ac_dog(aplp, dplp);
return;
PR(plane_owner, "%d %s fighter%s rising to intercept!\n",
icount, cname(def_own), icount == 1 ? " is" : "s are");
return;
PR(plane_owner, "%d %s fighter%s rising to intercept!\n",
icount, cname(def_own), icount == 1 ? " is" : "s are");
- PR(def_own, "%d fighter%s intercepting %s planes!\n",
- icount, icount == 1 ? " is" : "s are", cname(plane_owner));
+ PR(def_own, "%d fighter%s intercepting %s planes over %s!\n",
+ icount, icount == 1 ? " is" : "s are", cname(plane_owner),
+ xyas(x, y, def_own));
ac_combat_headers(plane_owner, def_own);
ac_airtoair(esc_list, &int_list);
ac_airtoair(bomb_list, &int_list);
ac_combat_headers(plane_owner, def_own);
ac_airtoair(esc_list, &int_list);
ac_airtoair(bomb_list, &int_list);
pp = BestAirPath(buf, air->x, air->y, x, y);
if (CANT_HAPPEN(!pp))
continue;
pp = BestAirPath(buf, air->x, air->y, x, y);
if (CANT_HAPPEN(!pp))
continue;
- wu(0, plane_owner, "Flying %s mission from %s\n",
- mission_name(mission), xyas(air->x, air->y, plane_owner));
+ wu(0, plane_owner, "Flying %s mission from %s to %s\n",
+ mission_name(mission),
+ xyas(air->x, air->y, plane_owner),
+ xyas(x, y, plane_owner));
if (air->own && (air->own != plane_owner)) {
if (air->own && (air->own != plane_owner)) {
- wu(0, air->own, "%s is flying %s mission from %s\n",
+ wu(0, air->own, "%s is flying %s mission from %s to %s\n",
cname(plane_owner), mission_name(mission),
cname(plane_owner), mission_name(mission),
- xyas(air->x, air->y, air->own));
+ xyas(air->x, air->y, air->own),
+ xyas(x, y, air->own));
}
ac_encounter(&b, &e, air->x, air->y, pp, mission_flags, 0);
}
ac_encounter(&b, &e, air->x, air->y, pp, mission_flags, 0);
- wu(0, cn, "Flying %s mission from %s\n",
- mission_name(MI_AIR_DEFENSE), xyas(air->x, air->y, cn));
+ wu(0, cn, "Flying %s mission from %s to %s\n",
+ mission_name(MI_AIR_DEFENSE),
+ xyas(air->x, air->y, cn),
+ xyas(x, y, cn));
if (air->own && (air->own != cn)) {
if (air->own && (air->own != cn)) {
- wu(0, air->own, "%s is flying %s mission from %s\n",
+ wu(0, air->own, "%s is flying %s mission from %s to %s\n",
cname(cn), mission_name(MI_AIR_DEFENSE),
cname(cn), mission_name(MI_AIR_DEFENSE),
- xyas(air->x, air->y, air->own));
+ xyas(air->x, air->y, air->own),
+ xyas(x, y, air->own));
}
/* Now, fly the planes to the sector */
}
/* Now, fly the planes to the sector */