aboutsummaryrefslogtreecommitdiff
path: root/kyra/resource.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2005-10-13 18:05:04 +0000
committerJohannes Schickel2005-10-13 18:05:04 +0000
commitce2e9ab9d8a814f2356371b941ddb7e83d387427 (patch)
tree16516e73d26edb16fde1ce44384829b74f3fd4ff /kyra/resource.cpp
parente9b7a88e77de0043aa1eacf1e80b90d9d257c5c9 (diff)
downloadscummvm-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.cpp6
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