116 if (
name ==
nullptr) {
#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)
struct packet_ruleset_control control
struct extra_type_list * extras
int fc_strcasecmp(const char *str0, const char *str1)
#define tile_has_extra(ptile, pextra)
const char * tiledef_rule_name(const struct tiledef *td)
int tiledef_number(const struct tiledef *td)
static struct tiledef tiledefs[MAX_TILEDEFS]
struct tiledef * tiledef_by_number(int id)
struct tiledef * tiledef_by_rule_name(const char *name)
bool tile_matches_tiledef(const struct tiledef *td, const struct tile *ptile)
struct tiledef * tiledef_by_translated_name(const char *name)
const char * tiledef_name_translation(const struct tiledef *td)
#define tiledef_index(_td_)
#define tiledef_iterate_end
#define tiledef_iterate(_p)