Freeciv-3.3
Loading...
Searching...
No Matches
Functions
unitselextradlg.h File Reference

Go to the source code of this file.

Functions

bool select_tgt_extra (struct unit *actor, struct tile *ptile, bv_extras potential_tgt_extras, struct extra_type *suggested_tgt_extra, const gchar *dlg_title, const gchar *actor_label, const gchar *tgt_label, const gchar *do_label, GCallback do_callback)
 

Function Documentation

◆ select_tgt_extra()

bool select_tgt_extra ( struct unit actor,
struct tile ptile,
bv_extras  potential_tgt_extras,
struct extra_type suggested_tgt_extra,
const gchar dlg_title,
const gchar actor_label,
const gchar tgt_label,
const gchar do_label,
GCallback  do_callback 
)

Create a dialog where a unit select what extra to act on.

Definition at line 107 of file unitselextradlg.c.

Referenced by act_sel_new_extra_tgt_callback(), and popup_pillage_dialog().