#include <sprite.h>
Data Fields | |
short int | y |
short int | x |
short int | hy |
short int | hx |
char | remainder |
char | vscale |
char | hscale |
phrase * | data |
animation_chunk * | animation |
struct { | |
short int counter | |
} | animation_data |
unsigned long long | scaled: 1 |
unsigned long long | animated: 1 |
unsigned long long | invisible: 1 |
unsigned long long | use_hotspot: 1 |
unsigned long long | firstpix: 6 |
unsigned long long | release: 1 |
unsigned long long | trans: 1 |
unsigned long long | rmw: 1 |
unsigned long long | reflect: 1 |
unsigned long long | index: 7 |
unsigned long long | iwidth: 10 |
unsigned long long | dwidth: 10 |
unsigned long long | depth: 3 |
unsigned long long | height: 10 |
unsigned short int | has_looped: 1 |
unsigned short int | index: 15 |
|
If set, the sprite use animation described by sprite::animation. |
|
Address of an array of animation_chunk that describes the animation. The last animation_chunk should have it animation_chunk::data field set to NULL |
|
Animation global characteritics |
|
Countdown until the next animation_chunk is fetched |
|
Address of the graphical data: this must be aligned to a phrase boundary in memory. |
|
Depth of the graphical data. |
|
Data width in phrases. |
|
First pixel to be displayed for low resolution graphics. |
|
If set, the animation has just looped |
|
Height of the sprite (unscaled). |
|
Horizontal scale as a 3.5 number. |
|
Y coordinate of the hot spot. |
|
X coordinate of the hot spot. |
|
Index if the current animation_chunk |
|
Index in the CLUT for less than 8 bit depth data. |
|
If set, the sprite is invisible. |
|
Image width in phrases. |
|
If set, the sprite is horizontally flipped. |
|
Release the bus when displaying the sprite. |
|
Remainder as a 3.5 number. |
|
Use RMW mode when drawing. |
|
If set, the sprite is scaled according to sprite::hscale and sprite::vscale. |
|
If set, then use transparency mode. |
|
If set, the sprite uses a hot spot different of left-upper corner. |
|
Vertical scale as a 3.5 number. |
|
Y coordinate of the sprite. |
|
X coordinate of the sprite. |