Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

App_Info Struct Reference

#include <D3d_main.h>

List of all members.

Public Attributes

HWND hWnd
DDSURFACEDESC2 ddsd
int32 OldWidth
int32 OldHeight
int32 OldBpp
int32 CurrentWidth
int32 CurrentHeight
int32 CurrentBpp
int32 OldWindowWidth
int32 OldWindowHeight
int32 WindowXOffset
int32 WindowYOffset
RECT OldWindowRect
ULONG OldGWL_STYLE
geBoolean ModeSet
char DDName [MAX_DRIVER_NAME]
LPDIRECTDRAW7 lpDD
LPDIRECT3D7 lpD3D
LPDIRECTDRAWSURFACE7 lpFrontBuffer
LPDIRECTDRAWSURFACE7 lpBackBuffer
LPDIRECTDRAWSURFACE7 lpZBuffer
LPDIRECTDRAWCLIPPER lpClipper
BOOL BackBufferInVideo
BOOL ZBufferInVideo
LPDIRECT3DDEVICE7 lpD3DDevice
LPD3DVIEWPORT7 lpD3DViewport
LPDIRECT3DDEVICE7 BackgroundMaterial
DDSURFACEDESC2 ddSurfFormat
DDSURFACEDESC2 ddTexFormat
DDSURFACEDESC2 ddFourBitAlphaSurfFormat
DDSURFACEDESC2 ddOneBitAlphaSurfFormat
RGB_LUT Lut1
RGB_LUT Lut2
RGB_LUT Lut3
BOOL IsPrimary
BOOL FullScreen
int32 NumModes
App_Mode Modes [MAX_APP_MODES]
int32 NumDrivers
DDMain_D3DDriver Drivers [DDMAIN_MAX_D3D_DRIVERS]
int32 CurrentDriver
DDDEVICEIDENTIFIER2 DeviceIdentifier
int32 NumSurfFormats
DDMain_SurfFormat SurfFormats [DDMAIN_MAX_SURFACE_FORMATS]
int32 NumTextureFormats
DDMain_SurfFormat TextureFormats [DDMAIN_MAX_TEXTURE_FORMATS]
BOOL LogToFile
BOOL FoundGoodDevice
BOOL CanDoWindow
BOOL RenderingIsOK
DWORD VidMemFree
float Gamma
BOOL GammaChanged
geBoolean CanDoMultiTexture
geBoolean FogEnable
float FogStart
float FogEnd
float FogR
float FogG
float FogB
uint32 Flags
LPDIRECTDRAW4 lpDD
LPDIRECT3D3 lpD3D
LPDIRECTDRAWSURFACE4 lpFrontBuffer
LPDIRECTDRAWSURFACE4 lpBackBuffer
LPDIRECTDRAWSURFACE4 lpZBuffer
LPDIRECT3DDEVICE3 lpD3DDevice
LPDIRECT3DVIEWPORT3 lpD3DViewport
LPDIRECT3DMATERIAL3 BackgroundMaterial
DDDEVICEIDENTIFIER DeviceIdentifier
geFloat Gamma
geFloat FogStart
geFloat FogEnd
geFloat FogR
geFloat FogG
geFloat FogB


Member Data Documentation

BOOL App_Info::BackBufferInVideo
 

Definition at line 127 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers().

LPDIRECT3DMATERIAL3 App_Info::BackgroundMaterial
 

Definition at line 132 of file WireFrame/D3d_main.h.

LPDIRECT3DMATERIAL3 App_Info::BackgroundMaterial
 

Definition at line 132 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateViewPort(), D3DMain_SetFogEnable(), and D3DMain_ShutdownD3D().

geBoolean App_Info::CanDoMultiTexture
 

Definition at line 176 of file WireFrame/D3d_main.h.

Referenced by Create3DTHandle(), CreateLightmapTHandle(), D3DBilinearFilter(), D3DMain_InitD3D(), PCache_FlushMiscPolys(), PCache_FlushWorldPolys(), THandle_CheckCache(), and THandle_Startup().

