DREAMWEB: The ASM-style version of getEitherAd() is no longer needed

This commit is contained in:
Filippos Karapetis 2011-12-25 22:11:27 +02:00
parent 95c9a6d8cd
commit bdded1ce12
3 changed files with 1 additions and 14 deletions

View File

@ -477,6 +477,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'getblockofpixel',
'getdestinfo',
'getdimension',
'geteitherad',
'getexpos',
'getflagunderp',
'getkeyandlogo',

View File

@ -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);

View File

@ -465,7 +465,6 @@ public:
void rollEm();
void findAllOpen();
void fillOpen();
void getEitherAd();
void dreamweb();
void findPathOfPoint();
void read();