aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/tads
diff options
context:
space:
mode:
authorPaul Gilbert2019-01-02 23:13:13 -0800
committerPaul Gilbert2019-01-02 23:13:13 -0800
commit85816c8a54d77423c6400e41da93f62fe1f948ff (patch)
tree7bbfc83db905b320a569e093f9e52849339011c6 /engines/glk/tads
parent8d6909608d3faff88a43408b01097a070c45db21 (diff)
downloadscummvm-rg350-85816c8a54d77423c6400e41da93f62fe1f948ff.tar.gz
scummvm-rg350-85816c8a54d77423c6400e41da93f62fe1f948ff.tar.bz2
scummvm-rg350-85816c8a54d77423c6400e41da93f62fe1f948ff.zip
GLK: Make a _gameFile field in the base Glk engine
Diffstat (limited to 'engines/glk/tads')
-rw-r--r--engines/glk/tads/tads2/tads2.cpp2
-rw-r--r--engines/glk/tads/tads2/tads2.h2
-rw-r--r--engines/glk/tads/tads3/tads3.cpp2
-rw-r--r--engines/glk/tads/tads3/tads3.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/tads/tads2/tads2.cpp b/engines/glk/tads/tads2/tads2.cpp
index 79a36fa0ff..a772b44aed 100644
--- a/engines/glk/tads/tads2/tads2.cpp
+++ b/engines/glk/tads/tads2/tads2.cpp
@@ -30,7 +30,7 @@ TADS2::TADS2(OSystem *syst, const GlkGameDescription &gameDesc) : OS(syst, gameD
cmap_init_default();
}
-void TADS2::runGame(Common::SeekableReadStream *gameFile) {
+void TADS2::runGame() {
errcxdef errctx;
errctx.errcxlgc = &errctx;
errctx.errcxfp = nullptr;
diff --git a/engines/glk/tads/tads2/tads2.h b/engines/glk/tads/tads2/tads2.h
index f0c42b3574..2472929840 100644
--- a/engines/glk/tads/tads2/tads2.h
+++ b/engines/glk/tads/tads2/tads2.h
@@ -167,7 +167,7 @@ public:
/**
* Execute the game
*/
- virtual void runGame(Common::SeekableReadStream *gameFile) override;
+ virtual void runGame() override;
/**
* Returns the running interpreter type
diff --git a/engines/glk/tads/tads3/tads3.cpp b/engines/glk/tads/tads3/tads3.cpp
index 911e87fd2b..10fb602fe2 100644
--- a/engines/glk/tads/tads3/tads3.cpp
+++ b/engines/glk/tads/tads3/tads3.cpp
@@ -29,7 +29,7 @@ namespace TADS3 {
TADS3::TADS3(OSystem *syst, const GlkGameDescription &gameDesc) : TADS(syst, gameDesc) {
}
-void TADS3::runGame(Common::SeekableReadStream *gameFile) {
+void TADS3::runGame() {
// TODO
}
diff --git a/engines/glk/tads/tads3/tads3.h b/engines/glk/tads/tads3/tads3.h
index 2fc4961738..45a3f0933f 100644
--- a/engines/glk/tads/tads3/tads3.h
+++ b/engines/glk/tads/tads3/tads3.h
@@ -42,7 +42,7 @@ public:
/**
* Execute the game
*/
- virtual void runGame(Common::SeekableReadStream *gameFile) override;
+ virtual void runGame() override;
/**
* Returns the running interpreter type