diff options
author | Willem Jan Palenstijn | 2011-12-24 13:12:00 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-24 13:12:00 +0100 |
commit | efb9057dda86fb8899cfbe18e3857b88f5597b22 (patch) | |
tree | 168fbe039c260afe16ac0f03211aecaebff5f9c4 /engines | |
parent | be1a4de2919e7a5fa26ee05d23792aacd0e33a7a (diff) | |
download | scummvm-rg350-efb9057dda86fb8899cfbe18e3857b88f5597b22.tar.gz scummvm-rg350-efb9057dda86fb8899cfbe18e3857b88f5597b22.tar.bz2 scummvm-rg350-efb9057dda86fb8899cfbe18e3857b88f5597b22.zip |
DREAMWEB: Remove unused function
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 43 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 1 |
2 files changed, 0 insertions, 44 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index d1abe79a48..b9816c28b2 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -284,49 +284,6 @@ findopen2a: goto findopen1a; } -void DreamGenContext::searchForSame() { - STACK_CHECK; - si = cx; -searchagain: - _inc(si); - al = es.byte(bx); -search: - _cmp(es.byte(si), al); - if (flags.z()) - goto gotstartletter; - _inc(cx); - _inc(si); - _cmp(si, 8000); - if (flags.c()) - goto search; - si = bx; - ax = pop(); - return; -gotstartletter: - push(bx); - push(si); -keepchecking: - _inc(si); - _inc(bx); - al = es.byte(bx); - ah = es.byte(si); - _cmp(al, ':'); - if (flags.z()) - goto foundmatch; - _cmp(al, 0); - if (flags.z()) - goto foundmatch; - _cmp(al, ah); - if (flags.z()) - goto keepchecking; - si = pop(); - bx = pop(); - goto searchagain; -foundmatch: - si = pop(); - bx = pop(); -} - void DreamGenContext::reExFromInv() { STACK_CHECK; findInvPos(); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index 2041ab186b..10abde7fff 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -470,7 +470,6 @@ public: void purgeAnItem(); void getSetAd(); void findOpenPos(); - void searchForSame(); void rollEm(); void findAllOpen(); void fillOpen(); |