37 const struct city *pcity)
void * city_ai_data(const struct city *pcity, const struct ai_type *ai)
Return pointer to ai data of given city and ai type.
void texai_city_alloc(struct ai_type *ait, struct city *pcity)
Initialize city for use with tex AI.
void texai_city_free(struct ai_type *ait, struct city *pcity)
Free city from use with tex AI.
void texai_city_worker_requests_create(struct ai_type *ait, struct player *pplayer, struct city *pcity)
Create worker request for the city.
static struct texai_city * texai_city_data(struct ai_type *ait, const struct city *pcity)
void texai_city_worker_wants(struct ai_type *ait, struct player *pplayer, struct city *pcity)
Set wants for worker-type units.
void texai_req_worker_task_rcv(struct texai_req *req)
Receive message from thread to main thread.