aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.h
diff options
context:
space:
mode:
authorSven Hesse2006-07-08 16:37:23 +0000
committerSven Hesse2006-07-08 16:37:23 +0000
commitb7997a723105534dcefe50ae5b1448638480f0da (patch)
treeaefb4b62b77d618f7a114c031f9ac065e831abe3 /engines/gob/util.h
parent5aff1df2200e9d12a87d4ce4d6d146b17b0b5467 (diff)
downloadscummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.tar.gz
scummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.tar.bz2
scummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.zip
- Fixed a few mistakes that added up to look correct, fixing bargon's cursor
- Updated cursor drawing in general svn-id: r23429
Diffstat (limited to 'engines/gob/util.h')
-rw-r--r--engines/gob/util.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/gob/util.h b/engines/gob/util.h
index 17c3c09155..1b9b40b72e 100644
--- a/engines/gob/util.h
+++ b/engines/gob/util.h
@@ -88,22 +88,6 @@ public:
static const char trStr2[];
static const char trStr3[];
- inline uint8 readVariableByte(char *address) {
- int16 whichVar = address - _vm->_global->_inter_variables;
- int16 whichVarByte = whichVar % 4;
-
- whichVar >>= 2;
- return ((VAR(whichVar) >> 8 * (3-whichVarByte)) & 0xFF);
- }
- inline void writeVariableByte(char *address, uint8 value) {
- int16 whichVar = address - _vm->_global->_inter_variables;
- int16 whichVarByte = whichVar % 4;
-
- whichVar >>= 2;
- VAR(whichVar) &= ~(0xFF << 8 * (3-whichVarByte));
- VAR(whichVar) |= ((uint32) value) << 8 * (3-whichVarByte);
- }
-
Util(GobEngine *vm);
protected: