OpenTTD Source 20241224-master-gf74b0cf984
ScoreInfo Struct Reference

Data structure for storing how the score is computed for a single score id. More...

#include <economy_type.h>

Data Fields

int needed
 How much you need to get the perfect score.
 
int score
 How much score it will give.
 

Detailed Description

Data structure for storing how the score is computed for a single score id.

Definition at line 80 of file economy_type.h.

Field Documentation

◆ needed

int ScoreInfo::needed

How much you need to get the perfect score.

Definition at line 81 of file economy_type.h.

Referenced by PerformanceRatingDetailWindow::DrawWidget(), and UpdateCompanyRatingAndValue().

◆ score

int ScoreInfo::score

How much score it will give.

Definition at line 82 of file economy_type.h.

Referenced by PerformanceRatingDetailWindow::DrawWidget(), and UpdateCompanyRatingAndValue().


The documentation for this struct was generated from the following file: