Freeciv-3.3
Loading...
Searching...
No Matches
Functions
texaimsg.c File Reference
#include "texaiplayer.h"
#include "texaimsg.h"

Go to the source code of this file.

Functions

void texai_send_msg (enum texaimsgtype type, struct player *pplayer, void *data)
 
void texai_send_req (enum texaireqtype type, struct player *pplayer, void *data)
 
void texai_first_activities (struct ai_type *ait, struct player *pplayer)
 
void texai_phase_finished (struct ai_type *ait, struct player *pplayer)
 

Function Documentation

◆ texai_first_activities()

void texai_first_activities ( struct ai_type ait,
struct player pplayer 
)

Time for phase first activities

Definition at line 63 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 71 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 48 of file texaimsg.c.

Referenced by texai_check_messages(), and texai_city_worker_requests_create().