From 7a16dbdd505036f717c28ccfc0d1a290882b029b Mon Sep 17 00:00:00 2001 From: Joseph-Eugene Winzer Date: Fri, 16 Jun 2017 23:24:39 +0200 Subject: SUPERNOVA: Adds isSectionVisible() to Object Class --- engines/supernova/rooms.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h index 4e53d69c66..a659c4cb9a 100644 --- a/engines/supernova/rooms.h +++ b/engines/supernova/rooms.h @@ -23,6 +23,9 @@ public: int getFileNumber() const { return _fileNumber; } + bool isSectionVisible(size_t index) const { + return _shown[index]; + } Object *getObject(size_t index) { return &_objectState[index]; } -- cgit v1.2.3