Quote Originally Posted by Alimonster
Are you absolutely, positively sure that you need a ^TBitmap (a pointer to a pointer, in other words). IME it's pretty rare to require pointers to classes, especially since Delphi has var parameters in functions.

Just making sure, that's all...
Not entirely sure what you mean... I ended up just passing back the pointer to the TBitmap, this allows me to blit the bitmap to a DX surface, without creating a new TBitmap object first. Seems very fast, is there a faster more recommended way of drawing in tile based games? It seems effective to extract my bitmaps, store in a large array and pass pointers to the paint routine as and when required?

Sorry for the long wait in my reply btw... I am trying to code the entire game myself (MMORPG), which is taking a lot of time and energy.