Henri Verbeet : d3dx9: Avoid LPD3DXANIMATIONSET.

Alexandre Julliard julliard at winehq.org
Tue Dec 4 13:48:53 CST 2012


Module: wine
Branch: master
Commit: 6b8dd67bef652ac4d2cf9c19dc22d6ab2e22eb65
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6b8dd67bef652ac4d2cf9c19dc22d6ab2e22eb65

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Dec  3 21:16:32 2012 +0100

d3dx9: Avoid LPD3DXANIMATIONSET.

---

 include/d3dx9anim.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/d3dx9anim.h b/include/d3dx9anim.h
index 2cff387..5e9ef58 100644
--- a/include/d3dx9anim.h
+++ b/include/d3dx9anim.h
@@ -322,16 +322,16 @@ DECLARE_INTERFACE_(ID3DXAnimationController, IUnknown)
     STDMETHOD_(UINT, GetMaxNumEvents)(THIS) PURE;
     STDMETHOD(RegisterAnimationOutput)(THIS_ LPCSTR name, D3DXMATRIX *matrix,
             D3DXVECTOR3 *scale, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation) PURE;
-    STDMETHOD(RegisterAnimationSet)(THIS_ LPD3DXANIMATIONSET anim_set) PURE;
-    STDMETHOD(UnregisterAnimationSet)(THIS_ LPD3DXANIMATIONSET anim_set) PURE;
+    STDMETHOD(RegisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE;
+    STDMETHOD(UnregisterAnimationSet)(THIS_ ID3DXAnimationSet *anim_set) PURE;
     STDMETHOD_(UINT, GetNumAnimationSets)(THIS) PURE;
-    STDMETHOD(GetAnimationSet)(THIS_ UINT index, LPD3DXANIMATIONSET *anim_set) PURE;
-    STDMETHOD(GetAnimationSetByName)(THIS_ LPCSTR name, LPD3DXANIMATIONSET *anim_set) PURE;
+    STDMETHOD(GetAnimationSet)(THIS_ UINT index, ID3DXAnimationSet **anim_set) PURE;
+    STDMETHOD(GetAnimationSetByName)(THIS_ const char *name, ID3DXAnimationSet **anim_set) PURE;
     STDMETHOD(AdvanceTime)(THIS_ double time_delta, ID3DXAnimationCallbackHandler **callback_handler) PURE;
     STDMETHOD(ResetTime)(THIS) PURE;
     STDMETHOD_(DOUBLE, GetTime)(THIS) PURE;
-    STDMETHOD(SetTrackAnimationSet)(THIS_ UINT track, LPD3DXANIMATIONSET anim_set) PURE;
-    STDMETHOD(GetTrackAnimationSet)(THIS_ UINT track, LPD3DXANIMATIONSET *anim_set) PURE;
+    STDMETHOD(SetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet *anim_set) PURE;
+    STDMETHOD(GetTrackAnimationSet)(THIS_ UINT track, ID3DXAnimationSet **anim_set) PURE;
     STDMETHOD(GetTrackPriority)(THIS_ UINT track, D3DXPRIORITY_TYPE *priority) PURE;
     STDMETHOD(SetTrackSpeed)(THIS_ UINT track, FLOAT speed) PURE;
     STDMETHOD(SetTrackWeight)(THIS_ UINT track, FLOAT weight) PURE;




More information about the wine-cvs mailing list