Freeciv-3.3
|
#include "traits.h"
Go to the source code of this file.
Functions | |
int | ai_trait_get_value (enum trait tr, struct player *pplayer) |
void | ai_traits_init (struct player *pplayer) |
void | ai_traits_close (struct player *pplayer) |
Get current value of player trait
Definition at line 68 of file aitraits.c.
Referenced by adjust_ai_unit_choice(), api_methods_player_trait(), dai_build_adv_adjust(), dai_choose_trade_route(), dai_diplomacy_actions(), dai_effect_value(), domestic_advisor_choose_build(), and military_advisor_choose_build().
Free resources associated with player ai traits.
Definition at line 59 of file aitraits.c.
Referenced by server_remove_player().
Initialize ai traits for player
Definition at line 33 of file aitraits.c.
Referenced by generate_players(), player_nation_defaults(), sg_load_player_main(), sg_load_player_main(), sg_load_players(), and sg_load_players().