OpenTTD Source: ScoreInfo Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
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 86 of file economy_type.h.

## Field Documentation

## ◆ needed

int ScoreInfo::needed

How much you need to get the perfect score.

Definition at line 87 of file economy_type.h.

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

## ◆ score

int ScoreInfo::score

How much score it will give.

Definition at line 88 of file economy_type.h.

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

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

- src/economy_type.h