HRESULT LoadTileSet(const UINT idm, const UINT n)
Load tileset.
CWangTiler * m_pWangTiler
Pointer to the Wang tiler.
UINT m_nNumTiles
Number of tiles in tileset.
Gdiplus::Bitmap ** m_pTile
The tile pointer array.
Gdiplus::Bitmap * GetBitmap()
Get pointer to bitmap.
HMENU m_hTilesetMenu
Handle to the Generate menu.
Gdiplus::Bitmap * m_pBitmap
Pointer to a bitmap image.
void OnPaint()
Paint the client area of the window.