aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-01 02:05:29 +0200
committerWillem Jan Palenstijn2015-12-23 21:33:45 +0100
commit24684fe321f337caf96af917a3b7e647e8fd113b (patch)
tree8c6577de970def59532b6280b69b5964e4bf7982 /engines/lab/resource.h
parent51d04a81875ba86ce3e882fc0e005e1142e05a8e (diff)
downloadscummvm-rg350-24684fe321f337caf96af917a3b7e647e8fd113b.tar.gz
scummvm-rg350-24684fe321f337caf96af917a3b7e647e8fd113b.tar.bz2
scummvm-rg350-24684fe321f337caf96af917a3b7e647e8fd113b.zip
LAB: Move getText to the Resource class
Also, make getFont() error out when it can't find a font, and get rid of BigMsgFont
Diffstat (limited to 'engines/lab/resource.h')
-rw-r--r--engines/lab/resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lab/resource.h b/engines/lab/resource.h
index 841aa09564..b9bdbbba8d 100644
--- a/engines/lab/resource.h
+++ b/engines/lab/resource.h
@@ -102,7 +102,8 @@ public:
bool readRoomData(const char *fileName);
bool readInventory(const char *fileName);
bool readViews(uint16 roomNum);
- TextFont *getFont(const char *filename);
+ TextFont *getFont(const char *fileName);
+ char *getText(const char *fileName);
Common::String getStaticText(byte index) const { return _staticText[index]; }
private: