Searched refs:Ship_subsystems (Results 1 – 2 of 2) sorted by relevance
98 static ship_subsys *Ship_subsystems[NUM_SHIP_SUBSYSTEM_SETS] = { NULL }; variable4471 Ship_subsystems[i] = NULL; in ship_init()4484 if (Ship_subsystems[i] != NULL) { in ship_clear_subsystems()4485 delete[] Ship_subsystems[i]; in ship_clear_subsystems()4486 Ship_subsystems[i] = NULL; in ship_clear_subsystems()4523 if (Ship_subsystems[idx] == NULL) in ship_allocate_subsystems()4532 Ship_subsystems[idx] = new ship_subsys[NUM_SHIP_SUBSYSTEMS_PER_SET]; in ship_allocate_subsystems()4536 list_append( &ship_subsys_free_list, &Ship_subsystems[idx][i] ); in ship_allocate_subsystems()
113 static SCP_vector<ship_subsys*> Ship_subsystems; variable5822 …Ship_subsystems.empty(), "Some pre-allocated subsystems didn't get cleared out: " SIZE_T_ARG " bat… in ship_init()5832 for (auto it = Ship_subsystems.begin(); it != Ship_subsystems.end(); ++it) { in ship_clear_subsystems()5835 Ship_subsystems.clear(); in ship_clear_subsystems()5870 Ship_subsystems.push_back(new_batch); in ship_allocate_subsystems()