diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-07-12 17:22:07 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | 936a5198e46e3c7a8f72959373a69336b1697e76 (patch) | |
| tree | 4df06c2e582f753039e52a72e6c0e0f3b6cd6fd1 /src/win95/d3_func.h | |
| parent | 1fcf3c028ae1eb5072e70fa0a8a856dfbfae595b (diff) | |
lots of small changes that didn't get checked in
Diffstat (limited to 'src/win95/d3_func.h')
| -rw-r--r-- | src/win95/d3_func.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/win95/d3_func.h b/src/win95/d3_func.h index eedbd5e..b369add 100644 --- a/src/win95/d3_func.h +++ b/src/win95/d3_func.h @@ -5,6 +5,47 @@ extern "C" { #endif + +/* KJL 14:24:45 12/4/97 - render state information */ +enum TRANSLUCENCY_TYPE +{ + TRANSLUCENCY_OFF, + TRANSLUCENCY_NORMAL, + TRANSLUCENCY_INVCOLOUR, + TRANSLUCENCY_COLOUR, + TRANSLUCENCY_GLOWING, + TRANSLUCENCY_DARKENINGCOLOUR, + TRANSLUCENCY_JUSTSETZ, + TRANSLUCENCY_NOT_SET +}; + +enum FILTERING_MODE_ID +{ + FILTERING_BILINEAR_OFF, + FILTERING_BILINEAR_ON, + FILTERING_NOT_SET +}; + +typedef struct +{ + enum TRANSLUCENCY_TYPE TranslucencyMode; + enum FILTERING_MODE_ID FilteringMode; + int FogDistance; + unsigned int FogIsOn :1; + unsigned int WireFrameModeIsOn :1; + +} RENDERSTATES; + +typedef struct D3DTextureFormat { +// DDSURFACEDESC ddsd; /* DDSURFACEDESC for the surface description */ + BOOL Palette; /* is Palettized? */ + int RedBPP; /* #red bits per pixel */ + int BlueBPP; /* #blue bits per pixel */ + int GreenBPP; /* #green bits per pixel */ + int IndexBPP; /* number of bits in palette index */ +} D3DTEXTUREFORMAT; + +#if 0 // disabled direct3d stuff /* Direct3D globals */ @@ -95,6 +136,7 @@ typedef struct } RENDERSTATES; +#endif |
