home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 580a.lha / HDFView_v3.01 / source.LZH / source / include / RendStruct.h < prev   
Encoding:
C/C++ Source or Header  |  1991-06-13  |  969 b   |  41 lines

  1. struct rgb_image {
  2.   /* User portion */
  3.     int xsize, ysize;                  /* fill these in before using*/
  4.     unsigned char *rbu, *bbu, *gbu;    /* fill in these too */
  5.  
  6.   /* Private portion */
  7.     int last_reg;                      /* leave all of the rest alone */
  8.     short *ooxmap, *ooymap;
  9.     UBYTE *CubeLookup;
  10.     UBYTE Palette24[(3*256)+4];
  11.     unsigned char reg_mem[256][3];
  12.     unsigned char reg_memx[256][3];
  13.     unsigned short *cspace;
  14.     struct HamePort *HamePort;
  15.     int u_r_here;
  16.  
  17.     long reserved0; /* Reserved for future use - must be set to zero */
  18.     long reserved1;
  19.     long reserved2;
  20.     long reserved3;
  21.   };
  22.  
  23. struct LineBuff {
  24.   unsigned char lr,lg,lb,flipper;
  25.   int regpels,hpels,nchk;
  26.   short edr,edg,edb;
  27.   short oedr,oedg,oedb;
  28.   short line_edr[340];
  29.   short line_edg[340];
  30.   short line_edb[340];
  31.   struct HamePort *hp;
  32.   UBYTE *linebuf;
  33.   struct rgb_image *rgb;
  34.   int left;
  35.   int top;
  36.   int wide;
  37.   int high;
  38.   int BuffCopy;
  39.   };
  40.  
  41.