40 : sim(0), ship(s), hangar(0), exec_time(0), flight_planner(0),
41 hold_time(0), ai_level(level)
47 for (
int i = 0; i < 4; i++)
67 const int INIT_HOLD = 15000;
68 const int EXEC_PERIOD = 3000;
88 const DWORD PATROL_PERIOD = 900 * 1000;
107 for (
int i = 0; i < 4; i++) {
115 if (!found && open >= 0) {
123 for (
int i = 0; i < 4; i++) {
169 bool hostile =
false;
189 while (++a_iter && !found) {
225 if (count < elem->NumShips())
265 if (squadron > 1) squadron--;
284 if (squadron < 0 || size < 1 || code < Mission::PATROL || hangar->NumShipsReady(squadron) < size)
322 if (design && loadname) {
323 Text name = loadname;
328 if (name == sl->
name) {
351 for (
int i = 0; i < 4; i++)
359 slots[npackage] = slot;
364 if (npackage >= size)