Skip to content

Commit

Permalink
DREAMWEB: 'getanyaddir' (without parameters) is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 6, 2011
1 parent 8cf4ba1 commit 916d3e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions devtools/tasmrecover/tasm-recover
Expand Up @@ -292,6 +292,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'gamer',
'gates',
'generalerror',
'getanyaddir',
'getbackfromob',
'getbackfromops',
'getbacktoops',
Expand Down
17 changes: 0 additions & 17 deletions engines/dreamweb/dreamgen.cpp
Expand Up @@ -3068,23 +3068,6 @@ void DreamGenContext::getAnyAd() {
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);
Expand Down
1 change: 0 additions & 1 deletion engines/dreamweb/dreamgen.h
Expand Up @@ -566,7 +566,6 @@ class DreamGenContext : public Context {
void useCashCard();
void openTomb();
void doSomeTalk();
void getAnyAdDir();
void showSaveOps();
void introMonks1();
void resetLocation();
Expand Down

0 comments on commit 916d3e9

Please sign in to comment.