aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-07-29 19:56:06 +0000
committerNicola Mettifogo2007-07-29 19:56:06 +0000
commit65ee4ae2d42fcb029a35673be28c8bce57b3fbcd (patch)
treedffd64b27d1f4a4c086b93d1a55aed5e55e31b85 /engines/parallaction
parent283b89daf83ef62d29f0c7d7d54a64fcc8bd69d8 (diff)
downloadscummvm-rg350-65ee4ae2d42fcb029a35673be28c8bce57b3fbcd.tar.gz
scummvm-rg350-65ee4ae2d42fcb029a35673be28c8bce57b3fbcd.tar.bz2
scummvm-rg350-65ee4ae2d42fcb029a35673be28c8bce57b3fbcd.zip
Now callables array is properly initialized.
svn-id: r28316
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/staticres.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/parallaction/staticres.cpp b/engines/parallaction/staticres.cpp
index ec94f56916..6ff3b8a948 100644
--- a/engines/parallaction/staticres.cpp
+++ b/engines/parallaction/staticres.cpp
@@ -483,6 +483,8 @@ const char *_minidoughName = "minidough";
const char *_minidrkiName = "minidrki";
#define CALLABLE_NS(x) &Parallaction_ns::x
+#define CALLABLE_BR(x) &Parallaction_br::x
+
void Parallaction_ns::initResources() {
@@ -577,7 +579,14 @@ void Parallaction_br::initResources() {
_localFlagNames = new Table(120);
_localFlagNames->addData("visited");
- // TODO: init callables for Big Red Adventure
+ if (getPlatform() == Common::kPlatformPC) {
+ _callables[0] = CALLABLE_BR(_c_blufade);
+ _callables[1] = CALLABLE_BR(_c_resetpalette);
+ _callables[2] = CALLABLE_BR(_c_ferrcycle);
+ _callables[3] = CALLABLE_BR(_c_lipsinc);
+ _callables[4] = CALLABLE_BR(_c_albcycle);
+ _callables[5] = CALLABLE_BR(_c_password);
+ }
}