37#define ASSERT_UNUSED_ACTRES_CASES \
40#define SPECENUM_NAME action_target_kind
41#define SPECENUM_VALUE0 ATK_CITY
42#define SPECENUM_VALUE0NAME "City"
43#define SPECENUM_VALUE1 ATK_UNIT
44#define SPECENUM_VALUE1NAME "Unit"
45#define SPECENUM_VALUE2 ATK_STACK
46#define SPECENUM_VALUE2NAME "Stack"
47#define SPECENUM_VALUE3 ATK_TILE
48#define SPECENUM_VALUE3NAME "Tile"
49#define SPECENUM_VALUE4 ATK_EXTRAS
50#define SPECENUM_VALUE4NAME "Extras"
52#define SPECENUM_VALUE5 ATK_SELF
53#define SPECENUM_VALUE5NAME "Self"
54#define SPECENUM_COUNT ATK_COUNT
58#define SPECENUM_NAME action_sub_target_kind
59#define SPECENUM_VALUE0 ASTK_NONE
60#define SPECENUM_VALUE0NAME N_("nothing")
61#define SPECENUM_VALUE1 ASTK_BUILDING
62#define SPECENUM_VALUE1NAME N_("buildings in")
63#define SPECENUM_VALUE2 ASTK_TECH
64#define SPECENUM_VALUE2NAME N_("techs from")
65#define SPECENUM_VALUE3 ASTK_EXTRA
66#define SPECENUM_VALUE3NAME N_("extras on")
67#define SPECENUM_VALUE4 ASTK_EXTRA_NOT_THERE
68#define SPECENUM_VALUE4NAME N_("create extras on")
69#define SPECENUM_COUNT ASTK_COUNT
73#define SPECENUM_NAME act_tgt_compl
76#define SPECENUM_VALUE0 ACT_TGT_COMPL_SIMPLE
77#define SPECENUM_VALUE0NAME N_("simple")
83#define SPECENUM_VALUE1 ACT_TGT_COMPL_FLEXIBLE
84#define SPECENUM_VALUE1NAME N_("flexible")
90#define SPECENUM_VALUE2 ACT_TGT_COMPL_MANDATORY
91#define SPECENUM_VALUE2NAME N_("mandatory")
97#define SPECENUM_NAME action_battle_kind
98#define SPECENUM_VALUE0 ABK_NONE
99#define SPECENUM_VALUE0NAME N_("no battle")
100#define SPECENUM_VALUE1 ABK_STANDARD
101#define SPECENUM_VALUE1NAME N_("battle")
102#define SPECENUM_VALUE2 ABK_DIPLOMATIC
103#define SPECENUM_VALUE2NAME N_("diplomatic battle")
104#define SPECENUM_COUNT ABK_COUNT
145 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