Adding of _t to (u)int types, and WChar to char32_t

See: eaae0bb5e
This commit is contained in:
Jonathan G Rennison
2024-01-07 16:41:53 +00:00
parent 55d78a23be
commit 97e6f3062e
655 changed files with 7555 additions and 7555 deletions

View File

@@ -12,9 +12,9 @@
#include "core/enum_type.hpp"
extern uint32 _road_layout_change_counter;
extern uint32_t _road_layout_change_counter;
typedef uint32 RoadTypeLabel;
typedef uint32_t RoadTypeLabel;
static const RoadTypeLabel ROADTYPE_LABEL_ROAD = 'ROAD';
static const RoadTypeLabel ROADTYPE_LABEL_TRAM = 'ELRL';
@@ -36,9 +36,9 @@ template <> struct EnumPropsT<RoadType> : MakeEnumPropsT<RoadType, byte, ROADTYP
/**
* The different roadtypes we support, but then a bitmask of them.
* @note Must be treated as a uint64 type, narrowing it causes bit membership tests to give wrong results.
* @note Must be treated as a uint64_t type, narrowing it causes bit membership tests to give wrong results.
*/
enum RoadTypes : uint64 {
enum RoadTypes : uint64_t {
ROADTYPES_NONE = 0, ///< No roadtypes
ROADTYPES_ROAD = 1 << ROADTYPE_ROAD, ///< Road
ROADTYPES_TRAM = 1 << ROADTYPE_TRAM, ///< Trams