Freeciv21
Develop your civilization from humble roots to a global empire
player_score Struct Reference

#include <player.h>

Public Attributes

int happy
 
int content
 
int unhappy
 
int angry
 
int specialists [SP_MAX]
 
int wonders
 
int techs
 
int techout
 
int goldout
 
int landarea
 
int settledarea
 
int population
 
int cities
 
int improvements
 
int all_wonders
 
int units
 
int pollution
 
int literacy
 
int bnp
 
int mfg
 
int food
 
int spaceship
 
int units_built
 
int units_killed
 
int units_lost
 
int culture
 
int game
 

Detailed Description

Definition at line 75 of file player.h.

Member Data Documentation

◆ all_wonders

int player_score::all_wonders

Definition at line 90 of file player.h.

Referenced by calc_civ_score(), and get_all_wonders().

◆ angry

int player_score::angry

◆ bnp

int player_score::bnp

Definition at line 94 of file player.h.

Referenced by calc_civ_score(), get_economics(), sg_load_player_main(), and sg_save_player_main().

◆ cities

int player_score::cities

Definition at line 88 of file player.h.

Referenced by calc_civ_score(), get_cities(), sg_load_player_main(), and sg_save_player_main().

◆ content

int player_score::content

◆ culture

int player_score::culture

◆ food

int player_score::food

Definition at line 96 of file player.h.

Referenced by calc_civ_score(), and get_agriculture().

◆ game

◆ goldout

int player_score::goldout

Definition at line 84 of file player.h.

Referenced by calc_civ_score(), and get_income().

◆ happy

int player_score::happy

◆ improvements

int player_score::improvements

Definition at line 89 of file player.h.

Referenced by calc_civ_score(), and get_improvements().

◆ landarea

int player_score::landarea

Definition at line 85 of file player.h.

Referenced by calc_civ_score(), get_landarea(), sg_load_player_main(), and sg_save_player_main().

◆ literacy

int player_score::literacy

◆ mfg

int player_score::mfg

◆ pollution

int player_score::pollution

Definition at line 92 of file player.h.

Referenced by calc_civ_score(), get_pollution(), sg_load_player_main(), and sg_save_player_main().

◆ population

int player_score::population

Definition at line 87 of file player.h.

Referenced by calc_civ_score(), get_population(), sg_load_player_main(), and sg_save_player_main().

◆ settledarea

int player_score::settledarea

Definition at line 86 of file player.h.

Referenced by calc_civ_score(), get_settledarea(), sg_load_player_main(), and sg_save_player_main().

◆ spaceship

int player_score::spaceship

◆ specialists

int player_score::specialists[SP_MAX]

◆ techout

int player_score::techout

◆ techs

int player_score::techs

◆ unhappy

int player_score::unhappy

◆ units

int player_score::units

◆ units_built

◆ units_killed

int player_score::units_killed

◆ units_lost

int player_score::units_lost

◆ wonders

int player_score::wonders