TSpriteWorldTiling Class Reference

CLASS TSpriteWorldTiling, wrapping SpriteWorldPtr (tiling). More...

#include <Tiling.hpp>

Inheritance diagram for TSpriteWorldTiling:

TSpriteWorld TSpriteWorldScrolling List of all members.

Public Member Functions

void initTiling (short inWidth, short inHeight, short inMaxNumTiles) throw (std::runtime_error)
void exitTiling () throw ()
void installTileMap (TTileMap &inTileMap, short inTileLayer) throw ()
void setTilingOn (bool inTilingIsOn) throw ()
void drawTilesInBackground () throw ()
void resetTilingCache () throw ()
void drawTile (short inRow, short inCol, short inTileId, short inTileLayer) throw ()
void updateTileOnScreen (short inTileId) throw ()
void drawTilesInRect (const SWRect &inChangedRect, bool inFaster) throw ()
void addChangedRect (const SWRect &inChangedRect) throw ()
void drawTilesAboveSprite (const SWRect &inUpdateRect, short inTileLayer) throw ()
short returnTileUnderPixel (short inTileLayer, short inPixelCol, short inPixelRow) throw ()
void wrapRectToWorkArea (const SWRect &inDstRect) throw ()
bool checkSpriteWithTiles (TSprite &inSrcSprite, SWTileSearchType inSearchType, const SWRect &inInsetRect, short inFirstTileLayer, short inLastTileLayer, short inFirstTileId, short inLastTileId, bool inFixPosition) throw ()
void dispose (short inTileId) throw ()
void lock () throw ()
void unlock () throw ()

Protected Attributes

TTileMap mTileMap

Detailed Description

CLASS TSpriteWorldTiling, wrapping SpriteWorldPtr (tiling).


Member Function Documentation

void TSpriteWorldTiling::addChangedRect const SWRect inChangedRect  )  throw () [inline]
 

bool TSpriteWorldTiling::checkSpriteWithTiles TSprite inSrcSprite,
SWTileSearchType  inSearchType,
const SWRect inInsetRect,
short  inFirstTileLayer,
short  inLastTileLayer,
short  inFirstTileId,
short  inLastTileId,
bool  inFixPosition
throw () [inline]
 

void TSpriteWorldTiling::dispose short  inTileId  )  throw () [inline]
 

void TSpriteWorldTiling::drawTile short  inRow,
short  inCol,
short  inTileId,
short  inTileLayer
throw () [inline]
 

void TSpriteWorldTiling::drawTilesAboveSprite const SWRect inUpdateRect,
short  inTileLayer
throw () [inline]
 

void TSpriteWorldTiling::drawTilesInBackground  )  throw () [inline]
 

void TSpriteWorldTiling::drawTilesInRect const SWRect inChangedRect,
bool  inFaster
throw () [inline]
 

void TSpriteWorldTiling::exitTiling  )  throw () [inline]
 

void TSpriteWorldTiling::initTiling short  inWidth,
short  inHeight,
short  inMaxNumTiles
throw (std::runtime_error) [inline]
 

void TSpriteWorldTiling::installTileMap TTileMap inTileMap,
short  inTileLayer
throw () [inline]
 

void TSpriteWorldTiling::lock  )  throw () [inline]
 

See also:
SWLockSpriteWorld

Reimplemented from TSpriteWorld.

void TSpriteWorldTiling::resetTilingCache  )  throw () [inline]
 

short TSpriteWorldTiling::returnTileUnderPixel short  inTileLayer,
short  inPixelCol,
short  inPixelRow
throw () [inline]
 

void TSpriteWorldTiling::setTilingOn bool  inTilingIsOn  )  throw () [inline]
 

void TSpriteWorldTiling::unlock  )  throw () [inline]
 

See also:
SWUnlockSpriteWorld

Reimplemented from TSpriteWorld.

void TSpriteWorldTiling::updateTileOnScreen short  inTileId  )  throw () [inline]
 

void TSpriteWorldTiling::wrapRectToWorkArea const SWRect inDstRect  )  throw () [inline]
 


Member Data Documentation

TTileMap TSpriteWorldTiling::mTileMap [protected]
 


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