Headers/SpriteLayer.h File Reference

constants, structures, and function prototypes for sprite layers More...

#include <SWCommonHeaders.h>
#include <Sprite.h>
#include "SpriteLayer.hpp"

Classes

struct  SpriteLayerRec
 sprite layer data structure More...

Functions

SWError SWCreateSpriteLayer (SpriteLayerPtr *spriteLayerP)
void SWDisposeSpriteLayer (SpriteLayerPtr *spriteLayerPP)
SWError SWAddSprite (SpriteLayerPtr spriteLayerP, SpritePtr newSpriteP)
SWError SWRemoveSprite (SpritePtr oldSpriteP)
void SWRemoveAllSpritesFromLayer (SpriteLayerPtr srcSpriteLayerP)
void SWDisposeAllSpritesInLayer (SpriteLayerPtr spriteLayerP)
unsigned long SWCountNumSpritesInLayer (SpriteLayerPtr spriteLayerP)
SWError SWSwapSprite (SpritePtr srcSpriteP, SpritePtr dstSpriteP)
SWError SWInsertSpriteAfterSprite (SpritePtr newSpriteP, SpritePtr dstSpriteP)
SWError SWInsertSpriteBeforeSprite (SpritePtr newSpriteP, SpritePtr dstSpriteP)
SpritePtr SWGetNextSprite (SpriteLayerPtr spriteLayerP, SpritePtr curSpriteP)
SpritePtr SWGetPreviousSprite (SpriteLayerPtr spriteLayerP, SpritePtr curSpriteP)
void SWLockSpriteLayer (SpriteLayerPtr spriteLayerP)
void SWUnlockSpriteLayer (SpriteLayerPtr spriteLayerP)
void SWMoveSpriteLayer (SpriteLayerPtr spriteLayerP)
void SWCollideSpriteLayer (SpriteWorldPtr spriteWorldP, SpriteLayerPtr srcSpriteLayerP, SpriteLayerPtr dstSpriteLayerP)
int SWSpriteCollidesWithLayer (SpritePtr srcSpriteP, SpriteLayerPtr spriteLayerP, SpriteCollisionProcPtr collideFunc)
void SWSortSpriteLayer (SpriteLayerPtr theLayer)
void SWCustomSortSpriteLayer (SpriteLayerPtr theLayer, SpriteCompareProcPtr compareFunc)
void SWPauseSpriteLayer (SpriteLayerPtr spriteLayerP)
void SWUnpauseSpriteLayer (SpriteLayerPtr spriteLayerP)
void SWSetLayerAsNonScrolling (SpriteLayerPtr spriteLayerP, int layerIsNonScrolling)
SpritePtr SWFindSpriteByPoint (SpriteLayerPtr spriteLayerP, SpritePtr startSpriteP, int testH, int test)
SpritePtr SWTopSpriteFromPoint (SpriteLayerPtr spriteLayerP, SpritePtr startSpriteP, int testH, int testV, SpriteInMaskProcPtr testFunc)
void SWMoveSpriteLayerToTail (SpriteWorldPtr spriteWorldP, SpriteLayerPtr moveSpriteLayerP)


Detailed Description

constants, structures, and function prototypes for sprite layers


Function Documentation

SWError SWAddSprite SpriteLayerPtr  spriteLayerP,
SpritePtr  newSpriteP
 

void SWCollideSpriteLayer SpriteWorldPtr  spriteWorldP,
SpriteLayerPtr  srcSpriteLayerP,
SpriteLayerPtr  dstSpriteLayerP
 

unsigned long SWCountNumSpritesInLayer SpriteLayerPtr  spriteLayerP  ) 
 

SWError SWCreateSpriteLayer SpriteLayerPtr spriteLayerP  ) 
 

void SWCustomSortSpriteLayer SpriteLayerPtr  theLayer,
SpriteCompareProcPtr  compareFunc
 

void SWDisposeAllSpritesInLayer SpriteLayerPtr  spriteLayerP  ) 
 

void SWDisposeSpriteLayer SpriteLayerPtr spriteLayerPP  ) 
 

SpritePtr SWFindSpriteByPoint SpriteLayerPtr  spriteLayerP,
SpritePtr  startSpriteP,
int  testH,
int  test
 

SpritePtr SWGetNextSprite SpriteLayerPtr  spriteLayerP,
SpritePtr  curSpriteP
 

SpritePtr SWGetPreviousSprite SpriteLayerPtr  spriteLayerP,
SpritePtr  curSpriteP
 

SWError SWInsertSpriteAfterSprite SpritePtr  newSpriteP,
SpritePtr  dstSpriteP
 

SWError SWInsertSpriteBeforeSprite SpritePtr  newSpriteP,
SpritePtr  dstSpriteP
 

void SWLockSpriteLayer SpriteLayerPtr  spriteLayerP  ) 
 

void SWMoveSpriteLayer SpriteLayerPtr  spriteLayerP  ) 
 

void SWMoveSpriteLayerToTail SpriteWorldPtr  spriteWorldP,
SpriteLayerPtr  moveSpriteLayerP
 

void SWPauseSpriteLayer SpriteLayerPtr  spriteLayerP  ) 
 

void SWRemoveAllSpritesFromLayer SpriteLayerPtr  srcSpriteLayerP  ) 
 

SWError SWRemoveSprite SpritePtr  oldSpriteP  ) 
 

void SWSetLayerAsNonScrolling SpriteLayerPtr  spriteLayerP,
int  layerIsNonScrolling
 

void SWSortSpriteLayer SpriteLayerPtr  theLayer  ) 
 

int SWSpriteCollidesWithLayer SpritePtr  srcSpriteP,
SpriteLayerPtr  spriteLayerP,
SpriteCollisionProcPtr  collideFunc
 

SWError SWSwapSprite SpritePtr  srcSpriteP,
SpritePtr  dstSpriteP
 

SpritePtr SWTopSpriteFromPoint SpriteLayerPtr  spriteLayerP,
SpritePtr  startSpriteP,
int  testH,
int  testV,
SpriteInMaskProcPtr  testFunc
 

void SWUnlockSpriteLayer SpriteLayerPtr  spriteLayerP  ) 
 

void SWUnpauseSpriteLayer SpriteLayerPtr  spriteLayerP  ) 
 


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