Freeciv-3.2
|
#include "ai.h"
Go to the source code of this file.
Functions | |
void | ai_init (void) |
bool | load_ai_module (const char *modname) |
const char * | default_ai_type_name (void) |
void | call_incident (enum incident_type type, enum casus_belli_range scope, const struct action *paction, struct player *violator, struct player *victim) |
void | call_ai_refresh (void) |
bool | set_default_ai_type_name (const char *name) |
Call ai refresh() callback for all players.
Definition at line 256 of file aiiface.c.
Referenced by server_sniff_all_input().
void call_incident | ( | enum incident_type | type, |
enum casus_belli_range | scope, | ||
const struct action * | paction, | ||
struct player * | violator, | ||
struct player * | victim | ||
) |
Call incident function of victim.
Definition at line 237 of file aiiface.c.
Referenced by action_consequence_common(), and handle_diplomacy_cancel_pact().
Return name of default ai type.
Definition at line 266 of file aiiface.c.
Referenced by ai_init(), aifill(), api_edit_create_player(), compat_load_020400(), connection_attach_real(), create_animals(), create_barbarian_player(), create_command(), and handle_edit_player_create().