BOOL App_Info::CanDoWindow
 

Definition at line 167 of file WireFrame/D3d_main.h.

Referenced by EnumDeviceFunc(), EnumModes2(), and Main_CheckDD().

int32 App_Info::CurrentBpp
 

Definition at line 106 of file WireFrame/D3d_main.h.

Referenced by D3DMain_PickDevice(), D3DMain_RestoreAllSurfaces(), and D3DMain_SetDisplayMode().

int32 App_Info::CurrentDriver
 

Definition at line 154 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateDevice(), D3DMain_CreateZBuffer(), D3DMain_EnumDevices(), D3DMain_InitD3D(), D3DMain_PickDevice(), EnumDeviceFunc(), and Main_CheckDD().

int32 App_Info::CurrentHeight
 

Definition at line 105 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_CreateZBuffer(), D3DMain_RestoreAllSurfaces(), D3DMain_SetDisplayMode(), Main_ClearBackBuffer(), and Main_ShowBackBuffer().

int32 App_Info::CurrentWidth
 

Definition at line 104 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_CreateZBuffer(), D3DMain_RestoreAllSurfaces(), D3DMain_SetDisplayMode(), Main_ClearBackBuffer(), and Main_ShowBackBuffer().

DDSURFACEDESC2 App_Info::ddFourBitAlphaSurfFormat
 

Definition at line 139 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), Main_BuildRGBGammaTables(), and SetupCurrent3dDesc().

char App_Info::DDName
 

Definition at line 118 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateDDFromName(), and OutputDriverInfo().

DDSURFACEDESC2 App_Info::ddOneBitAlphaSurfFormat
 

Definition at line 140 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), Main_BuildRGBGammaTables(), and SetupCurrent3dDesc().

DDSURFACEDESC2 App_Info::ddsd
 

Definition at line 97 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_GetSurfaceFormats(), and EnumPixelFormats().

DDSURFACEDESC2 App_Info::ddSurfFormat
 

Definition at line 135 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), EnumPixelFormats(), and THandle_Create().

DDSURFACEDESC2 App_Info::ddTexFormat
 

Definition at line 138 of file WireFrame/D3d_main.h.

Referenced by CreateSystemToVideoSurfaces(), D3DMain_GetSurfaceFormats(), EnumPixelFormats(), Main_BuildRGBGammaTables(), SetupCurrent3dDesc(), and THandle_Startup().

DDDEVICEIDENTIFIER App_Info::DeviceIdentifier
 

Definition at line 155 of file WireFrame/D3d_main.h.

DDDEVICEIDENTIFIER App_Info::DeviceIdentifier
 

Definition at line 155 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateDevice(), and THandle_CheckCache().

DDMain_D3DDriver App_Info::Drivers
 

Definition at line 153 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateDevice(), D3DMain_CreateZBuffer(), D3DMain_InitD3D(), D3DMain_PickDevice(), EnumDeviceFunc(), and Main_CheckDD().

uint32 App_Info::Flags
 

Definition at line 186 of file WireFrame/D3d_main.h.

geFloat App_Info::FogB
 

Definition at line 183 of file WireFrame/D3d_main.h.

geFloat App_Info::FogB
 

Definition at line 183 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), and D3DMain_SetFogEnable().

geBoolean App_Info::FogEnable
 

Definition at line 178 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), D3DMain_SetFogEnable(), PCache_FlushMiscPolys(), PCache_InsertMiscPoly(), PCache_InsertWorldPoly(), RenderGouraudPoly(), and RenderWorldPolys().

geFloat App_Info::FogEnd
 

Definition at line 180 of file WireFrame/D3d_main.h.

geFloat App_Info::FogEnd
 

Definition at line 180 of file WireFrame/D3d_main.h.

