Freeciv21
Develop your civilization from humble roots to a global empire
aiiface.h
Go to the documentation of this file.
1
/*__ ___ ***************************************
2
/ \ / \ Copyright (c) 1996-2020 Freeciv21 and Freeciv
3
\_ \ / __/ contributors. This file is part of Freeciv21.
4
_\ \ / /__ Freeciv21 is free software: you can redistribute it
5
\___ \____/ __/ and/or modify it under the terms of the GNU General
6
\_ _/ Public License as published by the Free Software
7
| @ @ \_ Foundation, either version 3 of the License,
8
| or (at your option) any later version.
9
_/ /\ You should have received a copy of the GNU
10
/o) (o/\ \_ General Public License along with Freeciv21.
11
\_____/ / If not, see https://www.gnu.org/licenses/.
12
\____/ ********************************************************/
13
#pragma once
14
15
#include "
ai.h
"
// incident_type
16
17
void
ai_init
();
18
19
bool
load_ai_module
(
const
char
*modname);
20
21
const
char
*
default_ai_type_name
();
22
23
void
call_incident
(
enum
incident_type
type,
enum
casus_belli_range scope,
24
const
struct
action
*paction,
struct
player
*violator,
25
struct
player
*victim);
26
void
call_ai_refresh
();
ai.h
incident_type
incident_type
Definition:
ai.h:40
call_ai_refresh
void call_ai_refresh()
Call ai refresh() callback for all players.
Definition:
aiiface.cpp:256
call_incident
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:
aiiface.cpp:235
load_ai_module
bool load_ai_module(const char *modname)
ai_init
void ai_init()
Initialize ai stuff.
Definition:
aiiface.cpp:132
default_ai_type_name
const char * default_ai_type_name()
Return name of default ai type.
Definition:
aiiface.cpp:265
action
Definition:
actions.h:305
player
Definition:
player.h:231
server
aiiface.h
Generated by
1.9.1