Multiply AI want for Great Wonders by 1.5
[freeciv.git] / client / agents / cma_fec.h
blobfebc23a671b3b597d409dd05e5fd992bdef55a99
1 /***********************************************************************
2 Freeciv - Copyright (C) 2001 - R. Falke
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.
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 ***********************************************************************/
14 #ifndef FC__CMAFEC_H
15 #define FC__CMAFEC_H
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 /* client/agents */
22 #include "cma_core.h"
24 void cmafec_init(void);
25 void cmafec_free(void);
27 void cmafec_set_fe_parameter(struct city *pcity,
28 const struct cm_parameter *const parameter);
29 void cmafec_get_fe_parameter(struct city *pcity,
30 struct cm_parameter *dest);
32 const char *cmafec_get_short_descr(const struct cm_parameter *const
33 parameter);
34 const char *cmafec_get_short_descr_of_city(const struct city *pcity);
35 const char *cmafec_get_result_descr(struct city *pcity,
36 const struct cm_result *result,
37 const struct cm_parameter *const
38 parameter);
41 * Preset handling
43 void cmafec_preset_add(const char *descr_name, struct cm_parameter *pparam);
44 void cmafec_preset_remove(int idx);
45 int cmafec_preset_get_index_of_parameter(const struct cm_parameter
46 *const parameter);
47 char *cmafec_preset_get_descr(int idx);
48 const struct cm_parameter *cmafec_preset_get_parameter(int idx);
49 int cmafec_preset_num(void);
51 void create_default_cma_presets(void);
53 #ifdef __cplusplus
55 #endif /* __cplusplus */
57 #endif /* FC__CMAFEC_H */