Referenced by D3DMain_SetFogEnable(), PCache_InsertMiscPoly(), PCache_InsertWorldPoly(), and RenderGouraudPoly().

geFloat App_Info::FogG
 

Definition at line 182 of file WireFrame/D3d_main.h.

geFloat App_Info::FogG
 

Definition at line 182 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), and D3DMain_SetFogEnable().

geFloat App_Info::FogR
 

Definition at line 181 of file WireFrame/D3d_main.h.

geFloat App_Info::FogR
 

Definition at line 181 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), and D3DMain_SetFogEnable().

geFloat App_Info::FogStart
 

Definition at line 179 of file WireFrame/D3d_main.h.

geFloat App_Info::FogStart
 

Definition at line 179 of file WireFrame/D3d_main.h.

Referenced by D3DMain_SetFogEnable(), PCache_InsertMiscPoly(), PCache_InsertWorldPoly(), and RenderGouraudPoly().

BOOL App_Info::FoundGoodDevice
 

Definition at line 166 of file WireFrame/D3d_main.h.

Referenced by EnumDeviceFunc(), and Main_CheckDD().

BOOL App_Info::FullScreen
 

Definition at line 147 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_CreateZBuffer(), D3DMain_PickDevice(), D3DMain_RestoreAllSurfaces(), D3DMain_RestoreDisplayMode(), D3DMain_SetDisplayMode(), and Main_ShowBackBuffer().

geFloat App_Info::Gamma
 

Definition at line 173 of file WireFrame/D3d_main.h.

geFloat App_Info::Gamma
 

Definition at line 173 of file WireFrame/D3d_main.h.

Referenced by Main_BuildRGBGammaTables().

BOOL App_Info::GammaChanged
 

Definition at line 174 of file WireFrame/D3d_main.h.

HWND App_Info::hWnd
 

Definition at line 95 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_InitD3D(), D3DMain_RestoreAllSurfaces(), D3DMain_RestoreDisplayMode(), D3DMain_SetActive(), D3DMain_SetDisplayMode(), and D3DMain_UpdateWindow().

BOOL App_Info::IsPrimary
 

Definition at line 146 of file WireFrame/D3d_main.h.

Referenced by CreateDDFromDriver(), DDEnumCallback(), and EnumDeviceFunc().

BOOL App_Info::LogToFile
 

Definition at line 165 of file WireFrame/D3d_main.h.

Referenced by EnumDeviceFunc().

LPDIRECTDRAWSURFACE4 App_Info::lpBackBuffer
 

Definition at line 124 of file WireFrame/D3d_main.h.

LPDIRECTDRAWSURFACE4 App_Info::lpBackBuffer
 

Definition at line 124 of file WireFrame/D3d_main.h.

Referenced by D3DMain_ClearBuffers(), D3DMain_CreateBuffers(), D3DMain_CreateDevice(), D3DMain_CreateZBuffer(), D3DMain_DestroyBuffers(), D3DMain_ShutdownD3D(), DrawDecal(), Main_ShowBackBuffer(), and ScreenShot().

LPDIRECTDRAWCLIPPER App_Info::lpClipper
 

Definition at line 126 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateBuffers(), D3DMain_DestroyBuffers(), and D3DMain_ShutdownD3D().

LPDIRECT3D3 App_Info::lpD3D
 

Definition at line 121 of file WireFrame/D3d_main.h.

LPDIRECT3D3 App_Info::lpD3D
 

Definition at line 121 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateD3D(), D3DMain_CreateDevice(), D3DMain_CreateViewPort(), D3DMain_CreateZBuffer(), D3DMain_EnumDevices(), D3DMain_ShutdownD3D(), and EnumSubDrivers2().

LPDIRECT3DDEVICE3 App_Info::lpD3DDevice
 

Definition at line 129 of file WireFrame/D3d_main.h.

LPDIRECT3DDEVICE3 App_Info::lpD3DDevice
 

