aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamweb.h
diff options
context:
space:
mode:
authorVladimir2011-06-08 01:25:26 +0400
committerAlyssa Milburn2011-06-15 17:32:11 +0200
commit9a1575b9d560ff7ffa5056081072e3b049c0c2c5 (patch)
tree3e0562de1f93a5f7280e00c73a4d243cc645e72d /engines/dreamweb/dreamweb.h
parent1494cdb29597369dcaee6dbbd146f63f916af9c0 (diff)
downloadscummvm-rg350-9a1575b9d560ff7ffa5056081072e3b049c0c2c5.tar.gz
scummvm-rg350-9a1575b9d560ff7ffa5056081072e3b049c0c2c5.tar.bz2
scummvm-rg350-9a1575b9d560ff7ffa5056081072e3b049c0c2c5.zip
DREAMWEB: implemented openfile
Diffstat (limited to 'engines/dreamweb/dreamweb.h')
-rw-r--r--engines/dreamweb/dreamweb.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h
index 96aa61ab50..8669aad5fe 100644
--- a/engines/dreamweb/dreamweb.h
+++ b/engines/dreamweb/dreamweb.h
@@ -26,10 +26,11 @@
#ifndef DREAMWEB_H
#define DREAMWEB_H
-#include "common/scummsys.h"
+#include "common/error.h"
+#include "common/file.h"
#include "common/random.h"
#include "common/rect.h"
-#include "common/error.h"
+#include "common/scummsys.h"
#include "engines/engine.h"
#include "dreamweb/console.h"
@@ -76,10 +77,14 @@ public:
//dreamgen public api:
uint8 randomNumber() { return _rnd.getRandomNumber(255); }
+ void openFile(const Common::String &name);
+
private:
const DreamWebGameDescription *_gameDescription;
Common::RandomSource _rnd;
Common::Point _mouse;
+
+ Common::File _file;
};
} // End of namespace DreamWeb