aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/advsys/advsys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/advsys/advsys.cpp')
-rw-r--r--engines/glk/advsys/advsys.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/glk/advsys/advsys.cpp b/engines/glk/advsys/advsys.cpp
index fe02e25181..0c63ff8dfb 100644
--- a/engines/glk/advsys/advsys.cpp
+++ b/engines/glk/advsys/advsys.cpp
@@ -26,10 +26,6 @@
namespace Glk {
namespace AdvSys {
-void execute(int offset) {
- // TODO: Stub
-}
-
bool getInput() {
// TODO: Stub
return false;
@@ -75,8 +71,7 @@ void AdvSys::runGame() {
bool AdvSys::initialize() {
// Create a Glk window for the game
- _window = glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
- if (!_window)
+ if (!GlkInterface::initialize())
return false;
// Load the game's header
@@ -89,10 +84,6 @@ bool AdvSys::initialize() {
void AdvSys::deinitialize() {
}
-void AdvSys::print(const char *msg) {
- glk_put_string_stream(glk_window_get_stream(_window), msg);
-}
-
Common::Error AdvSys::loadGameData(strid_t save) {
return Common::kNoError;
}