Freeciv-3.3
Loading...
Searching...
No Matches
daieffects.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2002 - The Freeciv Project
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__DAI_EFFECTS_H
14#define FC__DAI_EFFECTS_H
15
16adv_want dai_effect_value(struct player *pplayer,
17 const struct adv_data *adv, const struct city *pcity,
18 const bool capital, int turns,
19 const struct effect *peffect, const int c,
20 const int nplayers);
21
22adv_want dai_content_effect_value(const struct player *pplayer,
23 const struct city *pcity,
24 int amount,
25 int num_cities,
26 int happiness_step);
27
29 const struct player *pplayer,
30 const struct city *pcity);
31
32#endif /* FC__DAI_EFFECTS_H */
char * incite_cost
Definition comments.c:76
bool dai_can_requirement_be_met_in_city(const struct requirement *preq, const struct player *pplayer, const struct city *pcity)
Definition daieffects.c:821
adv_want dai_effect_value(struct player *pplayer, const struct adv_data *adv, const struct city *pcity, const bool capital, int turns, const struct effect *peffect, const int c, const int nplayers)
Definition daieffects.c:138
adv_want dai_content_effect_value(const struct player *pplayer, const struct city *pcity, int amount, int num_cities, int happiness_step)
Definition daieffects.c:77
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 int const struct action *paction struct unit struct city * pcity
Definition dialogs_g.h:78
float adv_want
Definition fc_types.h:1063
Definition city.h:317