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:
thnor 2012-04-05 00:50:46 -05:00
parent 6c85920535
commit 2a87e619ae
3 changed files with 240 additions and 189 deletions

View file

@ -106,8 +106,6 @@ int main(int argc, char *argv[]){
resourceDir[0] = '.';
resourceDir[1] = '/';
CreateDirectory(resourceDir, NULL);
printf(resourceDir);
fflush(stdout);
hFile = CreateFile(InFile, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_FLAG_SEQUENTIAL_SCAN, NULL);
hFile = fopen(InFile, "rb");