25#ifndef __WINE_D3DTYPES_H
26#define __WINE_D3DTYPES_H
30#if (DIRECT3D_VERSION >= 0x0800)
31#error "You should not include d3dtypes.h when compiling for DX8 or newer."
41#define D3DVALP(val, prec) ((float)(val))
42#define D3DVAL(val) ((float)(val))
43#define D3DDivide(a, b) (float)((double) (a) / (double) (b))
44#define D3DMultiply(a, b) ((a) * (b))
50#define CI_GETALPHA(ci) ((ci) >> 24)
51#define CI_GETINDEX(ci) (((ci) >> 8) & 0xffff)
52#define CI_GETFRACTION(ci) ((ci) & 0xff)
53#define CI_ROUNDINDEX(ci) CI_GETINDEX((ci) + 0x80)
54#define CI_MASKALPHA(ci) ((ci) & 0xffffff)
55#define CI_MAKE(a, i, f) (((a) << 24) | ((i) << 8) | (f))
57#define RGBA_GETALPHA(rgb) ((rgb) >> 24)
58#define RGBA_GETRED(rgb) (((rgb) >> 16) & 0xff)
59#define RGBA_GETGREEN(rgb) (((rgb) >> 8) & 0xff)
60#define RGBA_GETBLUE(rgb) ((rgb) & 0xff)
61#define RGBA_MAKE(r, g, b, a) ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
63#define D3DRGB(r, g, b) \
64 (0xff000000 | ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255))
65#define D3DRGBA(r, g, b, a) \
66 ( (((LONG)((a) * 255)) << 24) | (((LONG)((r) * 255)) << 16) \
67 | (((LONG)((g) * 255)) << 8) | (LONG)((b) * 255) \
70#define RGB_GETRED(rgb) (((rgb) >> 16) & 0xff)
71#define RGB_GETGREEN(rgb) (((rgb) >> 8) & 0xff)
72#define RGB_GETBLUE(rgb) ((rgb) & 0xff)
73#define RGBA_SETALPHA(rgba, x) (((x) << 24) | ((rgba) & 0x00ffffff))
74#define RGB_MAKE(r, g, b) ((D3DCOLOR) (((r) << 16) | ((g) << 8) | (b)))
75#define RGBA_TORGB(rgba) ((D3DCOLOR) ((rgba) & 0xffffff))
76#define RGB_TORGBA(rgb) ((D3DCOLOR) ((rgb) | 0xff000000))
80#define D3DENUMRET_CANCEL DDENUMRET_CANCEL
81#define D3DENUMRET_OK DDENUMRET_OK
87#ifndef DX_SHARED_DEFINES
91#ifndef D3DCOLOR_DEFINED
93#define D3DCOLOR_DEFINED
96#ifndef D3DVECTOR_DEFINED
110#if defined(__cplusplus) && defined(D3D_OVERLOADS)
148#define D3DVECTOR_DEFINED
151#define DX_SHARED_DEFINES
158#ifndef D3DCOLORVALUE_DEFINED
179#ifndef D3DRECT_DEFINED
253#if defined(__cplusplus) && defined(D3D_OVERLOADS)
329#if defined(__cplusplus) && defined(D3D_OVERLOADS)
340#ifndef D3DMATRIX_DEFINED
346#if defined(__cplusplus) && defined(D3D_OVERLOADS)
351 {
return (&
_11)[
r*4 +
c]; }
352 const D3DVALUE &operator() (
int r,
int c)
const
353 {
return (&
_11)[
r*4 +
c]; }
358#if defined(__cplusplus) && defined(D3D_OVERLOADS)
399#define D3DMAXUSERCLIPPLANES 32
401#define D3DCLIPPLANE0 (1 << 0)
402#define D3DCLIPPLANE1 (1 << 1)
403#define D3DCLIPPLANE2 (1 << 2)
404#define D3DCLIPPLANE3 (1 << 3)
405#define D3DCLIPPLANE4 (1 << 4)
406#define D3DCLIPPLANE5 (1 << 5)
408#define D3DCLIP_LEFT 0x00000001
409#define D3DCLIP_RIGHT 0x00000002
410#define D3DCLIP_TOP 0x00000004
411#define D3DCLIP_BOTTOM 0x00000008
412#define D3DCLIP_FRONT 0x00000010
413#define D3DCLIP_BACK 0x00000020
414#define D3DCLIP_GEN0 0x00000040
415#define D3DCLIP_GEN1 0x00000080
416#define D3DCLIP_GEN2 0x00000100
417#define D3DCLIP_GEN3 0x00000200
418#define D3DCLIP_GEN4 0x00000400
419#define D3DCLIP_GEN5 0x00000800
421#define D3DSTATUS_CLIPUNIONLEFT D3DCLIP_LEFT
422#define D3DSTATUS_CLIPUNIONRIGHT D3DCLIP_RIGHT
423#define D3DSTATUS_CLIPUNIONTOP D3DCLIP_TOP
424#define D3DSTATUS_CLIPUNIONBOTTOM D3DCLIP_BOTTOM
425#define D3DSTATUS_CLIPUNIONFRONT D3DCLIP_FRONT
426#define D3DSTATUS_CLIPUNIONBACK D3DCLIP_BACK
427#define D3DSTATUS_CLIPUNIONGEN0 D3DCLIP_GEN0
428#define D3DSTATUS_CLIPUNIONGEN1 D3DCLIP_GEN1
429#define D3DSTATUS_CLIPUNIONGEN2 D3DCLIP_GEN2
430#define D3DSTATUS_CLIPUNIONGEN3 D3DCLIP_GEN3
431#define D3DSTATUS_CLIPUNIONGEN4 D3DCLIP_GEN4
432#define D3DSTATUS_CLIPUNIONGEN5 D3DCLIP_GEN5
434#define D3DSTATUS_CLIPINTERSECTIONLEFT 0x00001000
435#define D3DSTATUS_CLIPINTERSECTIONRIGHT 0x00002000
436#define D3DSTATUS_CLIPINTERSECTIONTOP 0x00004000
437#define D3DSTATUS_CLIPINTERSECTIONBOTTOM 0x00008000
438#define D3DSTATUS_CLIPINTERSECTIONFRONT 0x00010000
439#define D3DSTATUS_CLIPINTERSECTIONBACK 0x00020000
440#define D3DSTATUS_CLIPINTERSECTIONGEN0 0x00040000
441#define D3DSTATUS_CLIPINTERSECTIONGEN1 0x00080000
442#define D3DSTATUS_CLIPINTERSECTIONGEN2 0x00100000
443#define D3DSTATUS_CLIPINTERSECTIONGEN3 0x00200000
444#define D3DSTATUS_CLIPINTERSECTIONGEN4 0x00400000
445#define D3DSTATUS_CLIPINTERSECTIONGEN5 0x00800000
446#define D3DSTATUS_ZNOTVISIBLE 0x01000000
448#define D3DSTATUS_CLIPUNIONALL ( \
449 D3DSTATUS_CLIPUNIONLEFT | \
450 D3DSTATUS_CLIPUNIONRIGHT | \
451 D3DSTATUS_CLIPUNIONTOP | \
452 D3DSTATUS_CLIPUNIONBOTTOM | \
453 D3DSTATUS_CLIPUNIONFRONT | \
454 D3DSTATUS_CLIPUNIONBACK | \
455 D3DSTATUS_CLIPUNIONGEN0 | \
456 D3DSTATUS_CLIPUNIONGEN1 | \
457 D3DSTATUS_CLIPUNIONGEN2 | \
458 D3DSTATUS_CLIPUNIONGEN3 | \
459 D3DSTATUS_CLIPUNIONGEN4 | \
460 D3DSTATUS_CLIPUNIONGEN5 \
463#define D3DSTATUS_CLIPINTERSECTIONALL ( \
464 D3DSTATUS_CLIPINTERSECTIONLEFT | \
465 D3DSTATUS_CLIPINTERSECTIONRIGHT | \
466 D3DSTATUS_CLIPINTERSECTIONTOP | \
467 D3DSTATUS_CLIPINTERSECTIONBOTTOM | \
468 D3DSTATUS_CLIPINTERSECTIONFRONT | \
469 D3DSTATUS_CLIPINTERSECTIONBACK | \
470 D3DSTATUS_CLIPINTERSECTIONGEN0 | \
471 D3DSTATUS_CLIPINTERSECTIONGEN1 | \
472 D3DSTATUS_CLIPINTERSECTIONGEN2 | \
473 D3DSTATUS_CLIPINTERSECTIONGEN3 | \
474 D3DSTATUS_CLIPINTERSECTIONGEN4 | \
475 D3DSTATUS_CLIPINTERSECTIONGEN5 \
478#define D3DSTATUS_DEFAULT ( \
479 D3DSTATUS_CLIPINTERSECTIONALL | \
480 D3DSTATUS_ZNOTVISIBLE)
482#define D3DTRANSFORM_CLIPPED 0x00000001
483#define D3DTRANSFORM_UNCLIPPED 0x00000002
552#if (DIRECT3D_VERSION < 0x0800)
596#define D3DLIGHT_ACTIVE 0x00000001
597#define D3DLIGHT_NO_SPECULAR 0x00000002
598#define D3DLIGHT_ALL (D3DLIGHT_ACTIVE | D3DLIGHT_NO_SPECULAR)
600#define D3DLIGHT_RANGE_MAX ((float)sqrt(FLT_MAX))
626#define D3DCOLOR_MONO 1
627#define D3DCOLOR_RGB 2
631#ifndef D3DCLEAR_TARGET
632#define D3DCLEAR_TARGET 0x00000001
635#ifndef D3DCLEAR_ZBUFFER
636#define D3DCLEAR_ZBUFFER 0x00000002
639#ifndef D3DCLEAR_STENCIL
640#define D3DCLEAR_STENCIL 0x00000004
680#if (DIRECT3D_VERSION < 0x0800)
713#if (DIRECT3D_VERSION < 0x0800)
748#if (DIRECT3D_VERSION < 0x0800)
820#if (DIRECT3D_VERSION < 0x0800)
834#define D3DSTATE_OVERRIDE_BIAS 256
836#define D3DSTATE_OVERRIDE(type) (D3DRENDERSTATETYPE)(((DWORD) (type) + D3DSTATE_OVERRIDE_BIAS))
838#if (DIRECT3D_VERSION < 0x0800)
872#if (DIRECT3D_VERSION < 0x0800)
1009#define D3DRENDERSTATE_BLENDENABLE D3DRENDERSTATE_ALPHABLENDENABLE
1010#define D3DRENDERSTATE_WRAPBIAS 128UL
1011#define D3DWRAP_U 0x00000001L
1012#define D3DWRAP_V 0x00000002L
1014#define D3DWRAPCOORD_0 0x00000001L
1015#define D3DWRAPCOORD_1 0x00000002L
1016#define D3DWRAPCOORD_2 0x00000004L
1017#define D3DWRAPCOORD_3 0x00000008L
1021#define D3DRENDERSTATE_STIPPLEPATTERN(y) (D3DRENDERSTATE_STIPPLEPATTERN00 + (y))
1054#define D3DPROCESSVERTICES_TRANSFORMLIGHT 0x00000000L
1055#define D3DPROCESSVERTICES_TRANSFORM 0x00000001L
1056#define D3DPROCESSVERTICES_COPY 0x00000002L
1057#define D3DPROCESSVERTICES_OPMASK 0x00000007L
1059#define D3DPROCESSVERTICES_UPDATEEXTENTS 0x00000008L
1060#define D3DPROCESSVERTICES_NOCOLOR 0x00000010L
1062#if (DIRECT3D_VERSION < 0x0800)
1093#define D3DTSS_TCI_PASSTHRU 0x00000000
1094#define D3DTSS_TCI_CAMERASPACENORMAL 0x00010000
1095#define D3DTSS_TCI_CAMERASPACEPOSITION 0x00020000
1096#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x00030000
1133#define D3DTA_SELECTMASK 0x0000000f
1134#define D3DTA_DIFFUSE 0x00000000
1135#define D3DTA_CURRENT 0x00000001
1136#define D3DTA_TEXTURE 0x00000002
1137#define D3DTA_TFACTOR 0x00000003
1138#define D3DTA_SPECULAR 0x00000004
1139#define D3DTA_COMPLEMENT 0x00000010
1140#define D3DTA_ALPHAREPLICATE 0x00000020
1170#define D3DTRIFLAG_START 0x00000000L
1171#define D3DTRIFLAG_STARTFLAT(len) (len)
1172#define D3DTRIFLAG_ODD 0x0000001eL
1173#define D3DTRIFLAG_EVEN 0x0000001fL
1175#define D3DTRIFLAG_EDGEENABLE1 0x00000100L
1176#define D3DTRIFLAG_EDGEENABLE2 0x00000200L
1177#define D3DTRIFLAG_EDGEENABLE3 0x00000400L
1178#define D3DTRIFLAG_EDGEENABLETRIANGLE \
1179 (D3DTRIFLAG_EDGEENABLE1 | D3DTRIFLAG_EDGEENABLE2 | D3DTRIFLAG_EDGEENABLE3)
1231#define D3DSETSTATUS_STATUS 0x00000001L
1232#define D3DSETSTATUS_EXTENTS 0x00000002L
1233#define D3DSETSTATUS_ALL (D3DSETSTATUS_STATUS | D3DSETSTATUS_EXTENTS)
1243#define D3DCLIPSTATUS_STATUS 0x00000001L
1244#define D3DCLIPSTATUS_EXTENTS2 0x00000002L
1245#define D3DCLIPSTATUS_EXTENTS3 0x00000004L
1256#define D3DEXECUTE_CLIPPED 0x00000001l
1257#define D3DEXECUTE_UNCLIPPED 0x00000002l
1269#define D3DPAL_FREE 0x00
1270#define D3DPAL_READONLY 0x40
1271#define D3DPAL_RESERVED 0x80
1280#define D3DVBCAPS_SYSTEMMEMORY 0x00000800l
1281#define D3DVBCAPS_WRITEONLY 0x00010000l
1282#define D3DVBCAPS_OPTIMIZED 0x80000000l
1283#define D3DVBCAPS_DONOTCLIP 0x00000001l
1285#define D3DVOP_LIGHT (1 << 10)
1286#define D3DVOP_TRANSFORM (1 << 0)
1287#define D3DVOP_CLIP (1 << 2)
1288#define D3DVOP_EXTENTS (1 << 3)
1290#if (DIRECT3D_VERSION < 0x0800)
1292#define D3DMAXNUMVERTICES ((1<<16) - 1)
1294#define D3DMAXNUMPRIMITIVES ((1<<16) - 1)
1296#define D3DPV_DONOTCOPYDATA (1 << 0)
1298#define D3DFVF_RESERVED0 0x001
1299#define D3DFVF_POSITION_MASK 0x00E
1300#define D3DFVF_XYZ 0x002
1301#define D3DFVF_XYZRHW 0x004
1302#define D3DFVF_XYZB1 0x006
1303#define D3DFVF_XYZB2 0x008
1304#define D3DFVF_XYZB3 0x00a
1305#define D3DFVF_XYZB4 0x00c
1306#define D3DFVF_XYZB5 0x00e
1308#define D3DFVF_NORMAL 0x010
1309#define D3DFVF_RESERVED1 0x020
1310#define D3DFVF_DIFFUSE 0x040
1311#define D3DFVF_SPECULAR 0x080
1312#define D3DFVF_TEXCOUNT_MASK 0xf00
1313#define D3DFVF_TEXCOUNT_SHIFT 8
1314#define D3DFVF_TEX0 0x000
1315#define D3DFVF_TEX1 0x100
1316#define D3DFVF_TEX2 0x200
1317#define D3DFVF_TEX3 0x300
1318#define D3DFVF_TEX4 0x400
1319#define D3DFVF_TEX5 0x500
1320#define D3DFVF_TEX6 0x600
1321#define D3DFVF_TEX7 0x700
1322#define D3DFVF_TEX8 0x800
1324#define D3DFVF_RESERVED2 0xf000
1328#define D3DFVF_VERTEX ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 )
1329#define D3DFVF_LVERTEX ( D3DFVF_XYZ | D3DFVF_RESERVED1 | D3DFVF_DIFFUSE | \
1330 D3DFVF_SPECULAR | D3DFVF_TEX1 )
1331#define D3DFVF_TLVERTEX ( D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | \
1340#define D3DDP_MAXTEXCOORD 8
1350#define D3DVIS_INSIDE_FRUSTUM 0
1351#define D3DVIS_INTERSECT_FRUSTUM 1
1352#define D3DVIS_OUTSIDE_FRUSTUM 2
1353#define D3DVIS_INSIDE_LEFT 0
1354#define D3DVIS_INTERSECT_LEFT (1 << 2)
1355#define D3DVIS_OUTSIDE_LEFT (2 << 2)
1356#define D3DVIS_INSIDE_RIGHT 0
1357#define D3DVIS_INTERSECT_RIGHT (1 << 4)
1358#define D3DVIS_OUTSIDE_RIGHT (2 << 4)
1359#define D3DVIS_INSIDE_TOP 0
1360#define D3DVIS_INTERSECT_TOP (1 << 6)
1361#define D3DVIS_OUTSIDE_TOP (2 << 6)
1362#define D3DVIS_INSIDE_BOTTOM 0
1363#define D3DVIS_INTERSECT_BOTTOM (1 << 8)
1364#define D3DVIS_OUTSIDE_BOTTOM (2 << 8)
1365#define D3DVIS_INSIDE_NEAR 0
1366#define D3DVIS_INTERSECT_NEAR (1 << 10)
1367#define D3DVIS_OUTSIDE_NEAR (2 << 10)
1368#define D3DVIS_INSIDE_FAR 0
1369#define D3DVIS_INTERSECT_FAR (1 << 12)
1370#define D3DVIS_OUTSIDE_FAR (2 << 12)
1372#define D3DVIS_MASK_FRUSTUM (3 << 0)
1373#define D3DVIS_MASK_LEFT (3 << 2)
1374#define D3DVIS_MASK_RIGHT (3 << 4)
1375#define D3DVIS_MASK_TOP (3 << 6)
1376#define D3DVIS_MASK_BOTTOM (3 << 8)
1377#define D3DVIS_MASK_NEAR (3 << 10)
1378#define D3DVIS_MASK_FAR (3 << 12)
1381#if (DIRECT3D_VERSION < 0x0800)
1383#define D3DDEVINFOID_TEXTUREMANAGER 1
1384#define D3DDEVINFOID_D3DTEXTUREMANAGER 2
1385#define D3DDEVINFOID_TEXTURING 3
1413#define D3DFVF_TEXTUREFORMAT2 0
1414#define D3DFVF_TEXTUREFORMAT1 3
1415#define D3DFVF_TEXTUREFORMAT3 1
1416#define D3DFVF_TEXTUREFORMAT4 2
1418#define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
1419#define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2)
1420#define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
1421#define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
complex< _Tp > _STLP_CALL operator/(const _Tp &__x, const complex< _Tp > &__z)
complex< _Tp > _STLP_CALL operator-(const complex< _Tp > &__z)
complex< _Tp > _STLP_CALL operator*(const _Tp &__x, const complex< _Tp > &__z)
rope< _CharT, _Alloc > & operator+=(rope< _CharT, _Alloc > &__left, const rope< _CharT, _Alloc > &__right)
CHString WINAPI operator+(CHSTRING_WCHAR ch, const CHString &string)
_D3DTEXTURETRANSFORMFLAGS
_D3DTEXTURESTAGESTATETYPE
struct _D3DBRANCH D3DBRANCH
struct _D3DMATRIXLOAD D3DMATRIXLOAD
struct _D3DMATRIXLOAD * LPD3DMATRIXLOAD
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
struct _D3DHVERTEX D3DHVERTEX
DWORD * LPD3DMATERIALHANDLE
@ D3DTADDRESS_FORCE_DWORD
enum _D3DTEXTUREOP D3DTEXTUREOP
struct _D3DLIGHT7 D3DLIGHT7
struct _D3DLINEPATTERN D3DLINEPATTERN
struct _D3DPICKRECORD D3DPICKRECORD
struct _D3DMATERIAL * LPD3DMATERIAL
@ D3DBLEND_BOTHINVSRCALPHA
struct _D3DPOINT * LPD3DPOINT
struct _D3DVIEWPORT2 * LPD3DVIEWPORT2
HRESULT(CALLBACK * LPD3DENUMPIXELFORMATSCALLBACK)(DDPIXELFORMAT *format, void *ctx)
struct _D3DTLVERTEX * LPD3DTLVERTEX
DWORD * LPD3DMATRIXHANDLE
@ D3DFILTER_LINEARMIPLINEAR
@ D3DFILTER_LINEARMIPNEAREST
struct _D3DBRANCH * LPD3DBRANCH
struct _D3DVERTEX D3DVERTEX
enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
struct _D3DVECTOR D3DVECTOR
struct _D3DTEXTURELOAD * LPD3DTEXTURELOAD
struct _D3DLIGHTDATA * LPD3DLIGHTDATA
struct _D3DMATERIAL7 * LPD3DMATERIAL7
struct _D3DTRIANGLE * LPD3DTRIANGLE
@ D3DTSS_TEXTURETRANSFORMFLAGS
struct _D3DVIEWPORT2 D3DVIEWPORT2
struct _D3DCLIPSTATUS * LPD3DCLIPSTATUS
struct _D3DTEXTURELOAD D3DTEXTURELOAD
@ D3DTOP_BUMPENVMAPLUMINANCE
@ D3DTOP_MODULATEINVALPHA_ADDCOLOR
@ D3DTOP_MODULATEALPHA_ADDCOLOR
@ D3DTOP_BLENDCURRENTALPHA
@ D3DTOP_BLENDTEXTUREALPHAPM
@ D3DTOP_MODULATEINVCOLOR_ADDALPHA
@ D3DTOP_BLENDTEXTUREALPHA
@ D3DTOP_MODULATECOLOR_ADDALPHA
@ D3DTOP_BLENDFACTORALPHA
@ D3DTOP_BLENDDIFFUSEALPHA
struct _D3DMATRIXMULTIPLY D3DMATRIXMULTIPLY
struct _D3DLIGHT7 * LPD3DLIGHT7
enum _D3DTEXTUREMIPFILTER D3DTEXTUREMIPFILTER
struct _D3DSTATE * LPD3DSTATE
struct _D3DTRANSFORMDATA * LPD3DTRANSFORMDATA
struct _D3DPOINT D3DPOINT
#define D3DDP_MAXTEXCOORD
struct _D3DLIGHTINGELEMENT D3DLIGHTINGELEMENT
struct _D3DLIGHT2 * LPD3DLIGHT2
enum _D3DSTENCILOP D3DSTENCILOP
struct _D3DINSTRUCTION D3DINSTRUCTION
struct _D3DLIGHT D3DLIGHT
struct _D3DPROCESSVERTICES D3DPROCESSVERTICES
struct _D3DLIGHTINGELEMENT * LPD3DLIGHTINGELEMENT
struct _D3DLVERTEX D3DLVERTEX
struct _D3DCLIPSTATUS D3DCLIPSTATUS
struct _D3DCOLORVALUE * LPD3DCOLORVALUE
@ D3DRENDERSTATE_STIPPLEPATTERN26
@ D3DRENDERSTATE_CLIPPLANEENABLE
@ D3DRENDERSTATE_STIPPLEDALPHA
@ D3DRENDERSTATE_STIPPLEPATTERN28
@ D3DRENDERSTATE_STENCILPASS
@ D3DRENDERSTATE_STIPPLEPATTERN14
@ D3DRENDERSTATE_FOGCOLOR
@ D3DRENDERSTATE_TRANSLUCENTSORTINDEPENDENT
@ D3DRENDERSTATE_STIPPLEPATTERN22
@ D3DRENDERSTATE_STIPPLEPATTERN19
@ D3DRENDERSTATE_ALPHABLENDENABLE
@ D3DRENDERSTATE_FLUSHBATCH
@ D3DRENDERSTATE_LOCALVIEWER
@ D3DRENDERSTATE_STIPPLEPATTERN25
@ D3DRENDERSTATE_STIPPLEPATTERN24
@ D3DRENDERSTATE_STIPPLEENABLE
@ D3DRENDERSTATE_BORDERCOLOR
@ D3DRENDERSTATE_FOGTABLEEND
@ D3DRENDERSTATE_COLORKEYENABLE
@ D3DRENDERSTATE_STIPPLEPATTERN05
@ D3DRENDERSTATE_STENCILZFAIL
@ D3DRENDERSTATE_LASTPIXEL
@ D3DRENDERSTATE_RANGEFOGENABLE
@ D3DRENDERSTATE_DITHERENABLE
@ D3DRENDERSTATE_AMBIENTMATERIALSOURCE
@ D3DRENDERSTATE_STIPPLEPATTERN10
@ D3DRENDERSTATE_STIPPLEPATTERN31
@ D3DRENDERSTATE_FILLMODE
@ D3DRENDERSTATE_STIPPLEPATTERN18
@ D3DRENDERSTATE_STENCILFAIL
@ D3DRENDERSTATE_STIPPLEPATTERN02
@ D3DRENDERSTATE_DIFFUSEMATERIALSOURCE
@ D3DRENDERSTATE_EDGEANTIALIAS
@ D3DRENDERSTATE_SPECULARENABLE
@ D3DRENDERSTATE_FOGDENSITY
@ D3DRENDERSTATE_TEXTUREMAG
@ D3DRENDERSTATE_TEXTUREMIN
@ D3DRENDERSTATE_STENCILFUNC
@ D3DRENDERSTATE_FOGTABLESTART
@ D3DRENDERSTATE_STIPPLEPATTERN07
@ D3DRENDERSTATE_STIPPLEPATTERN29
@ D3DRENDERSTATE_STIPPLEPATTERN01
@ D3DRENDERSTATE_ZWRITEENABLE
@ D3DRENDERSTATE_TEXTUREADDRESS
@ D3DRENDERSTATE_ANTIALIAS
@ D3DRENDERSTATE_MONOENABLE
@ D3DRENDERSTATE_STIPPLEPATTERN13
@ D3DRENDERSTATE_DESTBLEND
@ D3DRENDERSTATE_FOGTABLEDENSITY
@ D3DRENDERSTATE_ALPHAFUNC
@ D3DRENDERSTATE_SUBPIXEL
@ D3DRENDERSTATE_VERTEXBLEND
@ D3DRENDERSTATE_STIPPLEPATTERN09
@ D3DRENDERSTATE_CLIPPING
@ D3DRENDERSTATE_TEXTUREHANDLE
@ D3DRENDERSTATE_FOGTABLEMODE
@ D3DRENDERSTATE_STIPPLEPATTERN04
@ D3DRENDERSTATE_COLORKEYBLENDENABLE
@ D3DRENDERSTATE_FOGSTART
@ D3DRENDERSTATE_STIPPLEPATTERN16
@ D3DRENDERSTATE_TEXTUREADDRESSU
@ D3DRENDERSTATE_TEXTUREADDRESSV
@ D3DRENDERSTATE_LIGHTING
@ D3DRENDERSTATE_STIPPLEPATTERN30
@ D3DRENDERSTATE_SUBPIXELX
@ D3DRENDERSTATE_NORMALIZENORMALS
@ D3DRENDERSTATE_STIPPLEPATTERN17
@ D3DRENDERSTATE_STIPPLEPATTERN15
@ D3DRENDERSTATE_TEXTUREPERSPECTIVE
@ D3DRENDERSTATE_ALPHATESTENABLE
@ D3DRENDERSTATE_STENCILREF
@ D3DRENDERSTATE_TEXTUREFACTOR
@ D3DRENDERSTATE_STIPPLEPATTERN11
@ D3DRENDERSTATE_STIPPLEPATTERN12
@ D3DRENDERSTATE_CULLMODE
@ D3DRENDERSTATE_STENCILMASK
@ D3DRENDERSTATE_FORCE_DWORD
@ D3DRENDERSTATE_STIPPLEPATTERN21
@ D3DRENDERSTATE_ZVISIBLE
@ D3DRENDERSTATE_FOGVERTEXMODE
@ D3DRENDERSTATE_STIPPLEPATTERN23
@ D3DRENDERSTATE_STIPPLEPATTERN20
@ D3DRENDERSTATE_SRCBLEND
@ D3DRENDERSTATE_FOGENABLE
@ D3DRENDERSTATE_STIPPLEPATTERN03
@ D3DRENDERSTATE_STENCILENABLE
@ D3DRENDERSTATE_ALPHAREF
@ D3DRENDERSTATE_SPECULARMATERIALSOURCE
@ D3DRENDERSTATE_TEXTUREMAPBLEND
@ D3DRENDERSTATE_STENCILWRITEMASK
@ D3DRENDERSTATE_PLANEMASK
@ D3DRENDERSTATE_MIPMAPLODBIAS
@ D3DRENDERSTATE_STIPPLEPATTERN08
@ D3DRENDERSTATE_SHADEMODE
@ D3DRENDERSTATE_EMISSIVEMATERIALSOURCE
@ D3DRENDERSTATE_LINEPATTERN
@ D3DRENDERSTATE_ANISOTROPY
@ D3DRENDERSTATE_STIPPLEPATTERN06
@ D3DRENDERSTATE_COLORVERTEX
@ D3DRENDERSTATE_STIPPLEPATTERN00
@ D3DRENDERSTATE_STIPPLEPATTERN27
HRESULT(CALLBACK * LPD3DVALIDATECALLBACK)(void *ctx, DWORD offset)
enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
struct _D3DPROCESSVERTICES * LPD3DPROCESSVERTICES
struct _D3DCOLORVALUE D3DCOLORVALUE
struct _D3DMATRIX * LPD3DMATRIX
struct _D3DMATRIX D3DMATRIX
enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
struct _D3DVECTOR * LPD3DVECTOR
struct _D3DPICKRECORD * LPD3DPICKRECORD
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
HRESULT(CALLBACK * LPD3DENUMTEXTUREFORMATSCALLBACK)(DDSURFACEDESC *surface_desc, void *ctx)
struct _D3DSTATE D3DSTATE
enum _D3DTEXTUREMAGFILTER D3DTEXTUREMAGFILTER
enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
struct _D3DVIEWPORT * LPD3DVIEWPORT
struct _D3DMATRIXMULTIPLY * LPD3DMATRIXMULTIPLY
enum _D3DOPCODE D3DOPCODE
@ D3DLIGHTSTATE_COLORMODEL
@ D3DLIGHTSTATE_FOGDENSITY
@ D3DLIGHTSTATE_FORCE_DWORD
@ D3DLIGHTSTATE_COLORVERTEX
struct _D3DINSTRUCTION * LPD3DINSTRUCTION
struct _D3DLVERTEX * LPD3DLVERTEX
@ D3DSTENCILOP_FORCE_DWORD
@ D3DANTIALIAS_SORTINDEPENDENT
@ D3DANTIALIAS_SORTDEPENDENT
@ D3DANTIALIAS_FORCE_DWORD
@ D3DTBLEND_MODULATEALPHA
struct _D3DEXECUTEDATA D3DEXECUTEDATA
struct _D3DHVERTEX * LPD3DHVERTEX
enum _D3DANTIALIASMODE D3DANTIALIASMODE
enum _D3DTEXTUREMINFILTER D3DTEXTUREMINFILTER
struct _D3DLINE * LPD3DLINE
struct _D3DSTATUS * LPD3DSTATUS
struct _D3DRECT * LPD3DRECT
struct _D3DTLVERTEX D3DTLVERTEX
struct _D3DMATERIAL D3DMATERIAL
struct D3DSTATS * LPD3DSTATS
struct _D3DVIEWPORT7 D3DVIEWPORT7
struct _D3DLIGHTDATA D3DLIGHTDATA
struct _D3DVIEWPORT7 * LPD3DVIEWPORT7
struct _D3DVERTEXBUFFERDESC D3DVERTEXBUFFERDESC
struct _D3DMATERIAL7 D3DMATERIAL7
struct _D3DDRAWPRIMITIVESTRIDEDDATA * LPD3DDRAWPRIMITIVESTRIDEDDATA
@ D3DTRANSFORMSTATE_TEXTURE4
@ D3DTRANSFORMSTATE_PROJECTION
@ D3DTRANSFORMSTATE_TEXTURE0
@ D3DTRANSFORMSTATE_TEXTURE3
@ D3DTRANSFORMSTATE_TEXTURE1
@ D3DTRANSFORMSTATE_TEXTURE6
@ D3DTRANSFORMSTATE_WORLD
@ D3DTRANSFORMSTATE_WORLD2
@ D3DTRANSFORMSTATE_TEXTURE2
@ D3DTRANSFORMSTATE_TEXTURE7
@ D3DTRANSFORMSTATE_TEXTURE5
@ D3DTRANSFORMSTATE_WORLD1
@ D3DTRANSFORMSTATE_FORCE_DWORD
@ D3DTRANSFORMSTATE_WORLD3
DWORD * LPD3DTEXTUREHANDLE
struct _D3DTRIANGLE D3DTRIANGLE
struct _D3DVIEWPORT D3DVIEWPORT
struct _D3DVERTEX * LPD3DVERTEX
struct _D3DDRAWPRIMITIVESTRIDEDDATA D3DDRAWPRIMITIVESTRIDEDDATA
struct _D3DSPAN * LPD3DSPAN
struct _D3DLIGHT2 D3DLIGHT2
struct _D3DSTATUS D3DSTATUS
struct _D3DDP_PTRSTRIDE D3DDP_PTRSTRIDE
struct _D3DEXECUTEDATA * LPD3DEXECUTEDATA
struct _D3DLIGHT * LPD3DLIGHT
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
struct _D3DTRANSFORMDATA D3DTRANSFORMDATA
struct _D3DVERTEXBUFFERDESC * LPD3DVERTEXBUFFERDESC
enum _D3DFOGMODE D3DFOGMODE
static BOOL Normalize(PFILE_TYPE_ENTRY Entry)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLdouble GLdouble GLdouble r
GLfloat GLfloat GLfloat GLfloat nx
GLfloat GLfloat GLfloat v2
DWORD dwVerticesProcessed
union _D3DCOLORVALUE::@2761 DUMMYUNIONNAME2
union _D3DCOLORVALUE::@2762 DUMMYUNIONNAME3
union _D3DCOLORVALUE::@2760 DUMMYUNIONNAME1
union _D3DCOLORVALUE::@2763 DUMMYUNIONNAME4
D3DDP_PTRSTRIDE textureCoords[D3DDP_MAXTEXCOORD]
DWORD dwInstructionOffset
DWORD dwInstructionLength
union _D3DHVERTEX::@2768 DUMMYUNIONNAME1
union _D3DHVERTEX::@2769 DUMMYUNIONNAME2
union _D3DHVERTEX::@2770 DUMMYUNIONNAME3
D3DCOLORVALUE dcvSpecular
D3DLIGHTINGELEMENT * lpIn
union _D3DLINE::@2810 DUMMYUNIONNAME2
union _D3DLINE::@2809 DUMMYUNIONNAME1
union _D3DLVERTEX::@2785 DUMMYUNIONNAME7
union _D3DLVERTEX::@2782 DUMMYUNIONNAME4
union _D3DLVERTEX::@2781 DUMMYUNIONNAME3
union _D3DLVERTEX::@2784 DUMMYUNIONNAME6
union _D3DLVERTEX::@2780 DUMMYUNIONNAME2
union _D3DLVERTEX::@2779 DUMMYUNIONNAME1
union _D3DLVERTEX::@2783 DUMMYUNIONNAME5
union _D3DMATERIAL7::@2800 DUMMYUNIONNAME1
D3DCOLORVALUE dcvSpecular
union _D3DMATERIAL7::@2803 DUMMYUNIONNAME4
union _D3DMATERIAL7::@2799 DUMMYUNIONNAME
D3DCOLORVALUE dcvEmissive
union _D3DMATERIAL7::@2802 DUMMYUNIONNAME3
union _D3DMATERIAL7::@2801 DUMMYUNIONNAME2
union _D3DMATERIAL::@2796 DUMMYUNIONNAME2
union _D3DMATERIAL::@2794 DUMMYUNIONNAME
D3DCOLORVALUE dcvEmissive
union _D3DMATERIAL::@2798 DUMMYUNIONNAME4
union _D3DMATERIAL::@2795 DUMMYUNIONNAME1
D3DCOLORVALUE dcvSpecular
union _D3DMATERIAL::@2797 DUMMYUNIONNAME3
D3DTEXTUREHANDLE hTexture
D3DMATRIXHANDLE hSrcMatrix
D3DMATRIXHANDLE hDestMatrix
D3DMATRIXHANDLE hDestMatrix
D3DMATRIXHANDLE hSrcMatrix1
D3DMATRIXHANDLE hSrcMatrix2
union _D3DRECT::@2766 DUMMYUNIONNAME3
union _D3DRECT::@2765 DUMMYUNIONNAME2
union _D3DRECT::@2767 DUMMYUNIONNAME4
union _D3DRECT::@2764 DUMMYUNIONNAME1
D3DLIGHTSTATETYPE dlstLightStateType
D3DTRANSFORMSTATETYPE dtstTransformStateType
D3DRENDERSTATETYPE drstRenderStateType
union _D3DSTATE::@2805 DUMMYUNIONNAME2
union _D3DSTATE::@2804 DUMMYUNIONNAME1
D3DTEXTUREHANDLE hSrcTexture
D3DTEXTUREHANDLE hDestTexture
union _D3DTLVERTEX::@2774 DUMMYUNIONNAME4
union _D3DTLVERTEX::@2777 DUMMYUNIONNAME7
union _D3DTLVERTEX::@2773 DUMMYUNIONNAME3
union _D3DTLVERTEX::@2776 DUMMYUNIONNAME6
union _D3DTLVERTEX::@2778 DUMMYUNIONNAME8
union _D3DTLVERTEX::@2772 DUMMYUNIONNAME2
union _D3DTLVERTEX::@2775 DUMMYUNIONNAME5
union _D3DTLVERTEX::@2771 DUMMYUNIONNAME1
union _D3DTRIANGLE::@2806 DUMMYUNIONNAME1
union _D3DTRIANGLE::@2808 DUMMYUNIONNAME3
union _D3DTRIANGLE::@2807 DUMMYUNIONNAME2
union _D3DVECTOR::@2759 DUMMYUNIONNAME3
union _D3DVECTOR::@2757 DUMMYUNIONNAME1
union _D3DVECTOR::@2758 DUMMYUNIONNAME2
union _D3DVERTEX::@2791 DUMMYUNIONNAME6
union _D3DVERTEX::@2786 DUMMYUNIONNAME1
union _D3DVERTEX::@2787 DUMMYUNIONNAME2
union _D3DVERTEX::@2789 DUMMYUNIONNAME4
union _D3DVERTEX::@2793 DUMMYUNIONNAME8
union _D3DVERTEX::@2790 DUMMYUNIONNAME5
union _D3DVERTEX::@2792 DUMMYUNIONNAME7
union _D3DVERTEX::@2788 DUMMYUNIONNAME3