// Need to set the size as well...
// resize(560, 480);
-// QFont fixedFont("Lucida Console", 8, QFont::Normal);
- QFont fixedFont("", 8, QFont::Normal);
+ QFont fixedFont("Lucida Console", 8, QFont::Normal);
+// QFont fixedFont("", 8, QFont::Normal);
fixedFont.setStyleHint(QFont::TypeWriter);
text->setFont(fixedFont);
//// layout->setSizeConstraint(QLayout::SetFixedSize);
if (objectType == 3)
{
- // Recursion needed to follow all links! This does depth-first recursion
- // on the not-taken objects
- DiscoverObjects(address + 8);
+ // Branch if YPOS < 2047 can be treated as a GOTO, so don't do any
+ // discovery in that case. Otherwise, have at it:
+ if ((lo & 0xFFFF) != 0x7FFB)
+ // Recursion needed to follow all links! This does depth-first
+ // recursion on the not-taken objects (N.B.: The object following
+ // the branch object is at +16, not +8!)
+ DiscoverObjects(address + 16);
}
// Get the next object...
list += "<br>";
if (objectType == 0)
- DumpFixedObject(list, OPLoadPhrase(address + 0), OPLoadPhrase(address + 8));
+ DumpFixedObject(list, OPLoadPhrase(address + 0),
+ OPLoadPhrase(address + 8));
if (objectType == 1)
- DumpScaledObject(list, OPLoadPhrase(address + 0), OPLoadPhrase(address + 8),
- OPLoadPhrase(address + 16));
+ DumpScaledObject(list, OPLoadPhrase(address + 0),
+ OPLoadPhrase(address + 8), OPLoadPhrase(address + 16));
if (address == link) // Ruh roh...
{