home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Linux / Apps / xanim.tgz / xanim / xanim27064 / xa_fli.h < prev    next >
C/C++ Source or Header  |  1997-01-26  |  2KB  |  70 lines

  1.  
  2. /*
  3.  * xa_fli.h
  4.  *
  5.  * Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1997 by Mark Podlipec. 
  6.  * All rights reserved.
  7.  *
  8.  * This software may be freely copied, modified and redistributed without
  9.  * fee for non-commerical purposes provided that this copyright notice is
  10.  * preserved intact on all copies and modified copies.
  11.  * 
  12.  * There is no warranty or other guarantee of fitness of this software.
  13.  * It is provided solely "as is". The author(s) disclaim(s) 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 size;      /*  0 size 4  */
  24.   xaLONG magic;     /*  4 size 2  */
  25.   xaLONG frames;    /*  6 size 2  */
  26.   xaLONG width;     /*  8 size 2  */
  27.   xaLONG height;    /* 10 size 2  */
  28.   xaLONG flags;     /* 12 size 2  */
  29.   xaLONG res1;      /* 14 size 2  */
  30.   xaLONG speed;     /* 16 size 2  */
  31.   xaLONG next;      /* 18 size 4  */
  32.   xaLONG frit;      /* 22 size 4  */
  33.                  /* 26 size 102 future enhancement */
  34. } Fli_Header;
  35.  
  36. typedef struct
  37. {
  38.   xaLONG size;      /*  0 size 4 size of chunk */
  39.   xaLONG magic;     /*  4 size 2 */
  40.   xaLONG chunks;    /*  4 size 2 number of chunks in frame */
  41.                   /*  4 size 8 future*/
  42. } Fli_Frame_Header;
  43.  
  44. typedef struct FLI_FRAME_STRUCT
  45. {
  46.   xaULONG time;
  47.   xaULONG timelo;
  48.   XA_ACTION *act;
  49.   struct FLI_FRAME_STRUCT *next;
  50. } FLI_FRAME;
  51.  
  52. #define CHUNK_4          4
  53. #define FLI_LC7          7
  54. #define FLI_COLOR       11
  55. #define FLI_LC          12
  56. #define FLI_BLACK       13
  57. #define FLI_BRUN        15
  58. #define FLI_COPY        16
  59. #define FLI_MINI    18
  60.  
  61. #define FLI_MAX_COLORS  256
  62.  
  63. extern void Decode_Fli_BRUN();
  64. extern void Decode_Fli_LC();
  65. extern void Fli_Buffer_Action();
  66. extern xaULONG Fli_Read_File();
  67. extern xaLONG Is_FLI_File();
  68.  
  69.  
  70.