blob: 690b18365faaf4afa23af94f37af051a66786485 [file] [log] [blame]
Christian Costa7444b682010-04-06 00:31:46 +02001/*
2 * Copyright 2010 Christian Costa
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#include "d3dx9.h"
20
21#ifndef __D3DX9SHAPE_H__
22#define __D3DX9SHAPE_H__
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28HRESULT WINAPI D3DXCreateBox(LPDIRECT3DDEVICE9 device,
29 FLOAT width,
30 FLOAT height,
31 FLOAT depth,
32 LPD3DXMESH* mesh,
33 LPD3DXBUFFER* adjacency);
34
Misha Koshelev242b4f32010-07-16 17:20:06 -050035HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device,
36 FLOAT radius,
37 UINT slices,
38 UINT stacks,
39 LPD3DXMESH* mesh,
40 LPD3DXBUFFER* adjacency);
41
Misha Koshelevfe9db6f2010-09-25 14:36:49 -050042HRESULT WINAPI D3DXCreateCylinder(LPDIRECT3DDEVICE9 device,
43 FLOAT radius1,
44 FLOAT radius2,
45 FLOAT length,
46 UINT slices,
47 UINT stacks,
48 LPD3DXMESH *mesh,
49 LPD3DXBUFFER *adjacency);
50
Misha Koshelev30be5872010-09-25 14:36:45 -050051HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
52 LPD3DXMESH *mesh,
53 LPD3DXBUFFER *adjacency);
54
Dylan Smith5fe75222011-02-21 09:29:56 -050055HRESULT WINAPI D3DXCreateTextA(LPDIRECT3DDEVICE9 device,
56 HDC hdc,
57 LPCSTR text,
58 FLOAT deviation,
59 FLOAT extrusion,
60 LPD3DXMESH *mesh,
61 LPD3DXBUFFER *adjacency,
62 LPGLYPHMETRICSFLOAT glyphmetrics);
63
64HRESULT WINAPI D3DXCreateTextW(LPDIRECT3DDEVICE9 device,
65 HDC hdc,
66 LPCWSTR text,
67 FLOAT deviation,
68 FLOAT extrusion,
69 LPD3DXMESH *mesh,
70 LPD3DXBUFFER *adjacency,
71 LPGLYPHMETRICSFLOAT glyphmetrics);
72#define D3DXCreateText WINELIB_NAME_AW(D3DXCreateText)
73
Christian Costa7444b682010-04-06 00:31:46 +020074#ifdef __cplusplus
75}
76#endif
77
78#endif /* __D3DX9SHAPE_H__ */