d3dx9: Add stubs for D3DXCreateSkinInfo functions.

This commit is contained in:
Dylan Smith 2011-06-22 14:24:01 -04:00 committed by Alexandre Julliard
parent e135972fd1
commit 7e403aac73
3 changed files with 42 additions and 2 deletions

View File

@ -11,6 +11,7 @@ C_SRCS = \
math.c \ math.c \
mesh.c \ mesh.c \
shader.c \ shader.c \
skin.c \
sprite.c \ sprite.c \
surface.c \ surface.c \
texture.c \ texture.c \

View File

@ -84,9 +84,9 @@
@ stub D3DXCreateRenderToEnvMap(ptr long long long long long ptr) @ stub D3DXCreateRenderToEnvMap(ptr long long long long long ptr)
@ stub D3DXCreateRenderToSurface(ptr long long long long long ptr) @ stub D3DXCreateRenderToSurface(ptr long long long long long ptr)
@ stub D3DXCreateSPMesh(ptr ptr ptr ptr 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 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 D3DXCreateSphere(ptr float long long ptr ptr)
@ stdcall D3DXCreateSprite(ptr ptr) @ stdcall D3DXCreateSprite(ptr ptr)
@ stdcall D3DXCreateTeapot(ptr ptr ptr) @ stdcall D3DXCreateTeapot(ptr ptr ptr)

39
dlls/d3dx9_36/skin.c Normal file
View File

@ -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;
}