Freeciv-3.2
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 */
char * incite_cost
Definition comments.c:75
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:74
Definition city.h:320
Definition tile.h:50
Definition unit.h:138
void texai_city_info_recv(void *data, enum texaimsgtype msgtype)
Definition texaiworld.c:178
struct civ_map * texai_map_get(void)
Definition texaiworld.c:95
void texai_city_created(struct city *pcity)
Definition texaiworld.c:162
void texai_city_destruction_recv(void *data)
Definition texaiworld.c:241
void texai_city_destroyed(struct city *pcity)
Definition texaiworld.c:227
void texai_unit_destroyed(struct unit *punit)
Definition texaiworld.c:339
void texai_tile_info_recv(void *data)
Definition texaiworld.c:127
void texai_map_close(void)
Definition texaiworld.c:103
void texai_unit_changed(struct unit *punit)
Definition texaiworld.c:292
void texai_world_init(void)
Definition texaiworld.c:69
void texai_tile_info(struct tile *ptile)
Definition texaiworld.c:111
void texai_city_changed(struct city *pcity)
Definition texaiworld.c:170
void texai_unit_move_seen(struct unit *punit)
Definition texaiworld.c:377
void texai_unit_info_recv(void *data, enum texaimsgtype msgtype)
Definition texaiworld.c:300
void texai_unit_created(struct unit *punit)
Definition texaiworld.c:284
struct city * texai_map_city(int city_id)
Definition texaiworld.c:219
void texai_unit_moved_recv(void *data)
Definition texaiworld.c:392
void texai_map_init(void)
Definition texaiworld.c:85
void texai_world_close(void)
Definition texaiworld.c:77
void texai_unit_destruction_recv(void *data)
Definition texaiworld.c:353