aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.h
diff options
context:
space:
mode:
authorSven Hesse2006-08-12 09:16:08 +0000
committerSven Hesse2006-08-12 09:16:08 +0000
commit1c4715b71f79acede6b3758cfd16881bad14e23e (patch)
treecf69fad6a6ab92b973405b058f035f3c00223033 /engines/gob/gob.h
parentde9ba3adeec3a89a1155685d8e3fc589962f1d11 (diff)
downloadscummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.tar.gz
scummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.tar.bz2
scummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.zip
- Some more goblins-handling functions
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins (finally) move. Also, the correct music is played in the first screen. - Found the hook for the menu - On freeing a sound slot, only stop the playing music if it's in the slot to free svn-id: r23700
Diffstat (limited to 'engines/gob/gob.h')
-rw-r--r--engines/gob/gob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/gob.h b/engines/gob/gob.h
index ca84d2bed3..95880ef2dd 100644
--- a/engines/gob/gob.h
+++ b/engines/gob/gob.h
@@ -55,6 +55,7 @@ class Music;
#define VAR(var) VAR_OFFSET((var) << 2)
#define VAR_ADDRESS(var) (&VAR(var))
+//#define WRITE_VAR_OFFSET(offs, val) _vm->writeVarDebug(offs, val)
#define WRITE_VAR_OFFSET(offs, val) (VAR_OFFSET(offs) = (val))
#define WRITE_VAR(var, val) WRITE_VAR_OFFSET((var) << 2, (val))
@@ -120,6 +121,8 @@ public:
Util *_util;
Inter *_inter;
Music *_music;
+
+ void writeVarDebug(uint32 offs, uint32 v);
};
} // End of namespace Gob