Freeciv-3.3: /fast/freeciv/nightly/main/ai/default/aidiplomat.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
aidiplomat.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__AIDIPLOMAT_H
14#define FC__AIDIPLOMAT_H
15
16#include "fc_types.h"
17
18void dai_manage_diplomat(struct ai_type *ait, struct player *pplayer,
19 struct unit *punit);
20void dai_choose_diplomat_defensive(struct ai_type *ait,
21 struct player *pplayer,
22 struct city *pcity,
23 struct adv_choice *choice, int def);
24void dai_choose_diplomat_offensive(struct ai_type *ait,
25 struct player *pplayer,
26 struct city *pcity,
27 struct adv_choice *choice);
28
29#endif /* FC__AIDIPLOMAT_H */
dai_choose_diplomat_defensive
void dai_choose_diplomat_defensive(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, int def)
Definition aidiplomat.c:115
dai_manage_diplomat
void dai_manage_diplomat(struct ai_type *ait, struct player *pplayer, struct unit *punit)
Definition aidiplomat.c:723
dai_choose_diplomat_offensive
void dai_choose_diplomat_offensive(struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice)
Definition aidiplomat.c:166
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:74
fc_types.h
adv_choice
Definition advchoice.h:45
ai_type
Definition ai.h:50
city
Definition city.h:320
player
Definition player.h:249
unit
Definition unit.h:140