OpenTTD Source 15.0-beta2
LoadedLanguagePack Struct Reference

Data Fields

std::unique_ptr< LanguagePack, LanguagePackDeleter > langpack
 
std::vector< std::string_view > strings
 
std::array< uint, TEXT_TAB_END > langtab_num
 Offset into langpack offs.
 
std::array< uint, TEXT_TAB_END > langtab_start
 Offset into langpack offs.
 
std::string list_separator
 Current list separator string.
 

Detailed Description

Definition at line 289 of file strings.cpp.

Field Documentation

◆ langpack

std::unique_ptr<LanguagePack, LanguagePackDeleter> LoadedLanguagePack::langpack

Definition at line 290 of file strings.cpp.

◆ langtab_num

std::array<uint, TEXT_TAB_END> LoadedLanguagePack::langtab_num

Offset into langpack offs.

Definition at line 294 of file strings.cpp.

Referenced by GetStringWithArgs(), LanguagePackGlyphSearcher::NextString(), and ReadLanguagePack().

◆ langtab_start

std::array<uint, TEXT_TAB_END> LoadedLanguagePack::langtab_start

Offset into langpack offs.

Definition at line 295 of file strings.cpp.

Referenced by LanguagePackGlyphSearcher::NextString(), and ReadLanguagePack().

◆ list_separator

std::string LoadedLanguagePack::list_separator

Current list separator string.

Definition at line 297 of file strings.cpp.

Referenced by GetListSeparator(), and ReadLanguagePack().

◆ strings

std::vector<std::string_view> LoadedLanguagePack::strings

Definition at line 292 of file strings.cpp.


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