26 struct packet_nations_selected_info;
29 const struct text_tag_list *tags,
42 struct city *target_city,
43 struct unit *target_unit,
44 struct tile *target_tile,
55 struct city *target_city,
56 struct unit *target_unit,
57 struct tile *target_tile,
62 const struct action *paction);
64 const struct action *paction);
66 const struct action *paction);
int action_selection_target_extra(void)
Returns id of the target extra of the actions currently handled in action selection dialog when the a...
int action_selection_target_tile(void)
Returns id of the target tile of the actions currently handled in action selection dialog when the ac...
int action_selection_actor_unit(void)
Returns the id of the actor unit currently handled in action selection dialog when the action selecti...
void unit_select_dialog_update()
void popup_musicset_suggestion_dialog(void)
Ruleset (modpack) has suggested loading certain musicset.
void unit_select_dialog_popup(struct tile *ptile)
Popup a dialog window to select units on a particular tile.
void action_selection_close(void)
Closes the action selection dialog.
void races_update_pickable(bool nationset_change)
The server has changed the set of selectable nations.
int action_selection_target_city(void)
Returns id of the target city of the actions currently handled in action selection dialog when the ac...
void popup_notify_goto_dialog(const char *headline, const char *lines, const struct text_tag_list *tags, struct tile *ptile)
Popup a dialog to display information about an event that has a specific location.
void show_tech_gained_dialog(Tech_type_id tech)
Player has gained a new tech.
void popup_soundset_suggestion_dialog(void)
Ruleset (modpack) has suggested loading certain soundset.
void popup_races_dialog(struct player *pplayer)
Popup the nation selection dialog.
void popdown_races_dialog(void)
Close the nation selection dialog.
void popup_tileset_suggestion_dialog(void)
Ruleset (modpack) has suggested loading certain tileset.
void popup_pillage_dialog(struct unit *punit, bv_extras extras)
Popup a dialog asking the unit which improvement they would like to pillage.
void popup_notify_dialog(const char *caption, const char *headline, const char *lines)
Popup a generic dialog to display some generic information.
void action_selection_refresh(struct unit *actor_unit, struct city *target_city, struct unit *target_unit, struct tile *target_tile, struct extra_type *target_extra, const struct act_prob *act_probs)
Updates the action selection dialog with new information.
bool popup_theme_suggestion_dialog(const char *theme_name)
Tileset (modpack) has suggested loading certain theme.
void popup_connect_msg(const char *headline, const char *message)
Popup a dialog to display connection message from server.
void unit_select_dialog_update_real(void *unused)
Update the dialog window to select units on a particular tile.
void races_toggles_set_sensitive(void)
In the nation selection dialog, make already-taken nations unavailable.
void popup_action_selection(struct unit *actor_unit, struct city *target_city, struct unit *target_unit, struct tile *target_tile, struct extra_type *target_extra, const struct act_prob *act_probs)
Popup a dialog that allows the player to select what action a unit should take.
void popup_bribe_dialog(struct unit *actor, struct unit *punit, int cost, const struct action *paction)
Popup a dialog asking a diplomatic unit if it wishes to bribe the given enemy unit.
void popup_sabotage_dialog(struct unit *actor, struct city *pcity, const struct action *paction)
Popup a dialog asking a diplomatic unit if it wishes to sabotage the given enemy city.
int action_selection_target_unit(void)
Returns id of the target unit of the actions currently handled in action selection dialog when the ac...
void popup_incite_dialog(struct unit *actor, struct city *pcity, int cost, const struct action *paction)
Popup a window asking a diplomatic unit if it wishes to incite the given enemy city.
void action_selection_no_longer_in_progress_gui_specific(int actor_unit_id)
Let the non shared client code know that the action selection process no longer is in progress for th...
void popdown_all_game_dialogs(void)
This function is called when the client disconnects or the game is over.