aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2001-10-16 20:31:27 +0000
committerLudvig Strigeus2001-10-16 20:31:27 +0000
commita732f32eb09a880d658cea55f1d8120a8c4ea2d6 (patch)
treef8735651d400e7094cfa15e63032b08da61a2eab /script_v1.cpp
parenteebe5f2f73ddede3051c06f5f47294559784363a (diff)
downloadscummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.gz
scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.tar.bz2
scummvm-rg350-a732f32eb09a880d658cea55f1d8120a8c4ea2d6.zip
misc fixes
svn-id: r3435
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index dde9cbb908..8d5bac2f86 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -17,6 +17,9 @@
*
* Change Log:
* $Log$
+ * Revision 1.2 2001/10/16 20:31:27 strigeus
+ * misc fixes
+ *
* Revision 1.1 2001/10/16 10:01:47 strigeus
* preliminary DOTT support
*
@@ -1397,11 +1400,20 @@ void Scumm::o_roomOps() {
unkRoomFunc3(d, e, a, b, c);
break;
- case 13: /* ? */
- error("roomops:13 not implemented");
+ case 13: { /* save-string */
+ char buf[256],*s;
+ a = getVarOrDirectByte(0x80);
+ s = buf;
+ while (*s++=fetchScriptByte());
+ warning("roomops:13 save-string(%d,\"%s\") not implemented", a, buf);
break;
- case 14: /* ? */
- error("roomops:14 not implemented");
+ }
+ case 14: /* load-string */
+ char buf[256],*s;
+ a = getVarOrDirectByte(0x80);
+ s = buf;
+ while (*s++=fetchScriptByte());
+ warning("roomops:14 load-string(%d,\"%s\") not implemented", a, buf);
break;
case 15: /* palmanip? */
a = getVarOrDirectByte(0x80);