46#define styles_iterate(_p) \
49 for (_i_ = 0; _i_ < game.control.num_styles; _i_++) { \
50 struct nation_style *_p = style_by_number(_i_);
52#define styles_iterate_end \
56#define styles_re_active_iterate(_p) \
57 styles_iterate(_p) { \
58 if (!_p->ruledit_disabled) {
60#define styles_re_active_iterate_end \
72#define music_styles_iterate(_p) \
75 for (_i_ = 0; _i_ < game.control.num_music_styles; _i_++) { \
76 struct music_style *_p = music_style_by_number(_i_); \
79#define music_styles_iterate_end \
85#define music_styles_re_active_iterate(_p) \
86 music_styles_iterate(_p)
88#define music_styles_re_active_iterate_end \
89 music_styles_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
struct requirement_vector reqs
char music_peaceful[MAX_LEN_NAME]
char music_combat[MAX_LEN_NAME]
struct name_translation name
int city_style(struct city *pcity)
struct nation_style * style_by_rule_name(const char *name)
struct nation_style * style_by_number(int id)
const char * style_name_translation(const struct nation_style *pstyle)
struct music_style * player_music_style(struct player *plr)
void styles_alloc(int count)
int music_style_number(const struct music_style *pms)
int style_of_city(const struct city *pcity)
struct music_style * music_style_by_number(int id)
const char * style_rule_name(const struct nation_style *pstyle)
int style_number(const struct nation_style *pstyle)
void music_styles_free(void)
void music_styles_alloc(int count)
int style_index(const struct nation_style *pstyle)
int basic_city_style_for_style(struct nation_style *pstyle)