OpenTTD Source  20240919-master-gdf0233f4c2
OptionData Struct Reference

Data of an option. More...

#include <getoptdata.h>

Data Fields

OptionDataType type
 The type of option.
 
char id
 Unique identification of this option data, often the same as shortname.
 
char shortname = '\0'
 Short option letter if available, else use '\0'.
 
const char * longname = nullptr
 Long option name including '-'/'–' prefix, use nullptr if not available.
 

Detailed Description

Data of an option.

Definition at line 21 of file getoptdata.h.


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