Diff for /np2/common/bmpdata.h between versions 1.2 and 1.3

version 1.2, 2003/11/21 06:51:10 version 1.3, 2005/02/07 14:46:08
Line 1 Line 1
   
 #if defined(__GNUC__)  #if defined(__GNUC__)
 typedef struct {  typedef struct {
         BYTE    bfType[2];          UINT8   bfType[2];
         BYTE    bfSize[4];          UINT8   bfSize[4];
         BYTE    bfReserved1[2];          UINT8   bfReserved1[2];
         BYTE    bfReserved2[2];          UINT8   bfReserved2[2];
         BYTE    bfOffBits[4];          UINT8   bfOffBits[4];
 } __attribute__ ((packed)) BMPFILE;  } __attribute__ ((packed)) BMPFILE;
 typedef struct {  typedef struct {
         BYTE    biSize[4];          UINT8   biSize[4];
         BYTE    biWidth[4];          UINT8   biWidth[4];
         BYTE    biHeight[4];          UINT8   biHeight[4];
         BYTE    biPlanes[2];          UINT8   biPlanes[2];
         BYTE    biBitCount[2];          UINT8   biBitCount[2];
         BYTE    biCompression[4];          UINT8   biCompression[4];
         BYTE    biSizeImage[4];          UINT8   biSizeImage[4];
         BYTE    biXPelsPerMeter[4];          UINT8   biXPelsPerMeter[4];
         BYTE    biYPelsPerMeter[4];          UINT8   biYPelsPerMeter[4];
         BYTE    biClrUsed[4];          UINT8   biClrUsed[4];
         BYTE    biClrImportant[4];          UINT8   biClrImportant[4];
 } __attribute__ ((packed)) BMPINFO;  } __attribute__ ((packed)) BMPINFO;
 #else  #else
 #pragma pack(push, 1)  #pragma pack(push, 1)
 typedef struct {  typedef struct {
         BYTE    bfType[2];          UINT8   bfType[2];
         BYTE    bfSize[4];          UINT8   bfSize[4];
         BYTE    bfReserved1[2];          UINT8   bfReserved1[2];
         BYTE    bfReserved2[2];          UINT8   bfReserved2[2];
         BYTE    bfOffBits[4];          UINT8   bfOffBits[4];
 } BMPFILE;  } BMPFILE;
 typedef struct {  typedef struct {
         BYTE    biSize[4];          UINT8   biSize[4];
         BYTE    biWidth[4];          UINT8   biWidth[4];
         BYTE    biHeight[4];          UINT8   biHeight[4];
         BYTE    biPlanes[2];          UINT8   biPlanes[2];
         BYTE    biBitCount[2];          UINT8   biBitCount[2];
         BYTE    biCompression[4];          UINT8   biCompression[4];
         BYTE    biSizeImage[4];          UINT8   biSizeImage[4];
         BYTE    biXPelsPerMeter[4];          UINT8   biXPelsPerMeter[4];
         BYTE    biYPelsPerMeter[4];          UINT8   biYPelsPerMeter[4];
         BYTE    biClrUsed[4];          UINT8   biClrUsed[4];
         BYTE    biClrImportant[4];          UINT8   biClrImportant[4];
 } BMPINFO;  } BMPINFO;
 #pragma pack(pop)  #pragma pack(pop)
 #endif  #endif
Line 61  UINT bmpdata_getdatasize(const BMPINFO * Line 61  UINT bmpdata_getdatasize(const BMPINFO *
   
 UINT bmpdata_sethead(BMPFILE *bf, const BMPINFO *bi);  UINT bmpdata_sethead(BMPFILE *bf, const BMPINFO *bi);
 UINT bmpdata_setinfo(BMPINFO *bi, const BMPDATA *inf);  UINT bmpdata_setinfo(BMPINFO *bi, const BMPDATA *inf);
 BOOL bmpdata_getinfo(const BMPINFO *bi, BMPDATA *inf);  BRESULT bmpdata_getinfo(const BMPINFO *bi, BMPDATA *inf);
   
 BYTE *bmpdata_lzx(int level, int dstsize, const BYTE *dat);  UINT8 *bmpdata_lzx(int level, int dstsize, const UINT8 *dat);
 BYTE *bmpdata_solvedata(const BYTE *dat);  UINT8 *bmpdata_solvedata(const UINT8 *dat);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>