Das ist alles was da steht.
Delphi-Quellcode:
{$IFDEF COMPILER5_UP}
PDirectDrawSurface = Pointer;
{$ELSE}
PDirectDrawSurface = IDirectDrawSurface;
{$ENDIF}
(*
* TDDBltFX
* Used to pass override information to the DIRECTDRAWSURFACE callback Blt.
*)
PDDBltFX = ^TDDBltFX;
_DDBLTFX =
packed record
dwSize : DWORD;
// size of structure
dwDDFX : DWORD;
// FX operations
dwROP : DWORD;
// Win32 raster operations
dwDDROP : DWORD;
// Raster operations new for DirectDraw
dwRotationAngle : DWORD;
// Rotation angle for blt
dwZBufferOpCode : DWORD;
// ZBuffer compares
dwZBufferLow : DWORD;
// Low limit of Z buffer
dwZBufferHigh : DWORD;
// High limit of Z buffer
dwZBufferBaseDest : DWORD;
// Destination base value
dwZDestConstBitDepth : DWORD;
// Bit depth used to specify Z constant for destination
case Integer
of
0: (
dwZDestConst : DWORD
// Constant to use as Z buffer for dest
);
1: (
lpDDSZBufferDest : PDirectDrawSurface;
// Surface to use as Z buffer for dest
dwZSrcConstBitDepth : DWORD;
// Bit depth used to specify Z constant for source
case integer
of
0: (
dwZSrcConst : DWORD;
// Constant to use as Z buffer for src
);
1: (
lpDDSZBufferSrc : PDirectDrawSurface;
// Surface to use as Z buffer for src
dwAlphaEdgeBlendBitDepth : DWORD;
// Bit depth used to specify constant for alpha edge blend
dwAlphaEdgeBlend : DWORD;
// Alpha for edge blending
dwReserved : DWORD;
dwAlphaDestConstBitDepth : DWORD;
// Bit depth used to specify alpha constant for destination
case integer
of
0: (
dwAlphaDestConst : DWORD;
// Constant to use as Alpha Channel
);
ab zeile 332