aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v100he.cpp
diff options
context:
space:
mode:
authorMax Horn2005-03-31 21:39:31 +0000
committerMax Horn2005-03-31 21:39:31 +0000
commitac247c9b94ec49dac4a5febf94bab2c76e7ed114 (patch)
tree558387ff7108430cbb476381c499e4185bb877a6 /scumm/script_v100he.cpp
parent59331fe5352420a93aaa3ddb7066993cf484f7d8 (diff)
downloadscummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.tar.gz
scummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.tar.bz2
scummvm-rg350-ac247c9b94ec49dac4a5febf94bab2c76e7ed114.zip
Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
Diffstat (limited to 'scumm/script_v100he.cpp')
-rw-r--r--scumm/script_v100he.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 30243d86f1..01e74a38a9 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -1128,16 +1128,16 @@ void ScummEngine_v100he::o100_resourceRoutines() {
if (_heResType == rtFlObject) {
objidx = getObjectIndex(_heResId);
//assert(objidx != -1);
- //lock(_heResType, objidx);
+ //res.lock(_heResType, objidx);
} else {
- lock(_heResType, _heResId);
+ res.lock(_heResType, _heResId);
}
break;
case 133:
if (_heResType == rtCharset)
nukeCharset(_heResId);
else
- nukeResource(_heResType, _heResId);
+ res.nukeResource(_heResType, _heResId);
break;
case 134:
case 135:
@@ -1153,9 +1153,9 @@ void ScummEngine_v100he::o100_resourceRoutines() {
if (_heResType == rtFlObject) {
objidx = getObjectIndex(_heResId);
//assert(objidx != -1);
- //unlock(_heResType, objidx);
+ //res.unlock(_heResType, objidx);
} else {
- unlock(_heResType, _heResId);
+ res.unlock(_heResType, _heResId);
}
break;
default: