mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 02:19:09 +00:00
(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
This commit is contained in:
10
gfx.h
10
gfx.h
@@ -17,16 +17,6 @@ struct DrawPixelInfo {
|
||||
};
|
||||
|
||||
|
||||
typedef struct Sprite {
|
||||
byte info;
|
||||
byte height;
|
||||
uint16 width; // LE!
|
||||
int16 x_offs; // LE!
|
||||
int16 y_offs; // LE!
|
||||
byte data[VARARRAY_SIZE];
|
||||
} Sprite;
|
||||
assert_compile(sizeof(Sprite) == 8);
|
||||
|
||||
typedef struct CursorVars {
|
||||
Point pos, size, offs, delta;
|
||||
Point draw_pos, draw_size;
|
||||
|
Reference in New Issue
Block a user