37#ifdef ADV_CHOICE_TRACK
39 choice->log_if_chosen =
FALSE;
48#ifdef ADV_CHOICE_TRACK
49 if (choice->use !=
NULL) {
73#ifdef ADV_CHOICE_TRACK
74 if (choice->use !=
NULL) {
126 switch (choice->
type) {
142#ifdef ADV_CHOICE_TRACK
153 if (dest->use !=
NULL) {
156 if (src->use !=
NULL) {
161 dest->log_if_chosen = src->log_if_chosen;
170 if (choice->use !=
NULL) {
185 if (choice->use !=
NULL) {
221 if (choice->use ==
NULL) {
void adv_deinit_choice(struct adv_choice *choice)
void adv_init_choice(struct adv_choice *choice)
struct adv_choice * adv_better_choice_free(struct adv_choice *first, struct adv_choice *second)
void adv_free_choice(struct adv_choice *choice)
struct adv_choice * adv_better_choice(struct adv_choice *first, struct adv_choice *second)
struct adv_choice * adv_new_choice(void)
bool is_unit_choice_type(enum choice_type type)
const char * adv_choice_rule_name(const struct adv_choice *choice)
#define adv_choice_set_use(_choice, _use)
#define adv_choice_log_int(_choice, _loc1, _loc2)
static void adv_choice_copy(struct adv_choice *dest, struct adv_choice *src)
static const char * adv_choice_get_use(const struct adv_choice *choice)
#define adv_choice_log_info(_choice, _loc1, _loc2)
const char * improvement_rule_name(const struct impr_type *pimprove)
#define log_base(level, message,...)
int fc_snprintf(char *str, size_t n, const char *format,...)
const struct unit_type * utype
const struct impr_type * building
const char * utype_rule_name(const struct unit_type *punittype)