37#define ASSERT_UNUSED_ACTRES_CASES \
41#define SPECENUM_NAME action_target_kind
42#define SPECENUM_VALUE0 ATK_CITY
43#define SPECENUM_VALUE0NAME "City"
44#define SPECENUM_VALUE1 ATK_UNIT
45#define SPECENUM_VALUE1NAME "Unit"
46#define SPECENUM_VALUE2 ATK_UNITS
47#define SPECENUM_VALUE2NAME "Stack"
48#define SPECENUM_VALUE3 ATK_TILE
49#define SPECENUM_VALUE3NAME "Tile"
50#define SPECENUM_VALUE4 ATK_EXTRAS
51#define SPECENUM_VALUE4NAME "Extras"
53#define SPECENUM_VALUE5 ATK_SELF
54#define SPECENUM_VALUE5NAME "Self"
55#define SPECENUM_COUNT ATK_COUNT
59#define SPECENUM_NAME action_sub_target_kind
60#define SPECENUM_VALUE0 ASTK_NONE
61#define SPECENUM_VALUE0NAME N_("nothing")
62#define SPECENUM_VALUE1 ASTK_BUILDING
63#define SPECENUM_VALUE1NAME N_("buildings in")
64#define SPECENUM_VALUE2 ASTK_TECH
65#define SPECENUM_VALUE2NAME N_("techs from")
66#define SPECENUM_VALUE3 ASTK_EXTRA
67#define SPECENUM_VALUE3NAME N_("extras on")
68#define SPECENUM_VALUE4 ASTK_EXTRA_NOT_THERE
69#define SPECENUM_VALUE4NAME N_("create extras on")
70#define SPECENUM_COUNT ASTK_COUNT
74#define SPECENUM_NAME act_tgt_compl
77#define SPECENUM_VALUE0 ACT_TGT_COMPL_SIMPLE
78#define SPECENUM_VALUE0NAME N_("simple")
84#define SPECENUM_VALUE1 ACT_TGT_COMPL_FLEXIBLE
85#define SPECENUM_VALUE1NAME N_("flexible")
91#define SPECENUM_VALUE2 ACT_TGT_COMPL_MANDATORY
92#define SPECENUM_VALUE2NAME N_("mandatory")
98#define SPECENUM_NAME action_battle_kind
99#define SPECENUM_VALUE0 ABK_NONE
100#define SPECENUM_VALUE0NAME N_("no battle")
101#define SPECENUM_VALUE1 ABK_STANDARD
102#define SPECENUM_VALUE1NAME N_("battle")
103#define SPECENUM_VALUE2 ABK_DIPLOMATIC
104#define SPECENUM_VALUE2NAME N_("diplomatic battle")
105#define SPECENUM_COUNT ABK_COUNT
146 const struct city *homecity);
int actres_get_act_time(enum action_result result, const struct unit *actor_unit, const struct tile *tgt_tile, const struct extra_type *tgt_extra)
int actres_min_range_default(enum action_result result)
enum action_sub_target_kind actres_sub_target_kind_default(enum action_result result)
enum act_tgt_compl actres_target_compl_calc(enum action_result result)
bool actres_removes_extra(enum action_result result, const struct extra_type *pextra)
bool actres_creates_extra(enum action_result result, const struct extra_type *pextra)
enum fc_tristate actres_possible(const struct civ_map *nmap, enum action_result result, const struct req_context *actor, const struct req_context *target, const struct extra_type *target_extra, enum fc_tristate def, bool omniscient, const struct city *homecity)
bool actres_legal_target_kind(enum action_result result, enum action_target_kind tgt_kind)
enum unit_activity actres_activity_result(enum action_result result)
int actres_max_range_default(enum action_result result)
bool actres_is_hostile(enum action_result result)
enum dice_roll_type actres_dice_type(enum action_result result)
enum action_battle_kind actres_get_battle_kind(enum action_result result)
enum action_target_kind actres_target_kind_default(enum action_result result)
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit * actor
struct unit struct city struct unit struct tile struct extra_type * target_extra
enum unit_activity activity
enum action_target_kind def_tgt_kind
enum extra_rmcause ermcause
enum act_tgt_compl sub_tgt_compl
enum action_battle_kind battle_kind