Freeciv-3.3
|
Go to the source code of this file.
Typedefs | |
typedef void(* | univ_kind_values_cb) (const char *value, bool current, void *data) |
Functions | |
bool | universal_value_initial (struct universal *src) |
void | universal_kind_values (struct universal *univ, univ_kind_values_cb cb, void *data) |
Definition at line 20 of file univ_value.h.
void universal_kind_values | ( | struct universal * | univ, |
univ_kind_values_cb | cb, | ||
void * | data | ||
) |
Call cb() for each value possible for the universal kind.
Definition at line 276 of file univ_value.c.
Referenced by req_edit::fill_active().
Initialize universal value with a value suitable for the kind.
Returns TRUE iff there's any values universal kind can have with current ruleset.
Definition at line 42 of file univ_value.c.
Referenced by req_edit::req_edit(), and req_edit::req_type_menu().