Campaign statistic headers. More...
Go to the source code of this file.
Data Structures | |
struct | stats_s |
Typedefs | |
typedef struct stats_s | stats_t |
Functions | |
void | CL_StatsUpdate_f (void) |
Shows the current stats from stats_t stats. | |
void | STATS_InitStartup (void) |
Campaign statistic headers.
Definition in file cp_statistics.h.
void CL_StatsUpdate_f | ( | void | ) |
Shows the current stats from stats_t stats.
Definition at line 36 of file cp_statistics.c.
References _, AIR_GetNextFromBase(), B_GetFoundedBaseByIDX(), stats_s::basesAttacked, stats_s::basesBuilt, ccs_s::campaignStats, ccs, employee_s::chr, Com_sprintf(), CP_GetAverageXVIRate(), CP_GetSalaryAdministrative(), CP_GetSalaryBaseEmployee(), CP_GetSalaryRankBonusEmployee(), CP_GetSalaryUpKeepBase(), CP_IsXVIResearched(), ccs_s::credits, ccs_s::curCampaign, E_GetEmployeeString(), E_GetNextHired(), i, ccs_s::installations, int(), MAX_BASES, MAX_EMPL, MAX_STATS_BUFFER, campaign_s::maxAllowedXVIRateUntilLost, stats_s::missionsLost, stats_s::missionsWon, base_s::name, nation_s::name, installation_s::name, NAT_GetFunding(), NAT_GetHappinessString(), ccs_s::nations, campaign_s::negativeCreditsUntilLost, ccs_s::numBases, ccs_s::numInstallations, ccs_s::numNations, pos, aircraft_s::price, Q_strcat(), chrScoreGlobal_s::rank, SALARY_AIRCRAFT_DIVISOR, SALARY_AIRCRAFT_FACTOR, SALARY_DEBT_INTEREST, character_s::score, TEXT_GENERIC, TEXT_STATS_BASES, TEXT_STATS_COSTS, TEXT_STATS_EMPLOYEES, TEXT_STATS_INSTALLATIONS, TEXT_STATS_MISSION, TEXT_STATS_NATIONS, employee_s::type, UI_RegisterText(), and va().
void STATS_InitStartup | ( | void | ) |
Definition at line 271 of file cp_statistics.c.
References Cmd_AddCommand().
Referenced by CP_InitStartup().