ReactOS  0.4.14-dev-98-gb0d4763
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)
28 extern "C" {
29 #endif
30 
31 typedef struct _D3DRMVECTOR4D
32 {
38 
39 typedef D3DVALUE D3DRMMATRIX4D[4][4];
40 
41 typedef struct _D3DRMQUATERNION {
45 
46 typedef struct _D3DRMRAY {
50 
51 typedef struct _D3DRMBOX {
55 
56 typedef void (*D3DRMWRAPCALLBACK)(D3DVECTOR *vec, int *u, int *v, D3DVECTOR *a, D3DVECTOR *b, void *ctx);
57 
58 typedef enum _D3DRMLIGHTTYPE {
65 
66 typedef enum _D3DRMSHADEMODE {
73 
74 typedef enum _D3DRMLIGHTMODE {
80 
81 typedef 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 
103 typedef enum _D3DRMTEXTUREQUALITY {
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 
124 typedef enum _D3DRMCOMBINETYPE {
129 
131 
132 typedef enum _D3DRMPALETTEFLAGS
133 {
138 
139 typedef struct _D3DRMPALETTEENTRY {
140  unsigned char red;
141  unsigned char green;
142  unsigned char blue;
143  unsigned char flags;
145 
146 typedef struct _D3DRMIMAGE {
147  int width;
148  int height;
149  int aspectx;
150  int aspecty;
151  int depth;
152  int rgb;
154  void* buffer1;
155  void* buffer2;
163 
164 typedef 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 
187 typedef 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 
202 typedef enum _D3DRMCOLORSOURCE {
206 
207 typedef enum _D3DRMFRAMECONSTRAINT {
212 
213 typedef enum _D3DRMMATERIALMODE {
218 
219 typedef enum _D3DRMFOGMODE {
224 
225 typedef enum _D3DRMZBUFFERMODE {
230 
231 typedef enum _D3DRMSORTMODE {
237 
238 typedef struct _D3DRMMATERIALOVERRIDE {
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 
357 typedef struct _D3DRMLOADRESOURCE
358 {
360  const char *lpName;
361  const char *lpType;
363 
364 typedef 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 
379 typedef struct _D3DRMPMESHLOADSTATUS {
389 
394 
395 typedef struct _D3DRMANIMATIONKEY
396 {
401 #if !defined(__cplusplus) || !defined(D3D_OVERLOADS)
402  union
403  {
407  } DUMMYUNIONNAME;
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 
423 typedef struct _D3DRMVERTEX {
430 
433 
435 
440 
445 
446 #define D3DRMVectorNormalise D3DRMVectorNormalize
447 
454 
461 
462 #if defined(__cplusplus)
463 }
464 #endif
465 
466 #endif
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
const char * lpName
Definition: d3drmdef.h:360
struct _D3DRMPALETTEENTRY * LPD3DRMPALETTEENTRY
void * buffer1
Definition: d3drmdef.h:154
struct _D3DRMVECTOR4D D3DRMVECTOR4D
struct _D3DRMQUATERNION D3DRMQUATERNION
unsigned char red
Definition: d3drmdef.h:140
D3DRMPALETTEENTRY * palette
Definition: d3drmdef.h:161
enum _D3DRMZBUFFERMODE * LPD3DRMZBUFFERMODE
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
D3DVALUE WINAPI D3DRMVectorModulus(D3DVECTOR *x)
Definition: math.c:191
void * buffer2
Definition: d3drmdef.h:155
D3DVALUE tu
Definition: d3drmdef.h:426
D3DVECTOR dvPositionKey
Definition: d3drmdef.h:406
DWORD * LPD3DRMMAPPING
Definition: d3drmdef.h:418
struct _D3DRMLOADMEMORY * LPD3DRMLOADMEMORY
D3DVALUE dvTime
Definition: d3drmdef.h:399
enum _D3DRMPALETTEFLAGS D3DRMPALETTEFLAGS
DWORD D3DRMMAPPING
Definition: d3drmdef.h:418
struct _D3DRMLOADRESOURCE D3DRMLOADRESOURCE
_D3DRMFILLMODE
Definition: d3drmdef.h:81
ULONG red_mask
Definition: d3drmdef.h:156
D3DVECTOR *WINAPI D3DRMVectorSubtract(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:157
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPV
Definition: d3drmdef.h:420
D3DCOLORVALUE dcDiffuse
Definition: d3drmdef.h:241
enum _D3DRMSHADEMODE D3DRMSHADEMODE
unsigned char green
Definition: d3drmdef.h:141
DWORD D3DRMANIMATIONOPTIONS
Definition: d3drmdef.h:322
void WINAPI D3DRMMatrixFromQuaternion(D3DRMMATRIX4D m, D3DRMQUATERNION *q)
Definition: math.c:81
D3DVECTOR position
Definition: d3drmdef.h:424
enum _D3DRMLIGHTMODE * LPD3DRMLIGHTMODE
D3DVECTOR *WINAPI D3DRMVectorRandom(D3DVECTOR *ret)
Definition: math.c:216
static const D3DRMMAPPINGFLAG D3DRMMAP_WRAPU
Definition: d3drmdef.h:419
enum _D3DRMMATERIALMODE D3DRMMATERIALMODE
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
_D3DRMSHADEMODE
Definition: d3drmdef.h:66
enum _D3DRMFOGMODE * LPD3DRMFOGMODE
struct _D3DRMLOADRESOURCE * LPD3DRMLOADRESOURCE
enum _D3DRMTEXTUREQUALITY * LPD3DRMTEXTUREQUALITY
_D3DRMMATERIALMODE
Definition: d3drmdef.h:213
enum _D3DRMXOFFORMAT * LPD3DRMXOFFORMAT
enum _D3DRMMATERIALMODE * LPD3DRMMATERIALMODE
unsigned char flags
Definition: d3drmdef.h:143
D3DCOLOR color
Definition: d3drmdef.h:428
struct _D3DRMPALETTEENTRY D3DRMPALETTEENTRY
const GLfloat * m
Definition: glext.h:10848
D3DVECTOR max
Definition: d3drmdef.h:53
enum _D3DRMLIGHTMODE D3DRMLIGHTMODE
enum _D3DRMCOLORSOURCE D3DRMCOLORSOURCE
int aspectx
Definition: d3drmdef.h:149
ULONG blue_mask
Definition: d3drmdef.h:158
enum _D3DRMPALETTEFLAGS * LPD3DRMPALETTEFLAGS
IUnknown * lpD3DRMTex
Definition: d3drmdef.h:246
_D3DRMCOLORSOURCE
Definition: d3drmdef.h:202
D3DCOLORVALUE dcSpecular
Definition: d3drmdef.h:244
D3DCOLORVALUE dcEmissive
Definition: d3drmdef.h:243
D3DVALUE WINAPI D3DRMColorGetRed(D3DCOLOR)
Definition: math.c:59
struct _D3DRMLOADMEMORY D3DRMLOADMEMORY
ULONG alpha_mask
Definition: d3drmdef.h:159
enum _D3DRMUSERVISUALREASON D3DRMUSERVISUALREASON
long LONG
Definition: pedump.c:60
struct _D3DRMRAY * LPD3DRMRAY
#define a
Definition: ke_i.h:78
struct _D3DRMMATERIALOVERRIDE * LPD3DRMMATERIALOVERRIDE
_D3DRMFOGMODE
Definition: d3drmdef.h:219
D3DVALUE WINAPI D3DRMColorGetBlue(D3DCOLOR)
Definition: math.c:47
D3DRMQUATERNION *WINAPI D3DRMQuaternionSlerp(D3DRMQUATERNION *ret, D3DRMQUATERNION *x, D3DRMQUATERNION *y, D3DVALUE alpha)
Definition: math.c:115
D3DVECTOR dvDir
Definition: d3drmdef.h:47
D3DVECTOR dvPos
Definition: d3drmdef.h:48
_D3DRMPROJECTIONTYPE
Definition: d3drmdef.h:176
D3DRMQUATERNION *WINAPI D3DRMQuaternionFromRotation(D3DRMQUATERNION *x, D3DVECTOR *axis, D3DVALUE theta)
Definition: math.c:107
_D3DRMCOMBINETYPE
Definition: d3drmdef.h:124
_D3DRMSORTMODE
Definition: d3drmdef.h:231
float D3DVALUE
Definition: d3dtypes.h:89
enum _D3DRMFILLMODE * LPD3DRMFILLMODE
D3DVALUE s
Definition: d3drmdef.h:42
enum _D3DRMFOGMODE D3DRMFOGMODE
enum _D3DRMZBUFFERMODE D3DRMZBUFFERMODE
enum _D3DRMTEXTUREQUALITY D3DRMTEXTUREQUALITY
union _D3DRMANIMATIONKEY::@2644 DUMMYUNIONNAME
struct _D3DRMIMAGE * LPD3DRMIMAGE
struct _D3DRMVERTEX D3DRMVERTEX
enum _D3DRMCOLORSOURCE * LPD3DRMCOLORSOURCE
enum _D3DRMSHADEMODE * LPD3DRMSHADEMODE
D3DVECTOR *WINAPI D3DRMVectorRotate(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *axis, D3DVALUE theta)
Definition: math.c:236
#define b
Definition: ke_i.h:79
_D3DRMWRAPTYPE
Definition: d3drmdef.h:164
DWORD D3DRMSAVEOPTIONS
Definition: d3drmdef.h:193
D3DVALUE x
Definition: d3drmdef.h:33
enum _D3DRMLIGHTTYPE * LPD3DRMLIGHTTYPE
D3DRMQUATERNION dqRotateKey
Definition: d3drmdef.h:404
void(* D3DRMWRAPCALLBACK)(D3DVECTOR *vec, int *u, int *v, D3DVECTOR *a, D3DVECTOR *b, void *ctx)
Definition: d3drmdef.h:56
static const D3DRMGROUPINDEX D3DRMGROUP_ALLGROUPS
Definition: d3drmdef.h:432
struct _D3DRMMATERIALOVERRIDE D3DRMMATERIALOVERRIDE
enum _D3DRMFILLMODE D3DRMFILLMODE
D3DVALUE y
Definition: d3drmdef.h:34
struct _D3DRMBOX * LPD3DRMBOX
ULONG green_mask
Definition: d3drmdef.h:157
LONG HRESULT
Definition: typedefs.h:77
DWORD D3DCOLORMODEL
Definition: d3dtypes.h:629
_D3DRMXOFFORMAT
Definition: d3drmdef.h:187
enum _D3DRMCOMBINETYPE D3DRMCOMBINETYPE
D3DVECTOR *WINAPI D3DRMVectorReflect(D3DVECTOR *ret, D3DVECTOR *ray, D3DVECTOR *normal)
Definition: math.c:226
#define WINAPI
Definition: msvc.h:8
D3DVALUE w
Definition: d3drmdef.h:36
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD D3DRMMAPPINGFLAG
Definition: d3drmdef.h:418
D3DVALUE tv
Definition: d3drmdef.h:427
int aspecty
Definition: d3drmdef.h:150
D3DCOLOR WINAPI D3DRMCreateColorRGBA(D3DVALUE, D3DVALUE, D3DVALUE, D3DVALUE)
Definition: math.c:31
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
D3DCOLOR WINAPI D3DRMCreateColorRGB(D3DVALUE, D3DVALUE, D3DVALUE)
Definition: math.c:26
D3DCOLORVALUE dcAmbient
Definition: d3drmdef.h:242
FT_Vector * vec
Definition: ftbbox.c:448
int ret
_D3DRMUSERVISUALREASON
Definition: d3drmdef.h:390
enum _D3DRMFRAMECONSTRAINT * LPD3DRMFRAMECONSTRAINT
_D3DRMPALETTEFLAGS
Definition: d3drmdef.h:132
D3DVALUE D3DRMMATRIX4D[4][4]
Definition: d3drmdef.h:39
D3DVALUE WINAPI D3DRMVectorDotProduct(D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:183
struct _D3DRMRAY D3DRMRAY
_D3DRMZBUFFERMODE
Definition: d3drmdef.h:225
_D3DRMTEXTUREQUALITY
Definition: d3drmdef.h:103
D3DVECTOR *WINAPI D3DRMVectorAdd(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:144
DWORD D3DRMINTERPOLATIONOPTIONS
Definition: d3drmdef.h:330
DWORD D3DRMRENDERQUALITY
Definition: d3drmdef.h:89
LONG D3DRMGROUPINDEX
Definition: d3drmdef.h:431
D3DVECTOR dvScaleKey
Definition: d3drmdef.h:405
struct _D3DRMVERTEX * LPD3DRMVERTEX
_D3DRMLIGHTMODE
Definition: d3drmdef.h:74
struct _D3DRMQUATERNION * LPD3DRMQUATERNION
const GLdouble * v
Definition: gl.h:2040
struct _D3DRMVECTOR4D * LPD3DRMVECTOR4D
D3DCOLORMODEL D3DRMCOLORMODEL
Definition: d3drmdef.h:130
D3DVECTOR *WINAPI D3DRMVectorScale(D3DVECTOR *ret, D3DVECTOR *x, D3DVALUE scale)
Definition: math.c:256
D3DVALUE WINAPI D3DRMColorGetGreen(D3DCOLOR)
Definition: math.c:53
unsigned char blue
Definition: d3drmdef.h:142
DWORD * LPD3DRMRENDERQUALITY
Definition: d3drmdef.h:89
enum _D3DRMPROJECTIONTYPE D3DRMPROJECTIONTYPE
int height
Definition: d3drmdef.h:148
D3DRMANIMATIONKEY * LPD3DRMANIMATIONKEY
Definition: d3drmdef.h:412
void * lpMemory
Definition: d3drmdef.h:366
_D3DRMLIGHTTYPE
Definition: d3drmdef.h:58
DWORD D3DRMLOADOPTIONS
Definition: d3drmdef.h:339
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
enum _D3DRMWRAPTYPE * LPD3DRMWRAPTYPE
enum _D3DRMCOMBINETYPE * LPD3DRMCOMBINETYPE
D3DVECTOR min
Definition: d3drmdef.h:52
_D3DRMFRAMECONSTRAINT
Definition: d3drmdef.h:207
struct _D3DRMBOX D3DRMBOX
enum _D3DRMXOFFORMAT D3DRMXOFFORMAT
int bytes_per_line
Definition: d3drmdef.h:153
D3DVECTOR normal
Definition: d3drmdef.h:425
int palette_size
Definition: d3drmdef.h:160
D3DVECTOR *WINAPI D3DRMVectorCrossProduct(D3DVECTOR *ret, D3DVECTOR *x, D3DVECTOR *y)
Definition: math.c:170
const char * lpType
Definition: d3drmdef.h:361
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
unsigned int ULONG
Definition: retypes.h:1
enum _D3DRMFRAMECONSTRAINT D3DRMFRAMECONSTRAINT
struct _D3DRMIMAGE D3DRMIMAGE
enum _D3DRMWRAPTYPE D3DRMWRAPTYPE
D3DVECTOR v
Definition: d3drmdef.h:43
D3DVECTOR *WINAPI D3DRMVectorNormalize(D3DVECTOR *x)
Definition: math.c:199
enum _D3DRMSORTMODE * LPD3DRMSORTMODE
struct _D3DRMPMESHLOADSTATUS D3DRMPMESHLOADSTATUS
struct _D3DRMPMESHLOADSTATUS * LPD3DRMPMESHLOADSTATUS
D3DCOLORMODEL * LPD3DRMCOLORMODEL
Definition: d3drmdef.h:130
struct _D3DRMANIMATIONKEY D3DRMANIMATIONKEY
static const D3DRMMAPPINGFLAG D3DRMMAP_PERSPCORRECT
Definition: d3drmdef.h:421
D3DRMQUATERNION *WINAPI D3DRMQuaternionMultiply(D3DRMQUATERNION *ret, D3DRMQUATERNION *x, D3DRMQUATERNION *y)
Definition: math.c:65
D3DVALUE WINAPI D3DRMColorGetAlpha(D3DCOLOR)
Definition: math.c:41
enum _D3DRMPROJECTIONTYPE * LPD3DRMPROJECTIONTYPE
enum _D3DRMLIGHTTYPE D3DRMLIGHTTYPE
enum _D3DRMUSERVISUALREASON * LPD3DRMUSERVISUALREASON
D3DVALUE z
Definition: d3drmdef.h:35
enum _D3DRMSORTMODE D3DRMSORTMODE