(svn r16671) -Doc: Documenting Sprite structure.

pull/155/head
alberth 15 years ago
parent 657b6c84f0
commit d5693bd446

@ -7,12 +7,13 @@
#include "gfx_type.h"
/** Data structure describing a sprite. */
struct Sprite {
byte height;
uint16 width;
int16 x_offs;
int16 y_offs;
byte data[];
byte height; ///< Height of the sprite.
uint16 width; ///< Width of the sprite.
int16 x_offs; ///< Number of pixels to shift the sprite to the right.
int16 y_offs; ///< Number of pixels to shift the sprite downwards.
byte data[]; ///< Sprite data.
};
extern uint _sprite_cache_size;

Loading…
Cancel
Save