Skip to content

Commit

Permalink
DREAMWEB: Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Dec 9, 2011
1 parent 6c5f424 commit ebba7e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions engines/dreamweb/stubs.cpp
Expand Up @@ -1382,13 +1382,6 @@ void DreamGenContext::walkToText() {
commandWithOb(3, data.byte(kCommandtype), data.byte(kCommand));
}

void DreamGenContext::findOrMake() {
uint8 b0 = al;
uint8 b2 = cl;
uint8 b3 = ch;
findOrMake(b0, b2, b3);
}

void DreamBase::findOrMake(uint8 index, uint8 value, uint8 type) {
Change *change = (Change *)getSegment(data.word(kBuffers)).ptr(kListofchanges, sizeof(Change));
for (; change->index != 0xff; ++change) {
Expand Down
4 changes: 0 additions & 4 deletions engines/dreamweb/stubs.h
Expand Up @@ -159,10 +159,6 @@
void blockNameText();
void walkToText();
void personNameText();
void findOrMake();
void findOrMake(uint8 index, uint8 value, uint8 type) {
DreamBase::findOrMake(index, value, type);
}
DynObject *getFreeAd(uint8 index) {
return DreamBase::getFreeAd(index);
}
Expand Down

0 comments on commit ebba7e3

Please sign in to comment.