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

D3ddrv.h File Reference

#include "DCommon.h"

Go to the source code of this file.

Functions

void DRIVERCC ErrorBox (char *Str)
BOOL DRIVERCC DrvShutdown (void)
void SetLastDrvError (int32 Error, char *ErrorStr)

Variables

DRV_Window ClientWindow
DRV_Driver D3DDRV


Function Documentation

BOOL DRIVERCC DrvShutdown void   ) 
 

Definition at line 58 of file GlideDrv.c.

References bWindowed, DRIVERCC, DumpErrorLogToFile(), FreeDDraw(), geBoolean, GMain_Shutdown(), SAL_shutdown(), SysShutdown(), TRUE, and VInfo.

00059 {
00060         GMain_Shutdown();
00061 
00062         return TRUE;
00063 }

void DRIVERCC ErrorBox char *  Str  ) 
 

Definition at line 230 of file softdrv.c.

References DRIVERCC, DrvShutdown(), and DumpErrorLogToFile().

00231 {
00232         DrvShutdown();
00233         DumpErrorLogToFile("softdrv.log");
00234 }

void SetLastDrvError int32  Error,
char *  ErrorStr
 

Definition at line 250 of file D3ddrv7x.cpp.

References D3DDRV, Error, DRV_Driver::LastError, LastError, DRV_Driver::LastErrorStr, LastErrorStr, and NULL.

Referenced by BeginMeshes(), BeginModels(), BeginScene(), BeginWorld(), Create2DTexture(), Create3DTexture(), CreateLightmapTexture(), CreatePalTexture(), CreateTexture(), DriverHook(), DrvInit(), EndScene(), FindTextureHandle(), GetLod(), GMain_GetBoardInfo(), GMain_ScreenShot(), GMain_Startup(), GTHandle_CheckTextures(), GTHandle_Create(), GTHandle_Lock(), GTHandle_SetupInfo(), Render_DrawDecal(), RenderInit(), SetupCurrent3dDesc(), THandle_Create(), and THandle_CreateSurfaces().

00251 {
00252         LastError = Error;
00253         
00254         if (ErrorStr)
00255         {
00256                 strcpy(LastErrorStr, ErrorStr);
00257         }
00258         else
00259                 LastErrorStr[0] = NULL;
00260 
00261     D3DDRV.LastErrorStr = LastErrorStr;
00262     D3DDRV.LastError = LastError;
00263 }


Variable Documentation

DRV_Window ClientWindow
 

Definition at line 27 of file D3ddrv.h.

DRV_Driver D3DDRV
 

Definition at line 28 of file D3ddrv.h.


Generated on Tue Sep 30 12:37:22 2003 for GTestAndEngine by doxygen 1.3.2