aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-02-24 11:27:27 +0200
committerEugene Sandulenko2015-12-15 00:05:02 +0100
commit9264f4964ece0d01db4e1bc22b24078c977d5fce (patch)
tree35486dbb777579fe2945304cc23a2b72776c7dc9
parent6006a0083627d9b43f110fe496a96d159f50b586 (diff)
downloadscummvm-rg350-9264f4964ece0d01db4e1bc22b24078c977d5fce.tar.gz
scummvm-rg350-9264f4964ece0d01db4e1bc22b24078c977d5fce.tar.bz2
scummvm-rg350-9264f4964ece0d01db4e1bc22b24078c977d5fce.zip
LAB: Remove the unused setMode()/getMode() functions
-rw-r--r--engines/lab/engine.cpp8
-rw-r--r--engines/lab/vga.cpp14
-rw-r--r--engines/lab/vga.h4
3 files changed, 0 insertions, 26 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index ed90443a1d..1c89a749c8 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -236,8 +236,6 @@ static void drawRoomMessage(uint16 CurInv, CloseDataPtr cptr) {
}
-static uint16 OldMode;
-
/******************************************************************************/
/* Sets up the Labyrinth screens, and opens up the initial windows. */
/******************************************************************************/
@@ -1390,8 +1388,6 @@ void LabEngine::go() {
bool mem, dointro = false;
uint16 counter;
- getMode(&OldMode);
-
DoMusic = true;
g_music->_turnMusicOn = true;
dointro = true;
@@ -1443,8 +1439,6 @@ void LabEngine::go() {
}
if (!initMouse()) {
- setMode((char) OldMode);
-
return;
}
@@ -1497,8 +1491,6 @@ void LabEngine::go() {
g_music->freeMusic();
freeAudio();
-
- setMode((char)OldMode);
}
/*****************************************************************************/
diff --git a/engines/lab/vga.cpp b/engines/lab/vga.cpp
index 4c2584c480..d9633e97b5 100644
--- a/engines/lab/vga.cpp
+++ b/engines/lab/vga.cpp
@@ -63,13 +63,6 @@ uint16 g_NextKeyOut = 0;
bool g_MouseAtEdge = false;
/*****************************************************************************/
-/* Sets the display mode. */
-/*****************************************************************************/
-void setMode(char mode) {
- // There are no modes for SDL.
-}
-
-/*****************************************************************************/
/* Sets up either a low-res or a high-res 256 color screen. */
/*****************************************************************************/
bool createScreen(bool HiRes) {
@@ -334,13 +327,6 @@ void ungetVGABaseAddr() {
}
/*****************************************************************************/
-/* Gets information about the current display. */
-/*****************************************************************************/
-void getMode(uint16 *Mode) {
- // Only one mode in SDL.
-}
-
-/*****************************************************************************/
/* Draws an image to the screen. */
/*****************************************************************************/
void drawImage(Image *Im, uint16 x, uint16 y) {
diff --git a/engines/lab/vga.h b/engines/lab/vga.h
index 9e45b80e83..d9110007df 100644
--- a/engines/lab/vga.h
+++ b/engines/lab/vga.h
@@ -41,10 +41,6 @@ struct Image {
byte *ImageData;
};
-void setMode(char mode);
-
-void getMode(uint16 *Mode);
-
void setPage(uint16 PageNum);
void VGAStorePage();