27#ifdef SDL2_PLAIN_INCLUDE
80#define local_show(id) \
81 clear_wflag(get_widget_pointer_from_id(begin_order_widget_list, id, SCAN_FORWARD), \
84#define local_hide(id) \
85 set_wflag(get_widget_pointer_from_id(begin_order_widget_list, id, SCAN_FORWARD), \
501 _(
"Return to Nearest City"),
"Shift+G");
563 _(
"Connect With Irrigation"),
"Ctrl+I");
580 _(
"Connect With %s (%s)"),
599 _(
"Connect With %s (%s)"),
641 _(
"Unsentry All On Tile"),
"Shift+S");
655 _(
"Unload All From Transporter"),
"Shift+T");
1002 static char cbuf[128];
1067 struct city *homecity;
1087 if (pcity !=
NULL) {
1144 _(
"%s With %s ( %d one time bonus + %d trade ) (R)"),
1152 _(
"%s Of %s ( %d one time bonus ) (R)"),
1425 if (pcity && pcity->
airlift) {
const char * action_id_name_translation(action_id act_id)
struct extra_type * base_extra_get(const struct base_type *pbase)
struct base_type * get_base_by_gui_type(enum base_gui_type type, const struct unit *punit, const struct tile *ptile)
const char * city_name_get(const struct city *pcity)
enum client_states client_state(void)
bool can_client_issue_orders(void)
int turns_to_activity_done(const struct tile *ptile, Activity_type_id act, const struct extra_type *tgt, const struct unit *pmodunit)
bool can_units_do_connect(struct unit_list *punits, enum unit_activity activity, struct extra_type *tgt)
void key_unit_sentry(void)
void request_unit_return(struct unit *punit)
void key_unit_build_city(void)
void key_unit_auto_explore(void)
void key_unit_connect(enum unit_activity activity, struct extra_type *tgt)
void request_unit_load(struct unit *pcargo, struct unit *ptrans, struct tile *ptile)
void request_unit_goto(enum unit_orders last_order, action_id act_id, int sub_tgt_id)
void key_unit_paradrop(void)
struct unit_list * get_units_in_focus(void)
void request_unit_autosettlers(const struct unit *punit)
bool can_unit_do_connect(struct unit *punit, enum unit_activity activity, struct extra_type *tgt)
void key_unit_build_wonder(void)
void key_unit_plant(void)
void key_unit_fortress(void)
void key_unit_pillage(void)
void request_unit_unload(struct unit *pcargo)
void key_unit_irrigate(void)
void key_unit_unload_all(void)
void key_unit_homecity(void)
void key_unit_patrol(void)
void key_unit_wakeup_others(void)
void key_unit_trade_route(void)
struct unit * head_of_units_in_focus(void)
void key_unit_action_select_tgt(void)
void key_unit_transform(void)
void key_unit_airbase(void)
void key_unit_convert(void)
void key_unit_clean(void)
void key_unit_fortify(void)
void key_unit_cultivate(void)
#define can_unit_do_activity_targeted_client(_punit_, _act_, _tgt_)
#define can_unit_do_activity_client(_punit_, _act_)
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
#define PL_(String1, String2, n)
struct city * game_city_by_number(int id)
void popup_goto_dialog(void)
void popup_unit_disband_dlg(struct unit *punit, bool city)
void popup_unit_upgrade_dlg(struct unit *punit, bool city)
void popup_airlift_dialog(void)
int main_window_width(void)
struct sdl2_data main_data
@ ID_UNIT_ORDER_AUTO_SETTLER
@ ID_UNIT_ORDER_BUILD_WONDER
@ ID_UNIT_ORDER_BUILD_CITY
@ ID_UNIT_ORDER_DIPLOMAT_DLG
@ ID_UNIT_ORDER_CONNECT_ROAD
@ ID_UNIT_ORDER_AUTO_EXPLORE
@ ID_UNIT_ORDER_WAKEUP_OTHERS
@ ID_UNIT_ORDER_UNLOAD_TRANSPORTER
@ ID_UNIT_ORDER_GOTO_CITY
@ ID_UNIT_ORDER_TRANSFORM
@ ID_UNIT_ORDER_CONNECT_IRRIGATE
@ ID_UNIT_ORDER_CULTIVATE
@ ID_UNIT_ORDER_TRADE_ROUTE
@ ID_UNIT_ORDER_CONNECT_RAILROAD
#define CF_MAP_UNIT_W_CREATED
#define CF_ORDERS_WIDGETS_CREATED
struct widget * selected_widget
#define CF_GAME_JUST_STARTED
#define PRESSED_EVENT(event)
utf8_str * copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars)
#define create_utf8_from_char_fonto(string_in, fonto)
struct widget * get_minimap_window_widget(void)
struct widget * get_unit_info_window_widget(void)
void hide_unitinfo_window_buttons(void)
void disable_minimap_window_buttons(void)
void show_minimap_window_buttons(void)
void hide_minimap_window_buttons(void)
void show_unitinfo_window_buttons(void)
void disable_unitinfo_window_buttons(void)
enum client_pages get_client_page(void)
struct extra_type * road_extra_get(const struct road_type *proad)
enum road_compat road_compat_special(const struct road_type *proad)
struct road_type * road_by_gui_type(enum road_gui_type gui_type)
static struct compatibility compat[]
struct terrain * cultivate_result
struct terrain * plant_result
struct terrain * transform_result
struct unit::@81::@83 client
struct goods_type * carrying
enum server_side_agent ssa_controller
int fc_snprintf(char *str, size_t n, const char *format,...)
const char * terrain_name_translation(const struct terrain *pterrain)
struct city * tile_city(const struct tile *ptile)
#define tile_terrain(_tile)
bool can_cities_trade(const struct city *pc1, const struct city *pc2)
int trade_base_between_cities(const struct city *pc1, const struct city *pc2)
bool can_establish_trade_route(const struct city *pc1, const struct city *pc2)
int get_caravan_enter_city_trade_bonus(const struct city *pc1, const struct city *pc2, const struct unit_type *ut, struct goods_type *pgood, const bool establish_trade)
bool unit_can_add_or_build_city(const struct civ_map *nmap, const struct unit *punit)
bool can_unit_change_homecity(const struct civ_map *nmap, const struct unit *punit)
bool is_unit_activity_on_tile(enum unit_activity activity, const struct tile *ptile)
bool can_unit_do_autosettlers(const struct unit *punit)
bool unit_can_do_action(const struct unit *punit, const action_id act_id)
bool can_unit_paradrop(const struct civ_map *nmap, const struct unit *punit)
bool unit_can_help_build_wonder_here(const struct civ_map *nmap, const struct unit *punit)
bool unit_can_convert(const struct civ_map *nmap, const struct unit *punit)
bool units_can_unload(const struct unit_list *punits)
bool units_can_load(const struct unit_list *punits)
#define unit_list_iterate(unitlist, punit)
#define unit_list_iterate_end
const struct unit_type * unit_type_get(const struct unit *punit)
const struct unit_type * can_upgrade_unittype(const struct player *pplayer, const struct unit_type *punittype)
bool utype_can_do_action(const struct unit_type *putype, const action_id act_id)