push ac694015ba9a1d7cf8fc6346c6e51d4c35a62962
[wine/hacks.git] / dlls / d3dx8 / d3dx8_private.h
blob01174dcc6719413c7c94ca186837fe00a41a3df1
1 /*
2 * Direct3D X 8 private include file
4 * Copyright 2002 Raphael Junqueira
5 * Copyright 2007 David Adam
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #ifndef __WINE_D3DX8_PRIVATE_H
23 #define __WINE_D3DX8_PRIVATE_H
25 #include <stdarg.h>
27 #include "windef.h"
28 #include "winbase.h"
29 #include "d3dx8.h"
31 /* Interfaces */
32 typedef struct ID3DXBufferImpl ID3DXBufferImpl;
33 typedef struct ID3DXFontImpl ID3DXFontImpl;
34 typedef struct ID3DXMatrixStackImpl ID3DXMatrixStackImpl;
36 /* ----------- */
37 /* ID3DXBuffer */
38 /* ----------- */
40 /*****************************************************************************
41 * Predeclare the interface implementation structures
43 extern const ID3DXBufferVtbl D3DXBuffer_Vtbl;
45 /*****************************************************************************
46 * ID3DXBufferImpl implementation structure
48 struct ID3DXBufferImpl
50 /* IUnknown fields */
51 const ID3DXBufferVtbl *lpVtbl;
52 LONG ref;
54 /* ID3DXBuffer fields */
55 DWORD *buffer;
56 DWORD bufferSize;
59 /* --------- */
60 /* ID3DXFont */
61 /* --------- */
63 /*****************************************************************************
64 * ID3DXFontImpl implementation structure
66 struct ID3DXFontImpl
68 /* IUnknown fields */
69 const ID3DXFontVtbl *lpVtbl;
70 LONG ref;
72 /* ID3DXFont fields */
75 /* ----------- */
76 /* ID3DXMatrix */
77 /* ----------- */
79 /*****************************************************************************
80 * ID3DXMatrixStackImpl implementation structure
82 struct ID3DXMatrixStackImpl
84 /* IUnknown fields */
85 const ID3DXMatrixStackVtbl *lpVtbl;
86 LONG ref;
88 /* ID3DXMatrixStack fields */
89 unsigned int current;
90 unsigned int stack_size;
91 D3DXMATRIX *stack;
94 #endif /*__WINE_D3DX8_PRIVATE_H */