Freeciv21
Develop your civilization from humble roots to a global empire
score.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 calc_civ_score(struct player *pplayer);
16 
17 int get_civ_score(const struct player *pplayer);
18 
19 int total_player_citizens(const struct player *pplayer);
20 
21 void rank_users(bool);
void calc_civ_score(struct player *pplayer)
Calculates the civilization score for the player.
Definition: score.cpp:255
void rank_users(bool)
At the end of a game, figure the winners and losers of the game and output to a suitable place.
Definition: score.cpp:440
int get_civ_score(const struct player *pplayer)
Return the civilization score (a numerical value) for the player.
Definition: score.cpp:380
int total_player_citizens(const struct player *pplayer)
Return the total number of citizens in the player's nation.
Definition: score.cpp:408
Definition: player.h:231