1 2 3 4 #ifndef _DX7TODX8_H_ 5 6 #define RGBA_MAKE D3DCOLOR_RGBA 7 #define RGB_MAKE D3DCOLOR_XRGB 8 #define D3DRGBA D3DCOLOR_COLORVALUE 9 #define D3DRGB(_r,_g,_b) D3DCOLOR_COLORVALUE(_r,_g,_b,1.f) 10 11 #define D3DTRANSFORMSTATE_FORCE_DWORD D3DTS_FORCE_DWORD 12 #define D3DTRANSFORMSTATE_PROJECTION D3DTS_PROJECTION 13 #define D3DTRANSFORMSTATE_TEXTURE0 D3DTS_TEXTURE0 14 #define D3DTRANSFORMSTATE_TEXTURE1 D3DTS_TEXTURE1 15 #define D3DTRANSFORMSTATE_TEXTURE2 D3DTS_TEXTURE2 16 #define D3DTRANSFORMSTATE_TEXTURE3 D3DTS_TEXTURE3 17 #define D3DTRANSFORMSTATE_TEXTURE4 D3DTS_TEXTURE4 18 #define D3DTRANSFORMSTATE_TEXTURE5 D3DTS_TEXTURE5 19 #define D3DTRANSFORMSTATE_TEXTURE6 D3DTS_TEXTURE6 20 #define D3DTRANSFORMSTATE_TEXTURE7 D3DTS_TEXTURE7 21 #define D3DTRANSFORMSTATE_VIEW D3DTS_VIEW 22 #define D3DTRANSFORMSTATE_WORLD D3DTS_WORLD 23 #define D3DTRANSFORMSTATE_WORLD1 D3DTS_WORLD1 24 #define D3DTRANSFORMSTATE_WORLD2 D3DTS_WORLD2 25 #define D3DTRANSFORMSTATE_WORLD3 D3DTS_WORLD3 26 #define D3DRENDERSTATE_ALPHABLENDENABLE D3DRS_ALPHABLENDENABLE 27 #define D3DRENDERSTATE_ALPHAFUNC D3DRS_ALPHAFUNC 28 #define D3DRENDERSTATE_ALPHAREF D3DRS_ALPHAREF 29 #define D3DRENDERSTATE_ALPHATESTENABLE D3DRS_ALPHATESTENABLE 30 #define D3DRENDERSTATE_AMBIENT D3DRS_AMBIENT 31 #define D3DRENDERSTATE_AMBIENTMATERIALSOURCE D3DRS_AMBIENTMATERIALSOURCE 32 #define D3DRENDERSTATE_CLIPPING D3DRS_CLIPPING 33 #define D3DRENDERSTATE_CLIPPLANEENABLE D3DRS_CLIPPLANEENABLE 34 #define D3DRENDERSTATE_COLORVERTEX D3DRS_COLORVERTEX 35 #define D3DRENDERSTATE_CULLMODE D3DRS_CULLMODE 36 #define D3DRENDERSTATE_DESTBLEND D3DRS_DESTBLEND 37 #define D3DRENDERSTATE_DIFFUSEMATERIALSOURCE D3DRS_DIFFUSEMATERIALSOURCE 38 #define D3DRENDERSTATE_DITHERENABLE D3DRS_DITHERENABLE 39 #define D3DRENDERSTATE_EDGEANTIALIAS D3DRS_EDGEANTIALIAS 40 #define D3DRENDERSTATE_EMISSIVEMATERIALSOURCE D3DRS_EMISSIVEMATERIALSOURCE 41 #define D3DRENDERSTATE_EXTENTS D3DRS_EXTENTS 42 #define D3DRENDERSTATE_FILLMODE D3DRS_FILLMODE 43 #define D3DRENDERSTATE_FOGCOLOR D3DRS_FOGCOLOR 44 #define D3DRENDERSTATE_FOGDENSITY D3DRS_FOGDENSITY 45 #define D3DRENDERSTATE_FOGENABLE D3DRS_FOGENABLE 46 #define D3DRENDERSTATE_FOGEND D3DRS_FOGEND 47 #define D3DRENDERSTATE_FOGSTART D3DRS_FOGSTART 48 #define D3DRENDERSTATE_FOGTABLEMODE D3DRS_FOGTABLEMODE 49 #define D3DRENDERSTATE_FOGVERTEXMODE D3DRS_FOGVERTEXMODE 50 #define D3DRENDERSTATE_LASTPIXEL D3DRS_LASTPIXEL 51 #define D3DRENDERSTATE_LIGHTING D3DRS_LIGHTING 52 #define D3DRENDERSTATE_LINEPATTERN D3DRS_LINEPATTERN 53 #define D3DRENDERSTATE_LOCALVIEWER D3DRS_LOCALVIEWER 54 #define D3DRENDERSTATE_NORMALIZENORMALS D3DRS_NORMALIZENORMALS 55 #define D3DRENDERSTATE_RANGEFOGENABLE D3DRS_RANGEFOGENABLE 56 #define D3DRENDERSTATE_SHADEMODE D3DRS_SHADEMODE 57 #define D3DRENDERSTATE_SPECULARENABLE D3DRS_SPECULARENABLE 58 #define D3DRENDERSTATE_SPECULARMATERIALSOURCE D3DRS_SPECULARMATERIALSOURCE 59 #define D3DRENDERSTATE_SRCBLEND D3DRS_SRCBLEND 60 #define D3DRENDERSTATE_STENCILENABLE D3DRS_STENCILENABLE 61 #define D3DRENDERSTATE_STENCILFAIL D3DRS_STENCILFAIL 62 #define D3DRENDERSTATE_STENCILFUNC D3DRS_STENCILFUNC 63 #define D3DRENDERSTATE_STENCILMASK D3DRS_STENCILMASK 64 #define D3DRENDERSTATE_STENCILPASS D3DRS_STENCILPASS 65 #define D3DRENDERSTATE_STENCILREF D3DRS_STENCILREF 66 #define D3DRENDERSTATE_STENCILZFAIL D3DRS_STENCILZFAIL 67 #define D3DRENDERSTATE_STENCILWRITEMASK D3DRS_STENCILWRITEMASK 68 #define D3DRENDERSTATE_TEXTUREFACTOR D3DRS_TEXTUREFACTOR 69 #define D3DRENDERSTATE_VERTEXBLEND D3DRS_VERTEXBLEND 70 #define D3DRENDERSTATE_WRAP0 D3DRS_WRAP0 71 #define D3DRENDERSTATE_WRAP1 D3DRS_WRAP1 72 #define D3DRENDERSTATE_WRAP2 D3DRS_WRAP2 73 #define D3DRENDERSTATE_WRAP3 D3DRS_WRAP3 74 #define D3DRENDERSTATE_WRAP4 D3DRS_WRAP4 75 #define D3DRENDERSTATE_WRAP5 D3DRS_WRAP5 76 #define D3DRENDERSTATE_WRAP6 D3DRS_WRAP6 77 #define D3DRENDERSTATE_WRAP7 D3DRS_WRAP7 78 #define D3DRENDERSTATE_ZBIAS D3DRS_ZBIAS 79 #define D3DRENDERSTATE_ZENABLE D3DRS_ZENABLE 80 #define D3DRENDERSTATE_ZFUNC D3DRS_ZFUNC 81 #define D3DRENDERSTATE_ZVISIBLE D3DRS_ZVISIBLE 82 #define D3DRENDERSTATE_ZWRITEENABLE D3DRS_ZWRITEENABLE 83 84 #define _DX7TODX8_H_ 85 #endif 86