Freeciv21
Develop your civilization from humble roots to a global empire
texaimsg.c File Reference
#include <fc_config.h>
#include "texaiplayer.h"
#include "texaimsg.h"
+ Include dependency graph for texaimsg.c:

Go to the source code of this file.

Functions

void texai_send_msg (enum texaimsgtype type, struct player *pplayer, void *data)
 Construct and send message to player thread. More...
 
void texai_send_req (enum texaireqtype type, struct player *pplayer, void *data)
 Construct and send request from player thread. More...
 
void texai_first_activities (struct ai_type *ait, struct player *pplayer)
 Time for phase first activities. More...
 
void texai_phase_finished (struct ai_type *ait, struct player *pplayer)
 Player phase has finished. More...
 

Function Documentation

◆ texai_first_activities()

void texai_first_activities ( struct ai_type ait,
struct player pplayer 
)

Time for phase first activities.

Definition at line 61 of file texaimsg.c.

Referenced by texwai_first_activities(), and texwai_restart_phase().

◆ texai_phase_finished()

void texai_phase_finished ( struct ai_type ait,
struct player pplayer 
)

Player phase has finished.

Definition at line 69 of file texaimsg.c.

Referenced by texwai_phase_finished().

◆ texai_send_msg()

void texai_send_msg ( enum texaimsgtype  type,
struct player pplayer,
void *  data 
)

◆ texai_send_req()

void texai_send_req ( enum texaireqtype  type,
struct player pplayer,
void *  data 
)

Construct and send request from player thread.

Definition at line 46 of file texaimsg.c.

Referenced by texai_city_worker_requests_create().