Commit 2d37e9b8 authored by Peter Hunnisett's avatar Peter Hunnisett Committed by Alexandre Julliard

Added all clipper&3d stubs.

Starting ColorKey support. Fixed trace statement in DirectDrawCreate as formatting wasn't correct. Changed "return 0;" to "return DD_OK" or "return S_OK" as appropriate. Added SurfaceEnum dwFlags.
parent 92cbc1d3
...@@ -620,6 +620,13 @@ typedef struct _DDPIXELFORMAT { ...@@ -620,6 +620,13 @@ typedef struct _DDPIXELFORMAT {
#define DDSD_LINEARSIZE 0x00080000 #define DDSD_LINEARSIZE 0x00080000
#define DDSD_ALL 0x000ff9ee #define DDSD_ALL 0x000ff9ee
/* EnumSurfaces flags */
#define DDENUMSURFACES_ALL 0x00000001
#define DDENUMSURFACES_MATCH 0x00000002
#define DDENUMSURFACES_NOMATCH 0x00000004
#define DDENUMSURFACES_CANBECREATED 0x00000008
#define DDENUMSURFACES_DOESEXIST 0x00000010
/* SetDisplayMode flags */ /* SetDisplayMode flags */
#define DDSDM_STANDARDVGAMODE 0x00000001 #define DDSDM_STANDARDVGAMODE 0x00000001
...@@ -987,6 +994,9 @@ struct _common_directdrawsurface { ...@@ -987,6 +994,9 @@ struct _common_directdrawsurface {
LPDIRECTDRAWSURFACE3 backbuffer; LPDIRECTDRAWSURFACE3 backbuffer;
DDSURFACEDESC surface_desc; DDSURFACEDESC surface_desc;
DDCOLORKEY ckDestOverlay, ckSrcOverlay;
DDCOLORKEY ckDestBlt, ckSrcBlt;
}; };
struct _dga_directdrawsurface { struct _dga_directdrawsurface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment