Freeciv-3.3
Loading...
Searching...
No Matches
server
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
18
void
ai_init
(
void
);
19
20
bool
load_ai_module
(
const
char
*
modname
);
21
22
const
char
*
default_ai_type_name
(
void
);
23
24
void
call_incident
(
enum
incident_type
type
,
enum
casus_belli_range
scope
,
25
const
struct
action
*
paction
,
26
struct
player
*
violator
,
struct
player
*
victim
);
27
void
call_ai_refresh
(
void
);
28
29
bool
set_default_ai_type_name
(
const
char
*
name
);
30
31
#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:235
load_ai_module
bool load_ai_module(const char *modname)
set_default_ai_type_name
bool set_default_ai_type_name(const char *name)
Definition
aiiface.c:273
call_ai_refresh
void call_ai_refresh(void)
Definition
aiiface.c:254
ai_init
void ai_init(void)
Definition
aiiface.c:131
default_ai_type_name
const char * default_ai_type_name(void)
Definition
aiiface.c:264
incite_cost
char * incite_cost
Definition
comments.c:76
type
GType type
Definition
repodlgs.c:1313
name
const char * name
Definition
inputfile.c:127
action
Definition
actions.h:106
player
Definition
player.h:249
Generated on Sun Dec 22 2024 22:30:37 for Freeciv-3.3 by
1.9.8