aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-05-04 15:04:26 +0000
committerMax Horn2009-05-04 15:04:26 +0000
commit3cf4d1d71a5217a1112494e5edf2b8728f05a04f (patch)
tree262e8c8dde968a99d22dd59539a3237b0e71c4d7 /engines/sci/engine
parentc33a875d9f46792f10cc66d8ac68623ed81f1cb2 (diff)
downloadscummvm-rg350-3cf4d1d71a5217a1112494e5edf2b8728f05a04f.tar.gz
scummvm-rg350-3cf4d1d71a5217a1112494e5edf2b8728f05a04f.tar.bz2
scummvm-rg350-3cf4d1d71a5217a1112494e5edf2b8728f05a04f.zip
SCI: Added doxygen comment to MemObject::MemObject
svn-id: r40303
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.h b/engines/sci/engine/vm.h
index 5576d98871..a9313cc56c 100644
--- a/engines/sci/engine/vm.h
+++ b/engines/sci/engine/vm.h
@@ -56,14 +56,21 @@ struct MemObject /* : public Common::Serializable */ {
int _segmgrId; /**< Internal value used by the seg_manager's hash map */
public:
+ static MemObject *createMemObject(MemObjectType type);
+
+public:
virtual ~MemObject() {}
+ /**
+ * Dereferences a raw memory pointer.
+ * @param reg reference to dereference
+ * @param size if not NULL, set to the theoretical maximum size of the referenced data block
+ * @return the data block referenced
+ */
virtual byte *dereference(reg_t pointer, int *size);
inline MemObjectType getType() const { return _type; }
inline int getSegMgrId() const { return _segmgrId; }
-
- static MemObject *createMemObject(MemObjectType type);
};