|
OpenTTD Source 20260311-master-g511d3794ce
|
Information to handle station action 0 property 24 correctly. More...
Public Member Functions | |
| bool | IsAvailable (StringID str) const |
| Is the given station name available, and not already used? | |
| void | SetUsed (StringID str) |
| Mark the given station name as used. | |
Data Fields | |
| std::bitset< STR_SV_STNAME_FALLBACK - STR_SV_STNAME > | used_names |
| Used default station suffixes. | |
| std::bitset< NUM_INDUSTRYTYPES > | indtypes |
| Bit set indicating when an industry type has been found. | |
Information to handle station action 0 property 24 correctly.
Definition at line 229 of file station_cmd.cpp.
|
inline |
Is the given station name available, and not already used?
| str | The station name to check. |
true iff the name has not been used and is available. Definition at line 238 of file station_cmd.cpp.
References IsInsideMM().
Referenced by GenerateStationName().
|
inline |
Mark the given station name as used.
| str | The station name to mark used. |
Definition at line 248 of file station_cmd.cpp.
References IsInsideMM().
Referenced by GenerateStationName().
| std::bitset<NUM_INDUSTRYTYPES> StationNameInformation::indtypes |
Bit set indicating when an industry type has been found.
Definition at line 231 of file station_cmd.cpp.
Referenced by GenerateStationName().
| std::bitset<STR_SV_STNAME_FALLBACK - STR_SV_STNAME> StationNameInformation::used_names |
Used default station suffixes.
Definition at line 230 of file station_cmd.cpp.