⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ddraw.h

📁 quake的sdl移植
💻 H
📖 第 1 页 / 共 5 页
字号:
/* * Indicates surface will have a DC associated long term */#define DDSCAPS_OWNDC                           0x00040000l/* * Indicates surface should be able to receive live video */#define DDSCAPS_LIVEVIDEO                       0x00080000l/* * Indicates surface should be able to have a stream decompressed * to it by the hardware. */#define DDSCAPS_HWCODEC                         0x00100000l/* * Surface is a 320x200 or 320x240 ModeX surface */#define DDSCAPS_MODEX                           0x00200000l/* * Indicates surface is one level of a mip-map. This surface will * be attached to other DDSCAPS_MIPMAP surfaces to form the mip-map. * This can be done explicitly, by creating a number of surfaces and * attaching them with AddAttachedSurface or by implicitly by CreateSurface. * If this bit is set then DDSCAPS_TEXTURE must also be set. */#define DDSCAPS_MIPMAP                          0x00400000l/* * Indicates that memory for the surface is not allocated until the surface * is loaded (via the Direct3D texture Load() function). */#define DDSCAPS_ALLOCONLOAD                     0x04000000l /**************************************************************************** * * DIRECTDRAW DRIVER CAPABILITY FLAGS * ****************************************************************************//* * Display hardware has 3D acceleration. */#define DDCAPS_3D                       0x00000001l/* * Indicates that DirectDraw will support only dest rectangles that are aligned * on DIRECTDRAWCAPS.dwAlignBoundaryDest boundaries of the surface, respectively. * READ ONLY. */#define DDCAPS_ALIGNBOUNDARYDEST        0x00000002l/* * Indicates that DirectDraw will support only source rectangles  whose sizes in  * BYTEs are DIRECTDRAWCAPS.dwAlignSizeDest multiples, respectively.  READ ONLY. */#define DDCAPS_ALIGNSIZEDEST            0x00000004l/* * Indicates that DirectDraw will support only source rectangles that are aligned * on DIRECTDRAWCAPS.dwAlignBoundarySrc boundaries of the surface, respectively. * READ ONLY. */#define DDCAPS_ALIGNBOUNDARYSRC         0x00000008l/* * Indicates that DirectDraw will support only source rectangles  whose sizes in  * BYTEs are DIRECTDRAWCAPS.dwAlignSizeSrc multiples, respectively.  READ ONLY. */#define DDCAPS_ALIGNSIZESRC             0x00000010l/* * Indicates that DirectDraw will create video memory surfaces that have a stride  * alignment equal to DIRECTDRAWCAPS.dwAlignStride.  READ ONLY. */#define DDCAPS_ALIGNSTRIDE              0x00000020l/* * Display hardware is capable of blt operations. */#define DDCAPS_BLT                      0x00000040l/* * Display hardware is capable of asynchronous blt operations. */#define DDCAPS_BLTQUEUE                 0x00000080l/* * Display hardware is capable of color space conversions during the blt operation. */#define DDCAPS_BLTFOURCC                0x00000100l/* * Display hardware is capable of stretching during blt operations. */#define DDCAPS_BLTSTRETCH               0x00000200l/* * Display hardware is shared with GDI. */#define DDCAPS_GDI                      0x00000400l/* * Display hardware can overlay. */#define DDCAPS_OVERLAY                  0x00000800l/* * Set if display hardware supports overlays but can not clip them. */#define DDCAPS_OVERLAYCANTCLIP          0x00001000l/* * Indicates that overlay hardware is capable of color space conversions during * the overlay operation. */#define DDCAPS_OVERLAYFOURCC            0x00002000l/* * Indicates that stretching can be done by the overlay hardware. */#define DDCAPS_OVERLAYSTRETCH           0x00004000l/* * Indicates that unique DirectDrawPalettes can be created for DirectDrawSurfaces * other than the primary surface. */#define DDCAPS_PALETTE                  0x00008000l/* * Indicates that palette changes can be syncd with the veritcal refresh. */#define DDCAPS_PALETTEVSYNC             0x00010000l/* * Display hardware can return the current scan line. */#define DDCAPS_READSCANLINE             0x00020000l/* * Display hardware has stereo vision capabilities.  DDSCAPS_PRIMARYSURFACELEFT  * can be created. */#define DDCAPS_STEREOVIEW               0x00040000l/* * Display hardware is capable of generating a vertical blank interrupt. */#define DDCAPS_VBI                      0x00080000l/* * Supports the use of z buffers with blt operations. */#define DDCAPS_ZBLTS                    0x00100000l/* * Supports Z Ordering of overlays. */#define DDCAPS_ZOVERLAYS                0x00200000l/* * Supports color key */#define DDCAPS_COLORKEY                 0x00400000l/* * Supports alpha surfaces */#define DDCAPS_ALPHA                    0x00800000l/* * colorkey is hardware assisted(DDCAPS_COLORKEY will also be set) */#define DDCAPS_COLORKEYHWASSIST         0x01000000l/* * no hardware support at all */#define DDCAPS_NOHARDWARE               0x02000000l/* * Display hardware is capable of color fill with bltter */#define DDCAPS_BLTCOLORFILL             0x04000000l/* * Display hardware is bank switched, and potentially very slow at * random access to VRAM. */#define DDCAPS_BANKSWITCHED             0x08000000l/* * Display hardware is capable of depth filling Z-buffers with bltter */#define DDCAPS_BLTDEPTHFILL             0x10000000l/* * Display hardware is capable of clipping while bltting. */#define DDCAPS_CANCLIP                  0x20000000l/* * Display hardware is capable of clipping while stretch bltting. */#define DDCAPS_CANCLIPSTRETCHED         0x40000000l/* * Display hardware is capable of bltting to or from system memory */#define DDCAPS_CANBLTSYSMEM             0x80000000l /**************************************************************************** * * MORE DIRECTDRAW DRIVER CAPABILITY FLAGS (dwCaps2) * ****************************************************************************//* * Display hardware is certified */#define DDCAPS2_CERTIFIED               0x00000001l/* * Driver cannot interleave 2D operations (lock and blt) to surfaces with * Direct3D rendering operations between calls to BeginScene() and EndScene() */#define DDCAPS2_NO2DDURING3DSCENE       0x00000002l/**************************************************************************** * * DIRECTDRAW FX ALPHA CAPABILITY FLAGS * ****************************************************************************//* * Supports alpha blending around the edge of a source color keyed surface. * For Blt. */#define DDFXALPHACAPS_BLTALPHAEDGEBLEND         0x00000001l/* * Supports alpha information in the pixel format.  The bit depth of alpha  * information in the pixel format can be 1,2,4, or 8.  The alpha value becomes * more opaque as the alpha value increases.  (0 is transparent.) * For Blt. */#define DDFXALPHACAPS_BLTALPHAPIXELS            0x00000002l/* * Supports alpha information in the pixel format.  The bit depth of alpha  * information in the pixel format can be 1,2,4, or 8.  The alpha value  * becomes more transparent as the alpha value increases.  (0 is opaque.)  * This flag can only be set if DDCAPS_ALPHA is set. * For Blt. */#define DDFXALPHACAPS_BLTALPHAPIXELSNEG         0x00000004l/* * Supports alpha only surfaces.  The bit depth of an alpha only surface can be * 1,2,4, or 8.  The alpha value becomes more opaque as the alpha value increases. * (0 is transparent.) * For Blt. */#define DDFXALPHACAPS_BLTALPHASURFACES          0x00000008l/* * The depth of the alpha channel data can range can be 1,2,4, or 8.   * The NEG suffix indicates that this alpha channel becomes more transparent * as the alpha value increases. (0 is opaque.)  This flag can only be set if * DDCAPS_ALPHA is set. * For Blt. */#define DDFXALPHACAPS_BLTALPHASURFACESNEG       0x00000010l/* * Supports alpha blending around the edge of a source color keyed surface. * For Overlays. */#define DDFXALPHACAPS_OVERLAYALPHAEDGEBLEND     0x00000020l/* * Supports alpha information in the pixel format.  The bit depth of alpha  * information in the pixel format can be 1,2,4, or 8.  The alpha value becomes * more opaque as the alpha value increases.  (0 is transparent.) * For Overlays. */#define DDFXALPHACAPS_OVERLAYALPHAPIXELS        0x00000040l/* * Supports alpha information in the pixel format.  The bit depth of alpha  * information in the pixel format can be 1,2,4, or 8.  The alpha value  * becomes more transparent as the alpha value increases.  (0 is opaque.)  * This flag can only be set if DDCAPS_ALPHA is set. * For Overlays. */#define DDFXALPHACAPS_OVERLAYALPHAPIXELSNEG     0x00000080l/* * Supports alpha only surfaces.  The bit depth of an alpha only surface can be * 1,2,4, or 8.  The alpha value becomes more opaque as the alpha value increases. * (0 is transparent.) * For Overlays. */#define DDFXALPHACAPS_OVERLAYALPHASURFACES      0x00000100l/* * The depth of the alpha channel data can range can be 1,2,4, or 8.   * The NEG suffix indicates that this alpha channel becomes more transparent * as the alpha value increases. (0 is opaque.)  This flag can only be set if * DDCAPS_ALPHA is set. * For Overlays. */#define DDFXALPHACAPS_OVERLAYALPHASURFACESNEG   0x00000200l/**************************************************************************** * * DIRECTDRAW FX CAPABILITY FLAGS * ****************************************************************************//*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -