Merge branch 'master' into jgrpp

Remove 'byte' typedef
This commit is contained in:
Jonathan G Rennison
2024-05-07 17:21:50 +01:00
376 changed files with 2220 additions and 2152 deletions

View File

@@ -23,7 +23,7 @@
static const int NUM_NO_COMPANY_ENTRIES = 4; ///< Number of entries in the owner legend that are not companies.
/** Mapping of tile type to importance of the tile (higher number means more interesting to show). */
static const byte _tiletype_importance[] = {
static const uint8_t _tiletype_importance[] = {
2, // MP_CLEAR
8, // MP_RAILWAY
7, // MP_ROAD
@@ -66,7 +66,7 @@ struct LegendAndColour {
};
/** Types of legends in the #WID_SM_LEGEND widget. */
enum SmallMapType : byte {
enum SmallMapType : uint8_t {
SMT_CONTOUR,
SMT_VEHICLES,
SMT_INDUSTRY,