Freeciv-3.1
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#include "fc_types.h"
17
18#include "ai.h" /* incident_type */
19
20struct Treaty;
21struct Clause;
22struct ai_data;
23
24void dai_diplomacy_begin_new_phase(struct ai_type *ait, struct player *pplayer);
25void dai_diplomacy_actions(struct ai_type *ait, struct player *pplayer);
26
27void dai_treaty_evaluate(struct ai_type *ait, struct player *pplayer,
28 struct player *aplayer, struct Treaty *ptreaty);
29void dai_treaty_accepted(struct ai_type *ait, struct player *pplayer,
30 struct player *aplayer, struct Treaty *ptreaty);
31
32void dai_incident(struct ai_type *ait, enum incident_type type,
33 enum casus_belli_range scope,
34 const struct action *paction,
35 struct player *receiver,
36 struct player *violator, struct player *victim);
37
38bool dai_on_war_footing(struct ai_type *ait, struct player *pplayer);
39
40void dai_diplomacy_first_contact(struct ai_type *ait, struct player *pplayer,
41 struct player *aplayer);
42
43#endif /* FC__DAIDIPLOMACY_H */
incident_type
Definition ai.h:45
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_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)
GType type
Definition repodlgs.c:1312
Definition ai.h:50