mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[D3DX9_XX] Share source files
Just like wine does
This commit is contained in:
parent
a9760098f7
commit
3435c3b503
61 changed files with 6354 additions and 9058 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <d3dx9.h>
|
||||
#include "d3dx9.h"
|
||||
|
||||
#ifndef __D3DX9EFFECT_H__
|
||||
#define __D3DX9EFFECT_H__
|
||||
|
@ -197,7 +197,13 @@ DECLARE_INTERFACE_(ID3DXEffectStateManager, IUnknown)
|
|||
|
||||
typedef struct ID3DXEffect *LPD3DXEFFECT;
|
||||
|
||||
DEFINE_GUID(IID_ID3DXEffect, 0xf6ceb4b3, 0x4e4c, 0x40dd, 0xb8, 0x83, 0x8d, 0x8d, 0xe5, 0xea, 0xc, 0xd5);
|
||||
#if D3DX_SDK_VERSION <= 25
|
||||
DEFINE_GUID(IID_ID3DXEffect, 0xd165ccb1, 0x62b0, 0x4a33, 0xb3, 0xfa, 0xa9, 0x23, 0x00, 0x30, 0x5a, 0x11);
|
||||
#elif D3DX_SDK_VERSION == 26
|
||||
DEFINE_GUID(IID_ID3DXEffect, 0xc7b17651, 0x5420, 0x490e, 0x8a, 0x7f, 0x92, 0x36, 0x75, 0xa2, 0xd6, 0x87);
|
||||
#else
|
||||
DEFINE_GUID(IID_ID3DXEffect, 0xf6ceb4b3, 0x4e4c, 0x40dd, 0xb8, 0x83, 0x8d, 0x8d, 0xe5, 0xea, 0x0c, 0xd5);
|
||||
#endif
|
||||
|
||||
#define INTERFACE ID3DXEffect
|
||||
|
||||
|
@ -282,10 +288,15 @@ DECLARE_INTERFACE_(ID3DXEffect, ID3DXBaseEffect)
|
|||
STDMETHOD(BeginParameterBlock)(THIS) PURE;
|
||||
STDMETHOD_(D3DXHANDLE, EndParameterBlock)(THIS) PURE;
|
||||
STDMETHOD(ApplyParameterBlock)(THIS_ D3DXHANDLE parameter_block) PURE;
|
||||
#if D3DX_SDK_VERSION >= 26
|
||||
STDMETHOD(DeleteParameterBlock)(THIS_ D3DXHANDLE parameter_block) PURE;
|
||||
#endif
|
||||
STDMETHOD(CloneEffect)(THIS_ struct IDirect3DDevice9 *device, struct ID3DXEffect **effect) PURE;
|
||||
#if D3DX_SDK_VERSION >= 27
|
||||
STDMETHOD(SetRawValue)(THIS_ D3DXHANDLE parameter, const void *data, UINT byte_offset, UINT bytes) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
|
||||
typedef struct ID3DXEffectCompiler *LPD3DXEFFECTCOMPILER;
|
||||
|
@ -431,4 +442,4 @@ HRESULT WINAPI D3DXDisassembleEffect(ID3DXEffect *effect, BOOL enable_color_code
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* __D3DX9EFFECT_H__ */
|
||||
#endif /* __D3DX9EFFECT_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue