DREAMWEB: Remove some dead code
This commit is contained in:
parent
9ba55105fc
commit
d015f5d446
6 changed files with 3 additions and 70 deletions
|
@ -58,10 +58,6 @@ void DreamBase::fillRyan() {
|
|||
showRyanPage();
|
||||
}
|
||||
|
||||
void DreamGenContext::isItWorn() {
|
||||
flags._z = isItWorn((const DynObject *)es.ptr(bx, sizeof(DynObject)));
|
||||
}
|
||||
|
||||
bool DreamBase::isItWorn(const DynObject *object) {
|
||||
return (object->id[0] == 'W'-'A') && (object->id[1] == 'E'-'A');
|
||||
}
|
||||
|
@ -604,7 +600,7 @@ void DreamGenContext::inToInv() {
|
|||
readMouse();
|
||||
showPointer();
|
||||
outOfInv();
|
||||
workToScreen();
|
||||
workToScreenCPP();
|
||||
delPointer();
|
||||
}
|
||||
|
||||
|
@ -645,7 +641,7 @@ void DreamGenContext::outOfInv() {
|
|||
readMouse();
|
||||
showPointer();
|
||||
inToInv();
|
||||
workToScreen();
|
||||
workToScreenCPP();
|
||||
delPointer();
|
||||
}
|
||||
|
||||
|
@ -780,10 +776,6 @@ void DreamBase::dropObject() {
|
|||
object->currentLocation = data.byte(kReallocation);
|
||||
}
|
||||
|
||||
void DreamGenContext::checkObjectSize() {
|
||||
al = checkObjectSizeCPP() ? 0 : 1;
|
||||
}
|
||||
|
||||
bool DreamGenContext::checkObjectSizeCPP() {
|
||||
byte containerSize = getOpenedSlotSize();
|
||||
DynObject *object = getEitherAdCPP();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue