ReactOS 0.4.15-dev-7906-g1b85a5f
d3drmdef.h
Go to the documentation of this file.
1/*
2 * Copyright 2007,2010 Vijay Kiran Kamuju
3 * Copyright 2007 David ADAM
4 * Copyright 2010 Christian Costa
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#ifndef __D3DRMDEFS_H__
22#define __D3DRMDEFS_H__
23
24#include <stddef.h>
25#include <d3dtypes.h>
26
27#if defined(__cplusplus)
28extern "C" {
29#endif
30
31typedef struct _D3DRMVECTOR4D
32{
38
39typedef D3DVALUE D3DRMMATRIX4D[4][4];
40
41typedef struct _D3DRMQUATERNION {
45
46typedef struct _D3DRMRAY {
50
51typedef struct _D3DRMBOX {
55
56typedef void (*D3DRMWRAPCALLBACK)(D3DVECTOR *vec, int *u, int *v, D3DVECTOR *a, D3DVECTOR *b, void *ctx);
57
58typedef enum _D3DRMLIGHTTYPE {
65
66typedef enum _D3DRMSHADEMODE {
73
74typedef enum _D3DRMLIGHTMODE {
80
81typedef enum _D3DRMFILLMODE {
88
90
91#define D3DRMRENDER_WIREFRAME (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_WIREFRAME)
92#define D3DRMRENDER_UNLITFLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_SOLID)
93#define D3DRMRENDER_FLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_ON+D3DRMFILL_SOLID)
94#define D3DRMRENDER_GOURAUD (D3DRMSHADE_GOURAUD+D3DRMLIGHT_ON+D3DRMFILL_SOLID)
95#define D3DRMRENDER_PHONG (D3DRMSHADE_PHONG+D3DRMLIGHT_ON+D3DRMFILL_SOLID)
96
97#define D3DRMRENDERMODE_BLENDEDTRANSPARENCY 1
98#define D3DRMRENDERMODE_SORTEDTRANSPARENCY 2
99#define D3DRMRENDERMODE_LIGHTINMODELSPACE 8
100#define D3DRMRENDERMODE_VIEWDEPENDENTSPECULAR 16
101#define D3DRMRENDERMODE_DISABLESORTEDALPHAZWRITE 32
102
111
112#define D3DRMTEXTURE_FORCERESIDENT 0x00000001
113#define D3DRMTEXTURE_STATIC 0x00000002
114#define D3DRMTEXTURE_DOWNSAMPLEPOINT 0x00000004
115#define D3DRMTEXTURE_DOWNSAMPLEBILINEAR 0x00000008
116#define D3DRMTEXTURE_DOWNSAMPLEREDUCEDEPTH 0x00000010
117#define D3DRMTEXTURE_DOWNSAMPLENONE 0x00000020
118#define D3DRMTEXTURE_CHANGEDPIXELS 0x00000040
119#define D3DRMTEXTURE_CHANGEDPALETTE 0x00000080
120#define D3DRMTEXTURE_INVALIDATEONLY 0x00000100
121
122#define D3DRMSHADOW_TRUEALPHA 0x00000001
123
124typedef enum _D3DRMCOMBINETYPE {
129
131
133{
138
139typedef struct _D3DRMPALETTEENTRY {
140 unsigned char red;
141 unsigned char green;
142 unsigned char blue;
143 unsigned char flags;
145
146typedef struct _D3DRMIMAGE {
147 int width;
151 int depth;
152 int rgb;
154 void* buffer1;
155 void* buffer2;
163
164typedef enum _D3DRMWRAPTYPE {
172
173#define D3DRMWIREFRAME_CULL 1
174#define D3DRMWIREFRAME_HIDDENLINE 2
175
177{
183
184#define D3DRMOPTIONS_LEFTHANDED 0x00000001
185#define D3DRMOPTIONS_RIGHTHANDED 0x00000002
186
187typedef enum _D3DRMXOFFORMAT {
192
194#define D3DRMXOFSAVE_NORMALS 1
195#define D3DRMXOFSAVE_TEXTURECOORDINATES 2
196#define D3DRMXOFSAVE_MATERIALS 4
197#define D3DRMXOFSAVE_TEXTURENAMES 8
198#define D3DRMXOFSAVE_ALL 15
199#define D3DRMXOFSAVE_TEMPLATES 16
200#define D3DRMXOFSAVE_TEXTURETOPOLOGY 32
201
202typedef enum _D3DRMCOLORSOURCE {
206
212
213typedef enum _D3DRMMATERIALMODE {
218
219typedef enum _D3DRMFOGMODE {
224
225typedef enum _D3DRMZBUFFERMODE {
230
231typedef enum _D3DRMSORTMODE {
237
248
249#define D3DRMMATERIALOVERRIDE_DIFFUSE_ALPHAONLY 0x00000001
250#define D3DRMMATERIALOVERRIDE_DIFFUSE_RGBONLY 0x00000002
251#define D3DRMMATERIALOVERRIDE_DIFFUSE 0x00000003
252#define D3DRMMATERIALOVERRIDE_AMBIENT 0x00000004
253#define D3DRMMATERIALOVERRIDE_EMISSIVE 0x00000008
254#define D3DRMMATERIALOVERRIDE_SPECULAR 0x00000010
255#define D3DRMMATERIALOVERRIDE_POWER 0x00000020
256#define D3DRMMATERIALOVERRIDE_TEXTURE 0x00000040
257#define D3DRMMATERIALOVERRIDE_DIFFUSE_ALPHAMULTIPLY 0x00000080
258#define D3DRMMATERIALOVERRIDE_ALL 0x000000FF
259
260#define D3DRMFPTF_ALPHA 0x00000001
261#define D3DRMFPTF_NOALPHA 0x00000002
262#define D3DRMFPTF_PALETTIZED 0x00000004
263#define D3DRMFPTF_NOTPALETTIZED 0x00000008
264
265#define D3DRMSTATECHANGE_UPDATEONLY 0x000000001
266#define D3DRMSTATECHANGE_VOLATILE 0x000000002
267#define D3DRMSTATECHANGE_NONVOLATILE 0x000000004
268#define D3DRMSTATECHANGE_RENDER 0x000000020
269#define D3DRMSTATECHANGE_LIGHT 0x000000040
270
271#define D3DRMDEVICE_NOZBUFFER 0x00000001
272
273#define D3DRMCALLBACK_PREORDER 0
274#define D3DRMCALLBACK_POSTORDER 1
275
276#define D3DRMRAYPICK_ONLYBOUNDINGBOXES 0x01
277#define D3DRMRAYPICK_IGNOREFURTHERPRIMITIVES 0x02
278#define D3DRMRAYPICK_INTERPOLATEUV 0x04
279#define D3DRMRAYPICK_INTERPOLATECOLOR 0x08
280#define D3DRMRAYPICK_INTERPOLATENORMAL 0x10
281
282#define D3DRMADDFACES_VERTICESONLY 1
283
284#define D3DRMGENERATENORMALS_PRECOMPACT 1
285#define D3DRMGENERATENORMALS_USECREASEANGLE 2
286
287#define D3DRMMESHBUILDER_DIRECTPARENT 1
288#define D3DRMMESHBUILDER_ROOTMESH 2
289
290#define D3DRMMESHBUILDER_RENDERENABLE 0x00000001
291#define D3DRMMESHBUILDER_PICKENABLE 0x00000002
292
293#define D3DRMADDMESHBUILDER_DONTCOPYAPPDATA 1
294#define D3DRMADDMESHBUILDER_FLATTENSUBMESHES 2
295#define D3DRMADDMESHBUILDER_NOSUBMESHES 4
296
297#define D3DRMMESHBUILDERAGE_GEOMETRY 0x00000001
298#define D3DRMMESHBUILDERAGE_MATERIALS 0x00000002
299#define D3DRMMESHBUILDERAGE_TEXTURES 0x00000004
300
301#define D3DRMFVF_TYPE 0x00000001
302#define D3DRMFVF_NORMAL 0x00000002
303#define D3DRMFVF_COLOR 0x00000004
304#define D3DRMFVF_TEXTURECOORDS 0x00000008
305
306#define D3DRMVERTEX_STRIP 0x00000001
307#define D3DRMVERTEX_FAN 0x00000002
308#define D3DRMVERTEX_LIST 0x00000004
309
310#define D3DRMCLEAR_TARGET 0x00000001
311#define D3DRMCLEAR_ZBUFFER 0x00000002
312#define D3DRMCLEAR_DIRTYRECTS 0x00000004
313#define D3DRMCLEAR_ALL (D3DRMCLEAR_TARGET | D3DRMCLEAR_ZBUFFER | D3DRMCLEAR_DIRTYRECTS)
314
315#define D3DRMFOGMETHOD_VERTEX 0x00000001
316#define D3DRMFOGMETHOD_TABLE 0x00000002
317#define D3DRMFOGMETHOD_ANY 0x00000004
318
319#define D3DRMFRAME_RENDERENABLE 0x00000001
320#define D3DRMFRAME_PICKENABLE 0x00000002
321
323#define D3DRMANIMATION_OPEN 0x00000001
324#define D3DRMANIMATION_CLOSED 0x00000002
325#define D3DRMANIMATION_LINEARPOSITION 0x00000004
326#define D3DRMANIMATION_SPLINEPOSITION 0x00000008
327#define D3DRMANIMATION_SCALEANDROTATION 0x00000010
328#define D3DRMANIMATION_POSITION 0x00000020
329
331#define D3DRMINTERPOLATION_OPEN 0x0001
332#define D3DRMINTERPOLATION_CLOSED 0x0002
333#define D3DRMINTERPOLATION_NEAREST 0x0100
334#define D3DRMINTERPOLATION_LINEAR 0x0004
335#define D3DRMINTERPOLATION_SPLINE 0x0008
336#define D3DRMINTERPOLATION_VERTEXCOLOR 0x0040
337#define D3DRMINTERPOLATION_SLERPNORMALS 0x0080
338
340
341#define D3DRMLOAD_FROMFILE 0x000L
342#define D3DRMLOAD_FROMRESOURCE 0x001L
343#define D3DRMLOAD_FROMMEMORY 0x002L
344#define D3DRMLOAD_FROMSTREAM 0x004L
345#define D3DRMLOAD_FROMURL 0x008L
346
347#define D3DRMLOAD_BYNAME 0x010L
348#define D3DRMLOAD_BYPOSITION 0x020L
349#define D3DRMLOAD_BYGUID 0x040L
350#define D3DRMLOAD_FIRST 0x080L
351
352#define D3DRMLOAD_INSTANCEBYREFERENCE 0x100L
353#define D3DRMLOAD_INSTANCEBYCOPYING 0x200L
354
355#define D3DRMLOAD_ASYNCHRONOUS 0x400L
356
357typedef struct _D3DRMLOADRESOURCE
358{
360 const char *lpName;
361 const char *lpType;
363
364typedef struct _D3DRMLOADMEMORY
365{
366 void *lpMemory;
369
370#define D3DRMPMESHSTATUS_VALID 0x01
371#define D3DRMPMESHSTATUS_INTERRUPTED 0x02
372#define D3DRMPMESHSTATUS_BASEMESHCOMPLETE 0x04
373#define D3DRMPMESHSTATUS_COMPLETE 0x08
374#define D3DRMPMESHSTATUS_RENDERABLE 0x10
375
376#define D3DRMPMESHEVENT_BASEMESH 0x01
377#define D3DRMPMESHEVENT_COMPLETE 0x02
378
379typedef struct _D3DRMPMESHLOADSTATUS {
389
394
395typedef struct _D3DRMANIMATIONKEY
396{
401#if !defined(__cplusplus) || !defined(D3D_OVERLOADS)
402 union
403 {
408#else
409 D3DVALUE dvK[4];
410#endif
413
414#define D3DRMANIMATION_ROTATEKEY 0x01
415#define D3DRMANIMATION_SCALEKEY 0x02
416#define D3DRMANIMATION_POSITIONKEY 0x03
417
422
423typedef struct _D3DRMVERTEX {
430
433
435
440
445
446#define D3DRMVectorNormalise D3DRMVectorNormalize
447
454
461
462#if defined(__cplusplus)
463}
464#endif
465
466#endif
D3DVECTOR *WINAPI D3DRMVectorRandom(D3DVECTOR *ret)
Definition: math.c:213
struct _D3DRMPMESHLOADSTATUS D3DRMPMESHLOADSTATUS
DWORD D3DRMANIMATIONOPTIONS
Definition: d3drmdef.h:322
D3DVECTOR *WINAPI D3DRMVectorCrossProduct(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:167
struct _D3DRMIMAGE * LPD3DRMIMAGE
enum _D3DRMMATERIALMODE D3DRMMATERIALMODE
DWORD * LPD3DRMMAPPING
Definition: d3drmdef.h:418
_D3DRMSHADEMODE
Definition: d3drmdef.h:66
@ D3DRMSHADE_FLAT
Definition: d3drmdef.h:67
@ D3DRMSHADE_MASK
Definition: d3drmdef.h:70
@ D3DRMSHADE_MAX
Definition: d3drmdef.h:71
@ D3DRMSHADE_GOURAUD
Definition: d3drmdef.h:68
@ D3DRMSHADE_PHONG
Definition: d3drmdef.h:69
DWORD D3DRMINTERPOLATIONOPTIONS
Definition: d3drmdef.h:330
D3DRMQUATERNION *WINAPI D3DRMQuaternionMultiply(D3DRMQUATERNION *ret, D3DRMQUATERNION *x, D3DRMQUATERNION *y)
Definition: math.c:62
void WINAPI D3DRMMatrixFromQuaternion(D3DRMMATRIX4D m, D3DRMQUATERNION *q)
Definition: math.c:78
enum _D3DRMWRAPTYPE D3DRMWRAPTYPE
D3DVALUE WINAPI D3DRMColorGetGreen(D3DCOLOR)
Definition: math.c:50
_D3DRMFRAMECONSTRAINT
Definition: d3drmdef.h:207
@ D3DRMCONSTRAIN_Y
Definition: d3drmdef.h:209
@ D3DRMCONSTRAIN_X
Definition: d3drmdef.h:210
@ D3DRMCONSTRAIN_Z
Definition: d3drmdef.h:208
enum _D3DRMZBUFFERMODE * LPD3DRMZBUFFERMODE
struct _D3DRMRAY * LPD3DRMRAY
struct _D3DRMLOADRESOURCE D3DRMLOADRESOURCE
DWORD * LPD3DRMRENDERQUALITY
Definition: d3drmdef.h:89
_D3DRMFILLMODE
Definition: d3drmdef.h:81
@ D3DRMFILL_MAX
Definition: d3drmdef.h:86
@ D3DRMFILL_SOLID
Definition: d3drmdef.h:84
@ D3DRMFILL_WIREFRAME
Definition: d3drmdef.h:83
@ D3DRMFILL_MASK
Definition: d3drmdef.h:85
@ D3DRMFILL_POINTS
Definition: d3drmdef.h:82
struct _D3DRMRAY D3DRMRAY
enum _D3DRMMATERIALMODE * LPD3DRMMATERIALMODE
_D3DRMLIGHTTYPE
Definition: d3drmdef.h:58
@ D3DRMLIGHT_DIRECTIONAL
Definition: d3drmdef.h:62
@ D3DRMLIGHT_SPOT
Definition: d3drmdef.h:61
@ D3DRMLIGHT_PARALLELPOINT
Definition: d3drmdef.h:63
@ D3DRMLIGHT_AMBIENT
Definition: d3drmdef.h:59
@ D3DRMLIGHT_POINT
Definition: d3drmdef.h:60
enum _D3DRMCOLORSOURCE * LPD3DRMCOLORSOURCE
D3DVALUE WINAPI D3DRMVectorModulus(D3DVECTOR *x)
Definition: math.c:188
_D3DRMUSERVISUALREASON
Definition: d3drmdef.h:390
@ D3DRMUSERVISUAL_CANSEE
Definition: d3drmdef.h:391
@ D3DRMUSERVISUAL_RENDER
Definition: d3drmdef.h:392
_D3DRMCOMBINETYPE
Definition: d3drmdef.h:124
@ D3DRMCOMBINE_BEFORE
Definition: d3drmdef.h:126
@ D3DRMCOMBINE_AFTER
Definition: d3drmdef.h:127
@ D3DRMCOMBINE_REPLACE
Definition: d3drmdef.h:125
enum _D3DRMLIGHTTYPE * LPD3DRMLIGHTTYPE
D3DVECTOR *WINAPI D3DRMVectorAdd(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:141
struct _D3DRMQUATERNION * LPD3DRMQUATERNION
_D3DRMXOFFORMAT
Definition: d3drmdef.h:187
@ D3DRMXOF_TEXT
Definition: d3drmdef.h:190
@ D3DRMXOF_COMPRESSED
Definition: d3drmdef.h:189
@ D3DRMXOF_BINARY
Definition: d3drmdef.h:188
enum _D3DRMFOGMODE * LPD3DRMFOGMODE
D3DVALUE WINAPI D3DRMColorGetRed(D3DCOLOR)
Definition: math.c:56
D3DVALUE D3DRMMATRIX4D[4][4]
Definition: d3drmdef.h:39
_D3DRMPROJECTIONTYPE
Definition: d3drmdef.h:177
@ D3DRMPROJECT_ORTHOGRAPHIC
Definition: d3drmdef.h:179
@ D3DRMPROJECT_RIGHTHANDORTHOGRAPHIC
Definition: d3drmdef.h:181
@ D3DRMPROJECT_PERSPECTIVE
Definition: d3drmdef.h:178
@ D3DRMPROJECT_RIGHTHANDPERSPECTIVE
Definition: d3drmdef.h:180
enum _D3DRMWRAPTYPE * LPD3DRMWRAPTYPE
enum _D3DRMLIGHTTYPE D3DRMLIGHTTYPE
_D3DRMCOLORSOURCE
Definition: d3drmdef.h:202
@ D3DRMCOLOR_FROMVERTEX
Definition: d3drmdef.h:204
@ D3DRMCOLOR_FROMFACE
Definition: d3drmdef.h:203
DWORD D3DRMMAPPINGFLAG
Definition: d3drmdef.h:418
static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPV
Definition: d3drmdef.h:420
enum _D3DRMZBUFFERMODE D3DRMZBUFFERMODE
enum _D3DRMFILLMODE D3DRMFILLMODE
D3DVALUE WINAPI D3DRMColorGetBlue(D3DCOLOR)
Definition: math.c:44
_D3DRMLIGHTMODE
Definition: d3drmdef.h:74
@ D3DRMLIGHT_ON
Definition: d3drmdef.h:76
@ D3DRMLIGHT_MAX
Definition: d3drmdef.h:78
@ D3DRMLIGHT_OFF
Definition: d3drmdef.h:75
@ D3DRMLIGHT_MASK
Definition: d3drmdef.h:77
D3DVALUE WINAPI D3DRMVectorDotProduct(D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:180
DWORD D3DRMMAPPING
Definition: d3drmdef.h:418
D3DCOLOR WINAPI D3DRMCreateColorRGB(D3DVALUE, D3DVALUE, D3DVALUE)
Definition: math.c:23
static const D3DRMMAPPINGFLAG D3DRMMAP_PERSPCORRECT
Definition: d3drmdef.h:421
DWORD D3DRMSAVEOPTIONS
Definition: d3drmdef.h:193
D3DCOLOR WINAPI D3DRMCreateColorRGBA(D3DVALUE, D3DVALUE, D3DVALUE, D3DVALUE)
Definition: math.c:28
struct _D3DRMPALETTEENTRY * LPD3DRMPALETTEENTRY
D3DCOLORMODEL D3DRMCOLORMODEL
Definition: d3drmdef.h:130
struct _D3DRMMATERIALOVERRIDE D3DRMMATERIALOVERRIDE
struct _D3DRMPMESHLOADSTATUS * LPD3DRMPMESHLOADSTATUS
struct _D3DRMMATERIALOVERRIDE * LPD3DRMMATERIALOVERRIDE
DWORD D3DRMLOADOPTIONS
Definition: d3drmdef.h:339
static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPU
Definition: d3drmdef.h:419
D3DVALUE WINAPI D3DRMColorGetAlpha(D3DCOLOR)
Definition: math.c:38
struct _D3DRMIMAGE D3DRMIMAGE
D3DRMANIMATIONKEY * LPD3DRMANIMATIONKEY
Definition: d3drmdef.h:412
enum _D3DRMFOGMODE D3DRMFOGMODE
_D3DRMFOGMODE
Definition: d3drmdef.h:219
@ D3DRMFOG_EXPONENTIALSQUARED
Definition: d3drmdef.h:222
@ D3DRMFOG_EXPONENTIAL
Definition: d3drmdef.h:221
@ D3DRMFOG_LINEAR
Definition: d3drmdef.h:220
enum _D3DRMFRAMECONSTRAINT D3DRMFRAMECONSTRAINT
struct _D3DRMLOADRESOURCE * LPD3DRMLOADRESOURCE
struct _D3DRMVERTEX * LPD3DRMVERTEX
D3DCOLORMODEL * LPD3DRMCOLORMODEL
Definition: d3drmdef.h:130
enum _D3DRMUSERVISUALREASON D3DRMUSERVISUALREASON
enum _D3DRMPALETTEFLAGS D3DRMPALETTEFLAGS
enum _D3DRMUSERVISUALREASON * LPD3DRMUSERVISUALREASON
DWORD D3DRMRENDERQUALITY
Definition: d3drmdef.h:89
enum _D3DRMPROJECTIONTYPE D3DRMPROJECTIONTYPE
enum _D3DRMCOMBINETYPE D3DRMCOMBINETYPE
struct _D3DRMBOX * LPD3DRMBOX
enum _D3DRMPALETTEFLAGS * LPD3DRMPALETTEFLAGS
_D3DRMZBUFFERMODE
Definition: d3drmdef.h:225
@ D3DRMZBUFFER_ENABLE
Definition: d3drmdef.h:227
@ D3DRMZBUFFER_DISABLE
Definition: d3drmdef.h:228
@ D3DRMZBUFFER_FROMPARENT
Definition: d3drmdef.h:226
struct _D3DRMQUATERNION D3DRMQUATERNION
struct _D3DRMLOADMEMORY D3DRMLOADMEMORY
enum _D3DRMXOFFORMAT * LPD3DRMXOFFORMAT
_D3DRMSORTMODE
Definition: d3drmdef.h:231
@ D3DRMSORT_FROMPARENT
Definition: d3drmdef.h:232
@ D3DRMSORT_NONE
Definition: d3drmdef.h:233
@ D3DRMSORT_BACKTOFRONT
Definition: d3drmdef.h:235
@ D3DRMSORT_FRONTTOBACK
Definition: d3drmdef.h:234
enum _D3DRMLIGHTMODE * LPD3DRMLIGHTMODE
enum _D3DRMFILLMODE * LPD3DRMFILLMODE
enum _D3DRMSORTMODE D3DRMSORTMODE
struct _D3DRMBOX D3DRMBOX
enum _D3DRMLIGHTMODE D3DRMLIGHTMODE
D3DVECTOR *WINAPI D3DRMVectorSubtract(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:154
enum _D3DRMTEXTUREQUALITY D3DRMTEXTUREQUALITY
struct _D3DRMVECTOR4D * LPD3DRMVECTOR4D
enum _D3DRMSORTMODE * LPD3DRMSORTMODE
struct _D3DRMLOADMEMORY * LPD3DRMLOADMEMORY
enum _D3DRMPROJECTIONTYPE * LPD3DRMPROJECTIONTYPE
enum _D3DRMXOFFORMAT D3DRMXOFFORMAT
void(* D3DRMWRAPCALLBACK)(D3DVECTOR *vec, int *u, int *v, D3DVECTOR *a, D3DVECTOR *b, void *ctx)
Definition: d3drmdef.h:56
enum _D3DRMCOLORSOURCE D3DRMCOLORSOURCE
D3DVECTOR *WINAPI D3DRMVectorNormalize(D3DVECTOR *x)
Definition: math.c:196
enum _D3DRMCOMBINETYPE * LPD3DRMCOMBINETYPE
enum _D3DRMSHADEMODE D3DRMSHADEMODE
struct _D3DRMVECTOR4D D3DRMVECTOR4D
LONG D3DRMGROUPINDEX
Definition: d3drmdef.h:431
struct _D3DRMVERTEX D3DRMVERTEX
_D3DRMPALETTEFLAGS
Definition: d3drmdef.h:133
@ D3DRMPALETTE_RESERVED
Definition: d3drmdef.h:136
@ D3DRMPALETTE_READONLY
Definition: d3drmdef.h:135
@ D3DRMPALETTE_FREE
Definition: d3drmdef.h:134
enum _D3DRMFRAMECONSTRAINT * LPD3DRMFRAMECONSTRAINT
D3DRMQUATERNION *WINAPI D3DRMQuaternionSlerp(D3DRMQUATERNION *ret, D3DRMQUATERNION *x, D3DRMQUATERNION *y, D3DVALUE alpha)
Definition: math.c:112
struct _D3DRMPALETTEENTRY D3DRMPALETTEENTRY
enum _D3DRMSHADEMODE * LPD3DRMSHADEMODE
static const D3DRMGROUPINDEX D3DRMGROUP_ALLGROUPS
Definition: d3drmdef.h:432
_D3DRMTEXTUREQUALITY
Definition: d3drmdef.h:103
@ D3DRMTEXTURE_MIPLINEAR
Definition: d3drmdef.h:107
@ D3DRMTEXTURE_MIPNEAREST
Definition: d3drmdef.h:106
@ D3DRMTEXTURE_NEAREST
Definition: d3drmdef.h:104
@ D3DRMTEXTURE_LINEAR
Definition: d3drmdef.h:105
@ D3DRMTEXTURE_LINEARMIPLINEAR
Definition: d3drmdef.h:109
@ D3DRMTEXTURE_LINEARMIPNEAREST
Definition: d3drmdef.h:108
_D3DRMWRAPTYPE
Definition: d3drmdef.h:164
@ D3DRMWRAP_SPHERE
Definition: d3drmdef.h:167
@ D3DRMWRAP_SHEET
Definition: d3drmdef.h:169
@ D3DRMWRAP_BOX
Definition: d3drmdef.h:170
@ D3DRMWRAP_FLAT
Definition: d3drmdef.h:165
@ D3DRMWRAP_CHROME
Definition: d3drmdef.h:168
@ D3DRMWRAP_CYLINDER
Definition: d3drmdef.h:166
_D3DRMMATERIALMODE
Definition: d3drmdef.h:213
@ D3DRMMATERIAL_FROMPARENT
Definition: d3drmdef.h:215
@ D3DRMMATERIAL_FROMMESH
Definition: d3drmdef.h:214
@ D3DRMMATERIAL_FROMFRAME
Definition: d3drmdef.h:216
enum _D3DRMTEXTUREQUALITY * LPD3DRMTEXTUREQUALITY
D3DVECTOR *WINAPI D3DRMVectorReflect(D3DVECTOR *ret, D3DVECTOR *ray, D3DVECTOR *normal)
Definition: math.c:223
D3DVECTOR *WINAPI D3DRMVectorScale(D3DVECTOR *ret, D3DVECTOR *x, D3DVALUE scale)
Definition: math.c:253
D3DVECTOR *WINAPI D3DRMVectorRotate(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *axis, D3DVALUE theta)
Definition: math.c:233
D3DRMQUATERNION *WINAPI D3DRMQuaternionFromRotation(D3DRMQUATERNION *x, D3DVECTOR *axis, D3DVALUE theta)
Definition: math.c:104
struct _D3DRMANIMATIONKEY D3DRMANIMATIONKEY
float D3DVALUE
Definition: d3dtypes.h:89
DWORD D3DCOLORMODEL
Definition: d3dtypes.h:629
unsigned long DWORD
Definition: ntddk_ex.h:95
FT_Vector * vec
Definition: ftbbox.c:448
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const GLdouble * v
Definition: gl.h:2040
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
const GLfloat * m
Definition: glext.h:10848
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
#define a
Definition: ke_i.h:78
#define b
Definition: ke_i.h:79
@ normal
Definition: optimize.h:166
long LONG
Definition: pedump.c:60
D3DRMQUATERNION dqRotateKey
Definition: d3drmdef.h:404
union _D3DRMANIMATIONKEY::@2762 DUMMYUNIONNAME
D3DVECTOR dvPositionKey
Definition: d3drmdef.h:406
D3DVECTOR dvScaleKey
Definition: d3drmdef.h:405
D3DVALUE dvTime
Definition: d3drmdef.h:399
D3DVECTOR min
Definition: d3drmdef.h:52
D3DVECTOR max
Definition: d3drmdef.h:53
ULONG blue_mask
Definition: d3drmdef.h:158
void * buffer2
Definition: d3drmdef.h:155
ULONG red_mask
Definition: d3drmdef.h:156
D3DRMPALETTEENTRY * palette
Definition: d3drmdef.h:161
int aspectx
Definition: d3drmdef.h:149
int height
Definition: d3drmdef.h:148
ULONG alpha_mask
Definition: d3drmdef.h:159
int palette_size
Definition: d3drmdef.h:160
void * buffer1
Definition: d3drmdef.h:154
int aspecty
Definition: d3drmdef.h:150
int bytes_per_line
Definition: d3drmdef.h:153
ULONG green_mask
Definition: d3drmdef.h:157
void * lpMemory
Definition: d3drmdef.h:366
const char * lpName
Definition: d3drmdef.h:360
const char * lpType
Definition: d3drmdef.h:361
IUnknown * lpD3DRMTex
Definition: d3drmdef.h:246
D3DCOLORVALUE dcEmissive
Definition: d3drmdef.h:243
D3DCOLORVALUE dcAmbient
Definition: d3drmdef.h:242
D3DCOLORVALUE dcDiffuse
Definition: d3drmdef.h:241
D3DCOLORVALUE dcSpecular
Definition: d3drmdef.h:244
unsigned char blue
Definition: d3drmdef.h:142
unsigned char green
Definition: d3drmdef.h:141
unsigned char red
Definition: d3drmdef.h:140
unsigned char flags
Definition: d3drmdef.h:143
D3DVALUE s
Definition: d3drmdef.h:42
D3DVECTOR v
Definition: d3drmdef.h:43
D3DVECTOR dvPos
Definition: d3drmdef.h:48
D3DVECTOR dvDir
Definition: d3drmdef.h:47
D3DVALUE x
Definition: d3drmdef.h:33
D3DVALUE w
Definition: d3drmdef.h:36
D3DVALUE z
Definition: d3drmdef.h:35
D3DVALUE y
Definition: d3drmdef.h:34
D3DVECTOR normal
Definition: d3drmdef.h:425
D3DVALUE tv
Definition: d3drmdef.h:427
D3DVALUE tu
Definition: d3drmdef.h:426
D3DVECTOR position
Definition: d3drmdef.h:424
D3DCOLOR color
Definition: d3drmdef.h:428
uint32_t ULONG
Definition: typedefs.h:59
int ret
#define WINAPI
Definition: msvc.h:6