Overview Members Chapter Previous Next

CDXTile::Create

BOOL Create( CDXScreen* pScreen , const char* szFilename , int w , int h , int num , BOOL memoryType = CDXMEM_VIDTHENSYS ) ;

Creates a DirectDrawSurface and loads the tiles from a .BMP file onto it. You must also specify the width and height of a single tile and the number of tiles in the bitmap.