mirror of https://github.com/OpenTTD/OpenTTD
(svn r1860) The sprite header endianness issue was solved in r1855
parent
f03b8859ed
commit
3a93a250b7
|
@ -4,9 +4,9 @@
|
||||||
typedef struct Sprite {
|
typedef struct Sprite {
|
||||||
byte info;
|
byte info;
|
||||||
byte height;
|
byte height;
|
||||||
uint16 width; // LE!
|
uint16 width;
|
||||||
int16 x_offs; // LE!
|
int16 x_offs;
|
||||||
int16 y_offs; // LE!
|
int16 y_offs;
|
||||||
byte data[VARARRAY_SIZE];
|
byte data[VARARRAY_SIZE];
|
||||||
} Sprite;
|
} Sprite;
|
||||||
assert_compile(sizeof(Sprite) == 8);
|
assert_compile(sizeof(Sprite) == 8);
|
||||||
|
|
Loading…
Reference in New Issue