Hallo!
Ich bekomme bei folgenden Code 5x Die Fehlermeldung "Typ IDirectDrawSurface benötigt Finalization - nicht im varianten Record erlaubt".
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50:
| 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 ); 1: ( lpDDSAlphaDest : PDirectDrawSurface; // Surface to use as Alpha Channel dwAlphaSrcConstBitDepth : DWORD; // Bit depth used to specify alpha constant for source case integer of 0: ( dwAlphaSrcConst : DWORD; // Constant to use as Alpha Channel ); 1: ( lpDDSAlphaSrc : PDirectDrawSurface; // Surface to use as Alpha Channel case integer of 0: ( dwFillColor : DWORD; // color in RGB or Palettized ); 1: ( dwFillDepth : DWORD; // depth value for z-buffer ); 2: ( dwFillPixel : DWORD; // pixel value ); 3: ( lpDDSPattern : PDirectDrawSurface; // Surface to use as pattern ddckDestColorkey : TDDColorKey; // DestColorkey override ddckSrcColorkey : TDDColorKey; // SrcColorkey override ) ) ) ) ) end; |
Auch hier bekomme ich 2x diese Meldung;#
Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
| case Integer of 0: ( dwAlphaDestConst: DWORD; // Constant to use as alpha channel for dest dwAlphaSrcConstBitDepth: DWORD; // Bit depth used to specify alpha constant for source dwAlphaSrcConst: DWORD; // Constant to use as alpha channel for src dckDestColorkey: TDDColorKey; // DestColorkey override dckSrcColorkey: TDDColorKey; // DestColorkey override dwDDFX: DWORD; // Overlay FX dwFlags: DWORD; // flags ); 1: ( lpDDSAlphaDest: PDirectDrawSurface; // Surface to use as alpha channel for dest filler: DWORD; lpDDSAlphaSrc: PDirectDrawSurface; // Surface to use as alpha channel for src ); end; |
Kann mir dies bitte jamand so umändern, dass dies richtig ist?
Mit größten Dank im Voraus!