FrameRec Struct Reference

frame data structure More...

#include <SpriteFrame.h>

List of all members.

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


Detailed Description

frame data structure


Member Data Documentation

SWRect FrameRec::collisionInset
 

if used, makes the collision rect smaller/large for this frame

SWRect FrameRec::frameRect
 

source image rectangle

SDL_Surface* FrameRec::frameSurfaceP
 

pointer to screen optimized SDL_Surface for the frame

void* FrameRec::glSurfaceP
 

used with OpenGL (internally)

int FrameRec::hotSpotH
 

horizontal hot point for this frame

int FrameRec::hotSpotV
 

vertical hot point for this frame

SWBoolean FrameRec::isFrameLocked
 

has the frame been locked?

SDL_bool FrameRec::isVideoSurface
 

is the frame's surface the SDL video surface (mapped directly to screen)

MaskType FrameRec::maskType
 

frame mask type

SDL_Surface* FrameRec::originalSurfaceP
 

SDL_Surface before optimizations.

SDL_bool FrameRec::sharesSurface
 

should we free the surface when disposing the frame?

unsigned short FrameRec::useCount
 

number of sprites using this frame

long FrameRec::userData
 

reserved for user


Generated on Sun Jun 18 14:11:05 2006 for SpriteWorld X by  doxygen 1.4.6