aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-01-28 12:20:53 +0000
committerNicola Mettifogo2008-01-28 12:20:53 +0000
commitbe2c5d3c8772963fe2c1a00c1a50546438e3e7a5 (patch)
treef30cec285aa712523432bc8f6cc119a4ac37f22d /engines/parallaction/parallaction.cpp
parente32e1b732cb99e760d4bdb4b72b0dd8a3d96bb7b (diff)
downloadscummvm-rg350-be2c5d3c8772963fe2c1a00c1a50546438e3e7a5.tar.gz
scummvm-rg350-be2c5d3c8772963fe2c1a00c1a50546438e3e7a5.tar.bz2
scummvm-rg350-be2c5d3c8772963fe2c1a00c1a50546438e3e7a5.zip
All interactive objects are now drawn in the framebuffer instead of using the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being.
svn-id: r30673
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r--engines/parallaction/parallaction.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 33789b399c..d8e87226d6 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -795,6 +795,8 @@ void Parallaction::freeLocation() {
_location._walkNodes.clear();
+ _gfx->clearGfxObjects();
+
freeZones();
freeAnimations();
@@ -977,12 +979,11 @@ void Character::scheduleWalk(int16 x, int16 y) {
void Character::free() {
- delete _ani._cnv;
delete _talk;
delete _head;
delete _objs;
- _ani._cnv = NULL;
+ _ani.gfxobj = NULL;
_talk = NULL;
_head = NULL;
_objs = NULL;