diff options
author | Simei Yin | 2018-05-27 23:23:15 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-29 22:37:10 +0200 |
commit | b6c2dc385a2eb186026266c6eb015920b443cf81 (patch) | |
tree | d4a7fccfcff0d8900d2245cdf57c6d1d4061760f /engines/sludge/builtin.cpp | |
parent | a0c3ef5f034bc5db8ad5a90387c7184bca0083e2 (diff) | |
download | scummvm-rg350-b6c2dc385a2eb186026266c6eb015920b443cf81.tar.gz scummvm-rg350-b6c2dc385a2eb186026266c6eb015920b443cf81.tar.bz2 scummvm-rg350-b6c2dc385a2eb186026266c6eb015920b443cf81.zip |
SLUDGE: Split out function.h/cpp for upcoming refactoring
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 8646dd46a3..0d1d940259 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -32,6 +32,7 @@ #include "sludge/floor.h" #include "sludge/fonttext.h" #include "sludge/freeze.h" +#include "sludge/function.h" #include "sludge/graphics.h" #include "sludge/language.h" #include "sludge/loadsave.h" @@ -86,7 +87,7 @@ bool failSecurityCheck(const Common::String &fn) { return false; } -LoadedFunction *saverFunc; +extern LoadedFunction *saverFunc; typedef BuiltReturn (*builtInSludgeFunc)(int numParams, LoadedFunction *fun); struct builtInFunctionData { |