Freeciv-3.2: /fast/freeciv/nightly/S3_2/server/advisors/autoexplorer.h File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions
autoexplorer.h File Reference

Go to the source code of this file.

## Functions

enum unit_move_result | manage_auto_explorer (struct unit *punit)

## 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 273 of file autoexplorer.c.

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