void texai_city_info_recv(void *data, enum texaimsgtype msgtype)
Receive city update to the thread.
void texai_city_created(struct city *pcity)
New city has been added to the main map.
void texai_city_destruction_recv(void *data)
Receive city destruction to the thread.
void texai_city_destroyed(struct city *pcity)
City has been removed from the main map.
void texai_unit_destroyed(struct unit *punit)
Unit has been removed from the main map.
struct civ_map * texai_map_get(void)
Return tex worldmap.
void texai_tile_info_recv(void *data)
Receive tile update to the thread.
void texai_map_close(void)
Free resources allocated for texai world map.
void texai_unit_changed(struct unit *punit)
Unit (potentially) changed in main map.
void texai_world_init(void)
Initialize world object for texai.
void texai_tile_info(struct tile *ptile)
Tile info updated on main map.
void texai_city_changed(struct city *pcity)
City on main map has (potentially) changed.
void texai_unit_move_seen(struct unit *punit)
Unit has moved in the main map.
void texai_unit_info_recv(void *data, enum texaimsgtype msgtype)
Receive unit update to the thread.
void texai_unit_created(struct unit *punit)
New unit has been added to the main map.
void texai_unit_moved_recv(void *data)
Receive unit move to the thread.
void texai_map_init(void)
Initialize world map for texai.
void texai_world_close(void)
Free resources allocated for texai world object.
void texai_unit_destruction_recv(void *data)
Receive unit destruction to the thread.
struct city * texai_map_city(int city_id)
Get city from the tex map.