Freeciv-3.3
|
#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 169 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
New city has been added to the main map.
Definition at line 161 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 226 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive city destruction to the thread.
Definition at line 240 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 177 of file texaiworld.c.
Referenced by texai_check_messages().
Send city information to the thread.
Definition at line 144 of file texaiworld.c.
Referenced by texai_city_changed(), and texai_city_created().
Get city from the tex map
Definition at line 218 of file texaiworld.c.
Referenced by texai_check_messages().
Free resources allocated for texai world map
Definition at line 102 of file texaiworld.c.
Referenced by texai_map_free_recv().
Return tex worldmap
Definition at line 94 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 110 of file texaiworld.c.
Referenced by fc_ai_tex_setup(), and texai_whole_map_copy().
Receive tile update to the thread.
Definition at line 126 of file texaiworld.c.
Referenced by texai_check_messages().
Unit (potentially) changed in main map.
Definition at line 291 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
New unit has been added to the main map.
Definition at line 283 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 338 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive unit destruction to the thread.
Definition at line 352 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 299 of file texaiworld.c.
Referenced by texai_check_messages().
Unit has moved in the main map.
Definition at line 376 of file texaiworld.c.
Referenced by fc_ai_tex_setup().
Receive unit move to the thread.
Definition at line 391 of file texaiworld.c.
Referenced by texai_check_messages().
Send unit information to the thread.
Definition at line 265 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().