nuclear@0: #ifndef _3DENGTYPES_H_ nuclear@0: #define _3DENGTYPES_H_ nuclear@0: nuclear@0: #include "d3d8.h" nuclear@0: #include "typedefs.h" nuclear@0: nuclear@0: typedef IDirect3DSurface8 Surface; nuclear@0: typedef IDirect3DTexture8 Texture; nuclear@0: typedef IDirect3DVertexBuffer8 VertexBuffer; nuclear@0: typedef IDirect3DIndexBuffer8 IndexBuffer; nuclear@0: nuclear@0: #define FixedFunction VertexFormat nuclear@0: nuclear@0: //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4; nuclear@0: //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_XYZB1 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4; nuclear@0: const dword VertexFormat = D3DFVF_XYZB2 | D3DFVF_LASTBETA_UBYTE4 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4; nuclear@0: const D3DFORMAT IndexFormat = D3DFMT_INDEX16; nuclear@0: const dword IndexSize = 2; nuclear@0: typedef uint16 Index; nuclear@0: nuclear@0: nuclear@0: #endif // _3DENGTYPES_H_