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

@@ -36,8 +36,8 @@ private:
static void InsertDefaults();
public:
uint32 global_id; ///< Global ID for class, e.g. 'DFLT', 'WAYP', etc.
StringID name; ///< Name of this class.
uint32_t global_id; ///< Global ID for class, e.g. 'DFLT', 'WAYP', etc.
StringID name; ///< Name of this class.
void Insert(Tspec *spec);
@@ -54,7 +54,7 @@ public:
bool IsUIAvailable(uint index) const;
static void Reset();
static Tid Allocate(uint32 global_id);
static Tid Allocate(uint32_t global_id);
static void Assign(Tspec *spec);
static uint GetClassCount();
static uint GetUIClassCount();
@@ -63,7 +63,7 @@ public:
static bool IsClassIDValid(Tid cls_id);
static NewGRFClass *Get(Tid cls_id);
static const Tspec *GetByGrf(uint32 grfid, uint16 local_id, int *index);
static const Tspec *GetByGrf(uint32_t grfid, uint16_t local_id, int *index);
};
#endif /* NEWGRF_CLASS_H */