Freeciv-3.3
Loading...
Searching...
No Matches
Functions
sha.h File Reference

Go to the source code of this file.

Functions

void simple_historian_init (void)
 
void simple_historian_done (void)
 
struct tilesha_tile_recall (struct tile *ptile)
 
struct unitsha_unit_recall (int id)
 

Function Documentation

◆ sha_tile_recall()

struct tile * sha_tile_recall ( struct tile ptile)

Return pointer to tile as it was last reported to us.

Definition at line 142 of file sha.c.

◆ sha_unit_recall()

struct unit * sha_unit_recall ( int  id)

Report pointer to unit as it was last reported to us.

Definition at line 150 of file sha.c.

◆ simple_historian_done()

void simple_historian_done ( void  )

Free resources allocated for simple historian agent.

Definition at line 130 of file sha.c.

◆ simple_historian_init()

void simple_historian_init ( void  )

Initialize simple historian agent

Definition at line 104 of file sha.c.