When mixer is not available, recommend SDL2_mixer instead of SDL1.2 mixer
[freeciv.git] / server / diplomats.h
blobe60d638e882cfcafd5cb51b363ade08adfac7909
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.
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
16 #include "fc_types.h"
18 void diplomat_embassy(struct player *pplayer, struct unit *pdiplomat,
19 struct city *pcity);
20 void diplomat_investigate(struct player *pplayer, struct unit *pdiplomat,
21 struct city *pcity);
22 void spy_send_sabotage_list(struct connection *pc, struct unit *pdiplomat,
23 struct city *pcity);
24 void spy_poison(struct player *pplayer, struct unit *pdiplomat,
25 struct city *pcity);
26 void spy_sabotage_unit(struct player *pplayer, struct unit *pdiplomat,
27 struct unit *pvictim);
28 void diplomat_bribe(struct player *pplayer, struct unit *pdiplomat,
29 struct unit *pvictim);
30 void diplomat_get_tech(struct player *pplayer, struct unit *pdiplomat,
31 struct city *pcity, int technology,
32 const enum gen_action action_id);
33 void diplomat_incite(struct player *pplayer, struct unit *pdiplomat,
34 struct city *pcity);
35 void diplomat_sabotage(struct player *pplayer, struct unit *pdiplomat,
36 struct city *pcity, Impr_type_id improvement,
37 const enum gen_action action_id);
38 void spy_steal_gold(struct player *act_player, struct unit *act_unit,
39 struct city *tgt_city);
41 int count_diplomats_on_tile(struct tile *ptile);
43 #endif /* FC__DIPLOMATS_H */