aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorMax Horn2002-12-28 01:57:19 +0000
committerMax Horn2002-12-28 01:57:19 +0000
commitae5b30df3d67644f341a30997de5192fed8bcbdc (patch)
treedb63a860f15229ec901e9b6d0bedaaf9f6f2435f /scumm/scumm.h
parent319facc9c3a54bff3adab663e32f37bddb07c9e9 (diff)
downloadscummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.gz
scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.bz2
scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.zip
get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 00956710d3..4692e5dbb4 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -457,7 +457,6 @@ public:
virtual void writeVar(uint var, int value);
void runHook(int i);
bool isScriptInUse(int script);
- int getStringLen(byte *ptr);
void freezeScripts(int scr);
void unfreezeScripts();
@@ -476,8 +475,8 @@ public:
void decreaseScriptDelay(int amount);
bool isScriptRunning(int script);
bool isRoomScriptRunning(int script);
- void arrayop_1(int a, byte *ptr);
- void copyString(byte *dst, byte *src, int len);
+ void copyScriptString(byte *dst);
+ int resStrLen(const byte *src) const;
void doSentence(int c, int b, int a);
void setStringVars(int i);