aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/resource.h')
-rw-r--r--engines/lab/resource.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/lab/resource.h b/engines/lab/resource.h
index d41859e9f5..841aa09564 100644
--- a/engines/lab/resource.h
+++ b/engines/lab/resource.h
@@ -95,7 +95,7 @@ enum StaticText {
class Resource {
public:
- Resource();
+ Resource(LabEngine *vm);
~Resource() {}
Common::File *openDataFile(const char * fileName, uint32 fileHeader);
@@ -106,6 +106,7 @@ public:
Common::String getStaticText(byte index) const { return _staticText[index]; }
private:
+ LabEngine *_vm;
char *readString(Common::File *file);
int16 *readConditions(Common::File *file);
RuleList *readRule(Common::File *file);
@@ -117,8 +118,6 @@ private:
Common::String _staticText[48];
};
-extern Resource *g_resource;
-
} // End of namespace Lab
#endif /* LAB_RESOURCE_H */