ReactOS 0.4.15-dev-8339-g4028de8
d3dtypes.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2000 Peter Hunnisett
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/* FIXME: Need to add C++ code for certain structs for headers - this is going to be a problem
20 if WINE continues to only use C code - I suppose that we could always inline in
21 the header file to get around that little problem... */
22/* FIXME: We need to implement versioning on everything directx 5 and up if these headers
23 are going to be generically useful for directx stuff */
24
25#ifndef __WINE_D3DTYPES_H
26#define __WINE_D3DTYPES_H
27
28/* #include <windows.h> FIXME: Need to include for compatibility. Inclusion caused compile fail */
29
30#if (DIRECT3D_VERSION >= 0x0800)
31#error "You should not include d3dtypes.h when compiling for DX8 or newer."
32#endif
33
34#include <float.h>
35#include <ddraw.h>
36
37#ifdef __i386__
38#include <pshpack4.h>
39#endif
40
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))
45
46typedef LONG D3DFIXED;
47
48
49#ifndef RGB_MAKE
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))
56
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)))
62
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) \
68 )
69
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))
77
78#endif
79
80#define D3DENUMRET_CANCEL DDENUMRET_CANCEL
81#define D3DENUMRET_OK DDENUMRET_OK
82
86
87#ifndef DX_SHARED_DEFINES
88
89typedef float D3DVALUE,*LPD3DVALUE;
90
91#ifndef D3DCOLOR_DEFINED
93#define D3DCOLOR_DEFINED
94#endif
95
96#ifndef D3DVECTOR_DEFINED
97typedef struct _D3DVECTOR {
98 union {
102 union {
106 union {
110#if defined(__cplusplus) && defined(D3D_OVERLOADS)
111 /* the definitions for these methods are in d3dvec.inl */
112public:
113 /*** constructors ***/
114 _D3DVECTOR() {}
117 _D3DVECTOR(const D3DVALUE f[3]);
118
119 /*** assignment operators ***/
121 _D3DVECTOR& operator -= (const _D3DVECTOR& v);
122 _D3DVECTOR& operator *= (const _D3DVECTOR& v);
123 _D3DVECTOR& operator /= (const _D3DVECTOR& v);
124 _D3DVECTOR& operator *= (D3DVALUE s);
125 _D3DVECTOR& operator /= (D3DVALUE s);
126
127 /*** unary operators ***/
128 friend _D3DVECTOR operator + (const _D3DVECTOR& v);
129 friend _D3DVECTOR operator - (const _D3DVECTOR& v);
130
131 /*** binary operators ***/
132 friend _D3DVECTOR operator + (const _D3DVECTOR& v1, const _D3DVECTOR& v2);
133 friend _D3DVECTOR operator - (const _D3DVECTOR& v1, const _D3DVECTOR& v2);
134
138
139 friend D3DVALUE SquareMagnitude(const _D3DVECTOR& v);
140 friend D3DVALUE Magnitude(const _D3DVECTOR& v);
141
142 friend _D3DVECTOR Normalize(const _D3DVECTOR& v);
143
144 friend D3DVALUE DotProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2);
145 friend _D3DVECTOR CrossProduct(const _D3DVECTOR& v1, const _D3DVECTOR& v2);
146#endif
148#define D3DVECTOR_DEFINED
149#endif
150
151#define DX_SHARED_DEFINES
152#endif /* DX_SHARED_DEFINES */
153
157
158#ifndef D3DCOLORVALUE_DEFINED
159typedef struct _D3DCOLORVALUE {
160 union {
164 union {
168 union {
172 union {
177#endif
178
179#ifndef D3DRECT_DEFINED
180typedef struct _D3DRECT {
181 union {
182 LONG x1;
185 union {
186 LONG y1;
189 union {
190 LONG x2;
193 union {
194 LONG y2;
198#endif
199typedef struct _D3DRECT *LPD3DRECT;
200
201typedef struct _D3DHVERTEX {
203 union {
207 union {
211 union {
216
217/*
218 * Transformed/lit vertices
219 */
220typedef struct _D3DTLVERTEX {
221 union {
225 union {
229 union {
233 union {
237 union {
241 union {
245 union {
249 union {
253#if defined(__cplusplus) && defined(D3D_OVERLOADS)
254public:
255 _D3DTLVERTEX() {}
256 _D3DTLVERTEX(const D3DVECTOR& v, float _rhw, D3DCOLOR _color, D3DCOLOR _specular, float _tu, float _tv) {
257 sx = v.x; sy = v.y; sz = v.z; rhw = _rhw;
258 color = _color; specular = _specular;
259 tu = _tu; tv = _tv;
260 }
261#endif
263
264typedef struct _D3DLVERTEX {
265 union {
269 union {
273 union {
278 union {
282 union {
286 union {
290 union {
295
296typedef struct _D3DVERTEX {
297 union {
301 union {
305 union {
309 union {
313 union {
317 union {
321 union {
325 union {
329#if defined(__cplusplus) && defined(D3D_OVERLOADS)
330public:
331 _D3DVERTEX() {}
332 _D3DVERTEX(const D3DVECTOR& v, const D3DVECTOR& n, float _tu, float _tv) {
333 x = v.x; y = v.y; z = v.z;
334 nx = n.x; ny = n.y; nz = n.z;
335 tu = _tu; tv = _tv;
336 }
337#endif
339
340#ifndef D3DMATRIX_DEFINED
341typedef struct _D3DMATRIX {
346#if defined(__cplusplus) && defined(D3D_OVERLOADS)
347 _D3DMATRIX() { }
348
349 /* This is different from MS, but avoids anonymous structs. */
350 D3DVALUE &operator () (int r, int c)
351 { return (&_11)[r*4 + c]; }
352 const D3DVALUE &operator() (int r, int c) const
353 { return (&_11)[r*4 + c]; }
354#endif
356#endif
357
358#if defined(__cplusplus) && defined(D3D_OVERLOADS)
359#include <d3dvec.inl>
360#endif
361
362typedef struct _D3DVIEWPORT {
375
376typedef struct _D3DVIEWPORT2 {
389
390typedef struct _D3DVIEWPORT7 {
398
399#define D3DMAXUSERCLIPPLANES 32
400
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)
407
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
420
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
433
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
447
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 \
461 )
462
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 \
476 )
477
478#define D3DSTATUS_DEFAULT ( \
479 D3DSTATUS_CLIPINTERSECTIONALL | \
480 D3DSTATUS_ZNOTVISIBLE)
481
482#define D3DTRANSFORM_CLIPPED 0x00000001
483#define D3DTRANSFORM_UNCLIPPED 0x00000002
484
485typedef struct _D3DTRANSFORMDATA {
487 void *lpIn;
489 void *lpOut;
497
498typedef struct _D3DLIGHTINGELEMENT {
502
503typedef struct _D3DMATERIAL {
505 union {
509 union {
513 union {
517 union {
521 union {
528
529typedef struct _D3DMATERIAL7 {
530 union {
534 union {
538 union {
542 union {
546 union {
551
552#if (DIRECT3D_VERSION < 0x0800)
553
554typedef enum {
560 D3DLIGHT_FORCE_DWORD = 0x7fffffff
562
563#endif
564
565typedef struct _D3DLIGHT {
579
580typedef struct _D3DLIGHT7 {
595
596#define D3DLIGHT_ACTIVE 0x00000001
597#define D3DLIGHT_NO_SPECULAR 0x00000002
598#define D3DLIGHT_ALL (D3DLIGHT_ACTIVE | D3DLIGHT_NO_SPECULAR) /* 0x3 */
599
600#define D3DLIGHT_RANGE_MAX ((float)sqrt(FLT_MAX))
601
602typedef struct _D3DLIGHT2 {
617
618typedef struct _D3DLIGHTDATA {
625
626#define D3DCOLOR_MONO 1
627#define D3DCOLOR_RGB 2
628
630
631#ifndef D3DCLEAR_TARGET
632#define D3DCLEAR_TARGET 0x00000001
633#endif
634
635#ifndef D3DCLEAR_ZBUFFER
636#define D3DCLEAR_ZBUFFER 0x00000002
637#endif
638
639#ifndef D3DCLEAR_STENCIL
640#define D3DCLEAR_STENCIL 0x00000004
641#endif
642
643typedef enum _D3DOPCODE {
658
659 D3DOP_FORCE_DWORD = 0x7fffffff
661
662typedef struct _D3DINSTRUCTION {
667
668typedef struct _D3DTEXTURELOAD {
672
673typedef struct _D3DPICKRECORD {
679
680#if (DIRECT3D_VERSION < 0x0800)
681
682typedef enum {
686 D3DSHADE_FORCE_DWORD = 0x7fffffff
688
689typedef enum {
693 D3DFILL_FORCE_DWORD = 0x7fffffff
695
696typedef struct _D3DLINEPATTERN {
700
701#endif /* (DIRECT3D_VERSION < 0x0800) */
702
703typedef enum {
710 D3DFILTER_FORCE_DWORD = 0x7fffffff
712
713#if (DIRECT3D_VERSION < 0x0800)
714
715typedef enum {
729 D3DBLEND_FORCE_DWORD = 0x7fffffff
731
732#endif /* (DIRECT3D_VERSION < 0x0800) */
733
734
735typedef enum {
744 D3DTBLEND_FORCE_DWORD = 0x7fffffff
746
747
748#if (DIRECT3D_VERSION < 0x0800)
749
750typedef enum _D3DTEXTUREADDRESS {
755 D3DTADDRESS_FORCE_DWORD = 0x7fffffff
757
758typedef enum {
762 D3DCULL_FORCE_DWORD = 0x7fffffff
764
765typedef enum {
774 D3DCMP_FORCE_DWORD = 0x7fffffff
776
777typedef enum _D3DSTENCILOP {
786 D3DSTENCILOP_FORCE_DWORD = 0x7fffffff
788
789typedef enum _D3DFOGMODE {
794 D3DFOG_FORCE_DWORD = 0x7fffffff
796
797typedef enum _D3DZBUFFERTYPE {
801 D3DZB_FORCE_DWORD = 0x7fffffff
803
804#endif /* (DIRECT3D_VERSION < 0x0800) */
805
806typedef enum _D3DANTIALIASMODE {
810 D3DANTIALIAS_FORCE_DWORD = 0x7fffffff
812
813typedef enum {
817 D3DVT_FORCE_DWORD = 0x7fffffff
819
820#if (DIRECT3D_VERSION < 0x0800)
821
822typedef enum {
829 D3DPT_FORCE_DWORD = 0x7fffffff
831
832#endif /* (DIRECT3D_VERSION < 0x0800) */
833
834#define D3DSTATE_OVERRIDE_BIAS 256
835
836#define D3DSTATE_OVERRIDE(type) (D3DRENDERSTATETYPE)(((DWORD) (type) + D3DSTATE_OVERRIDE_BIAS))
837
838#if (DIRECT3D_VERSION < 0x0800)
839
857
858#endif /* (DIRECT3D_VERSION < 0x0800) */
859
860typedef enum {
869 D3DLIGHTSTATE_FORCE_DWORD = 0x7fffffff
871
872#if (DIRECT3D_VERSION < 0x0800)
873
874typedef enum {
928
938
971
995
996 D3DRENDERSTATE_FORCE_DWORD = 0x7fffffff
997
998 /* FIXME: We have some retired values that are being reused for DirectX 7 */
1000
1002{
1006 D3DMCS_FORCE_DWORD = 0x7fffffff
1008
1009#define D3DRENDERSTATE_BLENDENABLE D3DRENDERSTATE_ALPHABLENDENABLE
1010#define D3DRENDERSTATE_WRAPBIAS 128UL
1011#define D3DWRAP_U 0x00000001L
1012#define D3DWRAP_V 0x00000002L
1013
1014#define D3DWRAPCOORD_0 0x00000001L
1015#define D3DWRAPCOORD_1 0x00000002L
1016#define D3DWRAPCOORD_2 0x00000004L
1017#define D3DWRAPCOORD_3 0x00000008L
1018
1019#endif /* (DIRECT3D_VERSION < 0x0800) */
1020
1021#define D3DRENDERSTATE_STIPPLEPATTERN(y) (D3DRENDERSTATE_STIPPLEPATTERN00 + (y))
1022
1023typedef struct _D3DSTATE {
1024 union {
1029 union {
1034
1035typedef struct _D3DMATRIXLOAD {
1039
1040typedef struct _D3DMATRIXMULTIPLY {
1045
1046typedef struct _D3DPROCESSVERTICES {
1053
1054#define D3DPROCESSVERTICES_TRANSFORMLIGHT 0x00000000L
1055#define D3DPROCESSVERTICES_TRANSFORM 0x00000001L
1056#define D3DPROCESSVERTICES_COPY 0x00000002L
1057#define D3DPROCESSVERTICES_OPMASK 0x00000007L
1058
1059#define D3DPROCESSVERTICES_UPDATEEXTENTS 0x00000008L
1060#define D3DPROCESSVERTICES_NOCOLOR 0x00000010L
1061
1062#if (DIRECT3D_VERSION < 0x0800)
1063
1065{
1090 D3DTSS_FORCE_DWORD = 0x7fffffff
1092
1093#define D3DTSS_TCI_PASSTHRU 0x00000000
1094#define D3DTSS_TCI_CAMERASPACENORMAL 0x00010000
1095#define D3DTSS_TCI_CAMERASPACEPOSITION 0x00020000
1096#define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x00030000
1097
1098typedef enum _D3DTEXTUREOP
1099{
1103
1107
1113
1119
1125
1129
1130 D3DTOP_FORCE_DWORD = 0x7fffffff
1132
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
1141
1142#endif /* (DIRECT3D_VERSION < 0x0800) */
1143
1145{
1151 D3DTFG_FORCE_DWORD = 0x7fffffff
1153
1155{
1159 D3DTFN_FORCE_DWORD = 0x7fffffff
1161
1163{
1167 D3DTFP_FORCE_DWORD = 0x7fffffff
1169
1170#define D3DTRIFLAG_START 0x00000000L
1171#define D3DTRIFLAG_STARTFLAT(len) (len)
1172#define D3DTRIFLAG_ODD 0x0000001eL
1173#define D3DTRIFLAG_EVEN 0x0000001fL
1174
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)
1180
1181typedef struct _D3DTRIANGLE {
1182 union {
1186 union {
1190 union {
1196
1197typedef struct _D3DLINE {
1198 union {
1202 union {
1207
1208typedef struct _D3DSPAN {
1212
1213typedef struct _D3DPOINT {
1217
1218typedef struct _D3DBRANCH {
1224
1225typedef struct _D3DSTATUS {
1230
1231#define D3DSETSTATUS_STATUS 0x00000001L
1232#define D3DSETSTATUS_EXTENTS 0x00000002L
1233#define D3DSETSTATUS_ALL (D3DSETSTATUS_STATUS | D3DSETSTATUS_EXTENTS)
1234
1235typedef struct _D3DCLIPSTATUS {
1238 float minx, maxx;
1239 float miny, maxy;
1240 float minz, maxz;
1242
1243#define D3DCLIPSTATUS_STATUS 0x00000001L
1244#define D3DCLIPSTATUS_EXTENTS2 0x00000002L
1245#define D3DCLIPSTATUS_EXTENTS3 0x00000004L
1246
1247typedef struct {
1255
1256#define D3DEXECUTE_CLIPPED 0x00000001l
1257#define D3DEXECUTE_UNCLIPPED 0x00000002l
1258
1259typedef struct _D3DEXECUTEDATA {
1268
1269#define D3DPAL_FREE 0x00
1270#define D3DPAL_READONLY 0x40
1271#define D3DPAL_RESERVED 0x80
1272
1273typedef struct _D3DVERTEXBUFFERDESC {
1279
1280#define D3DVBCAPS_SYSTEMMEMORY 0x00000800l
1281#define D3DVBCAPS_WRITEONLY 0x00010000l
1282#define D3DVBCAPS_OPTIMIZED 0x80000000l
1283#define D3DVBCAPS_DONOTCLIP 0x00000001l
1284
1285#define D3DVOP_LIGHT (1 << 10)
1286#define D3DVOP_TRANSFORM (1 << 0)
1287#define D3DVOP_CLIP (1 << 2)
1288#define D3DVOP_EXTENTS (1 << 3)
1289
1290#if (DIRECT3D_VERSION < 0x0800)
1291
1292#define D3DMAXNUMVERTICES ((1<<16) - 1)
1293
1294#define D3DMAXNUMPRIMITIVES ((1<<16) - 1)
1295
1296#define D3DPV_DONOTCOPYDATA (1 << 0)
1297
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
1307
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
1323
1324#define D3DFVF_RESERVED2 0xf000
1325
1326#endif /* (DIRECT3D_VERSION < 0x0800) */
1327
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 | \
1332 D3DFVF_TEX1 )
1333
1334typedef struct _D3DDP_PTRSTRIDE
1335{
1336 void *lpvData;
1339
1340#define D3DDP_MAXTEXCOORD 8
1341
1349
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)
1371
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)
1379
1380
1381#if (DIRECT3D_VERSION < 0x0800)
1382
1383#define D3DDEVINFOID_TEXTUREMANAGER 1
1384#define D3DDEVINFOID_D3DTEXTUREMANAGER 2
1385#define D3DDEVINFOID_TEXTURING 3
1386
1388{
1392 D3DSBT_FORCE_DWORD = 0xffffffff
1394
1396{
1402
1410 D3DTTFF_FORCE_DWORD = 0x7fffffff
1412
1413#define D3DFVF_TEXTUREFORMAT2 0
1414#define D3DFVF_TEXTUREFORMAT1 3
1415#define D3DFVF_TEXTUREFORMAT3 1
1416#define D3DFVF_TEXTUREFORMAT4 2
1417
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))
1422
1423#ifdef __i386__
1424#include <poppack.h>
1425#endif
1426
1427#endif /* (DIRECT3D_VERSION < 0x0800) */
1428
1429#endif
complex< _Tp > _STLP_CALL operator/(const _Tp &__x, const complex< _Tp > &__z)
Definition: _complex.h:652
complex< _Tp > _STLP_CALL operator-(const complex< _Tp > &__z)
Definition: _complex.h:622
complex< _Tp > _STLP_CALL operator*(const _Tp &__x, const complex< _Tp > &__z)
Definition: _complex.h:644
rope< _CharT, _Alloc > & operator+=(rope< _CharT, _Alloc > &__left, const rope< _CharT, _Alloc > &__right)
Definition: _rope.h:2202
CHString WINAPI operator+(CHSTRING_WCHAR ch, const CHString &string)
Definition: chstring.cpp:1356
#define _x(oid)
_D3DTEXTUREADDRESS
Definition: d3d8types.h:859
_D3DTEXTURETRANSFORMFLAGS
Definition: d3d8types.h:943
_D3DTEXTURESTAGESTATETYPE
Definition: d3d8types.h:911
_D3DTEXTUREOP
Definition: d3d8types.h:880
_D3DMATERIALCOLORSOURCE
Definition: d3d8types.h:663
_D3DSTATEBLOCKTYPE
Definition: d3d8types.h:829
_D3DSTENCILOP
Definition: d3d8types.h:837
_D3DZBUFFERTYPE
Definition: d3d8types.h:978
_D3DTRANSFORMSTATETYPE
Definition: d3d8types.h:954
_D3DFOGMODE
Definition: d3d8types.h:591
_D3DVERTEXBLENDFLAGS
Definition: d3d8types.h:969
struct _D3DBRANCH D3DBRANCH
struct _D3DMATRIXLOAD D3DMATRIXLOAD
struct _D3DMATRIXLOAD * LPD3DMATRIXLOAD
struct _D3DSPAN D3DSPAN
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
struct _D3DHVERTEX D3DHVERTEX
DWORD * LPD3DMATERIALHANDLE
Definition: d3dtypes.h:154
@ D3DTADDRESS_MIRROR
Definition: d3dtypes.h:752
@ D3DTADDRESS_WRAP
Definition: d3dtypes.h:751
@ D3DTADDRESS_BORDER
Definition: d3dtypes.h:754
@ D3DTADDRESS_CLAMP
Definition: d3dtypes.h:753
@ D3DTADDRESS_FORCE_DWORD
Definition: d3dtypes.h:755
enum _D3DTEXTUREOP D3DTEXTUREOP
_D3DOPCODE
Definition: d3dtypes.h:643
@ D3DOP_STATELIGHT
Definition: d3dtypes.h:650
@ D3DOP_TEXTURELOAD
Definition: d3dtypes.h:653
@ D3DOP_MATRIXMULTIPLY
Definition: d3dtypes.h:648
@ D3DOP_PROCESSVERTICES
Definition: d3dtypes.h:652
@ D3DOP_MATRIXLOAD
Definition: d3dtypes.h:647
@ D3DOP_STATETRANSFORM
Definition: d3dtypes.h:649
@ D3DOP_TRIANGLE
Definition: d3dtypes.h:646
@ D3DOP_SPAN
Definition: d3dtypes.h:656
@ D3DOP_FORCE_DWORD
Definition: d3dtypes.h:659
@ D3DOP_LINE
Definition: d3dtypes.h:645
@ D3DOP_STATERENDER
Definition: d3dtypes.h:651
@ D3DOP_SETSTATUS
Definition: d3dtypes.h:657
@ D3DOP_POINT
Definition: d3dtypes.h:644
@ D3DOP_EXIT
Definition: d3dtypes.h:654
@ D3DOP_BRANCHFORWARD
Definition: d3dtypes.h:655
struct _D3DLIGHT7 D3DLIGHT7
struct _D3DLINEPATTERN D3DLINEPATTERN
@ D3DTTFF_COUNT1
Definition: d3dtypes.h:1405
@ D3DTTFF_COUNT4
Definition: d3dtypes.h:1408
@ D3DTTFF_COUNT3
Definition: d3dtypes.h:1407
@ D3DTTFF_COUNT2
Definition: d3dtypes.h:1406
@ D3DTTFF_FORCE_DWORD
Definition: d3dtypes.h:1410
@ D3DTTFF_DISABLE
Definition: d3dtypes.h:1404
@ D3DTTFF_PROJECTED
Definition: d3dtypes.h:1409
struct _D3DPICKRECORD D3DPICKRECORD
struct _D3DMATERIAL * LPD3DMATERIAL
D3DCULL
Definition: d3dtypes.h:758
@ D3DCULL_CW
Definition: d3dtypes.h:760
@ D3DCULL_FORCE_DWORD
Definition: d3dtypes.h:762
@ D3DCULL_NONE
Definition: d3dtypes.h:759
@ D3DCULL_CCW
Definition: d3dtypes.h:761
D3DBLEND
Definition: d3dtypes.h:715
@ D3DBLEND_SRCALPHASAT
Definition: d3dtypes.h:726
@ D3DBLEND_BOTHSRCALPHA
Definition: d3dtypes.h:727
@ D3DBLEND_SRCALPHA
Definition: d3dtypes.h:720
@ D3DBLEND_DESTALPHA
Definition: d3dtypes.h:722
@ D3DBLEND_ZERO
Definition: d3dtypes.h:716
@ D3DBLEND_FORCE_DWORD
Definition: d3dtypes.h:729
@ D3DBLEND_ONE
Definition: d3dtypes.h:717
@ D3DBLEND_SRCCOLOR
Definition: d3dtypes.h:718
@ D3DBLEND_BOTHINVSRCALPHA
Definition: d3dtypes.h:728
@ D3DBLEND_INVDESTALPHA
Definition: d3dtypes.h:723
@ D3DBLEND_DESTCOLOR
Definition: d3dtypes.h:724
@ D3DBLEND_INVDESTCOLOR
Definition: d3dtypes.h:725
@ D3DBLEND_INVSRCCOLOR
Definition: d3dtypes.h:719
@ D3DBLEND_INVSRCALPHA
Definition: d3dtypes.h:721
struct _D3DPOINT * LPD3DPOINT
struct _D3DVIEWPORT2 * LPD3DVIEWPORT2
HRESULT(CALLBACK * LPD3DENUMPIXELFORMATSCALLBACK)(DDPIXELFORMAT *format, void *ctx)
Definition: d3dtypes.h:85
struct _D3DTLVERTEX * LPD3DTLVERTEX
D3DVERTEXTYPE
Definition: d3dtypes.h:813
@ D3DVT_TLVERTEX
Definition: d3dtypes.h:816
@ D3DVT_LVERTEX
Definition: d3dtypes.h:815
@ D3DVT_VERTEX
Definition: d3dtypes.h:814
@ D3DVT_FORCE_DWORD
Definition: d3dtypes.h:817
struct _D3DRECT D3DRECT
float D3DVALUE
Definition: d3dtypes.h:89
DWORD * LPD3DMATRIXHANDLE
Definition: d3dtypes.h:156
D3DTEXTUREFILTER
Definition: d3dtypes.h:703
@ D3DFILTER_MIPLINEAR
Definition: d3dtypes.h:707
@ D3DFILTER_LINEARMIPLINEAR
Definition: d3dtypes.h:709
@ D3DFILTER_FORCE_DWORD
Definition: d3dtypes.h:710
@ D3DFILTER_MIPNEAREST
Definition: d3dtypes.h:706
@ D3DFILTER_LINEAR
Definition: d3dtypes.h:705
@ D3DFILTER_NEAREST
Definition: d3dtypes.h:704
@ D3DFILTER_LINEARMIPNEAREST
Definition: d3dtypes.h:708
D3DPRIMITIVETYPE
Definition: d3dtypes.h:822
@ D3DPT_LINELIST
Definition: d3dtypes.h:824
@ D3DPT_POINTLIST
Definition: d3dtypes.h:823
@ D3DPT_TRIANGLELIST
Definition: d3dtypes.h:826
@ D3DPT_LINESTRIP
Definition: d3dtypes.h:825
@ D3DPT_TRIANGLEFAN
Definition: d3dtypes.h:828
@ D3DPT_TRIANGLESTRIP
Definition: d3dtypes.h:827
@ D3DPT_FORCE_DWORD
Definition: d3dtypes.h:829
D3DSHADEMODE
Definition: d3dtypes.h:682
@ D3DSHADE_PHONG
Definition: d3dtypes.h:685
@ D3DSHADE_FLAT
Definition: d3dtypes.h:683
@ D3DSHADE_GOURAUD
Definition: d3dtypes.h:684
@ D3DSHADE_FORCE_DWORD
Definition: d3dtypes.h:686
struct _D3DBRANCH * LPD3DBRANCH
struct _D3DVERTEX D3DVERTEX
enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
DWORD D3DTEXTUREHANDLE
Definition: d3dtypes.h:155
struct _D3DVECTOR D3DVECTOR
struct _D3DTEXTURELOAD * LPD3DTEXTURELOAD
struct _D3DLIGHTDATA * LPD3DLIGHTDATA
struct _D3DMATERIAL7 * LPD3DMATERIAL7
struct _D3DTRIANGLE * LPD3DTRIANGLE
float * LPD3DVALUE
Definition: d3dtypes.h:89
_D3DTEXTUREMINFILTER
Definition: d3dtypes.h:1155
@ D3DTFN_LINEAR
Definition: d3dtypes.h:1157
@ D3DTFN_ANISOTROPIC
Definition: d3dtypes.h:1158
@ D3DTFN_FORCE_DWORD
Definition: d3dtypes.h:1159
@ D3DTFN_POINT
Definition: d3dtypes.h:1156
@ D3DTSS_ALPHAARG2
Definition: d3dtypes.h:1071
@ D3DTSS_COLOROP
Definition: d3dtypes.h:1066
@ D3DTSS_MAXMIPLEVEL
Definition: d3dtypes.h:1085
@ D3DTSS_ADDRESSU
Definition: d3dtypes.h:1078
@ D3DTSS_BUMPENVMAT11
Definition: d3dtypes.h:1075
@ D3DTSS_MAGFILTER
Definition: d3dtypes.h:1081
@ D3DTSS_MAXANISOTROPY
Definition: d3dtypes.h:1086
@ D3DTSS_TEXCOORDINDEX
Definition: d3dtypes.h:1076
@ D3DTSS_ALPHAOP
Definition: d3dtypes.h:1069
@ D3DTSS_BUMPENVMAT01
Definition: d3dtypes.h:1073
@ D3DTSS_BUMPENVLSCALE
Definition: d3dtypes.h:1087
@ D3DTSS_BUMPENVMAT10
Definition: d3dtypes.h:1074
@ D3DTSS_BUMPENVLOFFSET
Definition: d3dtypes.h:1088
@ D3DTSS_MIPFILTER
Definition: d3dtypes.h:1083
@ D3DTSS_ADDRESSV
Definition: d3dtypes.h:1079
@ D3DTSS_MINFILTER
Definition: d3dtypes.h:1082
@ D3DTSS_COLORARG1
Definition: d3dtypes.h:1067
@ D3DTSS_TEXTURETRANSFORMFLAGS
Definition: d3dtypes.h:1089
@ D3DTSS_FORCE_DWORD
Definition: d3dtypes.h:1090
@ D3DTSS_ADDRESS
Definition: d3dtypes.h:1077
@ D3DTSS_BUMPENVMAT00
Definition: d3dtypes.h:1072
@ D3DTSS_MIPMAPLODBIAS
Definition: d3dtypes.h:1084
@ D3DTSS_BORDERCOLOR
Definition: d3dtypes.h:1080
@ D3DTSS_ALPHAARG1
Definition: d3dtypes.h:1070
@ D3DTSS_COLORARG2
Definition: d3dtypes.h:1068
struct _D3DVIEWPORT2 D3DVIEWPORT2
struct _D3DCLIPSTATUS * LPD3DCLIPSTATUS
struct _D3DTEXTURELOAD D3DTEXTURELOAD
@ D3DTOP_BUMPENVMAPLUMINANCE
Definition: d3dtypes.h:1127
@ D3DTOP_SELECTARG1
Definition: d3dtypes.h:1101
@ D3DTOP_MODULATEINVALPHA_ADDCOLOR
Definition: d3dtypes.h:1123
@ D3DTOP_MODULATE
Definition: d3dtypes.h:1104
@ D3DTOP_SUBTRACT
Definition: d3dtypes.h:1111
@ D3DTOP_MODULATE4X
Definition: d3dtypes.h:1106
@ D3DTOP_MODULATEALPHA_ADDCOLOR
Definition: d3dtypes.h:1121
@ D3DTOP_BLENDCURRENTALPHA
Definition: d3dtypes.h:1118
@ D3DTOP_SELECTARG2
Definition: d3dtypes.h:1102
@ D3DTOP_ADDSIGNED2X
Definition: d3dtypes.h:1110
@ D3DTOP_MODULATE2X
Definition: d3dtypes.h:1105
@ D3DTOP_ADD
Definition: d3dtypes.h:1108
@ D3DTOP_BLENDTEXTUREALPHAPM
Definition: d3dtypes.h:1117
@ D3DTOP_PREMODULATE
Definition: d3dtypes.h:1120
@ D3DTOP_MODULATEINVCOLOR_ADDALPHA
Definition: d3dtypes.h:1124
@ D3DTOP_DOTPRODUCT3
Definition: d3dtypes.h:1128
@ D3DTOP_BLENDTEXTUREALPHA
Definition: d3dtypes.h:1115
@ D3DTOP_ADDSMOOTH
Definition: d3dtypes.h:1112
@ D3DTOP_FORCE_DWORD
Definition: d3dtypes.h:1130
@ D3DTOP_MODULATECOLOR_ADDALPHA
Definition: d3dtypes.h:1122
@ D3DTOP_BUMPENVMAP
Definition: d3dtypes.h:1126
@ D3DTOP_BLENDFACTORALPHA
Definition: d3dtypes.h:1116
@ D3DTOP_DISABLE
Definition: d3dtypes.h:1100
@ D3DTOP_ADDSIGNED
Definition: d3dtypes.h:1109
@ D3DTOP_BLENDDIFFUSEALPHA
Definition: d3dtypes.h:1114
struct _D3DMATRIXMULTIPLY D3DMATRIXMULTIPLY
struct _D3DLIGHT7 * LPD3DLIGHT7
enum _D3DTEXTUREMIPFILTER D3DTEXTUREMIPFILTER
struct _D3DSTATE * LPD3DSTATE
struct _D3DTRANSFORMDATA * LPD3DTRANSFORMDATA
struct _D3DPOINT D3DPOINT
#define D3DDP_MAXTEXCOORD
Definition: d3dtypes.h:1340
struct _D3DLIGHTINGELEMENT D3DLIGHTINGELEMENT
_D3DTEXTUREMIPFILTER
Definition: d3dtypes.h:1163
@ D3DTFP_LINEAR
Definition: d3dtypes.h:1166
@ D3DTFP_POINT
Definition: d3dtypes.h:1165
@ D3DTFP_NONE
Definition: d3dtypes.h:1164
@ D3DTFP_FORCE_DWORD
Definition: d3dtypes.h:1167
LONG D3DFIXED
Definition: d3dtypes.h:46
struct _D3DLIGHT2 * LPD3DLIGHT2
@ D3DMCS_FORCE_DWORD
Definition: d3dtypes.h:1006
@ D3DMCS_COLOR2
Definition: d3dtypes.h:1005
@ D3DMCS_COLOR1
Definition: d3dtypes.h:1004
@ D3DMCS_MATERIAL
Definition: d3dtypes.h:1003
enum _D3DSTENCILOP D3DSTENCILOP
struct _D3DINSTRUCTION D3DINSTRUCTION
struct _D3DLIGHT D3DLIGHT
DWORD D3DMATERIALHANDLE
Definition: d3dtypes.h:154
struct _D3DPROCESSVERTICES D3DPROCESSVERTICES
struct _D3DLIGHTINGELEMENT * LPD3DLIGHTINGELEMENT
struct _D3DLVERTEX D3DLVERTEX
struct _D3DCLIPSTATUS D3DCLIPSTATUS
struct _D3DCOLORVALUE * LPD3DCOLORVALUE
D3DRENDERSTATETYPE
Definition: d3dtypes.h:874
@ D3DRENDERSTATE_AMBIENT
Definition: d3dtypes.h:983
@ D3DRENDERSTATE_STIPPLEPATTERN26
Definition: d3dtypes.h:965
@ D3DRENDERSTATE_CLIPPLANEENABLE
Definition: d3dtypes.h:994
@ D3DRENDERSTATE_STIPPLEDALPHA
Definition: d3dtypes.h:907
@ D3DRENDERSTATE_STIPPLEPATTERN28
Definition: d3dtypes.h:967
@ D3DRENDERSTATE_STENCILPASS
Definition: d3dtypes.h:932
@ D3DRENDERSTATE_ZBIAS
Definition: d3dtypes.h:923
@ D3DRENDERSTATE_STIPPLEPATTERN14
Definition: d3dtypes.h:953
@ D3DRENDERSTATE_FOGCOLOR
Definition: d3dtypes.h:908
@ D3DRENDERSTATE_TRANSLUCENTSORTINDEPENDENT
Definition: d3dtypes.h:927
@ D3DRENDERSTATE_STIPPLEPATTERN22
Definition: d3dtypes.h:961
@ D3DRENDERSTATE_WRAP6
Definition: d3dtypes.h:978
@ D3DRENDERSTATE_STIPPLEPATTERN19
Definition: d3dtypes.h:958
@ D3DRENDERSTATE_ALPHABLENDENABLE
Definition: d3dtypes.h:901
@ D3DRENDERSTATE_FLUSHBATCH
Definition: d3dtypes.h:926
@ D3DRENDERSTATE_LOCALVIEWER
Definition: d3dtypes.h:986
@ D3DRENDERSTATE_STIPPLEPATTERN25
Definition: d3dtypes.h:964
@ D3DRENDERSTATE_STIPPLEPATTERN24
Definition: d3dtypes.h:963
@ D3DRENDERSTATE_STIPPLEENABLE
Definition: d3dtypes.h:916
@ D3DRENDERSTATE_BORDERCOLOR
Definition: d3dtypes.h:919
@ D3DRENDERSTATE_FOGTABLEEND
Definition: d3dtypes.h:911
@ D3DRENDERSTATE_COLORKEYENABLE
Definition: d3dtypes.h:918
@ D3DRENDERSTATE_STIPPLEPATTERN05
Definition: d3dtypes.h:944
@ D3DRENDERSTATE_STENCILZFAIL
Definition: d3dtypes.h:931
@ D3DRENDERSTATE_LASTPIXEL
Definition: d3dtypes.h:890
@ D3DRENDERSTATE_WRAPU
Definition: d3dtypes.h:879
@ D3DRENDERSTATE_RANGEFOGENABLE
Definition: d3dtypes.h:924
@ D3DRENDERSTATE_DITHERENABLE
Definition: d3dtypes.h:900
@ D3DRENDERSTATE_AMBIENTMATERIALSOURCE
Definition: d3dtypes.h:991
@ D3DRENDERSTATE_EXTENTS
Definition: d3dtypes.h:982
@ D3DRENDERSTATE_STIPPLEPATTERN10
Definition: d3dtypes.h:949
@ D3DRENDERSTATE_STIPPLEPATTERN31
Definition: d3dtypes.h:970
@ D3DRENDERSTATE_FILLMODE
Definition: d3dtypes.h:882
@ D3DRENDERSTATE_STIPPLEPATTERN18
Definition: d3dtypes.h:957
@ D3DRENDERSTATE_STENCILFAIL
Definition: d3dtypes.h:930
@ D3DRENDERSTATE_STIPPLEPATTERN02
Definition: d3dtypes.h:941
@ D3DRENDERSTATE_DIFFUSEMATERIALSOURCE
Definition: d3dtypes.h:989
@ D3DRENDERSTATE_EDGEANTIALIAS
Definition: d3dtypes.h:917
@ D3DRENDERSTATE_SPECULARENABLE
Definition: d3dtypes.h:903
@ D3DRENDERSTATE_ROP2
Definition: d3dtypes.h:886
@ D3DRENDERSTATE_FOGDENSITY
Definition: d3dtypes.h:915
@ D3DRENDERSTATE_TEXTUREMAG
Definition: d3dtypes.h:891
@ D3DRENDERSTATE_TEXTUREMIN
Definition: d3dtypes.h:892
@ D3DRENDERSTATE_STENCILFUNC
Definition: d3dtypes.h:933
@ D3DRENDERSTATE_WRAP3
Definition: d3dtypes.h:975
@ D3DRENDERSTATE_FOGTABLESTART
Definition: d3dtypes.h:910
@ D3DRENDERSTATE_STIPPLEPATTERN07
Definition: d3dtypes.h:946
@ D3DRENDERSTATE_FOGEND
Definition: d3dtypes.h:914
@ D3DRENDERSTATE_STIPPLEPATTERN29
Definition: d3dtypes.h:968
@ D3DRENDERSTATE_STIPPLEPATTERN01
Definition: d3dtypes.h:940
@ D3DRENDERSTATE_ZWRITEENABLE
Definition: d3dtypes.h:888
@ D3DRENDERSTATE_TEXTUREADDRESS
Definition: d3dtypes.h:877
@ D3DRENDERSTATE_ANTIALIAS
Definition: d3dtypes.h:876
@ D3DRENDERSTATE_MONOENABLE
Definition: d3dtypes.h:885
@ D3DRENDERSTATE_STIPPLEPATTERN13
Definition: d3dtypes.h:952
@ D3DRENDERSTATE_DESTBLEND
Definition: d3dtypes.h:894
@ D3DRENDERSTATE_FOGTABLEDENSITY
Definition: d3dtypes.h:912
@ D3DRENDERSTATE_WRAP4
Definition: d3dtypes.h:976
@ D3DRENDERSTATE_ALPHAFUNC
Definition: d3dtypes.h:899
@ D3DRENDERSTATE_WRAPV
Definition: d3dtypes.h:880
@ D3DRENDERSTATE_SUBPIXEL
Definition: d3dtypes.h:905
@ D3DRENDERSTATE_VERTEXBLEND
Definition: d3dtypes.h:993
@ D3DRENDERSTATE_STIPPLEPATTERN09
Definition: d3dtypes.h:948
@ D3DRENDERSTATE_CLIPPING
Definition: d3dtypes.h:980
@ D3DRENDERSTATE_TEXTUREHANDLE
Definition: d3dtypes.h:875
@ D3DRENDERSTATE_FOGTABLEMODE
Definition: d3dtypes.h:909
@ D3DRENDERSTATE_STIPPLEPATTERN04
Definition: d3dtypes.h:943
@ D3DRENDERSTATE_COLORKEYBLENDENABLE
Definition: d3dtypes.h:988
@ D3DRENDERSTATE_FOGSTART
Definition: d3dtypes.h:913
@ D3DRENDERSTATE_STIPPLEPATTERN16
Definition: d3dtypes.h:955
@ D3DRENDERSTATE_TEXTUREADDRESSU
Definition: d3dtypes.h:920
@ D3DRENDERSTATE_TEXTUREADDRESSV
Definition: d3dtypes.h:921
@ D3DRENDERSTATE_LIGHTING
Definition: d3dtypes.h:981
@ D3DRENDERSTATE_STIPPLEPATTERN30
Definition: d3dtypes.h:969
@ D3DRENDERSTATE_SUBPIXELX
Definition: d3dtypes.h:906
@ D3DRENDERSTATE_NORMALIZENORMALS
Definition: d3dtypes.h:987
@ D3DRENDERSTATE_STIPPLEPATTERN17
Definition: d3dtypes.h:956
@ D3DRENDERSTATE_WRAP7
Definition: d3dtypes.h:979
@ D3DRENDERSTATE_STIPPLEPATTERN15
Definition: d3dtypes.h:954
@ D3DRENDERSTATE_TEXTUREPERSPECTIVE
Definition: d3dtypes.h:878
@ D3DRENDERSTATE_ALPHATESTENABLE
Definition: d3dtypes.h:889
@ D3DRENDERSTATE_STENCILREF
Definition: d3dtypes.h:934
@ D3DRENDERSTATE_TEXTUREFACTOR
Definition: d3dtypes.h:937
@ D3DRENDERSTATE_STIPPLEPATTERN11
Definition: d3dtypes.h:950
@ D3DRENDERSTATE_STIPPLEPATTERN12
Definition: d3dtypes.h:951
@ D3DRENDERSTATE_CULLMODE
Definition: d3dtypes.h:896
@ D3DRENDERSTATE_WRAP1
Definition: d3dtypes.h:973
@ D3DRENDERSTATE_STENCILMASK
Definition: d3dtypes.h:935
@ D3DRENDERSTATE_WRAP2
Definition: d3dtypes.h:974
@ D3DRENDERSTATE_FORCE_DWORD
Definition: d3dtypes.h:996
@ D3DRENDERSTATE_STIPPLEPATTERN21
Definition: d3dtypes.h:960
@ D3DRENDERSTATE_ZVISIBLE
Definition: d3dtypes.h:904
@ D3DRENDERSTATE_WRAP5
Definition: d3dtypes.h:977
@ D3DRENDERSTATE_ZFUNC
Definition: d3dtypes.h:897
@ D3DRENDERSTATE_FOGVERTEXMODE
Definition: d3dtypes.h:984
@ D3DRENDERSTATE_STIPPLEPATTERN23
Definition: d3dtypes.h:962
@ D3DRENDERSTATE_ZENABLE
Definition: d3dtypes.h:881
@ D3DRENDERSTATE_STIPPLEPATTERN20
Definition: d3dtypes.h:959
@ D3DRENDERSTATE_SRCBLEND
Definition: d3dtypes.h:893
@ D3DRENDERSTATE_FOGENABLE
Definition: d3dtypes.h:902
@ D3DRENDERSTATE_STIPPLEPATTERN03
Definition: d3dtypes.h:942
@ D3DRENDERSTATE_STENCILENABLE
Definition: d3dtypes.h:929
@ D3DRENDERSTATE_ALPHAREF
Definition: d3dtypes.h:898
@ D3DRENDERSTATE_WRAP0
Definition: d3dtypes.h:972
@ D3DRENDERSTATE_SPECULARMATERIALSOURCE
Definition: d3dtypes.h:990
@ D3DRENDERSTATE_TEXTUREMAPBLEND
Definition: d3dtypes.h:895
@ D3DRENDERSTATE_STENCILWRITEMASK
Definition: d3dtypes.h:936
@ D3DRENDERSTATE_PLANEMASK
Definition: d3dtypes.h:887
@ D3DRENDERSTATE_MIPMAPLODBIAS
Definition: d3dtypes.h:922
@ D3DRENDERSTATE_STIPPLEPATTERN08
Definition: d3dtypes.h:947
@ D3DRENDERSTATE_SHADEMODE
Definition: d3dtypes.h:883
@ D3DRENDERSTATE_EMISSIVEMATERIALSOURCE
Definition: d3dtypes.h:992
@ D3DRENDERSTATE_LINEPATTERN
Definition: d3dtypes.h:884
@ D3DRENDERSTATE_ANISOTROPY
Definition: d3dtypes.h:925
@ D3DRENDERSTATE_STIPPLEPATTERN06
Definition: d3dtypes.h:945
@ D3DRENDERSTATE_COLORVERTEX
Definition: d3dtypes.h:985
@ D3DRENDERSTATE_STIPPLEPATTERN00
Definition: d3dtypes.h:939
@ D3DRENDERSTATE_STIPPLEPATTERN27
Definition: d3dtypes.h:966
HRESULT(CALLBACK * LPD3DVALIDATECALLBACK)(void *ctx, DWORD offset)
Definition: d3dtypes.h:83
enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
struct _D3DPROCESSVERTICES * LPD3DPROCESSVERTICES
struct _D3DCOLORVALUE D3DCOLORVALUE
struct _D3DMATRIX * LPD3DMATRIX
struct _D3DMATRIX D3DMATRIX
@ D3DSBT_PIXELSTATE
Definition: d3dtypes.h:1390
@ D3DSBT_ALL
Definition: d3dtypes.h:1389
@ D3DSBT_VERTEXSTATE
Definition: d3dtypes.h:1391
@ D3DSBT_FORCE_DWORD
Definition: d3dtypes.h:1392
D3DLIGHTTYPE
Definition: d3dtypes.h:554
@ D3DLIGHT_SPOT
Definition: d3dtypes.h:556
@ D3DLIGHT_GLSPOT
Definition: d3dtypes.h:559
@ D3DLIGHT_DIRECTIONAL
Definition: d3dtypes.h:557
@ D3DLIGHT_PARALLELPOINT
Definition: d3dtypes.h:558
@ D3DLIGHT_FORCE_DWORD
Definition: d3dtypes.h:560
@ D3DLIGHT_POINT
Definition: d3dtypes.h:555
D3DCMPFUNC
Definition: d3dtypes.h:765
@ D3DCMP_GREATER
Definition: d3dtypes.h:770
@ D3DCMP_FORCE_DWORD
Definition: d3dtypes.h:774
@ D3DCMP_NOTEQUAL
Definition: d3dtypes.h:771
@ D3DCMP_GREATEREQUAL
Definition: d3dtypes.h:772
@ D3DCMP_NEVER
Definition: d3dtypes.h:766
@ D3DCMP_LESS
Definition: d3dtypes.h:767
@ D3DCMP_EQUAL
Definition: d3dtypes.h:768
@ D3DCMP_LESSEQUAL
Definition: d3dtypes.h:769
@ D3DCMP_ALWAYS
Definition: d3dtypes.h:773
enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
struct _D3DVECTOR * LPD3DVECTOR
struct _D3DPICKRECORD * LPD3DPICKRECORD
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
HRESULT(CALLBACK * LPD3DENUMTEXTUREFORMATSCALLBACK)(DDSURFACEDESC *surface_desc, void *ctx)
Definition: d3dtypes.h:84
D3DFILLMODE
Definition: d3dtypes.h:689
@ D3DFILL_FORCE_DWORD
Definition: d3dtypes.h:693
@ D3DFILL_WIREFRAME
Definition: d3dtypes.h:691
@ D3DFILL_SOLID
Definition: d3dtypes.h:692
@ D3DFILL_POINT
Definition: d3dtypes.h:690
struct _D3DSTATE D3DSTATE
enum _D3DTEXTUREMAGFILTER D3DTEXTUREMAGFILTER
enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
struct _D3DVIEWPORT * LPD3DVIEWPORT
struct _D3DMATRIXMULTIPLY * LPD3DMATRIXMULTIPLY
enum _D3DOPCODE D3DOPCODE
D3DLIGHTSTATETYPE
Definition: d3dtypes.h:860
@ D3DLIGHTSTATE_MATERIAL
Definition: d3dtypes.h:861
@ D3DLIGHTSTATE_FOGSTART
Definition: d3dtypes.h:865
@ D3DLIGHTSTATE_COLORMODEL
Definition: d3dtypes.h:863
@ D3DLIGHTSTATE_FOGMODE
Definition: d3dtypes.h:864
@ D3DLIGHTSTATE_FOGDENSITY
Definition: d3dtypes.h:867
@ D3DLIGHTSTATE_FOGEND
Definition: d3dtypes.h:866
@ D3DLIGHTSTATE_FORCE_DWORD
Definition: d3dtypes.h:869
@ D3DLIGHTSTATE_AMBIENT
Definition: d3dtypes.h:862
@ D3DLIGHTSTATE_COLORVERTEX
Definition: d3dtypes.h:868
struct _D3DINSTRUCTION * LPD3DINSTRUCTION
struct _D3DLVERTEX * LPD3DLVERTEX
DWORD * LPD3DCOLOR
Definition: d3dtypes.h:92
@ D3DSTENCILOP_ZERO
Definition: d3dtypes.h:779
@ D3DSTENCILOP_INCRSAT
Definition: d3dtypes.h:781
@ D3DSTENCILOP_INCR
Definition: d3dtypes.h:784
@ D3DSTENCILOP_REPLACE
Definition: d3dtypes.h:780
@ D3DSTENCILOP_KEEP
Definition: d3dtypes.h:778
@ D3DSTENCILOP_FORCE_DWORD
Definition: d3dtypes.h:786
@ D3DSTENCILOP_DECR
Definition: d3dtypes.h:785
@ D3DSTENCILOP_INVERT
Definition: d3dtypes.h:783
@ D3DSTENCILOP_DECRSAT
Definition: d3dtypes.h:782
_D3DANTIALIASMODE
Definition: d3dtypes.h:806
@ D3DANTIALIAS_SORTINDEPENDENT
Definition: d3dtypes.h:809
@ D3DANTIALIAS_NONE
Definition: d3dtypes.h:807
@ D3DANTIALIAS_SORTDEPENDENT
Definition: d3dtypes.h:808
@ D3DANTIALIAS_FORCE_DWORD
Definition: d3dtypes.h:810
D3DTEXTUREBLEND
Definition: d3dtypes.h:735
@ D3DTBLEND_DECALALPHA
Definition: d3dtypes.h:738
@ D3DTBLEND_DECALMASK
Definition: d3dtypes.h:740
@ D3DTBLEND_MODULATE
Definition: d3dtypes.h:737
@ D3DTBLEND_DECAL
Definition: d3dtypes.h:736
@ D3DTBLEND_MODULATEMASK
Definition: d3dtypes.h:741
@ D3DTBLEND_MODULATEALPHA
Definition: d3dtypes.h:739
@ D3DTBLEND_FORCE_DWORD
Definition: d3dtypes.h:744
@ D3DTBLEND_ADD
Definition: d3dtypes.h:743
@ D3DTBLEND_COPY
Definition: d3dtypes.h:742
@ D3DZB_USEW
Definition: d3dtypes.h:800
@ D3DZB_FORCE_DWORD
Definition: d3dtypes.h:801
@ D3DZB_FALSE
Definition: d3dtypes.h:798
@ D3DZB_TRUE
Definition: d3dtypes.h:799
struct _D3DEXECUTEDATA D3DEXECUTEDATA
_D3DTEXTUREMAGFILTER
Definition: d3dtypes.h:1145
@ D3DTFG_GAUSSIANCUBIC
Definition: d3dtypes.h:1149
@ D3DTFG_POINT
Definition: d3dtypes.h:1146
@ D3DTFG_ANISOTROPIC
Definition: d3dtypes.h:1150
@ D3DTFG_FLATCUBIC
Definition: d3dtypes.h:1148
@ D3DTFG_LINEAR
Definition: d3dtypes.h:1147
@ D3DTFG_FORCE_DWORD
Definition: d3dtypes.h:1151
struct _D3DHVERTEX * LPD3DHVERTEX
enum _D3DANTIALIASMODE D3DANTIALIASMODE
enum _D3DTEXTUREMINFILTER D3DTEXTUREMINFILTER
struct _D3DLINE * LPD3DLINE
struct _D3DSTATUS * LPD3DSTATUS
struct _D3DRECT * LPD3DRECT
Definition: d3dtypes.h:199
struct _D3DTLVERTEX D3DTLVERTEX
DWORD D3DCOLOR
Definition: d3dtypes.h:92
struct _D3DMATERIAL D3DMATERIAL
struct D3DSTATS * LPD3DSTATS
struct _D3DVIEWPORT7 D3DVIEWPORT7
struct _D3DLIGHTDATA D3DLIGHTDATA
struct _D3DVIEWPORT7 * LPD3DVIEWPORT7
struct _D3DVERTEXBUFFERDESC D3DVERTEXBUFFERDESC
struct _D3DMATERIAL7 D3DMATERIAL7
struct _D3DDRAWPRIMITIVESTRIDEDDATA * LPD3DDRAWPRIMITIVESTRIDEDDATA
struct _D3DLINE D3DLINE
@ D3DTRANSFORMSTATE_TEXTURE4
Definition: d3dtypes.h:851
@ D3DTRANSFORMSTATE_VIEW
Definition: d3dtypes.h:842
@ D3DTRANSFORMSTATE_PROJECTION
Definition: d3dtypes.h:843
@ D3DTRANSFORMSTATE_TEXTURE0
Definition: d3dtypes.h:847
@ D3DTRANSFORMSTATE_TEXTURE3
Definition: d3dtypes.h:850
@ D3DTRANSFORMSTATE_TEXTURE1
Definition: d3dtypes.h:848
@ D3DTRANSFORMSTATE_TEXTURE6
Definition: d3dtypes.h:853
@ D3DTRANSFORMSTATE_WORLD
Definition: d3dtypes.h:841
@ D3DTRANSFORMSTATE_WORLD2
Definition: d3dtypes.h:845
@ D3DTRANSFORMSTATE_TEXTURE2
Definition: d3dtypes.h:849
@ D3DTRANSFORMSTATE_TEXTURE7
Definition: d3dtypes.h:854
@ D3DTRANSFORMSTATE_TEXTURE5
Definition: d3dtypes.h:852
@ D3DTRANSFORMSTATE_WORLD1
Definition: d3dtypes.h:844
@ D3DTRANSFORMSTATE_FORCE_DWORD
Definition: d3dtypes.h:855
@ D3DTRANSFORMSTATE_WORLD3
Definition: d3dtypes.h:846
DWORD * LPD3DTEXTUREHANDLE
Definition: d3dtypes.h:155
struct _D3DTRIANGLE D3DTRIANGLE
struct _D3DVIEWPORT D3DVIEWPORT
struct _D3DVERTEX * LPD3DVERTEX
struct _D3DDRAWPRIMITIVESTRIDEDDATA D3DDRAWPRIMITIVESTRIDEDDATA
@ D3DFOG_FORCE_DWORD
Definition: d3dtypes.h:794
@ D3DFOG_NONE
Definition: d3dtypes.h:790
@ D3DFOG_EXP2
Definition: d3dtypes.h:792
@ D3DFOG_EXP
Definition: d3dtypes.h:791
@ D3DFOG_LINEAR
Definition: d3dtypes.h:793
DWORD D3DCOLORMODEL
Definition: d3dtypes.h:629
struct _D3DSPAN * LPD3DSPAN
struct _D3DLIGHT2 D3DLIGHT2
DWORD D3DMATRIXHANDLE
Definition: d3dtypes.h:156
struct _D3DSTATUS D3DSTATUS
struct _D3DDP_PTRSTRIDE D3DDP_PTRSTRIDE
struct _D3DEXECUTEDATA * LPD3DEXECUTEDATA
@ D3DVBLEND_1WEIGHT
Definition: d3dtypes.h:1398
@ D3DVBLEND_DISABLE
Definition: d3dtypes.h:1397
@ D3DVBLEND_3WEIGHTS
Definition: d3dtypes.h:1400
@ D3DVBLEND_2WEIGHTS
Definition: d3dtypes.h:1399
struct _D3DLIGHT * LPD3DLIGHT
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
struct _D3DTRANSFORMDATA D3DTRANSFORMDATA
struct _D3DVERTEXBUFFERDESC * LPD3DVERTEXBUFFERDESC
enum _D3DFOGMODE D3DFOGMODE
#define CALLBACK
Definition: compat.h:35
float D3DVALUE
Definition: dsound.h:36
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const GLdouble * v
Definition: gl.h:2040
GLdouble s
Definition: gl.h:2039
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLdouble n
Definition: glext.h:7729
GLfloat GLfloat nz
Definition: glext.h:8896
GLuint color
Definition: glext.h:6243
const GLubyte * c
Definition: glext.h:8905
GLfloat ny
Definition: glext.h:8896
GLfloat f
Definition: glext.h:7540
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:8898
GLfloat GLfloat v1
Definition: glext.h:6062
GLfloat GLfloat GLfloat v2
Definition: glext.h:6063
GLdouble GLdouble z
Definition: glext.h:5874
GLintptr offset
Definition: glext.h:5920
#define c
Definition: ke_i.h:80
long LONG
Definition: pedump.c:60
DWORD dwTrianglesDrawn
Definition: d3dtypes.h:1249
DWORD dwLinesDrawn
Definition: d3dtypes.h:1250
DWORD dwSize
Definition: d3dtypes.h:1248
DWORD dwVerticesProcessed
Definition: d3dtypes.h:1253
DWORD dwPointsDrawn
Definition: d3dtypes.h:1251
DWORD dwSpansDrawn
Definition: d3dtypes.h:1252
BOOL bNegate
Definition: d3dtypes.h:1221
DWORD dwOffset
Definition: d3dtypes.h:1222
DWORD dwValue
Definition: d3dtypes.h:1220
DWORD dwMask
Definition: d3dtypes.h:1219
DWORD dwStatus
Definition: d3dtypes.h:1237
D3DVALUE dvR
Definition: d3dtypes.h:162
union _D3DCOLORVALUE::@2780 DUMMYUNIONNAME3
D3DVALUE dvB
Definition: d3dtypes.h:170
D3DVALUE dvA
Definition: d3dtypes.h:174
D3DVALUE b
Definition: d3dtypes.h:169
union _D3DCOLORVALUE::@2778 DUMMYUNIONNAME1
union _D3DCOLORVALUE::@2779 DUMMYUNIONNAME2
D3DVALUE a
Definition: d3dtypes.h:173
D3DVALUE r
Definition: d3dtypes.h:161
union _D3DCOLORVALUE::@2781 DUMMYUNIONNAME4
D3DVALUE g
Definition: d3dtypes.h:165
D3DVALUE dvG
Definition: d3dtypes.h:166
D3DDP_PTRSTRIDE position
Definition: d3dtypes.h:1343
D3DDP_PTRSTRIDE diffuse
Definition: d3dtypes.h:1345
D3DDP_PTRSTRIDE textureCoords[D3DDP_MAXTEXCOORD]
Definition: d3dtypes.h:1347
D3DDP_PTRSTRIDE specular
Definition: d3dtypes.h:1346
D3DDP_PTRSTRIDE normal
Definition: d3dtypes.h:1344
DWORD dwInstructionOffset
Definition: d3dtypes.h:1263
DWORD dwVertexCount
Definition: d3dtypes.h:1262
DWORD dwVertexOffset
Definition: d3dtypes.h:1261
DWORD dwInstructionLength
Definition: d3dtypes.h:1264
DWORD dwHVertexOffset
Definition: d3dtypes.h:1265
D3DSTATUS dsStatus
Definition: d3dtypes.h:1266
D3DVALUE hy
Definition: d3dtypes.h:208
union _D3DHVERTEX::@2786 DUMMYUNIONNAME1
D3DVALUE hx
Definition: d3dtypes.h:204
DWORD dwFlags
Definition: d3dtypes.h:202
union _D3DHVERTEX::@2788 DUMMYUNIONNAME3
D3DVALUE dvHZ
Definition: d3dtypes.h:213
D3DVALUE dvHX
Definition: d3dtypes.h:205
D3DVALUE hz
Definition: d3dtypes.h:212
union _D3DHVERTEX::@2787 DUMMYUNIONNAME2
D3DVALUE dvHY
Definition: d3dtypes.h:209
D3DVECTOR dvPosition
Definition: d3dtypes.h:606
D3DCOLORVALUE dcvColor
Definition: d3dtypes.h:605
DWORD dwSize
Definition: d3dtypes.h:603
D3DVALUE dvAttenuation0
Definition: d3dtypes.h:610
D3DVECTOR dvDirection
Definition: d3dtypes.h:607
D3DVALUE dvFalloff
Definition: d3dtypes.h:609
D3DLIGHTTYPE dltType
Definition: d3dtypes.h:604
D3DVALUE dvAttenuation2
Definition: d3dtypes.h:612
DWORD dwFlags
Definition: d3dtypes.h:615
D3DVALUE dvRange
Definition: d3dtypes.h:608
D3DVALUE dvAttenuation1
Definition: d3dtypes.h:611
D3DVALUE dvPhi
Definition: d3dtypes.h:614
D3DVALUE dvTheta
Definition: d3dtypes.h:613
D3DVALUE dvPhi
Definition: d3dtypes.h:593
D3DVALUE dvFalloff
Definition: d3dtypes.h:588
D3DCOLORVALUE dcvDiffuse
Definition: d3dtypes.h:582
D3DCOLORVALUE dcvAmbient
Definition: d3dtypes.h:584
D3DVALUE dvAttenuation2
Definition: d3dtypes.h:591
D3DVALUE dvAttenuation0
Definition: d3dtypes.h:589
D3DVECTOR dvPosition
Definition: d3dtypes.h:585
D3DVALUE dvRange
Definition: d3dtypes.h:587
D3DLIGHTTYPE dltType
Definition: d3dtypes.h:581
D3DVALUE dvTheta
Definition: d3dtypes.h:592
D3DCOLORVALUE dcvSpecular
Definition: d3dtypes.h:583
D3DVALUE dvAttenuation1
Definition: d3dtypes.h:590
D3DVECTOR dvDirection
Definition: d3dtypes.h:586
DWORD dwInSize
Definition: d3dtypes.h:621
DWORD dwOutSize
Definition: d3dtypes.h:623
DWORD dwSize
Definition: d3dtypes.h:619
D3DTLVERTEX * lpOut
Definition: d3dtypes.h:622
D3DLIGHTINGELEMENT * lpIn
Definition: d3dtypes.h:620
D3DVECTOR dvPosition
Definition: d3dtypes.h:499
D3DVECTOR dvNormal
Definition: d3dtypes.h:500
D3DVECTOR dvDirection
Definition: d3dtypes.h:570
D3DVALUE dvAttenuation2
Definition: d3dtypes.h:575
D3DLIGHTTYPE dltType
Definition: d3dtypes.h:567
DWORD dwSize
Definition: d3dtypes.h:566
D3DVALUE dvAttenuation0
Definition: d3dtypes.h:573
D3DVECTOR dvPosition
Definition: d3dtypes.h:569
D3DVALUE dvFalloff
Definition: d3dtypes.h:572
D3DVALUE dvAttenuation1
Definition: d3dtypes.h:574
D3DCOLORVALUE dcvColor
Definition: d3dtypes.h:568
D3DVALUE dvPhi
Definition: d3dtypes.h:577
D3DVALUE dvRange
Definition: d3dtypes.h:571
D3DVALUE dvTheta
Definition: d3dtypes.h:576
WORD wV1
Definition: d3dtypes.h:1200
union _D3DLINE::@2828 DUMMYUNIONNAME2
union _D3DLINE::@2827 DUMMYUNIONNAME1
WORD v2
Definition: d3dtypes.h:1203
WORD wV2
Definition: d3dtypes.h:1204
WORD v1
Definition: d3dtypes.h:1199
D3DCOLOR dcSpecular
Definition: d3dtypes.h:284
D3DVALUE tu
Definition: d3dtypes.h:287
union _D3DLVERTEX::@2801 DUMMYUNIONNAME5
union _D3DLVERTEX::@2802 DUMMYUNIONNAME6
D3DVALUE z
Definition: d3dtypes.h:274
union _D3DLVERTEX::@2797 DUMMYUNIONNAME1
D3DCOLOR specular
Definition: d3dtypes.h:283
union _D3DLVERTEX::@2803 DUMMYUNIONNAME7
union _D3DLVERTEX::@2798 DUMMYUNIONNAME2
D3DVALUE dvZ
Definition: d3dtypes.h:275
D3DVALUE y
Definition: d3dtypes.h:270
D3DVALUE dvY
Definition: d3dtypes.h:271
union _D3DLVERTEX::@2799 DUMMYUNIONNAME3
D3DCOLOR color
Definition: d3dtypes.h:279
D3DVALUE tv
Definition: d3dtypes.h:291
D3DVALUE dvX
Definition: d3dtypes.h:267
DWORD dwReserved
Definition: d3dtypes.h:277
D3DCOLOR dcColor
Definition: d3dtypes.h:280
union _D3DLVERTEX::@2800 DUMMYUNIONNAME4
D3DVALUE x
Definition: d3dtypes.h:266
D3DVALUE dvTU
Definition: d3dtypes.h:288
D3DVALUE dvTV
Definition: d3dtypes.h:292
D3DCOLORVALUE dcvDiffuse
Definition: d3dtypes.h:532
union _D3DMATERIAL7::@2817 DUMMYUNIONNAME
union _D3DMATERIAL7::@2820 DUMMYUNIONNAME3
D3DCOLORVALUE emissive
Definition: d3dtypes.h:543
D3DCOLORVALUE dcvSpecular
Definition: d3dtypes.h:540
union _D3DMATERIAL7::@2818 DUMMYUNIONNAME1
union _D3DMATERIAL7::@2819 DUMMYUNIONNAME2
D3DCOLORVALUE specular
Definition: d3dtypes.h:539
union _D3DMATERIAL7::@2821 DUMMYUNIONNAME4
D3DVALUE dvPower
Definition: d3dtypes.h:548
D3DCOLORVALUE dcvEmissive
Definition: d3dtypes.h:544
D3DCOLORVALUE ambient
Definition: d3dtypes.h:535
D3DVALUE power
Definition: d3dtypes.h:547
D3DCOLORVALUE dcvAmbient
Definition: d3dtypes.h:536
D3DCOLORVALUE diffuse
Definition: d3dtypes.h:531
D3DCOLORVALUE dcvDiffuse
Definition: d3dtypes.h:507
union _D3DMATERIAL::@2814 DUMMYUNIONNAME2
DWORD dwSize
Definition: d3dtypes.h:504
D3DCOLORVALUE dcvAmbient
Definition: d3dtypes.h:511
D3DCOLORVALUE dcvEmissive
Definition: d3dtypes.h:519
union _D3DMATERIAL::@2812 DUMMYUNIONNAME
DWORD dwRampSize
Definition: d3dtypes.h:526
union _D3DMATERIAL::@2813 DUMMYUNIONNAME1
D3DCOLORVALUE ambient
Definition: d3dtypes.h:510
D3DCOLORVALUE emissive
Definition: d3dtypes.h:518
D3DCOLORVALUE dcvSpecular
Definition: d3dtypes.h:515
D3DVALUE power
Definition: d3dtypes.h:522
union _D3DMATERIAL::@2816 DUMMYUNIONNAME4
D3DCOLORVALUE diffuse
Definition: d3dtypes.h:506
D3DVALUE dvPower
Definition: d3dtypes.h:523
D3DTEXTUREHANDLE hTexture
Definition: d3dtypes.h:525
union _D3DMATERIAL::@2815 DUMMYUNIONNAME3
D3DCOLORVALUE specular
Definition: d3dtypes.h:514
D3DMATRIXHANDLE hSrcMatrix
Definition: d3dtypes.h:1037
D3DMATRIXHANDLE hDestMatrix
Definition: d3dtypes.h:1036
D3DMATRIXHANDLE hDestMatrix
Definition: d3dtypes.h:1041
D3DMATRIXHANDLE hSrcMatrix1
Definition: d3dtypes.h:1042
D3DMATRIXHANDLE hSrcMatrix2
Definition: d3dtypes.h:1043
float _32
Definition: d3d8types.h:1113
float _42
Definition: d3d8types.h:1114
float _13
Definition: d3d8types.h:1111
D3DVALUE _21
Definition: d3dtypes.h:343
float _44
Definition: d3d8types.h:1114
float _14
Definition: d3d8types.h:1111
float _11
Definition: d3d8types.h:1111
float _33
Definition: d3d8types.h:1113
float _24
Definition: d3d8types.h:1112
float _34
Definition: d3d8types.h:1113
D3DVALUE _31
Definition: d3dtypes.h:344
D3DVALUE _11
Definition: d3dtypes.h:342
float _12
Definition: d3d8types.h:1111
float _23
Definition: d3d8types.h:1112
D3DVALUE _41
Definition: d3dtypes.h:345
float _43
Definition: d3d8types.h:1114
float _22
Definition: d3d8types.h:1112
D3DVALUE dvZ
Definition: d3dtypes.h:677
DWORD dwOffset
Definition: d3dtypes.h:676
WORD wFirst
Definition: d3dtypes.h:1215
WORD wCount
Definition: d3dtypes.h:1214
LONG y2
Definition: d3d8types.h:1156
LONG lX2
Definition: d3dtypes.h:191
LONG x1
Definition: d3d8types.h:1153
LONG y1
Definition: d3d8types.h:1154
LONG lY2
Definition: d3dtypes.h:195
union _D3DRECT::@2785 DUMMYUNIONNAME4
union _D3DRECT::@2784 DUMMYUNIONNAME3
union _D3DRECT::@2782 DUMMYUNIONNAME1
LONG lX1
Definition: d3dtypes.h:183
union _D3DRECT::@2783 DUMMYUNIONNAME2
LONG lY1
Definition: d3dtypes.h:187
LONG x2
Definition: d3d8types.h:1155
WORD wFirst
Definition: d3dtypes.h:1210
WORD wCount
Definition: d3dtypes.h:1209
union _D3DSTATE::@2822 DUMMYUNIONNAME1
DWORD dwArg[1]
Definition: d3dtypes.h:1030
D3DLIGHTSTATETYPE dlstLightStateType
Definition: d3dtypes.h:1026
D3DTRANSFORMSTATETYPE dtstTransformStateType
Definition: d3dtypes.h:1025
D3DRENDERSTATETYPE drstRenderStateType
Definition: d3dtypes.h:1027
D3DVALUE dvArg[1]
Definition: d3dtypes.h:1031
union _D3DSTATE::@2823 DUMMYUNIONNAME2
DWORD dwFlags
Definition: d3dtypes.h:1226
D3DRECT drExtent
Definition: d3dtypes.h:1228
DWORD dwStatus
Definition: d3dtypes.h:1227
D3DTEXTUREHANDLE hSrcTexture
Definition: d3dtypes.h:670
D3DTEXTUREHANDLE hDestTexture
Definition: d3dtypes.h:669
union _D3DTLVERTEX::@2794 DUMMYUNIONNAME6
D3DVALUE tu
Definition: d3dtypes.h:246
D3DVALUE tv
Definition: d3dtypes.h:250
D3DCOLOR dcSpecular
Definition: d3dtypes.h:243
D3DVALUE dvRHW
Definition: d3dtypes.h:235
union _D3DTLVERTEX::@2793 DUMMYUNIONNAME5
D3DVALUE dvSZ
Definition: d3dtypes.h:231
D3DCOLOR specular
Definition: d3dtypes.h:242
D3DVALUE rhw
Definition: d3dtypes.h:234
union _D3DTLVERTEX::@2795 DUMMYUNIONNAME7
D3DVALUE dvTU
Definition: d3dtypes.h:247
D3DCOLOR color
Definition: d3dtypes.h:238
D3DVALUE sx
Definition: d3dtypes.h:222
union _D3DTLVERTEX::@2792 DUMMYUNIONNAME4
union _D3DTLVERTEX::@2791 DUMMYUNIONNAME3
D3DVALUE sy
Definition: d3dtypes.h:226
union _D3DTLVERTEX::@2789 DUMMYUNIONNAME1
D3DVALUE sz
Definition: d3dtypes.h:230
D3DVALUE dvTV
Definition: d3dtypes.h:251
union _D3DTLVERTEX::@2796 DUMMYUNIONNAME8
D3DCOLOR dcColor
Definition: d3dtypes.h:239
D3DVALUE dvSY
Definition: d3dtypes.h:227
union _D3DTLVERTEX::@2790 DUMMYUNIONNAME2
D3DVALUE dvSX
Definition: d3dtypes.h:223
D3DHVERTEX * lpHOut
Definition: d3dtypes.h:491
DWORD dwClipIntersection
Definition: d3dtypes.h:493
D3DRECT drExtent
Definition: d3dtypes.h:495
union _D3DTRIANGLE::@2826 DUMMYUNIONNAME3
union _D3DTRIANGLE::@2824 DUMMYUNIONNAME1
union _D3DTRIANGLE::@2825 DUMMYUNIONNAME2
D3DVALUE z
Definition: d3dtypes.h:107
D3DVALUE y
Definition: d3dtypes.h:103
D3DVALUE dvZ
Definition: d3dtypes.h:108
union _D3DVECTOR::@2777 DUMMYUNIONNAME3
D3DVALUE x
Definition: d3dtypes.h:99
D3DVALUE dvX
Definition: d3dtypes.h:100
union _D3DVECTOR::@2776 DUMMYUNIONNAME2
union _D3DVECTOR::@2775 DUMMYUNIONNAME1
D3DVALUE dvY
Definition: d3dtypes.h:104
union _D3DVERTEX::@2808 DUMMYUNIONNAME5
union _D3DVERTEX::@2809 DUMMYUNIONNAME6
D3DVALUE tu
Definition: d3dtypes.h:322
union _D3DVERTEX::@2807 DUMMYUNIONNAME4
union _D3DVERTEX::@2811 DUMMYUNIONNAME8
D3DVALUE dvY
Definition: d3dtypes.h:303
D3DVALUE nz
Definition: d3dtypes.h:318
D3DVALUE dvNX
Definition: d3dtypes.h:311
D3DVALUE y
Definition: d3dtypes.h:302
union _D3DVERTEX::@2810 DUMMYUNIONNAME7
D3DVALUE ny
Definition: d3dtypes.h:314
union _D3DVERTEX::@2806 DUMMYUNIONNAME3
D3DVALUE z
Definition: d3dtypes.h:306
D3DVALUE dvTU
Definition: d3dtypes.h:323
union _D3DVERTEX::@2805 DUMMYUNIONNAME2
D3DVALUE nx
Definition: d3dtypes.h:310
D3DVALUE dvTV
Definition: d3dtypes.h:327
D3DVALUE dvX
Definition: d3dtypes.h:299
D3DVALUE dvNY
Definition: d3dtypes.h:315
D3DVALUE tv
Definition: d3dtypes.h:326
D3DVALUE dvNZ
Definition: d3dtypes.h:319
union _D3DVERTEX::@2804 DUMMYUNIONNAME1
D3DVALUE dvZ
Definition: d3dtypes.h:307
D3DVALUE x
Definition: d3dtypes.h:298
D3DVALUE dvMaxZ
Definition: d3dtypes.h:387
DWORD dwSize
Definition: d3dtypes.h:377
D3DVALUE dvClipHeight
Definition: d3dtypes.h:385
D3DVALUE dvClipY
Definition: d3dtypes.h:383
D3DVALUE dvMinZ
Definition: d3dtypes.h:386
D3DVALUE dvClipX
Definition: d3dtypes.h:382
DWORD dwHeight
Definition: d3dtypes.h:381
DWORD dwWidth
Definition: d3dtypes.h:380
D3DVALUE dvClipWidth
Definition: d3dtypes.h:384
D3DVALUE dvMinZ
Definition: d3dtypes.h:395
DWORD dwWidth
Definition: d3dtypes.h:393
D3DVALUE dvMaxZ
Definition: d3dtypes.h:396
DWORD dwHeight
Definition: d3dtypes.h:394
DWORD dwHeight
Definition: d3dtypes.h:367
D3DVALUE dvMaxX
Definition: d3dtypes.h:370
D3DVALUE dvMaxZ
Definition: d3dtypes.h:373
D3DVALUE dvScaleY
Definition: d3dtypes.h:369
DWORD dwSize
Definition: d3dtypes.h:363
DWORD dwWidth
Definition: d3dtypes.h:366
DWORD dwX
Definition: d3dtypes.h:364
D3DVALUE dvMaxY
Definition: d3dtypes.h:371
DWORD dwY
Definition: d3dtypes.h:365
D3DVALUE dvScaleX
Definition: d3dtypes.h:368
D3DVALUE dvMinZ
Definition: d3dtypes.h:372
#define HRESULT
Definition: msvc.h:7
unsigned char BYTE
Definition: xxhash.c:193