diff options
author | Johannes Schickel | 2005-10-13 18:05:04 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-10-13 18:05:04 +0000 |
commit | ce2e9ab9d8a814f2356371b941ddb7e83d387427 (patch) | |
tree | 16516e73d26edb16fde1ce44384829b74f3fd4ff /kyra/resource.cpp | |
parent | e9b7a88e77de0043aa1eacf1e80b90d9d257c5c9 (diff) | |
download | scummvm-rg350-ce2e9ab9d8a814f2356371b941ddb7e83d387427.tar.gz scummvm-rg350-ce2e9ab9d8a814f2356371b941ddb7e83d387427.tar.bz2 scummvm-rg350-ce2e9ab9d8a814f2356371b941ddb7e83d387427.zip |
Rewrite of the script interpretation class:
- Now only one instance is needed for many scripts
- Fixed a few command procs, but lacks opcode caller
implementation
svn-id: r19064
Diffstat (limited to 'kyra/resource.cpp')
-rw-r--r-- | kyra/resource.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kyra/resource.cpp b/kyra/resource.cpp index 5debefa8b9..ce066dd842 100644 --- a/kyra/resource.cpp +++ b/kyra/resource.cpp @@ -179,12 +179,6 @@ uint8* Resource::fileData(const char* file, uint32* size) { return buffer; } -VMContext* Resource::loadScript(const char* file) { - VMContext* context = new VMContext(_engine); - context->loadScript(file); - return context; -} - /////////////////////////////////////////// // Pak file manager #define PAKFile_Iterate Common::List<PakChunk*>::iterator start=_files.begin();start != _files.end(); ++start |