![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
Include dependency graph for taimsg.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | tai_msg |
| struct | tai_req |
Macros | |
| #define | SPECENUM_NAME taimsgtype |
| #define | SPECENUM_VALUE0 TAI_MSG_THR_EXIT |
| #define | SPECENUM_VALUE0NAME "Exit" |
| #define | SPECENUM_VALUE1 TAI_MSG_FIRST_ACTIVITIES |
| #define | SPECENUM_VALUE1NAME "FirstActivities" |
| #define | SPECENUM_VALUE2 TAI_MSG_PHASE_FINISHED |
| #define | SPECENUM_VALUE2NAME "PhaseFinished" |
| #define | SPECENUM_NAME taireqtype |
| #define | SPECENUM_VALUE0 TAI_REQ_WORKER_TASK |
| #define | SPECENUM_VALUE0NAME "WorkerTask" |
| #define | SPECENUM_VALUE1 TAI_REQ_TURN_DONE |
| #define | SPECENUM_VALUE1NAME "TurnDone" |
| #define | SPECLIST_TAG taimsg |
| #define | SPECLIST_TYPE struct tai_msg |
| #define | SPECLIST_TAG taireq |
| #define | SPECLIST_TYPE struct tai_req |
Functions | |
| void | tai_send_msg (enum taimsgtype type, struct player *pplayer, void *data) |
| Construct and send message to player thread. More... | |
| void | tai_send_req (enum taireqtype type, struct player *pplayer, void *data) |
| Construct and send request from player thread. More... | |
| void | tai_first_activities (struct ai_type *ait, struct player *pplayer) |
| Time for phase first activities. More... | |
| void | tai_phase_finished (struct ai_type *ait, struct player *pplayer) |
| Player phase has finished. More... | |
Time for phase first activities.
Definition at line 59 of file taimsg.c.
Referenced by twai_first_activities(), and twai_restart_phase().
Player phase has finished.
Definition at line 67 of file taimsg.c.
Referenced by twai_phase_finished().
| void tai_send_msg | ( | enum taimsgtype | type, |
| struct player * | pplayer, | ||
| void * | data | ||
| ) |
Construct and send message to player thread.
Definition at line 24 of file taimsg.c.
Referenced by tai_control_lost(), tai_first_activities(), and tai_phase_finished().
| void tai_send_req | ( | enum taireqtype | type, |
| struct player * | pplayer, | ||
| void * | data | ||
| ) |
Construct and send request from player thread.
Definition at line 45 of file taimsg.c.
Referenced by tai_city_worker_requests_create().