OpenTTD Source 20241224-master-gee860a5c8e
HighScore Struct Reference

Data Fields

std::string name
 The name of the companyy and president.
 
StringID title = INVALID_STRING_ID
 NOSAVE, has troubles with changing string-numbers.
 
uint16_t score = 0
 The score for this high score. Do NOT change type, will break hs.dat.
 

Detailed Description

Definition at line 17 of file highscore.h.

Field Documentation

◆ name

std::string HighScore::name

The name of the companyy and president.

Definition at line 18 of file highscore.h.

◆ score

uint16_t HighScore::score = 0

The score for this high score. Do NOT change type, will break hs.dat.

Definition at line 20 of file highscore.h.

◆ title

StringID HighScore::title = INVALID_STRING_ID

NOSAVE, has troubles with changing string-numbers.

Definition at line 19 of file highscore.h.


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