aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver')
-rw-r--r--sword2/driver/_console.cpp4
-rw-r--r--sword2/driver/d_draw.cpp6
-rw-r--r--sword2/driver/keyboard.cpp2
3 files changed, 5 insertions, 7 deletions
diff --git a/sword2/driver/_console.cpp b/sword2/driver/_console.cpp
index fe9bb69cd1..544f90685c 100644
--- a/sword2/driver/_console.cpp
+++ b/sword2/driver/_console.cpp
@@ -64,8 +64,8 @@
uint8 consoleStatus = 0; // 1 - console display
-static uint16 consoley = 0;
-static uint32 consoleSize;
+//static uint16 consoley = 0;
+//static uint32 consoleSize;
static uint8 *consoleSprite = NULL;
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index 30baabeb2d..3d31118e71 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -89,7 +89,7 @@ int32 dxHelCaps = 0;
//DDCOLORKEY blackColorKey;
-static int32 platformIsNT = 0;
+//static int32 platformIsNT = 0;
//----------------------------------------------------------------------------------------------------------------
@@ -120,11 +120,11 @@ int32 PlotDots(int16 x, int16 y, int16 count)
{
+ warning("stub PlotDots( %d, %d, %d )", x, y, count);
+/*
int16 i;
uint8 *dst;
- warning("stub PlotDots( %d, %d, %d )", x, y, count);
-/*
DDSURFACEDESC ddDescription;
HRESULT hr;
diff --git a/sword2/driver/keyboard.cpp b/sword2/driver/keyboard.cpp
index 6f9d51c997..db21de4395 100644
--- a/sword2/driver/keyboard.cpp
+++ b/sword2/driver/keyboard.cpp
@@ -67,8 +67,6 @@
#include "driver96.h"
-#define MAX_KEY_BUFFER 23
-
uint8 keyBacklog = 0; // The number of key presses waiting to be processed.
uint8 keyPointer = 0; // Index of the next key to read from the buffer.
char keyBuffer[MAX_KEY_BUFFER]; // The keyboard buffer