diff options
Diffstat (limited to 'engines/lab/resource.h')
-rw-r--r-- | engines/lab/resource.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/lab/resource.h b/engines/lab/resource.h index 4826558af0..37f8b4dae0 100644 --- a/engines/lab/resource.h +++ b/engines/lab/resource.h @@ -101,13 +101,14 @@ public: bool readRoomData(const char *fileName); InventoryData *readInventory(const char *fileName); bool readViews(uint16 roomNum); + void freeViews(uint16 roomNum); TextFont *getFont(const char *fileName); - char *getText(const char *fileName); + Common::String getText(const char *fileName); Common::String getStaticText(byte index) const { return _staticText[index]; } private: LabEngine *_vm; - char *readString(Common::File *file); + Common::String readString(Common::File *file); int16 *readConditions(Common::File *file); RuleList *readRule(Common::File *file); Action *readAction(Common::File *file); |