160 if (!
GOTO && !pcity->airlift) {
183 buf->string_utf8->fgcol =
187 if (
GOTO || pcity->airlift) {
362 if (!((
i + 1) %
col)) {
#define BV_ISSET(bv, bit)
const char * city_name_get(const struct city *pcity)
#define city_list_iterate(citylist, pcity)
static citizens city_size_get(const struct city *pcity)
#define city_owner(_pcity_)
#define city_list_iterate_end
bool can_client_issue_orders(void)
struct color * get_player_color(const struct tileset *t, const struct player *pplayer)
void request_unit_airlift(struct unit *punit, struct city *pcity)
struct unit * head_of_units_in_focus(void)
int get_num_units_in_focus(void)
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
struct city * game_city_by_number(int id)
bool send_goto_tile(struct unit *punit, struct tile *ptile)
void popup_goto_dialog(void)
static void popup_goto_airlift_dialog(void)
void popdown_goto_airlift_dialog(void)
static int goto_dialog_window_callback(struct widget *pwindow)
static int exit_goto_dialog_callback(struct widget *pwidget)
static int goto_city_callback(struct widget *pwidget)
static struct advanced_dialog * goto_dlg
void popup_airlift_dialog(void)
static int toggle_goto_nations_cities_dialog_callback(struct widget *pwidget)
static void update_goto_dialog(void)
SDL_Surface * resize_surface(const SDL_Surface *psrc, Uint16 new_width, Uint16 new_height, int smooth)
int main_window_width(void)
int fill_rect_alpha(SDL_Surface *surf, SDL_Rect *prect, SDL_Color *pcolor)
SDL_Surface * crop_visible_part_from_surface(SDL_Surface *psrc)
int alphablit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, unsigned char alpha_mod)
struct sdl2_data main_data
int main_window_height(void)
SDL_Surface * resize_surface_box(const SDL_Surface *psrc, Uint16 new_width, Uint16 new_height, int smooth, bool scale_up, bool absolute_dimensions)
#define PRESSED_EVENT(event)
#define create_utf8_from_char_fonto(string_in, fonto)
static SDL_Surface * get_nation_flag_surface(const struct nation_type *pnation)
#define fc_assert(condition)
#define fc_calloc(n, esz)
const char * nation_adjective_for_player(const struct player *pplayer)
struct nation_type * nation_of_player(const struct player *pplayer)
struct player * player_by_number(const int player_id)
int player_number(const struct player *pplayer)
int player_index(const struct player *pplayer)
struct player_diplstate * player_diplstate_get(const struct player *plr1, const struct player *plr2)
bool player_owns_city(const struct player *pplayer, const struct city *pcity)
#define players_iterate_end
#define players_iterate(_pplayer)
struct widget * begin_active_widget_list
struct widget * end_widget_list
struct widget * end_active_widget_list
struct widget * active_widget_list
struct scroll_bar * scroll
struct widget * begin_widget_list
int fc_snprintf(char *str, size_t n, const char *format,...)