Home
last modified time | relevance | path

Searched refs:gifheader (Results 1 – 2 of 2) sorted by relevance

/dports/games/xjig/xjig-2.4/
H A Dgif_image.C275 static byte gifheader[13]; variable
313 if ( (fread(gifheader, sizeof(gifheader), 1, fp)!=1) in LoadGIF()
314 || ( (strncmp((char*)gifheader, id, 3)!=0) in LoadGIF()
315 && (strncmp((char*)gifheader, "FIG", 3)!=0) ) ) in LoadGIF()
320 if (strncmp((char*)gifheader+3, "87a", 3) && strncmp((char*)gifheader+3,"89a",3)) in LoadGIF()
322 gifheader[3],gifheader[4],gifheader[5]); in LoadGIF()
323 HasColormap = ((gifheader[10] & COLORMAPMASK) ? True : False); in LoadGIF()
324 ColorMapSize = 1 << (gifheader[10]&7)+1; in LoadGIF()
326 Background = gifheader[11]; /* background color... not used. */ in LoadGIF()
/dports/games/xmemory/xmemory-3.7/
H A Dgif_image.C275 static byte gifheader[13]; variable
313 if ( (fread(gifheader, sizeof(gifheader), 1, fp)!=1) in LoadGIF()
314 || ( (strncmp((char*)gifheader, id, 3)!=0) in LoadGIF()
315 && (strncmp((char*)gifheader, "FIG", 3)!=0) ) ) in LoadGIF()
320 if (strncmp((char*)gifheader+3, "87a", 3) && strncmp((char*)gifheader+3,"89a",3)) in LoadGIF()
322 gifheader[3],gifheader[4],gifheader[5]); in LoadGIF()
323 HasColormap = ((gifheader[10] & COLORMAPMASK) ? True : False); in LoadGIF()
324 ColorMapSize = 1 << (gifheader[10]&7)+1; in LoadGIF()
326 Background = gifheader[11]; /* background color... not used. */ in LoadGIF()