diff options
author | Vladimir Menshakov | 2009-12-01 08:03:23 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-12-01 08:03:23 +0000 |
commit | 8c4235d0c502a7bd2f1160b0c5ab0930a36e138e (patch) | |
tree | 2f0eb2e9c5afcc32ffd8440543a7462a6cd7d104 /engines/teenagent | |
parent | c839eeda81079d63394f96677c2afb86409c5bd5 (diff) | |
download | scummvm-rg350-8c4235d0c502a7bd2f1160b0c5ab0930a36e138e.tar.gz scummvm-rg350-8c4235d0c502a7bd2f1160b0c5ab0930a36e138e.tar.bz2 scummvm-rg350-8c4235d0c502a7bd2f1160b0c5ab0930a36e138e.zip |
find out the meaning of the rest 4 bytes in walkbox structure
svn-id: r46228
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/objects.cpp | 12 | ||||
-rw-r--r-- | engines/teenagent/objects.h | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/engines/teenagent/objects.cpp b/engines/teenagent/objects.cpp index ff7e7f07f8..81d1c96293 100644 --- a/engines/teenagent/objects.cpp +++ b/engines/teenagent/objects.cpp @@ -148,10 +148,10 @@ void UseHotspot::dump() const { } void Walkbox::dump() const { - debug(0, "walkbox %02x %02x [%d, %d, %d, %d] %02x %02x %02x %02x ", + debug(0, "walkbox %02x %02x [%d, %d, %d, %d] top: %u, right: %u, bottom: %u, left: %u", type, orientation, rect.left, rect.right, rect.top, rect.bottom, - unk0a, unk0b, unk0c, unk0d); + top_side_hint, right_side_hint, bottom_side_hint, left_side_hint); } void Walkbox::load(byte *src) { @@ -161,10 +161,10 @@ void Walkbox::load(byte *src) { orientation = *src++; rect.load(src); src += 8; - unk0a = *src++; - unk0b = *src++; - unk0c = *src++; - unk0d = *src++; + top_side_hint = *src++; + right_side_hint = *src++; + bottom_side_hint = *src++; + left_side_hint = *src++; } void Walkbox::save() const { diff --git a/engines/teenagent/objects.h b/engines/teenagent/objects.h index 3753330d96..7a74cbddad 100644 --- a/engines/teenagent/objects.h +++ b/engines/teenagent/objects.h @@ -146,10 +146,10 @@ struct Walkbox { byte type; byte orientation; Rect rect; - byte unk0a; - byte unk0b; - byte unk0c; - byte unk0d; + byte top_side_hint; + byte right_side_hint; + byte bottom_side_hint; + byte left_side_hint; Walkbox() : _base(NULL) {} void dump() const; |