Stop sharing requirement_unit_state_ereq().
[freeciv.git] / common / metaknowledge.h
blob89cfa0487b447017133d80dd478cd04afc5fbb95
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996-2013 - Freeciv Development 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.
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_META_KNOWLEDGE_H
15 #define FC_META_KNOWLEDGE_H
17 /* common */
18 #include "requirements.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
24 enum fc_tristate
25 mke_eval_req(const struct player *pow_player,
26 const struct player *target_player,
27 const struct player *other_player,
28 const struct city *target_city,
29 const struct impr_type *target_building,
30 const struct tile *target_tile,
31 const struct unit *target_unit,
32 const struct output_type *target_output,
33 const struct specialist *target_specialist,
34 const struct requirement *req,
35 const enum req_problem_type prob_type);
37 enum fc_tristate
38 mke_eval_reqs(const struct player *pow_player,
39 const struct player *target_player,
40 const struct player *other_player,
41 const struct city *target_city,
42 const struct impr_type *target_building,
43 const struct tile *target_tile,
44 const struct unit *target_unit,
45 const struct output_type *target_output,
46 const struct specialist *target_specialist,
47 const struct requirement_vector *reqs,
48 const enum req_problem_type prob_type);
51 bool can_see_techs_of_target(const struct player *pow_player,
52 const struct player *target_player);
54 #ifdef __cplusplus
56 #endif /* __cplusplus */
58 #endif /* FC_META_KNOWLEDGE_H */