aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/drives.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/drives.h')
-rw-r--r--engines/tinsel/drives.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/tinsel/drives.h b/engines/tinsel/drives.h
index 4441466f82..339f4384d0 100644
--- a/engines/tinsel/drives.h
+++ b/engines/tinsel/drives.h
@@ -27,6 +27,7 @@
#ifndef TINSEL_DRIVES_H
#define TINSEL_DRIVES_H
+#include "common/file.h"
#include "tinsel/dw.h"
#include "tinsel/coroutine.h"
@@ -44,6 +45,8 @@ namespace Tinsel {
#define fAllCds (fCd1|fCd2|fCd3|fCd4|fCd5|fCd6|fCd7|fCd8)
+extern char currentCD;
+
void DoCdChange(void);
void CdCD(CORO_PARAM);
@@ -58,6 +61,15 @@ void SetNextCD(int cdNumber);
bool GotoCD(void);
+class TinselFile: public Common::File {
+private:
+ static bool _warningShown;
+public:
+ virtual bool open(const Common::String &filename);
+ char getCdNumber();
+};
+
+
} // end of namespace Tinsel
#endif /* TINSEL_DRIVES_H */