Freeciv-3.3
|
Go to the source code of this file.
Functions | |
enum unit_move_result | manage_auto_explorer (struct unit *punit) |
enum unit_move_result manage_auto_explorer | ( | struct unit * | punit | ) |
Handle eXplore mode of a unit (explorers are always in eXplore mode for AI) - explores unknown territory, finds huts.
MR_OK: there is more territory to be explored. MR_DEATH: unit died. MR_PAUSE: unit cannot explore further now. Other results: unit cannot explore further.
Definition at line 277 of file autoexplorer.c.
Referenced by dai_manage_military(), dai_manage_unit(), dai_military_attack(), do_explore(), and manage_auto_explorer().