diff options
author | Nicola Mettifogo | 2009-03-29 14:03:11 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-03-29 14:03:11 +0000 |
commit | 34c2546fdd18d5193560748006ea92008144fe10 (patch) | |
tree | 171d6a8072c2d91e564643658ccd078ffc08dc1c /engines | |
parent | 666f0720ab801e8e9df4a8e65f452044b110f7b2 (diff) | |
download | scummvm-rg350-34c2546fdd18d5193560748006ea92008144fe10.tar.gz scummvm-rg350-34c2546fdd18d5193560748006ea92008144fe10.tar.bz2 scummvm-rg350-34c2546fdd18d5193560748006ea92008144fe10.zip |
Added declaration for Amiga BRA callables.
svn-id: r39741
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/callables_br.cpp | 3 | ||||
-rw-r--r-- | engines/parallaction/parallaction.h | 2 | ||||
-rw-r--r-- | engines/parallaction/staticres.cpp | 11 |
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; } } |