Freeciv-3.2
|
Go to the source code of this file.
Data Structures | |
struct | texai_msg |
struct | texai_req |
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) |
Definition at line 16 of file texaimsg.h.
Definition at line 16 of file texaimsg.h.
#define SPECENUM_VALUE0 TEXAI_MSG_THR_EXIT |
Definition at line 17 of file texaimsg.h.
#define SPECENUM_VALUE0 TEXAI_REQ_WORKER_TASK |
Definition at line 17 of file texaimsg.h.
#define SPECENUM_VALUE0NAME "Exit" |
Definition at line 18 of file texaimsg.h.
#define SPECENUM_VALUE0NAME "WorkerTask" |
Definition at line 18 of file texaimsg.h.
#define SPECENUM_VALUE1 TEXAI_MSG_FIRST_ACTIVITIES |
Definition at line 19 of file texaimsg.h.
#define SPECENUM_VALUE1 TEXAI_REQ_TURN_DONE |
Definition at line 19 of file texaimsg.h.
#define SPECENUM_VALUE10 TEXAI_MSG_UNIT_CHANGED |
Definition at line 37 of file texaimsg.h.
#define SPECENUM_VALUE10NAME "UnitChanged" |
Definition at line 38 of file texaimsg.h.
#define SPECENUM_VALUE11 TEXAI_MSG_UNIT_DESTROYED |
Definition at line 39 of file texaimsg.h.
#define SPECENUM_VALUE11NAME "UnitDestroyed" |
Definition at line 40 of file texaimsg.h.
#define SPECENUM_VALUE12 TEXAI_MSG_UNIT_MOVED |
Definition at line 41 of file texaimsg.h.
#define SPECENUM_VALUE12NAME "UnitMoved" |
Definition at line 42 of file texaimsg.h.
#define SPECENUM_VALUE1NAME "FirstActivities" |
Definition at line 20 of file texaimsg.h.
#define SPECENUM_VALUE1NAME "TurnDone" |
Definition at line 20 of file texaimsg.h.
#define SPECENUM_VALUE2 TEXAI_MSG_PHASE_FINISHED |
Definition at line 21 of file texaimsg.h.
#define SPECENUM_VALUE2 TEXAI_BUILD_CHOICE |
Definition at line 21 of file texaimsg.h.
#define SPECENUM_VALUE2NAME "PhaseFinished" |
Definition at line 22 of file texaimsg.h.
#define SPECENUM_VALUE2NAME "BuildChoice" |
Definition at line 22 of file texaimsg.h.
#define SPECENUM_VALUE3 TEXAI_MSG_TILE_INFO |
Definition at line 23 of file texaimsg.h.
#define SPECENUM_VALUE3NAME "TileInfo" |
Definition at line 24 of file texaimsg.h.
#define SPECENUM_VALUE4 TEXAI_MSG_MAP_ALLOC |
Definition at line 25 of file texaimsg.h.
#define SPECENUM_VALUE4NAME "MapAlloc" |
Definition at line 26 of file texaimsg.h.
#define SPECENUM_VALUE5 TEXAI_MSG_MAP_FREE |
Definition at line 27 of file texaimsg.h.
#define SPECENUM_VALUE5NAME "MapFree" |
Definition at line 28 of file texaimsg.h.
#define SPECENUM_VALUE6 TEXAI_MSG_CITY_CREATED |
Definition at line 29 of file texaimsg.h.
#define SPECENUM_VALUE6NAME "CityCreated" |
Definition at line 30 of file texaimsg.h.
#define SPECENUM_VALUE7 TEXAI_MSG_CITY_CHANGED |
Definition at line 31 of file texaimsg.h.
#define SPECENUM_VALUE7NAME "CityChanged" |
Definition at line 32 of file texaimsg.h.
#define SPECENUM_VALUE8 TEXAI_MSG_CITY_DESTROYED |
Definition at line 33 of file texaimsg.h.
#define SPECENUM_VALUE8NAME "CityDestroyed" |
Definition at line 34 of file texaimsg.h.
#define SPECENUM_VALUE9 TEXAI_MSG_UNIT_CREATED |
Definition at line 35 of file texaimsg.h.
#define SPECENUM_VALUE9NAME "UnitCreated" |
Definition at line 36 of file texaimsg.h.
Definition at line 68 of file texaimsg.h.
Definition at line 68 of file texaimsg.h.
Definition at line 69 of file texaimsg.h.
Definition at line 69 of file texaimsg.h.
Time for phase first activities
Definition at line 63 of file texaimsg.c.
Referenced by texwai_first_activities(), and texwai_restart_phase().
Player phase has finished
Definition at line 71 of file texaimsg.c.
Referenced by texwai_phase_finished().
Construct and send message to player thread.
Definition at line 26 of file texaimsg.c.
Referenced by texai_city_destroyed(), texai_city_update(), texai_control_lost(), texai_first_activities(), texai_map_alloc(), texai_map_free(), texai_phase_finished(), texai_tile_info(), texai_unit_destroyed(), texai_unit_move_seen(), and texai_unit_update().
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().