diff options
author | Nicola Mettifogo | 2007-07-29 18:49:24 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-07-29 18:49:24 +0000 |
commit | 160a4ceaad1cf55e2aca3494616835e74e4c8a42 (patch) | |
tree | 8a461f18b9c627d983b827a35cbc47121772a684 /engines/parallaction/parallaction_br.cpp | |
parent | 092de55a6a56af7629cc12e4c9ec1afd70395ce2 (diff) | |
download | scummvm-rg350-160a4ceaad1cf55e2aca3494616835e74e4c8a42.tar.gz scummvm-rg350-160a4ceaad1cf55e2aca3494616835e74e4c8a42.tar.bz2 scummvm-rg350-160a4ceaad1cf55e2aca3494616835e74e4c8a42.zip |
Added callables stubs for Big Red Adventure.
svn-id: r28312
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 44009bdf5c..7dcc94d7c6 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -57,4 +57,10 @@ int Parallaction_br::init() { return 0; } +void Parallaction_br::callFunction(uint index, void* parm) { + assert(index < 6); // magic value 6 is maximum # of callables for Big Red Adventure + + (this->*_callables[index])(parm); +} + } // namespace Parallaction |