aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_br.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/parser_br.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/parser_br.cpp')
-rw-r--r--engines/parallaction/parser_br.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp
index 1f83c346bd..9b42b043af 100644
--- a/engines/parallaction/parser_br.cpp
+++ b/engines/parallaction/parser_br.cpp
@@ -583,7 +583,7 @@ DECLARE_ZONE_PARSER(type) {
DECLARE_ANIM_PARSER(file) {
debugC(7, kDebugParser, "ANIM_PARSER(file) ");
- _locParseCtxt.a->_cnv = _disk->loadFrames(_tokens[1]);
+ _locParseCtxt.a->gfxobj = _gfx->loadAnim(_tokens[1]);
}
@@ -610,7 +610,7 @@ DECLARE_ANIM_PARSER(endanimation) {
debugC(7, kDebugParser, "ANIM_PARSER(endanimation) ");
- if (_locParseCtxt.a->_cnv) {
+ if (_locParseCtxt.a->gfxobj) {
_locParseCtxt.a->_right = _locParseCtxt.a->width();
_locParseCtxt.a->_bottom = _locParseCtxt.a->height();
}