#include <sprite.h>
Data Fields | |
| int | anim_count |
| cc_sprite_anim_t * | animation |
| int | current_anim |
| float | du |
| float | dv |
| float | h |
| int | is_subsprite |
| struct cc_sprite ** | subsprite |
| int | subsprite_count |
| int | texture |
| int | texture_count |
| cc_texture_t ** | textures |
| float | u |
| float | v |
| float | w |
| float | x |
| float | y |
| float | z |
This structure contains the data needed to implement a common sprite type along with supporting various enhancements such as animations. All fields of this structure should be considered to be read-only from outside CrabClaw.
| float cc_sprite::du |
| float cc_sprite::dv |
| float cc_sprite::h |
struct cc_sprite** cc_sprite::subsprite [read] |
| float cc_sprite::u |
| float cc_sprite::v |
| float cc_sprite::w |
| float cc_sprite::x |
| float cc_sprite::y |
| float cc_sprite::z |