mirror of
https://github.com/simtactics/niotso.git
synced 2025-07-14 10:11:57 -04:00
Sprite formats are now completely supported (PNGs work great too)!
The sprite loader code has been prettied up and rennovated quite a bit. *NOTE: Fatbag, TSO sometimes has palette (PALT) resources that are not the same as those described at simtec. Since you want to do the real figuring out, well, have fun :)
This commit is contained in:
parent
6c85920535
commit
2a87e619ae
3 changed files with 240 additions and 189 deletions
|
@ -165,7 +165,7 @@ IFFChunk *iff_find_first_chunk(IFFFile *IFFFileInfo, const char *type, uint16_t
|
|||
|
||||
currentNode = currentNode->NextChunk;
|
||||
}
|
||||
while (currentNode != IFFFileInfo->LastChunk);
|
||||
while (currentNode != IFFFileInfo->LastChunk && currentNode != NULL);
|
||||
|
||||
return NULL;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue