Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-gtk-5.0/unitselunitdlg.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Functions
unitselunitdlg.h File Reference

Go to the source code of this file.

## Functions

bool | select_tgt_unit (struct unit *actor, struct tile *ptile, struct unit_list *potential_tgt_units, struct unit *suggested_tgt_unit, const gchar *dlg_title, const gchar *actor_label, const gchar *tgt_label, const gchar *do_label, GCallback do_callback)

## Function Documentation

## ◆ select_tgt_unit()

bool select_tgt_unit | ( | struct unit * | actor,
|  | struct tile * | ptile,
|  | struct unit_list * | potential_tgt_units,
|  | struct unit * | suggested_tgt_unit,
|  | 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 other unit to act on.

Definition at line 70 of file unitselunitdlg.c.

Referenced by act_sel_new_unit_tgt_callback(), and request_transport().