|
Public Attributes |
SpriteLayerPtr | headSpriteLayerP |
| head of the sprite layer linked list
|
SpriteLayerPtr | tailSpriteLayerP |
| tail of the sprite layer linked list
|
SpriteLayerPtr | deadSpriteLayerP |
| where SWRemoveSpriteFromAnimation puts Sprites
|
UpdateRectStructPtr | headUpdateRectP |
| used by SWFlagRectAsChanged
|
SWBoolean | useUpdateRectOptimizations |
| should try to merge update rects
|
FramePtr | extraBackFrameP |
| used when adding a background behind tiles
|
FramePtr | backFrameP |
| frame for the background
|
FramePtr | workFrameP |
| work, or "mixing" frame
|
FramePtr | screenFrameP |
| frame for drawing to the screen
|
DrawProcPtr | offscreenDrawProc |
| callback for erasing sprites offscreen normally
|
DrawProcPtr | screenDrawProc |
| callback for drawing sprite pieces onscreen normally
|
CallBackPtr | postEraseCallBack |
| called after erasing sprites
|
CallBackPtr | postDrawCallBack |
| called after drawing sprites
|
SWRect | screenRect |
| holds windowFrameP->frameRect for easier access
|
SWRect | backRect |
| holds backFrameP->frameRect for easier access
|
SWRect | visScrollRect |
| SWRect that is copied to screen when scrolling.
|
SWRect | oldVisScrollRect |
| visScrollRect from last frame
|
SWRect | offscreenScrollRect |
| same as visScrollRect, but local to offscreen
|
short | horizScrollRectOffset |
| offset from offscreenScrollRect to visScrollRect
|
short | vertScrollRectOffset |
| offset from offscreenScrollRect to visScrollRect
|
short | horizScrollDelta |
| horizontal scrolling delta
|
short | vertScrollDelta |
| vertical scrolling delta
|
SWRect | scrollRectMoveBounds |
| move bounds for visScrollRect
|
WorldMoveProcPtr | worldMoveProc |
| pointer to the scrolling world move procedure
|
SpritePtr | followSpriteP |
| pointer to the "follow sprite", or NULL
|
TileMapStructPtr * | tileLayerArray |
| an array of all the tileMap layers
|
SWBoolean | tilingIsInitialized |
| has the tiling been initialized yet?
|
SWBoolean | tilingIsOn |
| are the tiling routines turned on?
|
short | lastActiveTileLayer |
| the last active tile layer
|
short ** | tilingCache |
| two-dimensional tiling cache
|
short | numTilingCacheRows |
| number of rows in tilingCache array
|
short | numTilingCacheCols |
| number of cols in tilingCache array
|
FramePtr * | tileFrameArray |
| array of tile framePtrs (the part below sprites)
|
short * | curTileImage |
| array specifying the current frame of each tile
|
short | maxNumTiles |
| number of elements in tileFrameArray
|
short | tileWidth |
| width of each tile
|
short | tileHeight |
| height of each tile
|
long | numTilesChanged |
| number of rects in changedTiles array to update
|
SWRect * | changedTiles |
| array of rects of tiles that changed
|
long | changedTilesArraySize |
| number of elements in changedTiles array
|
TileChangeProcPtr | tileChangeProc |
| pointer to tile frame changing procedure
|
TileRectDrawProcPtr | tileRectDrawProc |
| pointer to the function that draws tiles in a rect
|
DrawProcPtr | tileMaskDrawProc |
| drawProc for drawing masked tiles in tile layers
|
CustomTileDrawProcPtr | customTileDrawProc |
| DrawProc that is also passed the tileID and tileLayer.
|
unsigned char | pixelDepth |
| SpriteWorld's depth.
|
short | fpsTimeInterval |
| milliseconds per frame of animation (1000/fps)
|
double | pseudoFPS |
| milliseconds per pseudo frame of animation (for time-based animations)
|
unsigned long | runningTimeCount |
| running total time in milliseconds
|
unsigned long | timeOfLastFrame |
| time (from runningTimeCount) of last frame
|
unsigned long | minimumFrameRate |
| maximum number of microseconds that can go by in a frame (used only for time-based movement)
|
unsigned long | microsecsSinceLastFrame |
| # microseconds passed since last frame
|
double | pseudoFrameAccum |
| used to set the pseudoFrameHasFired variable.
|
SWBoolean | pseudoFrameHasFired |
| used in time-based animations.
|
SWBoolean | frameHasOccurred |
| Has the SpriteWorld been processed?
|
SWBoolean | thereAreNonScrollingLayers |
| used internally by SWProcessSpriteWorld
|
SWBoolean | makeTranslucencyAdjustments |
SWBoolean | doFastMovingSpritesChecks |
SDL_Color | backgroundColor |
| background color for clear drawproc
|
SDL_bool | useOpenGL |
void * | glContext |
| passed to the OpenGL callbacks
|
GLCallBackPtr | glMakeCurrent |
| called before OpenGL drawing
|
GLCallBackPtr | glSwapBuffers |
| called after OpenGL drawing
|
long | userData |
| reserved for user
|