12 } __attribute__((packed, aligned(2)));
14 #define SPR_SIZE(x, y) ((((x) - 1) << 2) | ((y) - 1))
16 #define MAX_HWSPRITES 64
17 extern struct hwsprite spr_shadow[MAX_HWSPRITES];
21 void spr_add(int x, int y, unsigned int tile, int sprsz);
22 void spr_submit(void);
24 #endif /* SPRITE_H_ */