14#ifndef FC__SPECIALIST_H
15#define FC__SPECIALIST_H
43#define DEFAULT_SPECIALIST default_specialist
73#define specialist_type_iterate(sp) \
75 Specialist_type_id sp; \
77 for (sp = 0; sp < specialist_count(); sp++) {
79#define specialist_type_iterate_end \
83#define specialist_type_re_active_iterate(_p) \
84 specialist_type_iterate(_p##_) { \
85 struct specialist *_p = specialist_by_number(_p##_); \
86 if (!_p->ruledit_disabled) {
88#define specialist_type_re_active_iterate_end \
90 } specialist_type_iterate_end;
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
enum output_type_id Output_type_id
struct specialist specialists[SP_MAX]
const char * specialists_abbreviation_string(void)
struct specialist * specialist_by_rule_name(const char *name)
struct specialist * specialist_by_number(const Specialist_type_id id)
Specialist_type_id specialist_index(const struct specialist *sp)
Specialist_type_id specialist_number(const struct specialist *sp)
const char * specialist_rule_name(const struct specialist *sp)
const char * specialist_plural_translation(const struct specialist *sp)
void specialists_free(void)
Specialist_type_id specialist_count(void)
const char * specialist_abbreviation_translation(const struct specialist *sp)
void specialists_init(void)
const char * specialists_string(const citizens *specialist_list)
struct specialist * specialist_by_translated_name(const char *name)
int get_specialist_output(const struct city *pcity, Specialist_type_id sp, Output_type_id otype)
struct requirement_vector reqs
char graphic_alt[MAX_LEN_NAME]
char graphic_str[MAX_LEN_NAME]
struct name_translation name
struct name_translation abbreviation