52 if (!s || !msg || !msg->
Sender())
65 bool respond = (s != msg->
Sender());
165 int posture_only =
false;
179 if (ship != msg->
Sender())
301 if (!msg)
return false;
331 if (navpt && elem_index < 2) {
357 bool same_rgn =
false;
369 slot = islot->
Index();
374 if (hangar && same_rgn) {
375 if (hangar->
FindSlot(inbound, squadron, slot)) {
376 int shortest_queue = 1000;
383 if (nwaiting < shortest_queue) {
385 shortest_queue = nwaiting;
394 if (!deck || !same_rgn || squadron < 0 || slot < 0) {
399 else if (!same_rgn) {
417 inbound_slot =
new(__FILE__,__LINE__)
InboundSlot(inbound, deck, squadron, slot);
418 sequence = deck->
Inbound(inbound_slot);
421 sequence = inbound_slot->
Index();
434 sprintf_s(info,
Game::GetText(
"RadioHandler.sequenced").data(), sequence, deck->
Name());
446 if (!ship)
return false;
455 int iff = c->
GetIFF(ship);
460 if (!tgt || s_range < range) {
474 for (
int i = 1; i <= tgt_elem->
NumShips(); i++)
497 if (!ship)
return false;
505 for (
int i = 0; i < rgn->
Ships().
size(); i++) {