Skip to content

Commit

Permalink
DREAMWEB: The ASM-style version of getEitherAd() is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 25, 2011
1 parent 95c9a6d commit bdded1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions devtools/tasmrecover/tasm-recover
Expand Up @@ -477,6 +477,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'getblockofpixel',
'getdestinfo',
'getdimension',
'geteitherad',
'getexpos',
'getflagunderp',
'getkeyandlogo',
Expand Down
13 changes: 0 additions & 13 deletions engines/dreamweb/dreamgen.cpp
Expand Up @@ -303,19 +303,6 @@ void DreamGenContext::getExAd() {
_add(bx, (0+2080+30000));
}

void DreamGenContext::getEitherAd() {
STACK_CHECK;
_cmp(data.byte(kObjecttype), 4);
if (flags.z())
goto isinexlist;
al = data.byte(kItemframe);
getFreeAd();
return;
isinexlist:
al = data.byte(kItemframe);
getExAd();
}

void DreamGenContext::getAnyAd() {
STACK_CHECK;
_cmp(data.byte(kObjecttype), 4);
Expand Down
1 change: 0 additions & 1 deletion engines/dreamweb/dreamgen.h
Expand Up @@ -465,7 +465,6 @@ class DreamGenContext : public DreamBase, public Context {
void rollEm();
void findAllOpen();
void fillOpen();
void getEitherAd();
void dreamweb();
void findPathOfPoint();
void read();
Expand Down

0 comments on commit bdded1c

Please sign in to comment.