84 #define NUM_SS_STRUCTURALS 32
85 #define NUM_SS_COMPONENTS 16
86 #define NUM_SS_MODULES 12
int num_spaceship_structurals_placed(const struct player_spaceship *ship)
Count the number of structurals placed; that is, in ship->structure[].
bool next_spaceship_component(struct player *pplayer, struct player_spaceship *ship, struct spaceship_component *fill)
Find (default) place for next spaceship component.
#define NUM_SS_COMPONENTS
void spaceship_init(struct player_spaceship *ship)
Initialize spaceship struct; could also be used to "cancel" a spaceship (eg, if/when capital-capture ...
const struct sship_part_info structurals_info[NUM_SS_STRUCTURALS]
const struct sship_part_info modules_info[NUM_SS_MODULES]
BV_DEFINE(bv_spaceship_structure, NUM_SS_STRUCTURALS)
const struct sship_part_info components_info[NUM_SS_COMPONENTS]
#define NUM_SS_STRUCTURALS
bv_spaceship_structure structure
enum spaceship_state state
enum spaceship_place_type type