Freeciv-3.2
Loading...
Searching...
No Matches
ai
default
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
16
adv_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
22
adv_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
28
bool
dai_can_requirement_be_met_in_city
(
const
struct
requirement
*
preq
,
29
const
struct
player
*pplayer,
30
const
struct
city
*pcity);
31
32
#endif
/* FC__DAI_EFFECTS_H */
incite_cost
char * incite_cost
Definition
comments.c:75
dai_can_requirement_be_met_in_city
bool dai_can_requirement_be_met_in_city(const struct requirement *preq, const struct player *pplayer, const struct city *pcity)
Definition
daieffects.c:782
dai_effect_value
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
dai_content_effect_value
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
adv_want
float adv_want
Definition
fc_types.h:1354
adv_data
Definition
advdata.h:50
city
Definition
city.h:320
effect
Definition
effects.h:365
player
Definition
player.h:247
requirement
Definition
requirements.h:81
Generated on Sun Dec 22 2024 23:00:30 for Freeciv-3.2 by
1.9.8