OpenTTD Source 20250205-master-gfd85ab1e2c
|
Header of Action 04 "universal holder" structure. More...
#include "core/strong_typedef_type.hpp"
Go to the source code of this file.
Data Structures | |
struct | GRFText |
A GRF text with associated language ID. More... | |
struct | LanguageMap |
Mapping of language data between a NewGRF and OpenTTD. More... | |
struct | LanguageMap::Mapping |
Mapping between NewGRF and OpenTTD IDs. More... | |
Typedefs | |
using | GRFStringID = StrongType::Typedef< uint16_t, struct GRFStringIDTag, StrongType::Compare, StrongType::Integer > |
Type for GRF-internal string IDs. | |
using | GRFTextList = std::vector< GRFText > |
A GRF text with a list of translations. | |
using | GRFTextWrapper = std::shared_ptr< GRFTextList > |
Reference counted wrapper around a GRFText pointer. | |
Variables | |
static constexpr GRFStringID | GRFSTR_MISC_GRF_TEXT {0xD000} |
Miscellaneous GRF text range. | |
static const char32_t | NFO_UTF8_IDENTIFIER = 0x00DE |
This character (thorn) indicates a unicode string to NFO. | |
Header of Action 04 "universal holder" structure.
Definition in file newgrf_text_type.h.
using GRFStringID = StrongType::Typedef<uint16_t, struct GRFStringIDTag, StrongType::Compare, StrongType::Integer> |
Type for GRF-internal string IDs.
Definition at line 16 of file newgrf_text_type.h.
using GRFTextList = std::vector<GRFText> |
A GRF text with a list of translations.
Definition at line 30 of file newgrf_text_type.h.
using GRFTextWrapper = std::shared_ptr<GRFTextList> |
Reference counted wrapper around a GRFText pointer.
Definition at line 32 of file newgrf_text_type.h.
|
staticconstexpr |
Miscellaneous GRF text range.
Definition at line 18 of file newgrf_text_type.h.
Referenced by CheckTrainAttachment(), CmdStartStopVehicle(), IndustryViewWindow::DrawInfo(), BuildIndustryWindow::DrawWidget(), BuildObjectWindow::DrawWidget(), FormatString(), GetAirportTextCallback(), GetCargoSubtypeText(), GetCargoSuffix(), GetErrorMessageFromLocationCallbackResult(), GetHouseName(), and GetNewGRFAdditionalText().
|
static |
This character (thorn) indicates a unicode string to NFO.
Definition at line 21 of file newgrf_text_type.h.
Referenced by GlobalVarChangeInfo(), and TranslateTTDPatchCodes().