Definition at line 129 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), D3DBilinearFilter(), D3DBlendEnable(), D3DBlendFunc(), D3DDepthRange(), D3DMain_CreateDevice(), D3DMain_CreateViewPort(), D3DMain_InitD3D(), D3DMain_ShutdownD3D(), D3DPolygonMode(), D3DSetTexHandle(), D3DSetTexture(), D3DTexturedPoly(), D3DTexturedPolyOld(), D3DTexWrap(), D3DViewport(), D3DZEnable(), D3DZFunc(), D3DZWriteEnable(), EndMeshes(), EndModels(), EndScene(), EndWorld(), Main_ClearBackBuffer(), Main_EnumTextureFormats(), PCache_FlushMiscPolys(), RenderGouraudPoly(), RenderWorldPolys(), and SetupMipData().

LPDIRECT3DVIEWPORT3 App_Info::lpD3DViewport
 

Definition at line 130 of file WireFrame/D3d_main.h.

LPDIRECT3DVIEWPORT3 App_Info::lpD3DViewport
 

Definition at line 130 of file WireFrame/D3d_main.h.

Referenced by D3DDepthRange(), D3DMain_CreateViewPort(), D3DMain_InitD3D(), D3DMain_ShutdownD3D(), D3DViewport(), and Main_ClearBackBuffer().

LPDIRECTDRAW4 App_Info::lpDD
 

Definition at line 120 of file WireFrame/D3d_main.h.

LPDIRECTDRAW4 App_Info::lpDD
 

Definition at line 120 of file WireFrame/D3d_main.h.

Referenced by CreateDDFromDriver(), CreateSurface(), D3DMain_CreateBuffers(), D3DMain_CreateD3D(), D3DMain_CreateDDFromName(), D3DMain_CreateDevice(), D3DMain_CreateZBuffer(), D3DMain_EnumDisplayModes(), D3DMain_GetTextureMemory(), D3DMain_RememberOldMode(), D3DMain_RestoreAllSurfaces(), D3DMain_RestoreDisplayMode(), D3DMain_SetDisplayMode(), D3DMain_ShutdownD3D(), EnumSubDrivers2(), Main_CheckDD(), Main_EnumSurfaceFormats(), THandle_CreateSurfaces(), and THandle_Startup().

LPDIRECTDRAWSURFACE4 App_Info::lpFrontBuffer
 

Definition at line 123 of file WireFrame/D3d_main.h.

LPDIRECTDRAWSURFACE4 App_Info::lpFrontBuffer
 

Definition at line 123 of file WireFrame/D3d_main.h.

Referenced by D3DMain_ClearBuffers(), D3DMain_CreateBuffers(), D3DMain_DestroyBuffers(), D3DMain_SetActive(), D3DMain_ShutdownD3D(), and Main_ShowBackBuffer().

LPDIRECTDRAWSURFACE4 App_Info::lpZBuffer
 

Definition at line 125 of file WireFrame/D3d_main.h.

LPDIRECTDRAWSURFACE4 App_Info::lpZBuffer
 

Definition at line 125 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateZBuffer(), D3DMain_DestroyZBuffer(), and D3DMain_ShutdownD3D().

RGB_LUT App_Info::Lut1
 

Definition at line 142 of file WireFrame/D3d_main.h.

Referenced by FillLMapSurface(), LoadLMapFromSystem(), and Main_BuildRGBGammaTables().

RGB_LUT App_Info::Lut2
 

Definition at line 143 of file WireFrame/D3d_main.h.

Referenced by Main_BuildRGBGammaTables().

RGB_LUT App_Info::Lut3
 

Definition at line 144 of file WireFrame/D3d_main.h.

Referenced by Main_BuildRGBGammaTables().

App_Mode App_Info::Modes
 

Definition at line 150 of file WireFrame/D3d_main.h.

Referenced by D3DMain_EnumDisplayModes(), EnumDisplayModesCallback(), and EnumModes2().

geBoolean App_Info::ModeSet
 

