absence_thelab

view src/3deng/3dengtypes.h @ 0:1cffe3409164

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Oct 2014 01:46:07 +0300
parents
children
line source
1 #ifndef _3DENGTYPES_H_
2 #define _3DENGTYPES_H_
4 #include "d3d8.h"
5 #include "typedefs.h"
7 typedef IDirect3DSurface8 Surface;
8 typedef IDirect3DTexture8 Texture;
9 typedef IDirect3DVertexBuffer8 VertexBuffer;
10 typedef IDirect3DIndexBuffer8 IndexBuffer;
12 #define FixedFunction VertexFormat
14 //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
15 //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_XYZB1 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
16 const dword VertexFormat = D3DFVF_XYZB2 | D3DFVF_LASTBETA_UBYTE4 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
17 const D3DFORMAT IndexFormat = D3DFMT_INDEX16;
18 const dword IndexSize = 2;
19 typedef uint16 Index;
22 #endif // _3DENGTYPES_H_