Freeciv-3.2
|
#include "idex.h"
#include "map.h"
#include "world_object.h"
#include "infracache.h"
#include "texaiplayer.h"
#include "texaiworld.h"
Go to the source code of this file.
Data Structures | |
struct | texai_tile_info_msg |
struct | texai_city_info_msg |
struct | texai_id_msg |
struct | texai_unit_info_msg |
struct | texai_unit_move_msg |
Variables | |
static struct world | texai_world |
City on main map has (potentially) changed.
Definition at line 170 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
New city has been added to the main map.
Definition at line 162 of file texaiworld.c.
Referenced by fc_ai_tex_setup(), and texai_control_gained().
City has been removed from the main map.
Definition at line 227 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive city destruction to the thread.
Definition at line 241 of file texaiworld.c.
Referenced by texai_check_messages().
void texai_city_info_recv | ( | void * | data, |
enum texaimsgtype | msgtype | ||
) |
Receive city update to the thread.
Definition at line 178 of file texaiworld.c.
Referenced by texai_check_messages().
Send city information to the thread.
Definition at line 145 of file texaiworld.c.
Referenced by texai_city_changed(), and texai_city_created().
Get city from the tex map
Definition at line 219 of file texaiworld.c.
Referenced by texai_check_messages().
Free resources allocated for texai world map
Definition at line 103 of file texaiworld.c.
Referenced by texai_map_free_recv().
Return tex worldmap
Definition at line 95 of file texaiworld.c.
Referenced by texai_check_messages().
Initialize world map for texai
Definition at line 85 of file texaiworld.c.
Referenced by texai_map_alloc_recv(), and texai_thread_start().
Tile info updated on main map. Send update to tex map.
Definition at line 111 of file texaiworld.c.
Referenced by fc_ai_tex_setup(), and texai_whole_map_copy().
Receive tile update to the thread.
Definition at line 127 of file texaiworld.c.
Referenced by texai_check_messages().
Unit (potentially) changed in main map.
Definition at line 292 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
New unit has been added to the main map.
Definition at line 284 of file texaiworld.c.
Referenced by fc_ai_tex_setup(), and texai_control_gained().
Unit has been removed from the main map.
Definition at line 339 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive unit destruction to the thread.
Definition at line 353 of file texaiworld.c.
Referenced by texai_check_messages().
void texai_unit_info_recv | ( | void * | data, |
enum texaimsgtype | msgtype | ||
) |
Receive unit update to the thread.
Definition at line 300 of file texaiworld.c.
Referenced by texai_check_messages().
Unit has moved in the main map.
Definition at line 377 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive unit move to the thread.
Definition at line 392 of file texaiworld.c.
Referenced by texai_check_messages().
Send unit information to the thread.
Definition at line 266 of file texaiworld.c.
Referenced by texai_unit_changed(), and texai_unit_created().
Free resources allocated for texai world object
Definition at line 77 of file texaiworld.c.
Referenced by texai_thread_start().
Initialize world object for texai
Definition at line 69 of file texaiworld.c.
Referenced by texai_thread_start().
Definition at line 31 of file texaiworld.c.
Referenced by texai_city_destruction_recv(), texai_city_info_recv(), texai_map_city(), texai_map_close(), texai_map_get(), texai_map_init(), texai_tile_info_recv(), texai_unit_destruction_recv(), texai_unit_info_recv(), texai_unit_moved_recv(), texai_world_close(), and texai_world_init().