Feature #853 ยป 0032-Unhardcode-wld.map-from-action_speculate_unit_on_uni.patch
common/actions.c | ||
---|---|---|
game state changes.
|
||
**************************************************************************/
|
||
struct act_prob
|
||
action_speculate_unit_on_unit(action_id act_id,
|
||
action_speculate_unit_on_unit(const struct civ_map *nmap,
|
||
action_id act_id,
|
||
const struct unit *actor,
|
||
const struct city *actor_home,
|
||
const struct tile *actor_tile,
|
||
... | ... | |
* current position rather than on actor_tile. Maybe this function should
|
||
* return ACTPROB_NOT_IMPLEMENTED when one of those is detected and no
|
||
* other requirement makes the action ACTPROB_IMPOSSIBLE? */
|
||
const struct civ_map *nmap = &(wld.map);
|
||
if (omniscient_cheat) {
|
||
if (is_action_enabled_unit_on_unit_full(nmap, act_id,
|
common/actions.h | ||
---|---|---|
const struct city* target);
|
||
struct act_prob
|
||
action_speculate_unit_on_unit(action_id act_id,
|
||
action_speculate_unit_on_unit(const struct civ_map *nmap,
|
||
action_id act_id,
|
||
const struct unit *actor,
|
||
const struct city *actor_home,
|
||
const struct tile *actor_tile,
|