aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-23 01:36:57 +0000
committerEugene Sandulenko2004-06-23 01:36:57 +0000
commit2e0814514c346cc3c7bf091131dce91f99473810 (patch)
tree839a79bfb88adce75c1fce320636f2dbb748b83a /scumm/actor.cpp
parenta350fcda0d02806a0593d556745e16226543eaa0 (diff)
downloadscummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.tar.gz
scummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.tar.bz2
scummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.zip
HE 7.0 fixes
o Stub for o7_startSound o graphics decoders o findResource was moved to ScummEngine and extended o 7.0+ titles use akos costumes, so fix that in launcher o more o6_resourceRoutines stubs Now HE 7.0 games (first 320x200 windows ports) show intros and some are playable to some extent. svn-id: r14003
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 024a8886be..f30327ccde 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1624,7 +1624,7 @@ void Actor::remapActorPaletteColor(int color, int new_color) {
return;
}
- akpl = findResource(MKID('AKPL'), akos);
+ akpl = _vm->findResource(MKID('AKPL'), akos);
if (!akpl) {
warning("Can't remap actor %d, costume %d doesn't contain an AKPL block", number, costume);
return;
@@ -1660,7 +1660,7 @@ void Actor::remapActorPalette(int r_fact, int g_fact, int b_fact, int threshold)
return;
}
- akpl = findResource(MKID('AKPL'), akos);
+ akpl = _vm->findResource(MKID('AKPL'), akos);
if (!akpl) {
warning("Can't remap actor %d, costume %d doesn't contain an AKPL block", number, costume);
return;
@@ -1672,7 +1672,7 @@ void Actor::remapActorPalette(int r_fact, int g_fact, int b_fact, int threshold)
//skip resource header
akpl = RES_DATA(akpl);
- rgbs = findResource(MKID('RGBS'), akos);
+ rgbs = _vm->findResource(MKID('RGBS'), akos);
if (!rgbs) {
warning("Can't remap actor %d costume %d doesn't contain an RGB block", number, costume);