Freeciv-3.2
Loading...
Searching...
No Matches
metaknowledge.h
Go to the documentation of this file.
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.
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
14#ifndef FC_META_KNOWLEDGE_H
15#define FC_META_KNOWLEDGE_H
16
17/* common */
18#include "requirements.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24enum fc_tristate
25mke_eval_req(const struct player *pov_player,
26 const struct req_context *context,
27 const struct player *other_player,
28 const struct requirement *req,
29 const enum req_problem_type prob_type);
30
31enum fc_tristate
32mke_eval_reqs(const struct player *pov_player,
33 const struct req_context *context,
34 const struct player *other_player,
35 const struct requirement_vector *reqs,
36 const enum req_problem_type prob_type);
37
38
40 const struct player *target_player);
41
42#ifdef __cplusplus
43}
44#endif /* __cplusplus */
45
46#endif /* FC_META_KNOWLEDGE_H */
char * incite_cost
Definition comments.c:75
struct @21::@22 reqs
req_problem_type
Definition fc_types.h:699
bool can_see_techs_of_target(const struct player *pov_player, const struct player *target_player)
enum fc_tristate mke_eval_reqs(const struct player *pov_player, const struct req_context *context, const struct player *other_player, const struct requirement_vector *reqs, const enum req_problem_type prob_type)
enum fc_tristate mke_eval_req(const struct player *pov_player, const struct req_context *context, const struct player *other_player, const struct requirement *req, const enum req_problem_type prob_type)
fc_tristate
Definition shared.h:46