Freeciv21
Develop your civilization from humble roots to a global empire
aihand.h
Go to the documentation of this file.
1
/**************************************************************************
2
Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3
__ __ part of Freeciv21. Freeciv21 is free software: you can
4
/ \\..// \ redistribute it and/or modify it under the terms of the GNU
5
( oo ) General Public License as published by the Free Software
6
\__/ Foundation, either version 3 of the License, or (at your
7
option) any later version. You should have received
8
a copy of the GNU General Public License along with Freeciv21. If not,
9
see https://www.gnu.org/licenses/.
10
**************************************************************************/
11
#pragma once
12
13
#include "
fc_types.h
"
14
15
void
dai_do_first_activities
(
struct
ai_type
*ait,
struct
player
*pplayer);
16
void
dai_do_last_activities
(
struct
ai_type
*ait,
struct
player
*pplayer);
17
18
void
dai_calc_data
(
const
struct
player
*pplayer,
int
*trade,
int
*expenses,
19
int
*income);
dai_calc_data
void dai_calc_data(const struct player *pplayer, int *trade, int *expenses, int *income)
Returns the total amount of trade generated (trade) and total amount of gold needed as upkeep (expens...
Definition:
aihand.cpp:111
dai_do_last_activities
void dai_do_last_activities(struct ai_type *ait, struct player *pplayer)
Activities to be done by AI after human turn.
Definition:
aihand.cpp:757
dai_do_first_activities
void dai_do_first_activities(struct ai_type *ait, struct player *pplayer)
Activities to be done by AI before human turn.
Definition:
aihand.cpp:731
fc_types.h
ai_type
Definition:
ai.h:42
player
Definition:
player.h:231
ai
default
aihand.h
Generated by
1.9.1