Quote Originally Posted by Useless Hacker
Quote Originally Posted by tronied
[pascal]for RowCount := 1 to 256 do
for ColCount := 1 to 256 do
DXImageList1.Items[ColCount,RowCount].Draw(DXDraw1.Surface,Sprite[ColCount,RowCount].X,Sprite[ColCount,RowCount].Y,0);[/pascal]
That code won't even compile, since DXImageList.Items takes a single index.

Also, I assume you are using separate images for each tile. Since all your tiles are the same size it would be better to have one large image and use the PatternIndex parameter to the Draw functions to specify which one to draw.
Whoops, my mistake... I put it in wrong. I have got some interesting reading to do tonight, thanks all.