Freeciv-3.2
Loading...
Searching...
No Matches
daidiplomacy.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2003 - The Freeciv Team
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__DAIDIPLOMACY_H
14#define FC__DAIDIPLOMACY_H
15
16/* common */
17#include "fc_types.h"
18
19#include "ai.h" /* incident_type */
20
21struct Treaty;
22struct Clause;
23struct ai_data;
24
25void dai_diplomacy_begin_new_phase(struct ai_type *ait, struct player *pplayer);
26void dai_diplomacy_actions(struct ai_type *ait, struct player *pplayer);
27
28void dai_treaty_evaluate(struct ai_type *ait, struct player *pplayer,
29 struct player *aplayer, struct Treaty *ptreaty);
30void dai_treaty_accepted(struct ai_type *ait, struct player *pplayer,
31 struct player *aplayer, struct Treaty *ptreaty);
32
33void dai_incident(struct ai_type *ait, enum incident_type type,
35 const struct action *paction,
36 struct player *receiver,
37 struct player *violator, struct player *victim);
38
39bool dai_on_war_footing(struct ai_type *ait, struct player *pplayer);
40
41void dai_diplomacy_first_contact(struct ai_type *ait, struct player *pplayer,
42 struct player *aplayer);
43
44void dai_revolution_start(struct ai_type *ait, struct player *pplayer);
45
46#endif /* FC__DAIDIPLOMACY_H */
incident_type
Definition ai.h:45
char * incite_cost
Definition comments.c:75
void dai_treaty_accepted(struct ai_type *ait, struct player *pplayer, struct player *aplayer, struct Treaty *ptreaty)
void dai_incident(struct ai_type *ait, enum incident_type type, enum casus_belli_range scope, const struct action *paction, struct player *receiver, struct player *violator, struct player *victim)
bool dai_on_war_footing(struct ai_type *ait, struct player *pplayer)
void dai_revolution_start(struct ai_type *ait, struct player *pplayer)
void dai_diplomacy_actions(struct ai_type *ait, struct player *pplayer)
void dai_diplomacy_begin_new_phase(struct ai_type *ait, struct player *pplayer)
void dai_treaty_evaluate(struct ai_type *ait, struct player *pplayer, struct player *aplayer, struct Treaty *ptreaty)
void dai_diplomacy_first_contact(struct ai_type *ait, struct player *pplayer, struct player *aplayer)
struct Treaty * ptreaty
Definition diplodlg_g.h:28
GType type
Definition repodlgs.c:1313
Definition ai.h:50