Freeciv-3.1: /fast/freeciv/nightly/S3_1/server/aiiface.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
aiiface.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__AIIFACE_H
14#define FC__AIIFACE_H
15
16#include "ai.h" /* incident_type */
17
18void ai_init(void);
19
20 bool load_ai_module(const char *modname);
21
22const char *default_ai_type_name(void);
23
24void call_incident(enum incident_type type, enum casus_belli_range scope,
25 const struct action *paction,
26 struct player *violator, struct player *victim);
27void call_ai_refresh(void);
28
29#endif /* FC__AIIFACE_H */
ai.h
incident_type
incident_type
Definition ai.h:45
call_incident
void call_incident(enum incident_type type, enum casus_belli_range scope, const struct action *paction, struct player *violator, struct player *victim)
Definition aiiface.c:233
load_ai_module
bool load_ai_module(const char *modname)
call_ai_refresh
void call_ai_refresh(void)
Definition aiiface.c:252
ai_init
void ai_init(void)
Definition aiiface.c:133
default_ai_type_name
const char * default_ai_type_name(void)
Definition aiiface.c:262
type
GType type
Definition repodlgs.c:1312
action
Definition actions.h:379
player
Definition player.h:249