diff options
author | yinsimei | 2017-07-12 10:43:09 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 8f618e55ae0126512c8845b6eabceb70aa04779e (patch) | |
tree | 2e01e167a5f5eff6e25335bbc2ac87cfedff2f40 /engines/sludge/builtin.cpp | |
parent | 91fcdda2d188602a376f4369d375a74117f93ae7 (diff) | |
download | scummvm-rg350-8f618e55ae0126512c8845b6eabceb70aa04779e.tar.gz scummvm-rg350-8f618e55ae0126512c8845b6eabceb70aa04779e.tar.bz2 scummvm-rg350-8f618e55ae0126512c8845b6eabceb70aa04779e.zip |
SLUDGE: move namespace to functionlist.h
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 4adbe93482..6340ad0f44 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -2612,19 +2612,11 @@ builtIn(doBackgroundEffect) { //------------------------------------- -#define FUNC(special,name) {builtIn_ ## name}, -static builtInFunctionData builtInFunctionArray[] = { -#include "CommonCode/functionlist.h" - }; -#undef FUNC +} // End of namespace Sludge -#define FUNC(special,name) {#name}, -char builtInFunctionNames[][25] = { #include "CommonCode/functionlist.h" - }; -#undef FUNC -#define NUM_FUNCS (sizeof (builtInFunctionArray) / sizeof (builtInFunctionArray[0])) +namespace Sludge { builtReturn callBuiltIn(int whichFunc, int numParams, loadedFunction *fun) { if (numBIFNames) { |