OpenTTD Source
1.11.0-beta2
|
@ ROAD_N
Road at the two northern edges.
@ INVALID_ROADTYPE
flag for invalid roadtype
@ ROAD_SW
South-west part.
@ ROAD_END
Out-of-range roadbits, used for iterations.
@ ROAD_X
Full road along the x-axis (south-west + north-east)
@ ROADTYPE_END
Used for iterations.
@ INVALID_ROADTYPES
Invalid roadtypes.
@ ROADTYPE_ROAD
Basic road type.
RoadBits
Enumeration for the road parts on a tile.
@ ROAD_NONE
No road-part is build.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
Informative template class exposing basic enumeration properties used by several other templates belo...
@ ROAD_E
Road at the two eastern edges.
RoadTypes
The different roadtypes we support, but then a bitmask of them.
@ ROAD_NE
North-east part.
@ ROAD_SE
South-east part.
@ ROAD_S
Road at the two southern edges.
@ ROAD_ALL
Full 4-way crossing.
@ ROADTYPE_BEGIN
Used for iterations.
RoadType
The different roadtypes we support.
@ ROAD_NW
North-west part.
@ ROAD_Y
Full road along the y-axis (north-west + south-east)
Helper template class that makes basic properties of given enumeration type visible from outsize.
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
@ ROAD_W
Road at the two western edges.
@ ROADTYPES_NONE
No roadtypes.