📄 mmddraw.pas
字号:
DDFXCAPS_OVERLAYSTRETCHX = $00800000;
//
// DirectDraw supports integer stretching (1x,2x,) of a surface
// along the x axis (horizontal direction) for overlays.
//
DDFXCAPS_OVERLAYSTRETCHXN = $01000000;
//
// DirectDraw supports arbitrary stretching of a surface along the
// y axis (horizontal direction) for overlays.
//
DDFXCAPS_OVERLAYSTRETCHY = $02000000;
//
// DirectDraw supports integer stretching (1x,2x,) of a surface
// along the y axis (vertical direction) for overlays.
//
DDFXCAPS_OVERLAYSTRETCHYN = $04000000;
//
// DirectDraw supports mirroring of overlays across the vertical axis
//
DDFXCAPS_OVERLAYMIRRORLEFTRIGHT = $08000000;
//
// DirectDraw supports mirroring of overlays across the horizontal axis
//
DDFXCAPS_OVERLAYMIRRORUPDOWN = $10000000;
{-- DirectDraw stereo view capabilities --------------------------------------}
//
// The stereo view is accomplished via enigma encoding.
//
DDSVCAPS_ENIGMA = $00000001;
//
// The stereo view is accomplished via high frequency flickering.
//
DDSVCAPS_FLICKER = $00000002;
//
// The stereo view is accomplished via red and blue filters applied
// to the left and right eyes. All images must adapt their colorspaces
// for this process.
//
DDSVCAPS_REDBLUE = $00000004;
//
// The stereo view is accomplished with split screen technology.
//
DDSVCAPS_SPLIT = $00000008;
{-- DirectDrawPalette capabilities -------------------------------------------}
//
// Index is 4 bits. There are sixteen color entries in the palette table.
//
DDPCAPS_4BIT = $00000001;
//
// Index is onto a 8 bit color index. This field is only valid with the
// DDPCAPS_1BIT, DDPCAPS_2BIT or DDPCAPS_4BIT capability and the target
// surface is in 8bpp. Each color entry is one byte long and is an index
// into destination surface's 8bpp palette.
//
DDPCAPS_8BITENTRIES = $00000002;
//
// Index is 8 bits. There are 256 color entries in the palette table.
//
DDPCAPS_8BIT = $00000004;
//
// Indicates that this DIRECTDRAWPALETTE should use the palette color array
// passed into the lpDDColorArray parameter to initialize the DIRECTDRAWPALETTE
// object.
//
DDPCAPS_INITIALIZE = $00000008;
//
// This palette is the one attached to the primary surface. Changing this
// table has immediate effect on the display unless DDPSETPAL_VSYNC is specified
// and supported.
//
DDPCAPS_PRIMARYSURFACE = $00000010;
//
// This palette is the one attached to the primary surface left. Changing
// this table has immediate effect on the display for the left eye unless
// DDPSETPAL_VSYNC is specified and supported.
//
DDPCAPS_PRIMARYSURFACELEFT = $00000020;
//
// This palette can have all 256 entries defined
//
DDPCAPS_ALLOW256 = $00000040;
//
// This palette can have modifications to it synced with the monitors
// refresh rate.
//
DDPCAPS_VSYNC = $00000080;
//
// Index is 1 bit. There are two color entries in the palette table.
//
DDPCAPS_1BIT = $00000100;
//
// Index is 2 bit. There are four color entries in the palette table.
//
DDPCAPS_2BIT = $00000200;
{-- DirectDrawPalette setentry constants -------------------------------------}
{-- DirectDrawPalette getentry constants -------------------------------------}
// 0 is the only legal value
{-- DirectDrawSurface setpalette constants -----------------------------------}
{-- DirectDraw bitdepth constants --------------------------------------------}
// NOTE: These are only used to indicate supported bit depths. These
// are flags only, they are not to be used as an actual bit depth. The
// absolute numbers 1, 2, 4, 8, 16, 24 and 32 are used to indicate actual
// bit depths in a surface or for changing the display mode.
//
// 1 bit per pixel.
//
DDBD_1 = $00004000;
//
// 2 bits per pixel.
//
DDBD_2 = $00002000;
//
// 4 bits per pixel.
//
DDBD_4 = $00001000;
//
// 8 bits per pixel.
//
DDBD_8 = $00000800;
//
// 16 bits per pixel.
//
DDBD_16 = $00000400;
//
// 24 bits per pixel.
//
DDBD_24 = $00000200;
//
// 32 bits per pixel.
//
DDBD_32 = $00000100;
{-- DirectDrawSurface set/get color key flags --------------------------------}
//
// Set if the structure contains a color space. Not set if the structure
// contains a single color key.
//
DDCKEY_COLORSPACE = $00000001;
//
// Set if the structure specifies a color key or color space which is to be
// used as a destination color key for blt operations.
//
DDCKEY_DESTBLT = $00000002;
//
// Set if the structure specifies a color key or color space which is to be
// used as a destination color key for overlay operations.
//
DDCKEY_DESTOVERLAY = $00000004;
//
// Set if the structure specifies a color key or color space which is to be
// used as a source color key for blt operations.
//
DDCKEY_SRCBLT = $00000008;
//
// Set if the structure specifies a color key or color space which is to be
// used as a source color key for overlay operations.
//
DDCKEY_SRCOVERLAY = $00000010;
{-- DirectDraw color key capability flags ------------------------------------}
//
// Supports transparent blting using a color key to identify the replaceable
// bits of the destination surface for RGB colors.
//
DDCKEYCAPS_DESTBLT = $00000001;
//
// Supports transparent blting using a color space to identify the replaceable
// bits of the destination surface for RGB colors.
//
DDCKEYCAPS_DESTBLTCLRSPACE = $00000002;
//
// Supports transparent blting using a color space to identify the replaceable
// bits of the destination surface for YUV colors.
//
DDCKEYCAPS_DESTBLTCLRSPACEYUV = $00000004;
//
// Supports transparent blting using a color key to identify the replaceable
// bits of the destination surface for YUV colors.
//
DDCKEYCAPS_DESTBLTYUV = $00000008;
//
// Supports overlaying using colorkeying of the replaceable bits of the surface
// being overlayed for RGB colors.
//
DDCKEYCAPS_DESTOVERLAY = $00000010;
//
// Supports a color space as the color key for the destination for RGB colors.
//
DDCKEYCAPS_DESTOVERLAYCLRSPACE = $00000020;
//
// Supports a color space as the color key for the destination for YUV colors.
//
DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV = $00000040;
//
// Supports only one active destination color key value for visible overlay
// surfaces.
//
DDCKEYCAPS_DESTOVERLAYONEACTIVE = $00000080;
//
// Supports overlaying using colorkeying of the replaceable bits of the
// surface being overlayed for YUV colors.
//
DDCKEYCAPS_DESTOVERLAYYUV = $00000100;
//
// Supports transparent blting using the color key for the source with
// this surface for RGB colors.
//
DDCKEYCAPS_SRCBLT = $00000200;
//
// Supports transparent blting using a color space for the source with
// this surface for RGB colors.
//
DDCKEYCAPS_SRCBLTCLRSPACE = $00000400;
//
// Supports transparent blting using a color space for the source with
// this surface for YUV colors.
//
DDCKEYCAPS_SRCBLTCLRSPACEYUV = $00000800;
//
// Supports transparent blting using the color key f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -