Freeciv-3.3
Loading...
Searching...
No Matches
Data Fields
agent Struct Reference

#include <agents.h>

Data Fields

char name [MAX_AGENT_NAME_LEN]
 
int level
 
void(* turn_start_notify )(void)
 
void(* city_callbacks [CB_LAST])(int)
 
void(* unit_callbacks [CB_LAST])(int)
 
void(* tile_callbacks [CB_LAST])(struct tile *ptile)
 

Detailed Description

Definition at line 40 of file agents.h.

Field Documentation

◆ city_callbacks

void(* agent::city_callbacks[CB_LAST])(int)

◆ level

int agent::level

Definition at line 42 of file agents.h.

Referenced by register_agent().

◆ name

char agent::name[MAX_AGENT_NAME_LEN]

Definition at line 41 of file agents.h.

Referenced by is_outstanding_request(), and wait_for_requests().

◆ tile_callbacks

void(* agent::tile_callbacks[CB_LAST])(struct tile *ptile)

Definition at line 47 of file agents.h.

Referenced by agents_tile_changed(), agents_tile_new(), and agents_tile_remove().

◆ turn_start_notify

void(* agent::turn_start_notify) (void)

Definition at line 44 of file agents.h.

Referenced by agents_new_turn().

◆ unit_callbacks

void(* agent::unit_callbacks[CB_LAST])(int)