gfx.h
changeset 1350 067b22970f19
parent 1349 07514c2cc6d1
child 1390 53a5713cf3f9
equal deleted inserted replaced
1349:07514c2cc6d1 1350:067b22970f19
    14 	int left, top, width, height;
    14 	int left, top, width, height;
    15 	int pitch;
    15 	int pitch;
    16 	uint16 zoom;
    16 	uint16 zoom;
    17 };
    17 };
    18 
    18 
    19 
       
    20 typedef struct Sprite {
       
    21 	byte info;
       
    22 	byte height;
       
    23 	uint16 width; // LE!
       
    24 	int16 x_offs; // LE!
       
    25 	int16 y_offs; // LE!
       
    26 	byte data[VARARRAY_SIZE];
       
    27 } Sprite;
       
    28 assert_compile(sizeof(Sprite) == 8);
       
    29 
    19 
    30 typedef struct CursorVars {
    20 typedef struct CursorVars {
    31 	Point pos, size, offs, delta;
    21 	Point pos, size, offs, delta;
    32 	Point draw_pos, draw_size;
    22 	Point draw_pos, draw_size;
    33 	uint32 sprite;
    23 	uint32 sprite;