Home
last modified time | relevance | path

Searched refs:extra_has_flag (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dextras.c416 if (extra_has_flag(pextra, EF_ALWAYS_ON_CITY_CENTER)) { in can_extra_be_removed()
419 if (extra_has_flag(pextra, EF_AUTO_ON_CITY_CENTER)) { in can_extra_be_removed()
609 bool extra_has_flag(const struct extra_type *pextra, enum extra_flag_id flag) in extra_has_flag() function
621 if (extra_has_flag(pextra, flag)) { in is_extra_flag_card_near()
640 if (extra_has_flag(pextra, flag)) { in is_extra_flag_near_tile()
673 return extra_has_flag(pextra, EF_GLOBAL_WARMING); in extra_causes_env_upset()
675 return extra_has_flag(pextra, EF_NUCLEAR_WINTER); in extra_causes_env_upset()
H A Dtile.c337 && extra_has_flag(pextra, EF_REFUEL) in tile_has_refuel_extra()
501 || extra_has_flag(pextra, EF_TERR_CHANGE_REMOVES))) { in tile_change_terrain()
899 && extra_has_flag(pextra, flag)) { in tile_has_extra_flag()
H A Dextras.h194 bool extra_has_flag(const struct extra_type *pextra, enum extra_flag_id flag);
H A Dunittype.c1769 if (extra_has_flag(pextra, EF_REFUEL)) { in set_unit_class_caches()
1772 if (extra_has_flag(pextra, EF_NATIVE_TILE)) { in set_unit_class_caches()
1833 if (!extra_has_flag(pextra, EF_NATIVE_TILE)) { in move_type_from_extra()
H A Drequirements.c3680 return extra_has_flag(source->value.extra, in extra_type_found()
/dports/games/freeciv/freeciv-2.6.6/common/
H A Dextras.c416 if (extra_has_flag(pextra, EF_ALWAYS_ON_CITY_CENTER)) { in can_extra_be_removed()
419 if (extra_has_flag(pextra, EF_AUTO_ON_CITY_CENTER)) { in can_extra_be_removed()
609 bool extra_has_flag(const struct extra_type *pextra, enum extra_flag_id flag) in extra_has_flag() function
621 if (extra_has_flag(pextra, flag)) { in is_extra_flag_card_near()
640 if (extra_has_flag(pextra, flag)) { in is_extra_flag_near_tile()
673 return extra_has_flag(pextra, EF_GLOBAL_WARMING); in extra_causes_env_upset()
675 return extra_has_flag(pextra, EF_NUCLEAR_WINTER); in extra_causes_env_upset()
H A Dtile.c337 && extra_has_flag(pextra, EF_REFUEL) in tile_has_refuel_extra()
501 || extra_has_flag(pextra, EF_TERR_CHANGE_REMOVES))) { in tile_change_terrain()
899 && extra_has_flag(pextra, flag)) { in tile_has_extra_flag()
H A Dextras.h194 bool extra_has_flag(const struct extra_type *pextra, enum extra_flag_id flag);
H A Dunittype.c1769 if (extra_has_flag(pextra, EF_REFUEL)) { in set_unit_class_caches()
1772 if (extra_has_flag(pextra, EF_NATIVE_TILE)) { in set_unit_class_caches()
1833 if (!extra_has_flag(pextra, EF_NATIVE_TILE)) { in move_type_from_extra()
H A Drequirements.c3680 return extra_has_flag(source->value.extra, in extra_type_found()
/dports/games/freeciv/freeciv-2.6.6/server/advisors/
H A Dautosettlers.c649 if (extra_has_flag(pextra, EF_GLOBAL_WARMING)) { in settler_evaluate_improvements()
652 if (extra_has_flag(pextra, EF_NUCLEAR_WINTER)) { in settler_evaluate_improvements()
/dports/games/freeciv-nox11/freeciv-2.6.6/server/advisors/
H A Dautosettlers.c649 if (extra_has_flag(pextra, EF_GLOBAL_WARMING)) { in settler_evaluate_improvements()
652 if (extra_has_flag(pextra, EF_NUCLEAR_WINTER)) { in settler_evaluate_improvements()
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Drssanity.c921 && extra_has_flag(pextra, EF_NATIVE_TILE)) { in sanity_check_ruleset_data()
H A Dmaphand.c248 if (extra_has_flag(pextra, EF_ALWAYS_ON_CITY_CENTER) in upgrade_city_extras()
249 || (extra_has_flag(pextra, EF_AUTO_ON_CITY_CENTER) in upgrade_city_extras()
/dports/games/freeciv/freeciv-2.6.6/server/
H A Drssanity.c921 && extra_has_flag(pextra, EF_NATIVE_TILE)) { in sanity_check_ruleset_data()
H A Dmaphand.c248 if (extra_has_flag(pextra, EF_ALWAYS_ON_CITY_CENTER) in upgrade_city_extras()
249 || (extra_has_flag(pextra, EF_AUTO_ON_CITY_CENTER) in upgrade_city_extras()
H A Druleset.c2968 if (extra_has_flag(pextra, EF_NATURAL_DEFENSE)) { in load_ruleset_terrain()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dtilespec.c3477 if (extra_has_flag(pextra, EF_SHOW_FLAG)) { in tileset_setup_extra()
4383 if (extra_has_flag(pextra, EF_CONNECT_LAND)) { in fill_road_sprite_array()
4456 && extra_has_flag(phider, EF_CONNECT_LAND)) { in fill_road_sprite_array()
H A Dpackhand.c3712 if (extra_has_flag(pextra, EF_NATURAL_DEFENSE)) { in handle_ruleset_extra()
H A Dhelpdata.c5496 if (extra_has_flag(pextra, EF_NATIVE_TILE)) { in helptext_extra()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dtilespec.c3477 if (extra_has_flag(pextra, EF_SHOW_FLAG)) { in tileset_setup_extra()
4383 if (extra_has_flag(pextra, EF_CONNECT_LAND)) { in fill_road_sprite_array()
4456 && extra_has_flag(phider, EF_CONNECT_LAND)) { in fill_road_sprite_array()
H A Dpackhand.c3712 if (extra_has_flag(pextra, EF_NATURAL_DEFENSE)) { in handle_ruleset_extra()
H A Dhelpdata.c5496 if (extra_has_flag(pextra, EF_NATIVE_TILE)) { in helptext_extra()
/dports/games/freeciv/freeciv-2.6.6/tools/ruledit/
H A Drulesave.c1945 if (extra_has_flag(pextra, flagi)) { in save_terrain_ruleset()
/dports/games/freeciv-nox11/freeciv-2.6.6/tools/ruledit/
H A Drulesave.c1945 if (extra_has_flag(pextra, flagi)) { in save_terrain_ruleset()

12