aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-27 02:42:33 +0200
committerFilippos Karapetis2011-12-27 02:42:33 +0200
commit4027e635d50b510e322480c039bcc39449d096df (patch)
tree9e334469281a177a725918ed4548297e4f5467b2
parente10d2bffa07221601fd8414a1e7e12904cea19ad (diff)
downloadscummvm-rg350-4027e635d50b510e322480c039bcc39449d096df.tar.gz
scummvm-rg350-4027e635d50b510e322480c039bcc39449d096df.tar.bz2
scummvm-rg350-4027e635d50b510e322480c039bcc39449d096df.zip
DREAMWEB: Remove dead code
-rw-r--r--engines/dreamweb/stubs.cpp2
-rw-r--r--engines/dreamweb/stubs.h2
-rw-r--r--engines/dreamweb/use.cpp34
3 files changed, 0 insertions, 38 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index c8aac95e72..dd4911618c 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -457,8 +457,6 @@ static const Atmosphere g_atmosphereList[] = {
};
void DreamGenContext::dreamweb() {
- STACK_CHECK;
-
switch(engine->getLanguage()) {
case Common::EN_ANY:
case Common::EN_GRB:
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index ea3c17157d..c749693b60 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -43,7 +43,6 @@
uint8 printDirect(const uint8* string, uint16 x, uint16 y, uint8 maxWidth, bool centered) {
return DreamBase::printDirect(string, x, y, maxWidth, centered);
}
- void width160();
bool checkIfPerson(uint8 x, uint8 y);
bool checkIfFree(uint8 x, uint8 y);
bool checkIfEx(uint8 x, uint8 y);
@@ -60,7 +59,6 @@
void look();
void autoLook();
void doLook();
- void useKey();
void useObject();
void inventory();
void mainScreen();
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp
index 3e38215cca..34c68cfd34 100644
--- a/engines/dreamweb/use.cpp
+++ b/engines/dreamweb/use.cpp
@@ -1494,40 +1494,6 @@ void DreamBase::useAxe() {
removeObFromInv();
}
-void DreamGenContext::useKey() {
- switch(data.byte(kLocation)) {
- case 5:
- case 30:
- if (data.byte(kMapx) == 22 && data.byte(kMapy) == 10) {
- showPuzText(0, 300);
- data.byte(kCounttoclose) = 100;
- data.byte(kGetback) = 1;
- } else {
- // Wrong room
- showPuzText(2, 200);
- putBackObStuff();
- }
- break;
- case 21:
- if (data.byte(kMapx) == 11 && data.byte(kMapy) == 10) {
- showPuzText(3, 300);
- data.byte(kNewlocation) = 30;
- al = 2;
- fadeScreenDown();
- showFirstUse();
- putBackObStuff();
- } else {
- // Wrong room
- showPuzText(2, 200);
- putBackObStuff();
- }
- default:
- showPuzText(1, 200);
- putBackObStuff();
- break;
- }
-}
-
void DreamBase::useHandle() {
SetObject *object = getSetAd(findSetObject("CUTW"));
if (object->mapad[0] == 255) {