diff options
author | Filippos Karapetis | 2011-12-26 22:09:47 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-26 22:10:20 +0200 |
commit | 4c66f74b58e9a2c191f22a37f485047dd19be131 (patch) | |
tree | 25a3472278cab404ba894a26ccab7c5a81563e32 /engines/dreamweb/object.cpp | |
parent | 0117fc415e9c35e9a721c2b4118f106ba9e56b57 (diff) | |
download | scummvm-rg350-4c66f74b58e9a2c191f22a37f485047dd19be131.tar.gz scummvm-rg350-4c66f74b58e9a2c191f22a37f485047dd19be131.tar.bz2 scummvm-rg350-4c66f74b58e9a2c191f22a37f485047dd19be131.zip |
DREAMWEB: Remove dead code and move most functions to DreamBase
Diffstat (limited to 'engines/dreamweb/object.cpp')
-rw-r--r-- | engines/dreamweb/object.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp index 4fa21e7618..124a4f908d 100644 --- a/engines/dreamweb/object.cpp +++ b/engines/dreamweb/object.cpp @@ -78,10 +78,6 @@ void DreamBase::makeWorn(DynObject *object) { object->id[1] = 'E'-'A'; } -void DreamGenContext::obToInv() { - obToInv(al, ah, di, bx); -} - void DreamBase::obToInv(uint8 index, uint8 flag, uint16 x, uint16 y) { showFrame(engine->icons1(), x - 2, y - 1, 10, 0); if (index == 0xff) @@ -120,7 +116,7 @@ void DreamBase::obIcons() { showFrame(engine->icons2(), 260, 1, 1, 0); } -void DreamGenContext::examineOb(bool examineAgain) { +void DreamBase::examineOb(bool examineAgain) { data.byte(kPointermode) = 0; data.word(kTimecount) = 0; @@ -217,7 +213,7 @@ void DreamGenContext::examineOb(bool examineAgain) { data.byte(kOpenedob) = 255; } -void DreamGenContext::inventory() { +void DreamBase::inventory() { if (data.byte(kMandead) == 1 || data.word(kWatchingtime) != 0) { blank(); return; @@ -312,7 +308,7 @@ void DreamBase::openOb() { _openChangeSize = getOpenedSlotCount() * kItempicsize + kInventx; } -void DreamGenContext::identifyOb() { +void DreamBase::identifyOb() { if (data.word(kWatchingtime) != 0) { blank(); return; |