Loading

Paste #phz94hxiy

  1. // RoadTypes, with ability to get road type, tram type, or look up roadtype given subtype
  2. enum RoadTypes {
  3.     ROADTYPES_ROAD_BASE = 0,
  4.     ROADTYPES_ROAD_LENGTH = 4,    ///< Number of bit
  5.     ROADTYPES_INVALID_ROAD = 0x7, ///< Road-type denoting 'no road'.
  6.  
  7.     ROADTYPES_TRAM_BASE = 4,      ///< Start bit of the tram types.
  8.     ROADTYPES_TRAM_LENGTH = 4,    ///< Number of bits for the tram types.
  9.     ROADTYPES_INVALID_TRAM = 0x7, ///< Tram-type denoting 'no tram'.
  10. };

Comments