2 * Copyright 2002 Lionel Ulmer
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /* This is defined here so as to be able to put them in 'drivers' */
22 Main_IDirect3DImpl_7_EnumDevices(LPDIRECT3D7 iface
,
23 LPD3DENUMDEVICESCALLBACK7 lpEnumDevicesCallback
,
27 Main_IDirect3DImpl_7_CreateDevice(LPDIRECT3D7 iface
,
29 LPDIRECTDRAWSURFACE7 lpDDS
,
30 LPDIRECT3DDEVICE7
* lplpD3DDevice
);
33 Main_IDirect3DImpl_7_3T_CreateVertexBuffer(LPDIRECT3D7 iface
,
34 LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc
,
35 LPDIRECT3DVERTEXBUFFER7
* lplpD3DVertBuf
,
39 Main_IDirect3DImpl_7_3T_EnumZBufferFormats(LPDIRECT3D7 iface
,
41 LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback
,
45 Main_IDirect3DImpl_7_3T_EvictManagedTextures(LPDIRECT3D7 iface
);
48 Main_IDirect3DImpl_3_2T_1T_EnumDevices(LPDIRECT3D3 iface
,
49 LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback
,
53 Main_IDirect3DImpl_3_2T_1T_CreateLight(LPDIRECT3D3 iface
,
54 LPDIRECT3DLIGHT
* lplpDirect3DLight
,
58 Main_IDirect3DImpl_3_2T_1T_CreateMaterial(LPDIRECT3D3 iface
,
59 LPDIRECT3DMATERIAL3
* lplpDirect3DMaterial3
,
63 Main_IDirect3DImpl_3_2T_1T_CreateViewport(LPDIRECT3D3 iface
,
64 LPDIRECT3DVIEWPORT3
* lplpD3DViewport3
,
68 Main_IDirect3DImpl_3_2T_1T_FindDevice(LPDIRECT3D3 iface
,
69 LPD3DFINDDEVICESEARCH lpD3DDFS
,
70 LPD3DFINDDEVICERESULT lpD3DFDR
);
73 Main_IDirect3DImpl_3_CreateDevice(LPDIRECT3D3 iface
,
75 LPDIRECTDRAWSURFACE4 lpDDS
,
76 LPDIRECT3DDEVICE3
* lplpD3DDevice3
,
80 Thunk_IDirect3DImpl_3_CreateVertexBuffer(LPDIRECT3D3 iface
,
81 LPD3DVERTEXBUFFERDESC lpD3DVertBufDesc
,
82 LPDIRECT3DVERTEXBUFFER
* lplpD3DVertBuf
,
87 Thunk_IDirect3DImpl_2_CreateMaterial(LPDIRECT3D2 iface
,
88 LPDIRECT3DMATERIAL2
* lplpDirect3DMaterial2
,
92 Thunk_IDirect3DImpl_2_CreateViewport(LPDIRECT3D2 iface
,
93 LPDIRECT3DVIEWPORT2
* lplpD3DViewport2
,
97 Main_IDirect3DImpl_2_CreateDevice(LPDIRECT3D2 iface
,
99 LPDIRECTDRAWSURFACE lpDDS
,
100 LPDIRECT3DDEVICE2
* lplpD3DDevice2
);
103 Main_IDirect3DImpl_1_Initialize(LPDIRECT3D iface
,
107 Thunk_IDirect3DImpl_1_CreateMaterial(LPDIRECT3D iface
,
108 LPDIRECT3DMATERIAL
* lplpDirect3DMaterial
,
109 IUnknown
* pUnkOuter
);
112 Thunk_IDirect3DImpl_1_CreateViewport(LPDIRECT3D iface
,
113 LPDIRECT3DVIEWPORT
* lplpD3DViewport
,
114 IUnknown
* pUnkOuter
);
117 Main_IDirect3DImpl_1_FindDevice(LPDIRECT3D iface
,
118 LPD3DFINDDEVICESEARCH lpD3DDFS
,
119 LPD3DFINDDEVICERESULT lplpD3DDevice
);
122 Thunk_IDirect3DImpl_7_QueryInterface(LPDIRECT3D7 iface
,
127 Thunk_IDirect3DImpl_3_QueryInterface(LPDIRECT3D3 iface
,
132 Thunk_IDirect3DImpl_2_QueryInterface(LPDIRECT3D2 iface
,
137 Thunk_IDirect3DImpl_1_QueryInterface(LPDIRECT3D iface
,
142 Thunk_IDirect3DImpl_7_AddRef(LPDIRECT3D7 iface
);
145 Thunk_IDirect3DImpl_3_AddRef(LPDIRECT3D3 iface
);
148 Thunk_IDirect3DImpl_2_AddRef(LPDIRECT3D2 iface
);
151 Thunk_IDirect3DImpl_1_AddRef(LPDIRECT3D iface
);
154 Thunk_IDirect3DImpl_7_Release(LPDIRECT3D7 iface
);
157 Thunk_IDirect3DImpl_3_Release(LPDIRECT3D3 iface
);
160 Thunk_IDirect3DImpl_2_Release(LPDIRECT3D2 iface
);
163 Thunk_IDirect3DImpl_1_Release(LPDIRECT3D iface
);
166 Thunk_IDirect3DImpl_3_EnumZBufferFormats(LPDIRECT3D3 iface
,
168 LPD3DENUMPIXELFORMATSCALLBACK lpEnumCallback
,
172 Thunk_IDirect3DImpl_3_EvictManagedTextures(LPDIRECT3D3 iface
);
175 Thunk_IDirect3DImpl_2_EnumDevices(LPDIRECT3D2 iface
,
176 LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback
,
180 Thunk_IDirect3DImpl_1_EnumDevices(LPDIRECT3D iface
,
181 LPD3DENUMDEVICESCALLBACK lpEnumDevicesCallback
,
185 Thunk_IDirect3DImpl_2_CreateLight(LPDIRECT3D2 iface
,
186 LPDIRECT3DLIGHT
* lplpDirect3DLight
,
187 IUnknown
* pUnkOuter
);
190 Thunk_IDirect3DImpl_1_CreateLight(LPDIRECT3D iface
,
191 LPDIRECT3DLIGHT
* lplpDirect3DLight
,
192 IUnknown
* pUnkOuter
);
195 Thunk_IDirect3DImpl_1_FindDevice(LPDIRECT3D iface
,
196 LPD3DFINDDEVICESEARCH lpD3DDFS
,
197 LPD3DFINDDEVICERESULT lplpD3DDevice
);
200 Thunk_IDirect3DImpl_2_FindDevice(LPDIRECT3D2 iface
,
201 LPD3DFINDDEVICESEARCH lpD3DDFS
,
202 LPD3DFINDDEVICERESULT lpD3DFDR
);