Freeciv-3.3: /fast/freeciv/nightly/main/ai/aitraits.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
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
19int ai_trait_get_value(enum trait tr, struct player *pplayer);
20
21void ai_traits_init(struct player *pplayer);
22void 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:68
ai_traits_close
void ai_traits_close(struct player *pplayer)
Definition aitraits.c:59
player
Definition player.h:249
traits.h