14 #include <fc_config.h>
void tai_send_req(enum taireqtype type, struct player *pplayer, void *data)
Construct and send request from player thread.
void tai_send_msg(enum taimsgtype type, struct player *pplayer, void *data)
Construct and send message to player thread.
void tai_phase_finished(struct ai_type *ait, struct player *pplayer)
Player phase has finished.
void tai_first_activities(struct ai_type *ait, struct player *pplayer)
Time for phase first activities.
void tai_msg_to_thr(struct tai_msg *msg)
Send message to thread.
bool tai_thread_running(void)
Return whether player thread is running.
void tai_req_from_thr(struct tai_req *req)
Thread sends message.