Diff for /np2/generic/cmndraw.h between versions 1.2 and 1.4

version 1.2, 2004/03/09 23:39:19 version 1.4, 2004/03/25 08:51:24
Line 16  typedef struct { Line 16  typedef struct {
         UINT8   padding;          UINT8   padding;
         UINT16  pal16;          UINT16  pal16;
         RGB32   pal32;          RGB32   pal32;
   } CMNPALS;
   
   typedef union {
           RGB32   pal32;
           UINT16  pal16;
           UINT8   pal8;
 } CMNPAL;  } CMNPAL;
   
 typedef struct {  typedef struct {
Line 27  typedef struct { Line 33  typedef struct {
         int             bpp;          int             bpp;
 } CMNVRAM;  } CMNVRAM;
   
   typedef void (*CMNPALCNV)(CMNPAL *dst, RGB32 *src, UINT pals, UINT bpp);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
   
 void cmndraw_getpals(CMNPALFN *fn, CMNPAL *pal, UINT pals);  void cmndraw_getpals(CMNPALFN *fn, CMNPALS *pal, UINT pals);
 void cmndraw_makegrad(RGB32 *pal, int pals, RGB32 bg, RGB32 fg);  void cmndraw_makegrad(RGB32 *pal, int pals, RGB32 bg, RGB32 fg);
   
 #if defined(SUPPORT_8BPP)  #if defined(SUPPORT_8BPP)
Line 73  void cmndraw32_setpat(const CMNVRAM *vra Line 81  void cmndraw32_setpat(const CMNVRAM *vra
   
 // ----  // ----
   
 void cmddraw_fill(CMNVRAM *vram, int x, int y, int cx, int cy, CMNPAL *pal);  void cmddraw_fill(CMNVRAM *vram, int x, int y, int cx, int cy, CMNPALS *pal);
   void cmddraw_text8(CMNVRAM *vram, int x, int y, const char *str, CMNPALS *pal);
   void cmddraw_bmp16(CMNVRAM *vram, const void *bmp, CMNPALCNV cnv);
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

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


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