139 if (pextra->hiders !=
NULL) {
141 pextra->hiders =
NULL;
143 if (pextra->bridged !=
NULL) {
145 pextra->bridged =
NULL;
395 const struct tile *ptile)
414 const struct player *pplayer,
415 const struct tile *ptile)
426 if (
pterr->base_time == 0) {
438 &&
pterr->road_time == 0) {
443 &&
pterr->irrigation_time == 0) {
448 &&
pterr->mining_time == 0) {
469 const struct player *pplayer,
470 const struct tile *ptile)
489 const struct player *pplayer,
490 const struct tile *ptile)
535 const struct tile *ptile)
558 const struct tile *ptile)
592 const struct player *pplayer,
593 const struct tile *ptile)
614 const struct tile *ptile)
634 const struct tile *ptile)
643 &&
pterr->irrigation_time == 0) {
648 &&
pterr->mining_time == 0) {
653 if (
pterr->base_time == 0) {
668 }
else if (
pterr->road_time == 0) {
681 const struct tile *ptile)
713 const struct tile *ptile)
739 const struct tile *ptile)
766 const struct player *pplayer,
792 const struct player *pplayer,
818 const struct player *pplayer,
954 if (helptxt && helptxt[0] !=
'\0') {
1151 const struct tile *ptile)
#define action_get_activity(_pact_)
void base_types_free(void)
#define BV_ISSET(bv, bit)
#define city_owner(_pcity_)
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 * punit
void user_flag_init(struct user_flag *flag)
void user_flag_free(struct user_flag *flag)
#define fc_assert_ret(condition)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
#define cardinal_adjc_iterate_end
#define adjc_iterate(nmap, center_tile, itr_tile)
#define cardinal_adjc_iterate(nmap, center_tile, itr_tile)
static const char * rule_name_get(const struct name_translation *ptrans)
static const char * name_translation_get(const struct name_translation *ptrans)
bool player_knows_techs_with_flag(const struct player *pplayer, enum tech_flag_id flag)
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 research * research_get(const struct player *pplayer)
enum tech_state research_invention_state(const struct research *presearch, Tech_type_id tech)
bool road_has_flag(const struct road_type *proad, enum road_flag_id flag)
void road_types_free(void)
void strvec_destroy(struct strvec *psv)
struct packet_ruleset_control control
struct packet_game_info info
enum borders_mode borders
const struct player * player
const struct extra_type * extra
struct player * extras_owner
struct extra_type * placing
enum unit_activity activity
int fc_strcasecmp(const char *str0, const char *str1)
void resource_types_free(void)
bool terrain_has_resource(const struct terrain *pterrain, const struct extra_type *presource)
#define terrain_has_flag(terr, flag)
void tile_virtual_destroy(struct tile *vtile)
void tile_remove_extra(struct tile *ptile, const struct extra_type *pextra)
struct tile * tile_virtual_new(const struct tile *ptile)
struct city * tile_city(const struct tile *ptile)
#define tile_worked(_tile)
#define tile_terrain(_tile)
#define tile_has_extra(ptile, pextra)
#define tile_owner(_tile)
bool unit_can_do_action_sub_result(const struct unit *punit, enum action_sub_result sub_result)
bool unit_can_do_action_result(const struct unit *punit, enum action_result result)
#define tile_changing_activities_iterate_end
#define tile_changing_activities_iterate(_act_)
#define unit_list_iterate(unitlist, punit)
#define unit_list_iterate_end
const struct unit_type * unit_type_get(const struct unit *punit)
#define uclass_index(_c_)