Freeciv-3.1: /fast/freeciv/nightly/S3_1/ai/tex/texaiworld.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
texaiworld.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__TEXAIWORLD_H
14#define FC__TEXAIWORLD_H
15
16#include "texaimsg.h"
17
18void texai_world_init(void);
19void texai_world_close(void);
20
21void texai_map_init(void);
22void texai_map_close(void);
23struct civ_map *texai_map_get(void);
24
25void texai_tile_info(struct tile *ptile);
26void texai_tile_info_recv(void *data);
27
28void texai_city_created(struct city *pcity);
29void texai_city_changed(struct city *pcity);
30void texai_city_info_recv(void *data, enum texaimsgtype msgtype);
31void texai_city_destroyed(struct city *pcity);
32void texai_city_destruction_recv(void *data);
33struct city *texai_map_city(int city_id);
34
35void texai_unit_created(struct unit *punit);
36void texai_unit_changed(struct unit *punit);
37void texai_unit_info_recv(void *data, enum texaimsgtype msgtype);
38void texai_unit_destroyed(struct unit *punit);
39void texai_unit_destruction_recv(void *data);
40void texai_unit_move_seen(struct unit *punit);
41void texai_unit_moved_recv(void *data);
42
43#endif /* FC__TEXAIWORLD_H */
punit
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
Definition dialogs_g.h:73
city
Definition city.h:309
civ_map
Definition map_types.h:71
tile
Definition tile.h:49
unit
Definition unit.h:138
texaimsg.h
texai_city_info_recv
void texai_city_info_recv(void *data, enum texaimsgtype msgtype)
Definition texaiworld.c:177
texai_map_get
struct civ_map * texai_map_get(void)
Definition texaiworld.c:94
texai_city_created
void texai_city_created(struct city *pcity)
Definition texaiworld.c:161
texai_city_destruction_recv
void texai_city_destruction_recv(void *data)
Definition texaiworld.c:240
texai_city_destroyed
void texai_city_destroyed(struct city *pcity)
Definition texaiworld.c:226
texai_unit_destroyed
void texai_unit_destroyed(struct unit *punit)
Definition texaiworld.c:338
texai_tile_info_recv
void texai_tile_info_recv(void *data)
Definition texaiworld.c:126
texai_map_close
void texai_map_close(void)
Definition texaiworld.c:102
texai_unit_changed
void texai_unit_changed(struct unit *punit)
Definition texaiworld.c:291
texai_world_init
void texai_world_init(void)
Definition texaiworld.c:69
texai_tile_info
void texai_tile_info(struct tile *ptile)
Definition texaiworld.c:110
texai_city_changed
void texai_city_changed(struct city *pcity)
Definition texaiworld.c:169
texai_unit_move_seen
void texai_unit_move_seen(struct unit *punit)
Definition texaiworld.c:376
texai_unit_info_recv
void texai_unit_info_recv(void *data, enum texaimsgtype msgtype)
Definition texaiworld.c:299
texai_unit_created
void texai_unit_created(struct unit *punit)
Definition texaiworld.c:283
texai_map_city
struct city * texai_map_city(int city_id)
Definition texaiworld.c:218
texai_unit_moved_recv
void texai_unit_moved_recv(void *data)
Definition texaiworld.c:391
texai_map_init
void texai_map_init(void)
Definition texaiworld.c:85
texai_world_close
void texai_world_close(void)
Definition texaiworld.c:77
texai_unit_destruction_recv
void texai_unit_destruction_recv(void *data)
Definition texaiworld.c:352