23#include <gdk/gdkkeysyms.h>
164 "use-underline",
TRUE,
165 "label",
_(
"Select destination ci_ty"),
294 const struct player *pplayer)
332 struct unit_list *units;
385 _(
"%s (airlift: %s)"),
414 _(
"Currently in: %s"),
void astr_free(struct astring *astr)
void astr_set(struct astring *astr, const char *format,...)
const char * astr_build_and_list(struct astring *astr, const char *const *items, size_t number)
void astr_init(struct astring *astr)
void astr_add(struct astring *astr, const char *format,...)
static const char * astr_str(const struct astring *astr) fc__attribute((nonnull(1)))
const char * city_name_get(const struct city *pcity)
#define city_list_iterate(citylist, pcity)
#define city_tile(_pcity_)
#define city_list_iterate_end
bool can_client_issue_orders(void)
bool client_has_player(void)
static struct fc_sockaddr_list * list
void request_unit_airlift(struct unit *punit, struct city *pcity)
struct unit_list * get_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 unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
struct city * game_city_by_number(int id)
bool send_goto_tile(struct unit *punit, struct tile *ptile)
static GtkListStore * goto_list_store
static void update_source_label(void)
static void goto_cmd_callback(GtkWidget *dlg, gint arg)
static GtkTreeSelection * goto_list_selection
static void refresh_airlift_column(void)
void goto_dialog_focus_units_changed(void)
struct tile * original_tile
void popup_goto_dialog(void)
static GtkWidget * dshell
static bool list_store_append_player_cities(GtkListStore *store, const struct player *pplayer)
static GtkWidget * all_toggle
static bool gotodlg_updating
static struct city * get_selected_city(void)
static void refresh_airlift_button(void)
static GtkWidget * source
static void create_goto_dialog(void)
static void goto_selection_callback(GtkTreeSelection *selection, gpointer data)
void gtk_tree_view_focus(GtkTreeView *view)
void setup_dialog(GtkWidget *shell, GtkWidget *parent)
GdkPixbuf * get_flag(const struct nation_type *nation)
void widget_destroyed(GtkWidget *wdg, void *data)
static void update_goto_dialog(void)
#define fc_assert_ret(condition)
struct tile * get_center_tile_mapcanvas(void)
void center_tile_mapcanvas(const struct tile *ptile)
const char * nation_adjective_translation(const struct nation_type *pnation)
struct nation_type * nation_of_player(const struct player *pplayer)
struct city_list * cities
#define players_iterate_end
#define players_iterate(_pplayer)
struct city_list * cities
const char * get_airlift_text(const struct unit_list *punits, const struct city *pdest)
struct city * tile_city(const struct tile *ptile)
bool unit_can_airlift_to(const struct civ_map *nmap, const struct unit *punit, const struct city *pdest_city)
#define unit_list_iterate(unitlist, punit)
#define unit_list_iterate_end