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
7444b682
Commit
7444b682
authored
Apr 06, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Apr 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add stub for D3DXCreateBox.
parent
1db6ce13
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
1 deletion
+49
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+8
-0
Makefile.in
include/Makefile.in
+1
-0
d3dx9shape.h
include/d3dx9shape.h
+39
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
7444b682
...
...
@@ -31,7 +31,7 @@
@ stub D3DXConvertMeshSubsetToSingleStrip
@ stub D3DXConvertMeshSubsetToStrips
@ stub D3DXCreateAnimationController
@ st
ub D3DXCreateBox
@ st
dcall D3DXCreateBox(ptr long long long ptr ptr)
@ stdcall D3DXCreateBuffer(long ptr)
@ stub D3DXCreateCompressedAnimationSet
@ stub D3DXCreateCubeTexture
...
...
dlls/d3dx9_36/mesh.c
View file @
7444b682
...
...
@@ -316,3 +316,11 @@ BOOL WINAPI D3DXSphereBoundProbe(CONST D3DXVECTOR3 *pcenter, FLOAT radius, CONST
if
(
(
d
<=
0
.
0
f
)
||
(
sqrt
(
d
)
<=
b
)
)
return
FALSE
;
return
TRUE
;
}
HRESULT
WINAPI
D3DXCreateBox
(
LPDIRECT3DDEVICE9
device
,
FLOAT
width
,
FLOAT
height
,
FLOAT
depth
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
)
{
FIXME
(
"(%p, %f, %f, %f, %p, %p): stub
\n
"
,
device
,
width
,
height
,
depth
,
mesh
,
adjacency
);
return
E_NOTIMPL
;
}
include/Makefile.in
View file @
7444b682
...
...
@@ -173,6 +173,7 @@ SRCDIR_INCLUDES = \
d3dx9math.inl
\
d3dx9mesh.h
\
d3dx9shader.h
\
d3dx9shape.h
\
d3dx9tex.h
\
dbccmd.idl
\
dbcses.idl
\
...
...
include/d3dx9shape.h
0 → 100644
View file @
7444b682
/*
* Copyright 2010 Christian Costa
*
* 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 "d3dx9.h"
#ifndef __D3DX9SHAPE_H__
#define __D3DX9SHAPE_H__
#ifdef __cplusplus
extern
"C"
{
#endif
HRESULT
WINAPI
D3DXCreateBox
(
LPDIRECT3DDEVICE9
device
,
FLOAT
width
,
FLOAT
height
,
FLOAT
depth
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
);
#ifdef __cplusplus
}
#endif
#endif
/* __D3DX9SHAPE_H__ */
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