Added libpq to the Libraries folder. Finally, I have been waiting for this day. libpq is seriously unready out of the box; you have to edit 3 header files to get it to work outside the PostgreSQL build environment.

Also, in iff2html, the directory name no longer appears as part of the IFF's file name on the web page.
This commit is contained in:
Fatbag 2012-06-04 22:27:28 -05:00
parent 4b395ba3ad
commit 10827bf2df
4 changed files with 15 additions and 11 deletions

View file

@ -146,8 +146,8 @@ int iff_parse_spr(IFFChunk * ChunkInfo, const uint8_t * Buffer){
Count = *(b.Buffer++);
SpriteSize -= 2;
if(Command == 0){
/* Do nothing */
if(Command == 0 || Command == 16){
/* Start marker */
}else if(Command == 4){
/* Pixel command: valid commands are 1, 2, and 3 */
unsigned pixel = 0;
@ -208,8 +208,6 @@ int iff_parse_spr(IFFChunk * ChunkInfo, const uint8_t * Buffer){
if(Count > Sprite->Height - row)
{printf("Error %u\n", 9);return 0;}
row += Count;
}else if(Command == 16){
/* Do nothing */
}else {printf("Error %u\n", 10);return 0;}
}
}

View file