aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/statics.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-03-02 21:02:23 +0200
committerEugene Sandulenko2014-03-02 21:04:09 +0200
commita1d9281fb4002b298a4c8f34186a71d1a98b83e5 (patch)
treeaffabd1c7a58322ba5d28d75de00040ba43f3c1d /engines/fullpipe/statics.cpp
parentfffb3db0a6d105476b513c66dbabe049702a8522 (diff)
downloadscummvm-rg350-a1d9281fb4002b298a4c8f34186a71d1a98b83e5.tar.gz
scummvm-rg350-a1d9281fb4002b298a4c8f34186a71d1a98b83e5.tar.bz2
scummvm-rg350-a1d9281fb4002b298a4c8f34186a71d1a98b83e5.zip
FULLPIPE: Implement scene18_preload()
Diffstat (limited to 'engines/fullpipe/statics.cpp')
-rw-r--r--engines/fullpipe/statics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index bdb46b9b3a..86082c620d 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -509,6 +509,11 @@ void StaticANIObject::loadMovementsPixelData() {
((Movement *)_movements[i])->loadPixelData();
}
+void StaticANIObject::freeMovementsPixelData() {
+ for (uint i = 0; i < _movements.size(); i++)
+ ((Movement *)_movements[i])->freePixelData();
+}
+
Statics *StaticANIObject::addReverseStatics(Statics *st) {
Statics *res = getStaticsById(st->_staticsId ^ 0x4000);