diff options
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/driver/d_draw.cpp | 14 | ||||
-rw-r--r-- | sword2/driver/d_draw.h | 27 |
2 files changed, 4 insertions, 37 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp index 6e69f322c8..be53f47234 100644 --- a/sword2/driver/d_draw.cpp +++ b/sword2/driver/d_draw.cpp @@ -37,20 +37,12 @@ byte *lpBackBuffer; int16 screenDeep; int16 screenWide; - -// Set to 1 if vertical blank status cannot be checked. -// BOOL bFullScreen = 0; - - - // Scroll variables. scrollx and scrolly hold the current scroll position, -int16 scrollx; -int16 scrolly; +int16 scrollx; +int16 scrolly; -int32 renderCaps = 0; -int32 dxHalCaps = 0; -int32 dxHelCaps = 0; +int32 renderCaps = 0; void FatalDirectDrawError(char *str, int32 code, char *filename, int32 line) { char string[256]; diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h index 57b83e9c89..547be8a860 100644 --- a/sword2/driver/d_draw.h +++ b/sword2/driver/d_draw.h @@ -17,20 +17,6 @@ * $Header$ */ -//============================================================================= -// -// Filename : d_draw.h -// Created : 22nd August 1996 -// By : P.R.Porter -// -// Summary : This include file defines links to all data which is -// defined in the d_draw.c module, but can be accessed by -// other parts of the driver96 library. -// -// -//============================================================================= - - #ifndef D_DRAW_H #define D_DRAW_H @@ -40,18 +26,7 @@ extern "C" { #include "driver96.h" -// Bits defining hardware and emulation capabilities. -#define RDCAPS_BLTSTRETCH 1 -#define RDCAPS_SRCBLTCKEY 2 -#define DirectDrawError(f, g) FatalDirectDrawError(f, g, __FILE__, __LINE__) - - -extern uint8 *lpPalette; // palette -extern byte *lpBackBuffer; // back surface -extern int32 dxHalCaps; // Hardware capabilities. -extern int32 dxHelCaps; // Emulation capabilities. - -extern void FatalDirectDrawError(char *str, int32 dderr, char *file, int32 line); +extern byte *lpBackBuffer; #ifdef __cplusplus } |