Definition at line 116 of file WireFrame/D3d_main.h.

Referenced by D3DMain_RestoreDisplayMode(), and D3DMain_SetDisplayMode().

int32 App_Info::NumDrivers
 

Definition at line 152 of file WireFrame/D3d_main.h.

Referenced by D3DMain_EnumDevices(), D3DMain_PickDevice(), EnumDeviceFunc(), and Main_CheckDD().

int32 App_Info::NumModes
 

Definition at line 149 of file WireFrame/D3d_main.h.

Referenced by D3DMain_EnumDisplayModes(), EnumDisplayModesCallback(), and EnumModes2().

int32 App_Info::NumSurfFormats
 

Definition at line 158 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), EnumSurfaceFormatsCallback(), and Main_EnumSurfaceFormats().

int32 App_Info::NumTextureFormats
 

Definition at line 162 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), EnumTextureFormatsCallback(), and Main_EnumTextureFormats().

int32 App_Info::OldBpp
 

Definition at line 102 of file WireFrame/D3d_main.h.

Referenced by D3DMain_InitD3D(), D3DMain_RememberOldMode(), and EnumDeviceFunc().

ULONG App_Info::OldGWL_STYLE
 

Definition at line 114 of file WireFrame/D3d_main.h.

Referenced by D3DMain_RememberOldMode(), D3DMain_RestoreDisplayMode(), and D3DMain_SetDisplayMode().

int32 App_Info::OldHeight
 

Definition at line 101 of file WireFrame/D3d_main.h.

Referenced by D3DMain_RememberOldMode(), and D3DViewport().

int32 App_Info::OldWidth
 

Definition at line 100 of file WireFrame/D3d_main.h.

Referenced by D3DMain_RememberOldMode().

int32 App_Info::OldWindowHeight
 

Definition at line 109 of file WireFrame/D3d_main.h.

Referenced by D3DMain_InitD3D(), and D3DMain_RememberOldMode().

RECT App_Info::OldWindowRect
 

Definition at line 113 of file WireFrame/D3d_main.h.

Referenced by D3DMain_RememberOldMode(), and D3DMain_RestoreDisplayMode().

int32 App_Info::OldWindowWidth
 

Definition at line 108 of file WireFrame/D3d_main.h.

Referenced by D3DMain_InitD3D(), and D3DMain_RememberOldMode().

BOOL App_Info::RenderingIsOK
 

Definition at line 169 of file WireFrame/D3d_main.h.

Referenced by BeginScene(), BeginWorld(), D3DMain_InitD3D(), D3DMain_SetActive(), D3DMain_ShutdownD3D(), DrawDecal(), EndMeshes(), EndModels(), EndScene(), EndWorld(), Main_ClearBackBuffer(), Main_ShowBackBuffer(), RenderGouraudPoly(), RenderMiscTexturePoly(), RenderWorldPoly(), and RenderWorldPolys().

DDMain_SurfFormat App_Info::SurfFormats
 

Definition at line 159 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), and EnumSurfaceFormatsCallback().

DDMain_SurfFormat App_Info::TextureFormats
 

Definition at line 163 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetSurfaceFormats(), and EnumTextureFormatsCallback().

DWORD App_Info::VidMemFree
 

Definition at line 171 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetTextureMemory(), and THandle_Startup().

int32 App_Info::WindowXOffset
 

Definition at line 110 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetClientWindowOffset(), and Main_ShowBackBuffer().

int32 App_Info::WindowYOffset
 

Definition at line 111 of file WireFrame/D3d_main.h.

Referenced by D3DMain_GetClientWindowOffset(), and Main_ShowBackBuffer().

BOOL App_Info::ZBufferInVideo
 

Definition at line 128 of file WireFrame/D3d_main.h.

Referenced by D3DMain_CreateZBuffer().


The documentation for this struct was generated from the following files:
Generated on Tue Sep 30 12:39:02 2003 for GTestAndEngine by doxygen 1.3.2