Freeciv-3.1
Loading...
Searching...
No Matches
common
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
21
extern
"C"
{
22
#endif
/* __cplusplus */
23
24
enum
fc_tristate
25
mke_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
31
enum
fc_tristate
32
mke_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
39
bool
can_see_techs_of_target
(
const
struct
player
*pov_player,
40
const
struct
player
*target_player);
41
42
#ifdef __cplusplus
43
}
44
#endif
/* __cplusplus */
45
46
#endif
/* FC_META_KNOWLEDGE_H */
reqs
struct @21::@22 reqs
req_problem_type
req_problem_type
Definition
fc_types.h:584
can_see_techs_of_target
bool can_see_techs_of_target(const struct player *pov_player, const struct player *target_player)
Definition
metaknowledge.c:688
mke_eval_reqs
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)
Definition
metaknowledge.c:662
mke_eval_req
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)
Definition
metaknowledge.c:636
requirements.h
fc_tristate
fc_tristate
Definition
shared.h:46
player
Definition
player.h:249
req_context
Definition
requirements.h:99
requirement
Definition
requirements.h:80
Generated on Sun Jan 5 2025 22:00:34 for Freeciv-3.1 by
1.9.8