diff options
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index 5651e2ef21..0b60675a6b 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -254,7 +254,14 @@ public: return -1; } + /** + * Determines if the object explicitly defines slc as a varselector + * Returns -1 if not found + */ + int locateVarSelector(SegManager *segMan, Selector slc); + bool isClass() { return (getInfoSelector().offset & SCRIPT_INFO_CLASS); } + Object *getClass(SegManager *segMan); void markAsFreed() { _flags |= OBJECT_FLAG_FREED; } bool isFreed() { return _flags & OBJECT_FLAG_FREED; } |