Codechange: rename byte to uint8_t (#12308)

This commit is contained in:
Patric Stout
2024-03-16 23:59:32 +01:00
committed by GitHub
parent bd7120bae4
commit a3cfd23cf9
355 changed files with 1654 additions and 1656 deletions

View File

@@ -56,7 +56,7 @@ inline ObjectID GetObjectIndex(Tile t)
* @pre IsTileType(t, MP_OBJECT)
* @return The random bits.
*/
inline byte GetObjectRandomBits(Tile t)
inline uint8_t GetObjectRandomBits(Tile t)
{
assert(IsTileType(t, MP_OBJECT));
return t.m3();
@@ -71,7 +71,7 @@ inline byte GetObjectRandomBits(Tile t)
* @param wc Water class for this object.
* @param random Random data to store on the tile
*/
inline void MakeObject(Tile t, Owner o, ObjectID index, WaterClass wc, byte random)
inline void MakeObject(Tile t, Owner o, ObjectID index, WaterClass wc, uint8_t random)
{
SetTileType(t, MP_OBJECT);
SetTileOwner(t, o);