Mail Archives: djgpp/1998/07/06/20:27:42
Oliver Batchelor wrote:
>
> Hello,
> When I load my data file called tile.dat it works fine. (this is the start
> of an editor for a game I am making)
> When I go to put an image from the data file (16 bit compiled sprite and 16
> bit bitmap)
> It tells me that I have undeclared Idifiers even when I use the exact names
> from the data file. eg. (If you need to see the whole thing (quite short
> 1k) its attached)
>
> draw_compiled_sprite(active_page, tiledata[TILE1_TGA].dat x,y);
>
> or
>
> draw_sprite(active_page, tiledata[MOUSE_MBP].dat x,y);
>
> This is puzzeling me because the demo in the example directory does this
> in exacly the same way but works !! And when I just used plain files it
> worked fine.
You have to include the header that the dat tool creates. Read
grabber.txt for more info.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -