Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
589eea0c
Commit
589eea0c
authored
Apr 25, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDIRECT3DRMFACE.
parent
471991eb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
31 deletions
+19
-31
d3drm.c
dlls/d3drm/d3drm.c
+4
-8
meshbuilder.c
dlls/d3drm/meshbuilder.c
+7
-15
d3drm.h
include/d3drm.h
+2
-2
d3drmobj.h
include/d3drmobj.h
+6
-6
No files found.
dlls/d3drm/d3drm.c
View file @
589eea0c
...
...
@@ -161,11 +161,9 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateMeshBuilder(IDirect3DRM *iface, IDir
return
Direct3DRMMeshBuilder_create
(
&
IID_IDirect3DRMMeshBuilder
,
(
IUnknown
**
)
mesh_builder
);
}
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateFace
(
IDirect3DRM
*
iface
,
LPDIRECT3DRMFACE
*
ppF
ace
)
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateFace
(
IDirect3DRM
*
iface
,
IDirect3DRMFace
**
f
ace
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
ppFace
);
FIXME
(
"iface %p, face %p stub!
\n
"
,
iface
,
face
);
return
E_NOTIMPL
;
}
...
...
@@ -540,11 +538,9 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateMeshBuilder(IDirect3DRM2 *iface, ID
return
Direct3DRMMeshBuilder_create
(
&
IID_IDirect3DRMMeshBuilder2
,
(
IUnknown
**
)
mesh_builder
);
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateFace
(
IDirect3DRM2
*
iface
,
LPDIRECT3DRMFACE
*
ppF
ace
)
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateFace
(
IDirect3DRM2
*
iface
,
IDirect3DRMFace
**
f
ace
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"(%p/%p)->(%p): stub
\n
"
,
iface
,
This
,
ppFace
);
FIXME
(
"iface %p, face %p stub!
\n
"
,
iface
,
face
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/meshbuilder.c
View file @
589eea0c
...
...
@@ -605,12 +605,9 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_AddFrame(IDirect3DRMMeshBuilde
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_AddFace
(
IDirect3DRMMeshBuilder2
*
iface
,
LPDIRECT3DRMFACE
pFace
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_AddFace
(
IDirect3DRMMeshBuilder2
*
iface
,
IDirect3DRMFace
*
face
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
pFace
);
FIXME
(
"iface %p, face %p stub!
\n
"
,
iface
,
face
);
return
E_NOTIMPL
;
}
...
...
@@ -849,12 +846,9 @@ static int WINAPI IDirect3DRMMeshBuilder2Impl_AddNormal(IDirect3DRMMeshBuilder2*
return
0
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_CreateFace
(
IDirect3DRMMeshBuilder2
*
iface
,
LPDIRECT3DRMFACE
*
ppFace
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_CreateFace
(
IDirect3DRMMeshBuilder2
*
iface
,
IDirect3DRMFace
**
face
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
ppFace
);
FIXME
(
"iface %p, face %p stub!
\n
"
,
iface
,
face
);
return
E_NOTIMPL
;
}
...
...
@@ -924,12 +918,10 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_GenerateNormals2(IDirect3DRMMe
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_GetFace
(
IDirect3DRMMeshBuilder2
*
iface
,
DWORD
index
,
LPDIRECT3DRMFACE
*
ppF
ace
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_GetFace
(
IDirect3DRMMeshBuilder2
*
iface
,
DWORD
index
,
IDirect3DRMFace
**
f
ace
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%u,%p): stub
\n
"
,
This
,
index
,
ppFace
);
FIXME
(
"iface %p, index %u, face %p stub!
\n
"
,
iface
,
index
,
face
);
return
E_NOTIMPL
;
}
...
...
include/d3drm.h
View file @
589eea0c
...
...
@@ -61,7 +61,7 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame
*
parent
,
IDirect3DRMFrame
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder
**
mesh_builder
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
IDirect3DRMFace
**
face
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
D3DRMIMAGE
*
image
,
IDirect3DRMTexture
**
texture
)
PURE
;
...
...
@@ -199,7 +199,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame
*
parent
,
IDirect3DRMFrame2
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder2
**
mesh_builder
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
IDirect3DRMFace
**
face
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
D3DRMIMAGE
*
image
,
IDirect3DRMTexture2
**
texture
)
PURE
;
...
...
include/d3drmobj.h
View file @
589eea0c
...
...
@@ -2512,7 +2512,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder,IDirect3DRMVisual)
STDMETHOD
(
AddMesh
)(
THIS_
IDirect3DRMMesh
*
mesh
)
PURE
;
STDMETHOD
(
AddMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder
*
mesh_builder
)
PURE
;
STDMETHOD
(
AddFrame
)(
THIS_
IDirect3DRMFrame
*
frame
)
PURE
;
STDMETHOD
(
AddFace
)(
THIS_
LPDIRECT3DRMFACE
)
PURE
;
STDMETHOD
(
AddFace
)(
THIS_
IDirect3DRMFace
*
face
)
PURE
;
STDMETHOD
(
AddFaces
)(
THIS_
DWORD
vcount
,
D3DVECTOR
*
vertices
,
DWORD
ncount
,
D3DVECTOR
*
normals
,
DWORD
*
data
,
LPDIRECT3DRMFACEARRAY
*
)
PURE
;
STDMETHOD
(
ReserveSpace
)(
THIS_
DWORD
vertex_Count
,
DWORD
normal_count
,
DWORD
face_count
)
PURE
;
...
...
@@ -2534,7 +2534,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder,IDirect3DRMVisual)
STDMETHOD
(
GetTextureCoordinates
)(
THIS_
DWORD
index
,
D3DVALUE
*
u
,
D3DVALUE
*
v
)
PURE
;
STDMETHOD_
(
int
,
AddVertex
)(
THIS_
D3DVALUE
x
,
D3DVALUE
y
,
D3DVALUE
z
)
PURE
;
STDMETHOD_
(
int
,
AddNormal
)(
THIS_
D3DVALUE
x
,
D3DVALUE
y
,
D3DVALUE
z
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
IDirect3DRMFace
**
face
)
PURE
;
STDMETHOD_
(
D3DRMRENDERQUALITY
,
GetQuality
)(
THIS
)
PURE
;
STDMETHOD_
(
BOOL
,
GetPerspective
)(
THIS
)
PURE
;
STDMETHOD_
(
int
,
GetFaceCount
)(
THIS
)
PURE
;
...
...
@@ -2683,7 +2683,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder2,IDirect3DRMMeshBuilder)
STDMETHOD
(
AddMesh
)(
THIS_
IDirect3DRMMesh
*
mesh
)
PURE
;
STDMETHOD
(
AddMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder
*
mesh_builder
)
PURE
;
STDMETHOD
(
AddFrame
)(
THIS_
IDirect3DRMFrame
*
frame
)
PURE
;
STDMETHOD
(
AddFace
)(
THIS_
LPDIRECT3DRMFACE
)
PURE
;
STDMETHOD
(
AddFace
)(
THIS_
IDirect3DRMFace
*
face
)
PURE
;
STDMETHOD
(
AddFaces
)(
THIS_
DWORD
vcount
,
D3DVECTOR
*
vertices
,
DWORD
ncount
,
D3DVECTOR
*
normals
,
DWORD
*
data
,
LPDIRECT3DRMFACEARRAY
*
)
PURE
;
STDMETHOD
(
ReserveSpace
)(
THIS_
DWORD
vertex_Count
,
DWORD
normal_count
,
DWORD
face_count
)
PURE
;
...
...
@@ -2705,7 +2705,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder2,IDirect3DRMMeshBuilder)
STDMETHOD
(
GetTextureCoordinates
)(
THIS_
DWORD
index
,
D3DVALUE
*
u
,
D3DVALUE
*
v
)
PURE
;
STDMETHOD_
(
int
,
AddVertex
)(
THIS_
D3DVALUE
x
,
D3DVALUE
y
,
D3DVALUE
z
)
PURE
;
STDMETHOD_
(
int
,
AddNormal
)(
THIS_
D3DVALUE
x
,
D3DVALUE
y
,
D3DVALUE
z
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
IDirect3DRMFace
**
face
)
PURE
;
STDMETHOD_
(
D3DRMRENDERQUALITY
,
GetQuality
)(
THIS
)
PURE
;
STDMETHOD_
(
BOOL
,
GetPerspective
)(
THIS
)
PURE
;
STDMETHOD_
(
int
,
GetFaceCount
)(
THIS
)
PURE
;
...
...
@@ -2714,7 +2714,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder2,IDirect3DRMMeshBuilder)
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
/*** IDirect3DRMMeshBuilder2 methods ***/
STDMETHOD
(
GenerateNormals2
)(
THIS_
D3DVALUE
crease
,
DWORD
flags
)
PURE
;
STDMETHOD
(
GetFace
)(
THIS_
DWORD
index
,
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
GetFace
)(
THIS_
DWORD
index
,
IDirect3DRMFace
**
face
)
PURE
;
};
#undef INTERFACE
...
...
@@ -4481,7 +4481,7 @@ DECLARE_INTERFACE_(IDirect3DRMFaceArray, IDirect3DRMArray)
/*** IDirect3DRMArray methods ***/
STDMETHOD_
(
DWORD
,
GetSize
)(
THIS
)
PURE
;
/*** IDirect3DRMFaceArray methods ***/
STDMETHOD
(
GetElement
)(
THIS_
DWORD
index
,
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
GetElement
)(
THIS_
DWORD
index
,
IDirect3DRMFace
**
element
)
PURE
;
};
#undef INTERFACE
...
...
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