aboutsummaryrefslogtreecommitdiff
path: root/costume.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2001-11-11 16:54:45 +0000
committerLudvig Strigeus2001-11-11 16:54:45 +0000
commitb9facc7de40655b12c779b4ba2b4756847db1aff (patch)
tree12a89bc0a210ae1eb5c547e77ca2fe880ecd1d4c /costume.cpp
parent27e55e52a9c5d269875506812860177d232c7517 (diff)
downloadscummvm-rg350-b9facc7de40655b12c779b4ba2b4756847db1aff.tar.gz
scummvm-rg350-b9facc7de40655b12c779b4ba2b4756847db1aff.tar.bz2
scummvm-rg350-b9facc7de40655b12c779b4ba2b4756847db1aff.zip
implemented some sam&max specific features,
fixed some bugs svn-id: r3486
Diffstat (limited to 'costume.cpp')
-rw-r--r--costume.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/costume.cpp b/costume.cpp
index f779e5e397..37c432d751 100644
--- a/costume.cpp
+++ b/costume.cpp
@@ -292,6 +292,11 @@ byte CostumeRenderer::mainRoutine(Actor *a, int slot, int frame) {
CHECK_HEAP
+ if (a->data8) {
+ proc_special(a->data8);
+ return b;
+ }
+
switch ((scaling<<2)|(masking<<1)|charsetmask) {
case 0:
proc6();
@@ -660,6 +665,10 @@ StartPos:;
} while(1);
}
+void CostumeRenderer::proc_special(byte code) {
+ warning("stub CostumeRenderer::proc_special(%d) not implemented");
+}
+
void CostumeRenderer::loadCostume(int id) {
_ptr = _vm->getResourceAddress(3, id);