diff options
author | Max Horn | 2003-05-16 21:31:15 +0000 |
---|---|---|
committer | Max Horn | 2003-05-16 21:31:15 +0000 |
commit | a4550829965bb23eb42aee205648e621e0336473 (patch) | |
tree | 57994f2f0e48bd51b936561cd5073ec4a497876f /scumm/object.cpp | |
parent | 3533843ac8997e9426712af007cf29f03e25cfa0 (diff) | |
download | scummvm-rg350-a4550829965bb23eb42aee205648e621e0336473.tar.gz scummvm-rg350-a4550829965bb23eb42aee205648e621e0336473.tar.bz2 scummvm-rg350-a4550829965bb23eb42aee205648e621e0336473.zip |
added roomobj dumping for bundle games (was trivial it turns out :-)
svn-id: r7581
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r-- | scumm/object.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 1034427b48..60cca10d65 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -553,6 +553,12 @@ void Scumm::loadRoomObjectsOldBundle() { setupRoomObject(od, room); ptr += 2; + + if (_dumpScripts) { + char buf[32]; + sprintf(buf, "roomobj-%d-", _roomResource); + dumpResource(buf, od->obj_nr, room + od->OBCDoffset); + } } CHECK_HEAP |