20 {19, 15, 0}, {19, 11, 0}, {19, 17, 1}, {19, 9, 2}, {19, 19, 3},
21 {17, 9, 4}, {17, 19, 5}, {21, 11, 2}, {21, 17, 3}, {15, 9, 6},
22 {15, 19, 7}, {23, 11, 8}, {23, 17, 9}, {13, 9, 10}, {13, 19, 11},
23 {11, 9, 14}, {11, 19, 15}, {9, 9, 16}, {9, 19, 17}, {7, 9, 18},
24 {7, 19, 19}, {19, 7, 4}, {19, 21, 5}, {19, 5, 22}, {19, 23, 23},
25 {21, 5, 24}, {21, 23, 25}, {23, 5, 26}, {23, 23, 27}, {5, 9, 20},
29 {21, 13, 0}, {24, 13, 12}, {21, 15, 1},
30 {24, 15, 13}, {21, 9, 8},
31 {24, 9, 12}, {21, 19, 9},
32 {24, 19, 13}, {21, 7, 22}, {24, 7, 28},
33 {21, 21, 23}, {24, 21, 29}, {21, 3, 26},
34 {24, 3, 28}, {21, 25, 27}, {24, 25, 29}};
37 {16, 12, 0}, {16, 16, 1}, {14, 6, 10}, {12, 16, 15},
38 {12, 12, 14}, {14, 22, 11}, {8, 12, 18}, {8, 16, 19},
39 {6, 6, 20}, {4, 16, 31}, {4, 12, 30}, {6, 22, 21}};
156 if ((i % 2 == 0 && ship->
fuel > (i / 2))
157 || (i % 2 == 1 && ship->
propulsion > (i / 2))) {
167 if ((i % 3 == 0 && ship->
habitation > (i / 3))
bool BV_ISSET(const BV &bv, int bit)
@ SSHIP_PLACE_LIFE_SUPPORT
@ SSHIP_PLACE_SOLAR_PANELS
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
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.
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]
const struct sship_part_info components_info[NUM_SS_COMPONENTS]
#define NUM_SS_COMPONENTS
#define NUM_SS_STRUCTURALS
bv_spaceship_structure structure
enum spaceship_state state
enum spaceship_place_type type