diff options
author | Filippos Karapetis | 2012-06-15 12:53:17 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-06-15 12:53:17 +0300 |
commit | 562a8a980c22eab85144558050e5fa5e425612c4 (patch) | |
tree | e86e6fb485fb40af850dabc8e40c357202f4cf3a /engines/sci/engine/script.h | |
parent | 23ed0f1dc89a8557692928785bf3da355e36bc8e (diff) | |
download | scummvm-rg350-562a8a980c22eab85144558050e5fa5e425612c4.tar.gz scummvm-rg350-562a8a980c22eab85144558050e5fa5e425612c4.tar.bz2 scummvm-rg350-562a8a980c22eab85144558050e5fa5e425612c4.zip |
SCI: Further cleanup of the script code
Merge the init() and load() Script methods and reset the script when
necessary
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index 06a7f089ba..4d23ffbba8 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -95,8 +95,7 @@ public: ~Script(); void freeScript(); - void init(int script_nr, ResourceManager *resMan); - void load(ResourceManager *resMan); + void load(int script_nr, ResourceManager *resMan); void matchSignatureAndPatch(uint16 scriptNr, byte *scriptData, const uint32 scriptSize); int32 findSignature(const SciScriptSignature *signature, const byte *scriptData, const uint32 scriptSize); |