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)
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__DIPLOMATS_H
14 #define FC__DIPLOMATS_H
18 bool diplomat_embassy(struct player
*pplayer
, struct unit
*pdiplomat
,
19 struct city
*pcity
, const struct action
*paction
);
20 bool diplomat_investigate(struct player
*pplayer
, struct unit
*pdiplomat
,
22 const struct action
*paction
);
23 void spy_send_sabotage_list(struct connection
*pc
, struct unit
*pdiplomat
,
25 const struct action
*paction
);
26 bool spy_poison(struct player
*pplayer
, struct unit
*pdiplomat
,
27 struct city
*pcity
, const struct action
*paction
);
28 bool spy_sabotage_unit(struct player
*pplayer
, struct unit
*pdiplomat
,
30 const struct action
*paction
);
31 bool diplomat_bribe(struct player
*pplayer
, struct unit
*pdiplomat
,
32 struct unit
*pvictim
, const struct action
*paction
);
33 bool diplomat_get_tech(struct player
*pplayer
, struct unit
*pdiplomat
,
34 struct city
*pcity
, int technology
,
35 const struct action
*paction
);
36 bool diplomat_incite(struct player
*pplayer
, struct unit
*pdiplomat
,
37 struct city
*pcity
, const struct action
*paction
);
38 bool diplomat_sabotage(struct player
*pplayer
, struct unit
*pdiplomat
,
39 struct city
*pcity
, Impr_type_id improvement
,
40 const struct action
*paction
);
41 bool spy_steal_gold(struct player
*act_player
, struct unit
*act_unit
,
42 struct city
*tgt_city
,
43 const struct action
*paction
);
44 bool spy_steal_some_maps(struct player
*act_player
, struct unit
*act_unit
,
45 struct city
*tgt_city
,
46 const struct action
*paction
);
47 bool spy_nuke_city(struct player
*act_player
, struct unit
*act_unit
,
48 struct city
*tgt_city
, const struct action
*paction
);
50 int count_diplomats_on_tile(struct tile
*ptile
);
52 #endif /* FC__DIPLOMATS_H */