aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/parallaction/callables_br.cpp3
-rw-r--r--engines/parallaction/parallaction.h2
-rw-r--r--engines/parallaction/staticres.cpp11
3 files changed, 16 insertions, 0 deletions
diff --git a/engines/parallaction/callables_br.cpp b/engines/parallaction/callables_br.cpp
index a4aec8e93e..d0e9bcb5db 100644
--- a/engines/parallaction/callables_br.cpp
+++ b/engines/parallaction/callables_br.cpp
@@ -27,6 +27,9 @@
namespace Parallaction {
+void Parallaction_br::_c_null(void*) {
+ // do nothing :)
+}
void Parallaction_br::_c_blufade(void*) {
warning("Parallaction_br::_c_blufade() not yet implemented");
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index 82d5d08e82..030db1f774 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -554,12 +554,14 @@ private:
typedef void (Parallaction_br::*Callable)(void*);
const Callable *_callables;
static const Callable _dosCallables[6];
+ static const Callable _amigaCallables[6];
Common::String _followerName;
AnimationPtr _follower;
PathWalker_BR *_walker;
// dos callables
+ void _c_null(void*);
void _c_blufade(void*);
void _c_resetpalette(void*);
void _c_ferrcycle(void*);
diff --git a/engines/parallaction/staticres.cpp b/engines/parallaction/staticres.cpp
index e33f017e54..fa1ac910e7 100644
--- a/engines/parallaction/staticres.cpp
+++ b/engines/parallaction/staticres.cpp
@@ -384,6 +384,15 @@ const Parallaction_br::Callable Parallaction_br::_dosCallables[] = {
CALLABLE_BR(_c_password)
};
+const Parallaction_br::Callable Parallaction_br::_amigaCallables[] = {
+ CALLABLE_BR(_c_blufade),
+ CALLABLE_BR(_c_resetpalette),
+ CALLABLE_BR(_c_null),
+ CALLABLE_BR(_c_null),
+ CALLABLE_BR(_c_null),
+ CALLABLE_BR(_c_null)
+};
+
void Parallaction_ns::initResources() {
_callableNames = new Table(ARRAYSIZE(_callableNamesRes_ns), _callableNamesRes_ns);
@@ -409,6 +418,8 @@ void Parallaction_br::initResources() {
if (getPlatform() == Common::kPlatformPC) {
_callables = _dosCallables;
+ } else {
+ _callables = _amigaCallables;
}
}