140 const struct city *pcity)
#define BV_ISSET(bv, bit)
#define city_tile(_pcity_)
#define city_owner(_pcity_)
const char * disaster_rule_name(struct disaster_type *pdis)
bool can_disaster_happen(const struct disaster_type *pdis, const struct city *pcity)
static struct disaster_type disaster_types[MAX_DISASTER_TYPES]
Disaster_type_id disaster_number(const struct disaster_type *pdis)
Disaster_type_id disaster_index(const struct disaster_type *pdis)
struct disaster_type * disaster_by_rule_name(const char *name)
const char * disaster_name_translation(struct disaster_type *pdis)
struct disaster_type * disaster_by_number(Disaster_type_id id)
Disaster_type_id disaster_count(void)
bool disaster_has_effect(const struct disaster_type *pdis, enum disaster_effect_id effect)
void disaster_types_init(void)
void disaster_types_free(void)
#define disaster_type_iterate(_p)
#define disaster_type_iterate_end
#define MAX_DISASTER_TYPES
#define fc_assert_ret_val(condition, val)
static const char * rule_name_get(const struct name_translation *ptrans)
static const char * name_translation_get(const struct name_translation *ptrans)
bool are_reqs_active(const struct req_context *context, const struct player *other_player, const struct requirement_vector *reqs, const enum req_problem_type prob_type)
struct packet_ruleset_control control
int fc_strcasecmp(const char *str0, const char *str1)