Freeciv-3.2
Loading...
Searching...
No Matches
diplomats.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__DIPLOMATS_H
14#define FC__DIPLOMATS_H
15
16#include "fc_types.h"
17
18bool diplomat_embassy(struct player *pplayer, struct unit *pdiplomat,
19 struct city *pcity, const struct action *paction);
20bool diplomat_investigate(struct player *pplayer, struct unit *pdiplomat,
21 struct city *pcity,
22 const struct action *paction);
24 struct city *pcity,
25 const struct action *paction,
26 int request_kind);
27bool spy_poison(struct player *pplayer, struct unit *pdiplomat,
28 struct city *pcity, const struct action *paction);
29bool spy_spread_plague(struct player *act_player, struct unit *act_unit,
30 struct city *tgt_city, const struct action *paction);
31bool spy_sabotage_unit(struct player *pplayer, struct unit *pdiplomat,
32 struct unit *pvictim,
33 const struct action *paction);
34bool diplomat_bribe(struct player *pplayer, struct unit *pdiplomat,
35 struct unit *pvictim, const struct action *paction);
36bool spy_attack(struct player *act_player, struct unit *act_unit,
37 struct tile *tgt_tile, const struct action *paction);
39 struct city *pcity);
40bool diplomat_get_tech(struct player *pplayer, struct unit *pdiplomat,
41 struct city *pcity, int technology,
42 const struct action *paction);
43bool diplomat_incite(struct player *pplayer, struct unit *pdiplomat,
44 struct city *pcity, const struct action *paction);
45bool diplomat_sabotage(struct player *pplayer, struct unit *pdiplomat,
46 struct city *pcity, Impr_type_id improvement,
47 const struct action *paction);
48bool spy_steal_gold(struct player *act_player, struct unit *act_unit,
49 struct city *tgt_city,
50 const struct action *paction);
52 struct city *tgt_city,
53 const struct action *paction);
54bool spy_nuke_city(struct player *act_player, struct unit *act_unit,
55 struct city *tgt_city, const struct action *paction);
56bool spy_escape(struct player *pplayer,
57 struct unit *actor_unit,
58 struct city *target_city,
59 struct tile *target_tile,
60 const struct action *paction);
61
62int count_diplomats_on_tile(struct tile *ptile);
63
64#endif /* FC__DIPLOMATS_H */
char * incite_cost
Definition comments.c:75
struct unit * actor_unit
Definition dialogs_g.h:55
struct unit struct city struct unit struct tile * target_tile
Definition dialogs_g.h:57
struct unit struct city * target_city
Definition dialogs_g.h:56
bool spy_escape(struct player *pplayer, struct unit *actor_unit, struct city *target_city, struct tile *target_tile, const struct action *paction)
Definition diplomats.c:2346
bool spy_steal_some_maps(struct player *act_player, struct unit *act_unit, struct city *tgt_city, const struct action *paction)
Definition diplomats.c:1698
int diplomats_unignored_tech_stealings(struct unit *pdiplomat, struct city *pcity)
Definition diplomats.c:850
bool spy_sabotage_unit(struct player *pplayer, struct unit *pdiplomat, struct unit *pvictim, const struct action *paction)
Definition diplomats.c:548
bool diplomat_embassy(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, const struct action *paction)
Definition diplomats.c:483
void spy_send_sabotage_list(struct connection *pc, struct unit *pdiplomat, struct city *pcity, const struct action *paction, int request_kind)
Definition diplomats.c:429
bool diplomat_get_tech(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, int technology, const struct action *paction)
Definition diplomats.c:891
bool diplomat_sabotage(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, Impr_type_id improvement, const struct action *paction)
Definition diplomats.c:1284
bool diplomat_incite(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, const struct action *paction)
Definition diplomats.c:1135
bool spy_steal_gold(struct player *act_player, struct unit *act_unit, struct city *tgt_city, const struct action *paction)
Definition diplomats.c:1556
bool spy_spread_plague(struct player *act_player, struct unit *act_unit, struct city *tgt_city, const struct action *paction)
Definition diplomats.c:214
bool spy_nuke_city(struct player *act_player, struct unit *act_unit, struct city *tgt_city, const struct action *paction)
Definition diplomats.c:1834
bool diplomat_investigate(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, const struct action *paction)
Definition diplomats.c:324
bool diplomat_bribe(struct player *pplayer, struct unit *pdiplomat, struct unit *pvictim, const struct action *paction)
Definition diplomats.c:643
bool spy_attack(struct player *act_player, struct unit *act_unit, struct tile *tgt_tile, const struct action *paction)
Definition diplomats.c:807
bool spy_poison(struct player *pplayer, struct unit *pdiplomat, struct city *pcity, const struct action *paction)
Definition diplomats.c:97
int count_diplomats_on_tile(struct tile *ptile)
Definition diplomats.c:2377
int Impr_type_id
Definition fc_types.h:376
Definition city.h:320
Definition tile.h:50
Definition unit.h:138