Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0cde50d2
Commit
0cde50d2
authored
Oct 31, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Nov 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Implement D3DXCreatePolygon.
Based on a patch by David Adam.
parent
8a9115d9
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
110 additions
and
20 deletions
+110
-20
d3dx9_24.spec
dlls/d3dx9_24/d3dx9_24.spec
+1
-1
d3dx9_25.spec
dlls/d3dx9_25/d3dx9_25.spec
+1
-1
d3dx9_26.spec
dlls/d3dx9_26/d3dx9_26.spec
+1
-1
d3dx9_27.spec
dlls/d3dx9_27/d3dx9_27.spec
+1
-1
d3dx9_28.spec
dlls/d3dx9_28/d3dx9_28.spec
+1
-1
d3dx9_29.spec
dlls/d3dx9_29/d3dx9_29.spec
+1
-1
d3dx9_30.spec
dlls/d3dx9_30/d3dx9_30.spec
+1
-1
d3dx9_31.spec
dlls/d3dx9_31/d3dx9_31.spec
+1
-1
d3dx9_32.spec
dlls/d3dx9_32/d3dx9_32.spec
+1
-1
d3dx9_33.spec
dlls/d3dx9_33/d3dx9_33.spec
+1
-1
d3dx9_34.spec
dlls/d3dx9_34/d3dx9_34.spec
+1
-1
d3dx9_35.spec
dlls/d3dx9_35/d3dx9_35.spec
+1
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+88
-0
d3dx9_37.spec
dlls/d3dx9_37/d3dx9_37.spec
+1
-1
d3dx9_38.spec
dlls/d3dx9_38/d3dx9_38.spec
+1
-1
d3dx9_39.spec
dlls/d3dx9_39/d3dx9_39.spec
+1
-1
d3dx9_40.spec
dlls/d3dx9_40/d3dx9_40.spec
+1
-1
d3dx9_41.spec
dlls/d3dx9_41/d3dx9_41.spec
+1
-1
d3dx9_42.spec
dlls/d3dx9_42/d3dx9_42.spec
+1
-1
d3dx9_43.spec
dlls/d3dx9_43/d3dx9_43.spec
+1
-1
d3dx9shape.h
include/d3dx9shape.h
+2
-0
No files found.
dlls/d3dx9_24/d3dx9_24.spec
View file @
0cde50d2
...
...
@@ -72,7 +72,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_25/d3dx9_25.spec
View file @
0cde50d2
...
...
@@ -72,7 +72,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_26/d3dx9_26.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_27/d3dx9_27.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_28/d3dx9_28.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_29/d3dx9_29.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_30/d3dx9_30.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_31/d3dx9_31.spec
View file @
0cde50d2
...
...
@@ -75,7 +75,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_32/d3dx9_32.spec
View file @
0cde50d2
...
...
@@ -75,7 +75,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_33/d3dx9_33.spec
View file @
0cde50d2
...
...
@@ -75,7 +75,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_34/d3dx9_34.spec
View file @
0cde50d2
...
...
@@ -75,7 +75,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_35/d3dx9_35.spec
View file @
0cde50d2
...
...
@@ -75,7 +75,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_36/d3dx9_36.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stub D3DXCreateNPatchMesh(ptr ptr)
@ stub D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr)
@ stub D3DXCreatePatchMesh(ptr long long long ptr ptr ptr)
@ st
ub D3DXCreatePolygon(ptr long
long ptr ptr)
@ st
dcall D3DXCreatePolygon(ptr float
long ptr ptr)
@ stub D3DXCreatePRTBuffer(long long long ptr)
@ stub D3DXCreatePRTBufferTex(long long long long ptr)
@ stub D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr)
...
...
dlls/d3dx9_36/mesh.c
View file @
0cde50d2
...
...
@@ -4555,6 +4555,94 @@ struct vertex
D3DXVECTOR3
normal
;
};
HRESULT
WINAPI
D3DXCreatePolygon
(
struct
IDirect3DDevice9
*
device
,
float
length
,
UINT
sides
,
struct
ID3DXMesh
**
mesh
,
struct
ID3DXBuffer
**
adjacency
)
{
HRESULT
hr
;
ID3DXMesh
*
polygon
;
struct
vertex
*
vertices
;
WORD
(
*
faces
)[
3
];
DWORD
(
*
adjacency_buf
)[
3
];
float
scale
;
unsigned
int
i
;
TRACE
(
"device %p, length %f, sides %u, mesh %p, adjacency %p.
\n
"
,
device
,
length
,
sides
,
mesh
,
adjacency
);
if
(
!
device
||
length
<
0
.
0
f
||
sides
<
3
||
!
mesh
)
return
D3DERR_INVALIDCALL
;
if
(
FAILED
(
hr
=
D3DXCreateMeshFVF
(
sides
,
sides
+
1
,
D3DXMESH_MANAGED
,
D3DFVF_XYZ
|
D3DFVF_NORMAL
,
device
,
&
polygon
)))
{
return
hr
;
}
if
(
FAILED
(
hr
=
polygon
->
lpVtbl
->
LockVertexBuffer
(
polygon
,
0
,
(
void
**
)
&
vertices
)))
{
polygon
->
lpVtbl
->
Release
(
polygon
);
return
hr
;
}
if
(
FAILED
(
hr
=
polygon
->
lpVtbl
->
LockIndexBuffer
(
polygon
,
0
,
(
void
**
)
&
faces
)))
{
polygon
->
lpVtbl
->
UnlockVertexBuffer
(
polygon
);
polygon
->
lpVtbl
->
Release
(
polygon
);
return
hr
;
}
scale
=
0
.
5
f
*
length
/
sinf
(
D3DX_PI
/
sides
);
vertices
[
0
].
position
.
x
=
0
.
0
f
;
vertices
[
0
].
position
.
y
=
0
.
0
f
;
vertices
[
0
].
position
.
z
=
0
.
0
f
;
vertices
[
0
].
normal
.
x
=
0
.
0
f
;
vertices
[
0
].
normal
.
y
=
0
.
0
f
;
vertices
[
0
].
normal
.
z
=
1
.
0
f
;
for
(
i
=
0
;
i
<
sides
;
++
i
)
{
vertices
[
i
+
1
].
position
.
x
=
cosf
(
2
.
0
f
*
D3DX_PI
*
i
/
sides
)
*
scale
;
vertices
[
i
+
1
].
position
.
y
=
sinf
(
2
.
0
f
*
D3DX_PI
*
i
/
sides
)
*
scale
;
vertices
[
i
+
1
].
position
.
z
=
0
.
0
f
;
vertices
[
i
+
1
].
normal
.
x
=
0
.
0
f
;
vertices
[
i
+
1
].
normal
.
y
=
0
.
0
f
;
vertices
[
i
+
1
].
normal
.
z
=
1
.
0
f
;
faces
[
i
][
0
]
=
0
;
faces
[
i
][
1
]
=
i
+
1
;
faces
[
i
][
2
]
=
i
+
2
;
}
faces
[
sides
-
1
][
2
]
=
1
;
polygon
->
lpVtbl
->
UnlockVertexBuffer
(
polygon
);
polygon
->
lpVtbl
->
UnlockIndexBuffer
(
polygon
);
if
(
adjacency
)
{
if
(
FAILED
(
hr
=
D3DXCreateBuffer
(
sides
*
sizeof
(
DWORD
)
*
3
,
adjacency
)))
{
polygon
->
lpVtbl
->
Release
(
polygon
);
return
hr
;
}
adjacency_buf
=
ID3DXBuffer_GetBufferPointer
(
*
adjacency
);
for
(
i
=
0
;
i
<
sides
;
++
i
)
{
adjacency_buf
[
i
][
0
]
=
i
-
1
;
adjacency_buf
[
i
][
1
]
=
~
0U
;
adjacency_buf
[
i
][
2
]
=
i
+
1
;
}
adjacency_buf
[
0
][
0
]
=
sides
-
1
;
adjacency_buf
[
sides
-
1
][
2
]
=
0
;
}
*
mesh
=
polygon
;
return
D3D_OK
;
}
HRESULT
WINAPI
D3DXCreateBox
(
struct
IDirect3DDevice9
*
device
,
float
width
,
float
height
,
float
depth
,
struct
ID3DXMesh
**
mesh
,
struct
ID3DXBuffer
**
adjacency
)
{
...
...
dlls/d3dx9_37/d3dx9_37.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_38/d3dx9_38.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_39/d3dx9_39.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_40/d3dx9_40.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_41/d3dx9_41.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_42/d3dx9_42.spec
View file @
0cde50d2
...
...
@@ -76,7 +76,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
dlls/d3dx9_43/d3dx9_43.spec
View file @
0cde50d2
...
...
@@ -74,7 +74,7 @@
@ stdcall D3DXCreateNPatchMesh(ptr ptr) d3dx9_36.D3DXCreateNPatchMesh
@ stdcall D3DXCreatePMeshFromStream(ptr long ptr ptr ptr ptr ptr) d3dx9_36.D3DXCreatePMeshFromStream
@ stdcall D3DXCreatePatchMesh(ptr long long long ptr ptr ptr) d3dx9_36.D3DXCreatePatchMesh
@ stdcall D3DXCreatePolygon(ptr
long
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePolygon(ptr
float
long ptr ptr) d3dx9_36.D3DXCreatePolygon
@ stdcall D3DXCreatePRTBuffer(long long long ptr) d3dx9_36.D3DXCreatePRTBuffer
@ stdcall D3DXCreatePRTBufferTex(long long long long ptr) d3dx9_36.D3DXCreatePRTBufferTex
@ stdcall D3DXCreatePRTCompBuffer(long long long ptr ptr ptr ptr) d3dx9_36.D3DXCreatePRTCompBuffer
...
...
include/d3dx9shape.h
View file @
0cde50d2
...
...
@@ -29,6 +29,8 @@ HRESULT WINAPI D3DXCreateBox(struct IDirect3DDevice9 *device, float width, float
float
depth
,
struct
ID3DXMesh
**
mesh
,
struct
ID3DXBuffer
**
adjacency
);
HRESULT
WINAPI
D3DXCreateCylinder
(
struct
IDirect3DDevice9
*
device
,
float
radius1
,
float
radius2
,
float
length
,
UINT
slices
,
UINT
stacks
,
struct
ID3DXMesh
**
mesh
,
struct
ID3DXBuffer
**
adjacency
);
HRESULT
WINAPI
D3DXCreatePolygon
(
struct
IDirect3DDevice9
*
device
,
float
length
,
UINT
sides
,
struct
ID3DXMesh
**
mesh
,
ID3DXBuffer
**
adjacency
);
HRESULT
WINAPI
D3DXCreateSphere
(
struct
IDirect3DDevice9
*
device
,
float
radius
,
UINT
slices
,
UINT
stacks
,
struct
ID3DXMesh
**
mesh
,
struct
ID3DXBuffer
**
adjacency
);
HRESULT
WINAPI
D3DXCreateTeapot
(
struct
IDirect3DDevice9
*
device
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment