From 916d3e9e866e09d613f9be1678e4feaa8f8852d2 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 6 Dec 2011 05:01:15 +0200 Subject: [PATCH] DREAMWEB: 'getanyaddir' (without parameters) is no longer used --- devtools/tasmrecover/tasm-recover | 1 + engines/dreamweb/dreamgen.cpp | 17 ----------------- engines/dreamweb/dreamgen.h | 1 - 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index 3100c3d94d3..41bf3abe233 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -292,6 +292,7 @@ generator = cpp(context, "DreamGen", blacklist = [ 'gamer', 'gates', 'generalerror', + 'getanyaddir', 'getbackfromob', 'getbackfromops', 'getbacktoops', diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 721a5f91842..7fbf380d22b 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -3068,23 +3068,6 @@ isex: ax = es.word(bx+7); } -void DreamGenContext::getAnyAdDir() { - STACK_CHECK; - _cmp(ah, 4); - if (flags.z()) - goto isex3; - _cmp(ah, 2); - if (flags.z()) - goto isfree3; - getSetAd(); - return; -isfree3: - getFreeAd(); - return; -isex3: - getExAd(); -} - void DreamGenContext::getOpenedSize() { STACK_CHECK; _cmp(data.byte(kOpenedtype), 4); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index ca66f0243b5..8589d2250e7 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -566,7 +566,6 @@ public: void useCashCard(); void openTomb(); void doSomeTalk(); - void getAnyAdDir(); void showSaveOps(); void introMonks1(); void resetLocation();