Freeciv21
Develop your civilization from humble roots to a global empire
autoexplorer.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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. More...
 

Function Documentation

◆ manage_auto_explorer()

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 197 of file autoexplorer.cpp.

Referenced by dai_manage_military(), dai_manage_unit(), dai_military_attack(), and do_explore().