absence_thelab

annotate 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
rev   line source
nuclear@0 1 #ifndef _3DENGTYPES_H_
nuclear@0 2 #define _3DENGTYPES_H_
nuclear@0 3
nuclear@0 4 #include "d3d8.h"
nuclear@0 5 #include "typedefs.h"
nuclear@0 6
nuclear@0 7 typedef IDirect3DSurface8 Surface;
nuclear@0 8 typedef IDirect3DTexture8 Texture;
nuclear@0 9 typedef IDirect3DVertexBuffer8 VertexBuffer;
nuclear@0 10 typedef IDirect3DIndexBuffer8 IndexBuffer;
nuclear@0 11
nuclear@0 12 #define FixedFunction VertexFormat
nuclear@0 13
nuclear@0 14 //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
nuclear@0 15 //const dword VertexFormat = D3DFVF_XYZ | D3DFVF_XYZB1 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
nuclear@0 16 const dword VertexFormat = D3DFVF_XYZB2 | D3DFVF_LASTBETA_UBYTE4 | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX4;
nuclear@0 17 const D3DFORMAT IndexFormat = D3DFMT_INDEX16;
nuclear@0 18 const dword IndexSize = 2;
nuclear@0 19 typedef uint16 Index;
nuclear@0 20
nuclear@0 21
nuclear@0 22 #endif // _3DENGTYPES_H_