1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 09:52:44 +01:00

Codechange: Use std::endian instead of TTD_ENDIAN defines.

This commit is contained in:
Peter Nelson
2024-06-11 18:47:16 +01:00
committed by Peter Nelson
parent b70438b76a
commit fb6781015a
6 changed files with 52 additions and 55 deletions

View File

@@ -256,7 +256,7 @@ static const LegendAndColour * const _legend_table[] = {
_legend_land_owners,
};
#define MKCOLOUR(x) TO_LE32X(x)
#define MKCOLOUR(x) TO_LE32(x)
#define MKCOLOUR_XXXX(x) (MKCOLOUR(0x01010101) * (uint)(x))
#define MKCOLOUR_0XX0(x) (MKCOLOUR(0x00010100) * (uint)(x))