Module: wine Branch: master Commit: 7e403aac73352d38a292f222747a9213bcb4a974 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e403aac73352d38a292f22274...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Wed Jun 22 14:24:01 2011 -0400
d3dx9: Add stubs for D3DXCreateSkinInfo functions.
---
dlls/d3dx9_36/Makefile.in | 1 + dlls/d3dx9_36/d3dx9_36.spec | 4 ++-- dlls/d3dx9_36/skin.c | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/Makefile.in b/dlls/d3dx9_36/Makefile.in index cba0ea7..a9bbf50 100644 --- a/dlls/d3dx9_36/Makefile.in +++ b/dlls/d3dx9_36/Makefile.in @@ -11,6 +11,7 @@ C_SRCS = \ math.c \ mesh.c \ shader.c \ + skin.c \ sprite.c \ surface.c \ texture.c \ diff --git a/dlls/d3dx9_36/d3dx9_36.spec b/dlls/d3dx9_36/d3dx9_36.spec index ca85b7d..f3b4efe 100644 --- a/dlls/d3dx9_36/d3dx9_36.spec +++ b/dlls/d3dx9_36/d3dx9_36.spec @@ -84,9 +84,9 @@ @ stub D3DXCreateRenderToEnvMap(ptr long long long long long ptr) @ stub D3DXCreateRenderToSurface(ptr long long long long long ptr) @ stub D3DXCreateSPMesh(ptr ptr ptr ptr ptr) -@ stub D3DXCreateSkinInfo(long ptr long ptr) +@ stdcall D3DXCreateSkinInfo(long ptr long ptr) @ stub D3DXCreateSkinInfoFromBlendedMesh(ptr long ptr ptr) -@ stub D3DXCreateSkinInfoFVF(long long long ptr) +@ stdcall D3DXCreateSkinInfoFVF(long long long ptr) @ stdcall D3DXCreateSphere(ptr float long long ptr ptr) @ stdcall D3DXCreateSprite(ptr ptr) @ stdcall D3DXCreateTeapot(ptr ptr ptr) diff --git a/dlls/d3dx9_36/skin.c b/dlls/d3dx9_36/skin.c new file mode 100644 index 0000000..24b930e --- /dev/null +++ b/dlls/d3dx9_36/skin.c @@ -0,0 +1,39 @@ +/* + * Skin Info operations specific to D3DX9. + * + * Copyright (C) 2011 Dylan Smith + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "wine/debug.h" +#include "d3dx9_36_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(d3dx); + +HRESULT WINAPI D3DXCreateSkinInfo(DWORD num_vertices, CONST D3DVERTEXELEMENT9 *declaration, + DWORD num_bones, LPD3DXSKININFO *skin_info) +{ + FIXME("(%u, %p, %u, %p): stub\n", num_vertices, declaration, num_bones, skin_info); + + return E_NOTIMPL; +} + +HRESULT WINAPI D3DXCreateSkinInfoFVF(DWORD num_vertices, DWORD fvf, DWORD num_bones, LPD3DXSKININFO *skin_info) +{ + FIXME("(%u, %x, %u, %p): stub\n", num_vertices, fvf, num_bones, skin_info); + + return E_NOTIMPL; +}