Ignore:
Timestamp:
Aug 19, 1999, 8:08:48 PM (26 years ago)
Author:
hugh
Message:

Implemented new colorconversion routine and fixed bug in fastblt function.
Changed the palettehandling code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2PALETTE.H

    r422 r587  
    22#define __OS2PALETTE_H__
    33
    4 #include "os2ddraw.h"
    54#include "divewrap.h"
    65#define FAR
     
    2726  IDirectDrawPaletteVtbl  Vtbl;
    2827
    29   OS2IDirectDrawPalette( OS2IDirectDraw *lpDirectDraw,
     28  OS2IDirectDrawPalette( VOID *lpDirectDraw,
    3029                         int palsize,
    3130                         LPPALETTEENTRY lpColorTable,
     
    3837  int           Referenced;
    3938  inline  HRESULT       GetLastError() { return lastError; };
     39  WORD           aPal16[256];
     40  DWORD          aPal24[256];
    4041 private:
    4142
    4243 protected:
    4344  HDIVE          hDive;
     45  HDIVE          hDiveCC;
    4446  HRESULT        lastError;
    4547  LPPALETTEENTRY os2pal;
    46   OS2IDirectDraw *lpDraw;
     48  VOID          *lpDraw;
    4749  DWORD          dwCaps;
    4850  DWORD          dwSize;
Note: See TracChangeset for help on using the changeset viewer.