Freeciv-3.2
Loading...
Searching...
No Matches
ai
aitraits.h
Go to the documentation of this file.
1
/***********************************************************************
2
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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__AITRAITS_H
14
#define FC__AITRAITS_H
15
16
/* common */
17
#include "
traits.h
"
18
19
int
ai_trait_get_value
(
enum
trait tr,
struct
player
*pplayer);
20
21
void
ai_traits_init
(
struct
player
*pplayer);
22
void
ai_traits_close
(
struct
player
*pplayer);
23
24
#endif
/* FC__AITRAITS_H */
ai_traits_init
void ai_traits_init(struct player *pplayer)
Definition
aitraits.c:33
ai_trait_get_value
int ai_trait_get_value(enum trait tr, struct player *pplayer)
Definition
aitraits.c:69
ai_traits_close
void ai_traits_close(struct player *pplayer)
Definition
aitraits.c:59
player
Definition
player.h:247
traits.h
Generated on Sun Dec 22 2024 23:00:30 for Freeciv-3.2 by
1.9.8