1 2 /* 3 * xa_gif.h 4 * 5 * Copyright (C) 1990-1998,1999 by Mark Podlipec. 6 * All rights reserved. 7 * 8 * This software may be freely used, copied and redistributed without 9 * fee for non-commerical purposes provided that this copyright 10 * notice is preserved intact on all copies. 11 * 12 * There is no warranty or other guarantee of fitness of this software. 13 * It is provided solely "as is". The author disclaims all 14 * responsibility and liability with respect to this software's usage 15 * or its effect upon hardware or computer systems. 16 * 17 */ 18 19 #include "xanim.h" 20 21 typedef struct 22 { 23 xaLONG width; 24 xaLONG height; 25 xaUBYTE m; 26 xaUBYTE cres; 27 xaUBYTE pixbits; 28 xaUBYTE bc; 29 } GIF_Screen_Hdr; 30 31 typedef struct 32 { 33 xaLONG left; 34 xaLONG top; 35 xaLONG width; 36 xaLONG height; 37 xaUBYTE m; 38 xaUBYTE i; 39 xaUBYTE pixbits; 40 xaUBYTE reserved; 41 } GIF_Image_Hdr; 42 43 typedef struct 44 { 45 xaUBYTE valid; 46 xaUBYTE data; 47 xaUBYTE first; 48 xaUBYTE res; 49 xaLONG last; 50 } GIF_Table; 51 52 typedef struct GIF_FRAME_STRUCT 53 { 54 xaULONG time; 55 XA_ACTION *act; 56 struct GIF_FRAME_STRUCT *next; 57 } GIF_FRAME; 58 59