2 #ifdef __D3DX_INTERNAL__
3 #error Incorrect D3DX header used
11 #define D3DFMT_FROM_FILE ((D3DFORMAT) -3)
12 #define D3DX_DEFAULT ((UINT) -1)
13 #define D3DX_DEFAULT_FLOAT FLT_MAX
14 #define D3DX_DEFAULT_NONPOW2 ((UINT) -2)
15 #define D3DX_FROM_FILE ((UINT) -3)
19 #if (_MSC_VER >= 1200)
20 #define D3DXINLINE __forceinline
22 #define D3DXINLINE __inline
25 #define D3DXINLINE __inline
28 #define D3DXINLINE inline
36 #include "d3dx9math.h"
37 #include "d3dx9core.h"
39 #include "d3dx9mesh.h"
40 #include "d3dx9shader.h"
41 #include "d3dx9effect.h"
43 #include "d3dx9shape.h"
44 #include "d3dx9anim.h"
47 #define MAKE_DDHRESULT( code ) MAKE_HRESULT( 1, _FACDD, code )
51 D3DXERR_CANNOTMODIFYINDEXBUFFER
= MAKE_DDHRESULT(2900),
52 D3DXERR_INVALIDMESH
= MAKE_DDHRESULT(2901),
53 D3DXERR_CANNOTATTRSORT
= MAKE_DDHRESULT(2902),
54 D3DXERR_SKINNINGNOTSUPPORTED
= MAKE_DDHRESULT(2903),
55 D3DXERR_TOOMANYINFLUENCES
= MAKE_DDHRESULT(2904),
56 D3DXERR_INVALIDDATA
= MAKE_DDHRESULT(2905),
57 D3DXERR_LOADEDMESHASNODATA
= MAKE_DDHRESULT(2906),
58 D3DXERR_DUPLICATENAMEDFRAGMENT
= MAKE_DDHRESULT(2907),
59 D3DXERR_CANNOTREMOVELASTITEM
= MAKE_DDHRESULT(2908),