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
33f0e190
Commit
33f0e190
authored
Jan 28, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPD3DRMIMAGE.
parent
1ea524a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
19 deletions
+19
-19
d3drm.c
dlls/d3drm/d3drm.c
+12
-12
texture.c
dlls/d3drm/texture.c
+2
-2
d3drm.h
include/d3drm.h
+3
-3
d3drmobj.h
include/d3drmobj.h
+2
-2
No files found.
dlls/d3drm/d3drm.c
View file @
33f0e190
...
...
@@ -191,14 +191,14 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateAnimationSet(IDirect3DRM* iface, LPD
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateTexture
(
IDirect3DRM
*
iface
,
LPD3DRMIMAGE
pImag
e
,
LPDIRECT3DRMTEXTURE
*
ppT
exture
)
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateTexture
(
IDirect3DRM
*
ifac
e
,
D3DRMIMAGE
*
image
,
IDirect3DRMTexture
**
t
exture
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
pImage
,
ppT
exture
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
image
,
t
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture
,
(
IUnknown
**
)
ppT
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture
,
(
IUnknown
**
)
t
exture
);
}
static
HRESULT
WINAPI
IDirect3DRMImpl_CreateLight
(
IDirect3DRM
*
iface
,
D3DRMLIGHTTYPE
type
,
...
...
@@ -568,14 +568,14 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateAnimationSet(IDirect3DRM2* iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateTexture
(
IDirect3DRM2
*
iface
,
LPD3DRMIMAGE
pImag
e
,
LPDIRECT3DRMTEXTURE2
*
ppT
exture
)
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateTexture
(
IDirect3DRM2
*
ifac
e
,
D3DRMIMAGE
*
image
,
IDirect3DRMTexture2
**
t
exture
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
pImage
,
ppT
exture
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
image
,
t
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
ppT
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture2
,
(
IUnknown
**
)
t
exture
);
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateLight
(
IDirect3DRM2
*
iface
,
D3DRMLIGHTTYPE
type
,
...
...
@@ -988,14 +988,14 @@ static HRESULT WINAPI IDirect3DRM3Impl_CreateAnimationSet(IDirect3DRM3* iface,
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateTexture
(
IDirect3DRM3
*
iface
,
LPD3DRMIMAGE
Imag
e
,
LPDIRECT3DRMTEXTURE3
*
T
exture
)
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateTexture
(
IDirect3DRM3
*
ifac
e
,
D3DRMIMAGE
*
image
,
IDirect3DRMTexture3
**
t
exture
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
Image
,
T
exture
);
FIXME
(
"(%p/%p)->(%p,%p): partial stub
\n
"
,
iface
,
This
,
image
,
t
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture3
,
(
IUnknown
**
)
T
exture
);
return
Direct3DRMTexture_create
(
&
IID_IDirect3DRMTexture3
,
(
IUnknown
**
)
t
exture
);
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateLight
(
IDirect3DRM3
*
iface
,
D3DRMLIGHTTYPE
type
,
...
...
dlls/d3drm/texture.c
View file @
33f0e190
...
...
@@ -346,7 +346,7 @@ static D3DCOLOR WINAPI IDirect3DRMTexture2Impl_GetDecalTransparentColor(IDirect3
}
/*** IDirect3DRMTexture2 methods ***/
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_InitFromImage
(
IDirect3DRMTexture2
*
iface
,
LPD3DRMIMAGE
image
)
static
HRESULT
WINAPI
IDirect3DRMTexture2Impl_InitFromImage
(
IDirect3DRMTexture2
*
iface
,
D3DRMIMAGE
*
image
)
{
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture2
(
iface
);
...
...
@@ -722,7 +722,7 @@ static D3DCOLOR WINAPI IDirect3DRMTexture3Impl_GetDecalTransparentColor(IDirect3
return
0
;
}
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_InitFromImage
(
IDirect3DRMTexture3
*
iface
,
LPD3DRMIMAGE
image
)
static
HRESULT
WINAPI
IDirect3DRMTexture3Impl_InitFromImage
(
IDirect3DRMTexture3
*
iface
,
D3DRMIMAGE
*
image
)
{
IDirect3DRMTextureImpl
*
This
=
impl_from_IDirect3DRMTexture3
(
iface
);
...
...
include/d3drm.h
View file @
33f0e190
...
...
@@ -64,7 +64,7 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
LPD3DRMIMAGE
,
LPDIRECT3DRMTEXTURE
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
D3DRMIMAGE
*
image
,
IDirect3DRMTexture
**
texture
)
PURE
;
STDMETHOD
(
CreateLight
)(
THIS_
D3DRMLIGHTTYPE
,
D3DCOLOR
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateLightRGB
)(
THIS_
D3DRMLIGHTTYPE
,
D3DVALUE
,
D3DVALUE
,
D3DVALUE
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateMaterial
)(
THIS_
D3DVALUE
,
LPDIRECT3DRMMATERIAL
*
)
PURE
;
...
...
@@ -200,7 +200,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE
*
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
LPD3DRMIMAGE
,
LPDIRECT3DRMTEXTURE2
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
D3DRMIMAGE
*
image
,
IDirect3DRMTexture2
**
texture
)
PURE
;
STDMETHOD
(
CreateLight
)(
THIS_
D3DRMLIGHTTYPE
,
D3DCOLOR
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateLightRGB
)(
THIS_
D3DRMLIGHTTYPE
,
D3DVALUE
,
D3DVALUE
,
D3DVALUE
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateMaterial
)(
THIS_
D3DVALUE
,
LPDIRECT3DRMMATERIAL
*
)
PURE
;
...
...
@@ -339,7 +339,7 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE2
*
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION2
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET2
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
LPD3DRMIMAGE
,
LPDIRECT3DRMTEXTURE3
*
)
PURE
;
STDMETHOD
(
CreateTexture
)(
THIS_
D3DRMIMAGE
*
image
,
IDirect3DRMTexture3
**
texture
)
PURE
;
STDMETHOD
(
CreateLight
)(
THIS_
D3DRMLIGHTTYPE
,
D3DCOLOR
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateLightRGB
)(
THIS_
D3DRMLIGHTTYPE
,
D3DVALUE
,
D3DVALUE
,
D3DVALUE
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateMaterial
)(
THIS_
D3DVALUE
,
LPDIRECT3DRMMATERIAL2
*
)
PURE
;
...
...
include/d3drmobj.h
View file @
33f0e190
...
...
@@ -3327,7 +3327,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture2, IDirect3DRMTexture)
STDMETHOD_
(
BOOL
,
GetDecalTransparency
)(
THIS
)
PURE
;
STDMETHOD_
(
D3DCOLOR
,
GetDecalTransparentColor
)(
THIS
)
PURE
;
/*** IDirect3DRMTexture2 methods ***/
STDMETHOD
(
InitFromImage
)(
THIS_
LPD3DRMIMAGE
)
PURE
;
STDMETHOD
(
InitFromImage
)(
THIS_
D3DRMIMAGE
*
image
)
PURE
;
STDMETHOD
(
InitFromResource2
)(
THIS_
HMODULE
hModule
,
LPCSTR
/* LPCTSTR */
strName
,
LPCSTR
/* LPCTSTR */
strType
)
PURE
;
STDMETHOD
(
GenerateMIPMap
)(
THIS_
DWORD
)
PURE
;
};
...
...
@@ -3450,7 +3450,7 @@ DECLARE_INTERFACE_(IDirect3DRMTexture3, IDirect3DRMVisual)
STDMETHOD_
(
DWORD
,
GetDecalScale
)(
THIS
)
PURE
;
STDMETHOD_
(
BOOL
,
GetDecalTransparency
)(
THIS
)
PURE
;
STDMETHOD_
(
D3DCOLOR
,
GetDecalTransparentColor
)(
THIS
)
PURE
;
STDMETHOD
(
InitFromImage
)(
THIS_
LPD3DRMIMAGE
)
PURE
;
STDMETHOD
(
InitFromImage
)(
THIS_
D3DRMIMAGE
*
image
)
PURE
;
STDMETHOD
(
InitFromResource2
)(
THIS_
HMODULE
hModule
,
LPCSTR
/* LPCTSTR */
strName
,
LPCSTR
/* LPCTSTR */
strType
)
PURE
;
STDMETHOD
(
GenerateMIPMap
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetSurface
)(
THIS_
DWORD
flags
,
IDirectDrawSurface
**
surface
)
PURE
;
...
...
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