Freeciv-3.3
|
#include "daicity.h"
Go to the source code of this file.
Data Structures | |
struct | texai_city |
Functions | |
void | texai_city_alloc (struct ai_type *ait, struct city *pcity) |
void | texai_city_free (struct ai_type *ait, struct city *pcity) |
void | texai_city_worker_requests_create (struct ai_type *ait, struct player *pplayer, struct city *pcity) |
void | texai_city_worker_wants (struct ai_type *ait, struct player *pplayer, struct city *pcity) |
void | texai_req_worker_task_rcv (struct texai_req *req) |
static struct texai_city * | texai_city_data (struct ai_type *ait, const struct city *pcity) |
Initialize city for use with tex AI.
Definition at line 567 of file texaicity.c.
Referenced by texwai_city_alloc().
|
inlinestatic |
Definition at line 37 of file texaicity.h.
Referenced by texai_city_free(), texai_city_worker_task_select(), and texai_city_worker_wants().
Free city from use with tex AI.
Definition at line 580 of file texaicity.c.
Referenced by texwai_city_free().
void texai_city_worker_requests_create | ( | struct ai_type * | ait, |
struct player * | pplayer, | ||
struct city * | pcity | ||
) |
Create worker request for the city. Only tasks that existing units can do are created.
Definition at line 72 of file texaicity.c.
Referenced by texai_check_messages().
Set wants for worker-type units.
Definition at line 93 of file texaicity.c.
Referenced by texai_check_messages().
Receive message from thread to main thread.
Definition at line 533 of file texaicity.c.
Referenced by texai_refresh().