|
Public Member Functions |
SpriteWorldPtr | ptr () throw () |
| TSpriteWorld () throw () |
| TSpriteWorld (SpriteWorldPtr inWorld) throw () |
| TSpriteWorld (const TSpriteWorld &inWorld) throw () |
| ~TSpriteWorld () throw () |
const TSpriteWorld & | operator= (const TSpriteWorld &inWorld) throw () |
void | dispose () throw () |
void | lock () throw () |
void | unlock () throw () |
void | copyBackgroundToWorkArea () throw () |
void | update (bool inUpdateWindow) throw () |
void | process () throw () |
void | animate () throw () |
void | maxFps (short inFramesPerSec) throw () |
void | add (TSpriteLayer &inLayer) throw () |
void | remove (TSpriteLayer &inLayer) throw () |
void | swap (TSpriteLayer &inSrcLayer, TSpriteLayer &inDsTSpriteLayer) throw () |
TSpriteLayer | next (TSpriteLayer &inLayer) throw () |
TSprite | createSpriteFromFile (const char *file, long inMaxFrames) throw (std::runtime_error) |
DrawDataPtr | createDrawData () throw () |
void | collide (TSpriteLayer &inLayerSrc, TSpriteLayer &inLayerDst) throw () |
const short | pixelDepth () const throw () |
const unsigned long | milliSeconds () const throw () |
TFrame | workFrame () const throw () |
const SWRect & | backRect () const throw () |
const bool | frameHasOccurred () const throw () |
Static Public Member Functions |
static unsigned long | GetSpriteWorldVersion () throw () |
static void | Enter (bool shouldInit) throw (std::runtime_error) |
static void | Exit () throw () |
static TSpriteWorld | CreateSpriteWorld (int w, int h, int depth, bool fullscreen, bool opengl) throw (std::runtime_error) |
static TSpriteWorld | CreateSpriteWorldFromVideoSurface (SDL_Surface *surface, SWRect &world, SWRect &back, int maxDepth) throw (std::runtime_error) |
static TSpriteWorld | CreateSpriteWorldFromSWSurface (SDL_Surface *surface, SWRectPtr world=NULL, SWRectPtr back=NULL, int maxDepth=0) throw (std::runtime_error) |
static TSpriteWorld | CreateSpriteWorldFromGLContext (void *glContext, SWRect &world, GLCallBackPtr glMakeCurrent, GLCallBackPtr glSwapBuffers) throw (std::runtime_error) |
static TSpriteWorld | CreateSpriteWorldFromFrames (TFrame &screen, TFrame &back, TFrame &work) throw (std::runtime_error) |
Protected Attributes |
SpriteWorldPtr | mWorld |