#include <SpriteFrame.h>
Public Attributes | |
SDL_Surface * | frameSurfaceP |
pointer to screen optimized SDL_Surface for the frame | |
SDL_Surface * | originalSurfaceP |
SDL_Surface before optimizations. | |
SDL_bool | isVideoSurface |
is the frame's surface the SDL video surface (mapped directly to screen) | |
SDL_bool | sharesSurface |
should we free the surface when disposing the frame? | |
SWBoolean | isFrameLocked |
has the frame been locked? | |
MaskType | maskType |
frame mask type | |
SWRect | frameRect |
source image rectangle | |
int | hotSpotH |
horizontal hot point for this frame | |
int | hotSpotV |
vertical hot point for this frame | |
SWRect | collisionInset |
if used, makes the collision rect smaller/large for this frame | |
unsigned short | useCount |
number of sprites using this frame | |
void * | glSurfaceP |
used with OpenGL (internally) | |
long | userData |
reserved for user |
|
if used, makes the collision rect smaller/large for this frame
|
|
source image rectangle
|
|
pointer to screen optimized SDL_Surface for the frame
|
|
used with OpenGL (internally)
|
|
horizontal hot point for this frame
|
|
vertical hot point for this frame
|
|
has the frame been locked?
|
|
is the frame's surface the SDL video surface (mapped directly to screen)
|
|
frame mask type
|
|
SDL_Surface before optimizations.
|
|
should we free the surface when disposing the frame?
|
|
number of sprites using this frame
|
|
reserved for user
|