34 for (tr = trait_begin(); tr != trait_end(); tr = trait_next(tr)) {
void ai_traits_init(struct player *pplayer)
Initialize ai traits for player.
int ai_trait_get_value(enum trait tr, struct player *pplayer)
Get current value of player trait.
void ai_traits_close(struct player *pplayer)
Free resources associated with player ai traits.
#define CLIP(lower, current, upper)
struct civ_game::@28::@32 server
struct nation_type::@48::@50 server
std::vector< ai_trait > traits
struct player_ai ai_common
struct nation_type * nation