aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp8
-rw-r--r--engines/agos/agos.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 3968646e63..e7669941b3 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -528,7 +528,7 @@ AGOSEngine::AGOSEngine(OSystem *syst)
syst->getEventManager()->registerRandomSource(_rnd, "agos");
}
-int AGOSEngine::init() {
+Common::Error AGOSEngine::init() {
if (getGameId() == GID_DIMP) {
_screenWidth = 496;
_screenHeight = 400;
@@ -663,7 +663,7 @@ int AGOSEngine::init() {
if (gDebugLevel == 5)
_startVgaScript = true;
- return 0;
+ return Common::kNoError;
}
static const uint16 initialVideoWindows_Simon[20] = {
@@ -958,7 +958,7 @@ void AGOSEngine::pause() {
}
}
-int AGOSEngine::go() {
+Common::Error AGOSEngine::go() {
loadGamePcFile();
addTimeEvent(0, 1);
@@ -1023,7 +1023,7 @@ int AGOSEngine::go() {
delay(100);
}
- return 0;
+ return Common::kNoError;
}
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 4d1349b942..ada24fc032 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -164,8 +164,8 @@ class AGOSEngine : public Engine {
friend class MoviePlayer;
// Engine APIs
- virtual int init();
- virtual int go();
+ virtual Common::Error init();
+ virtual Common::Error go();
virtual GUI::Debugger *getDebugger();
virtual bool hasFeature(EngineFeature f) const;
virtual void syncSoundSettings();