Thanks for this tutorial! Meanwhile halfway through episode 5 and I've learnt a lot so far. Really looking forward for more stuff to come;-)
One remark. 'though: With the Episode5 files I tried to load a picture which I saved with the Amiga program Brilliance. I noticed that the CMAP header of this picture wasn't found in palette.asm / agdGetBitmapPalette.
The reason is that Brilliance has some long extra chunk after FORM which is like:
Code:
ILBMANNO "Written by Brilliance Release 2.0
So, in agdGetBitmapPalette I had to change the line
to
for the CMAP to be loaded. But this is no generic solution, and I don't know if this would be a problem if a really small ILBM file is loaded.