aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/touche.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/touche.h')
-rw-r--r--engines/touche/touche.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/touche/touche.h b/engines/touche/touche.h
index 9d66d839a0..b5256a9d8f 100644
--- a/engines/touche/touche.h
+++ b/engines/touche/touche.h
@@ -362,8 +362,8 @@ public:
virtual ~ToucheEngine();
// Engine APIs
- virtual int init();
- virtual int go();
+ virtual Common::Error init();
+ virtual Common::Error go();
virtual bool hasFeature(EngineFeature f) const;
virtual void syncSoundSettings();
@@ -497,8 +497,8 @@ protected:
void saveGameStateData(Common::WriteStream *stream);
void loadGameStateData(Common::ReadStream *stream);
- int saveGameState(int num, const char *description);
- int loadGameState(int num);
+ Common::Error saveGameState(int num, const char *description);
+ Common::Error loadGameState(int num);
void readGameStateDescription(int num, char *description, int len);
void generateGameStateFileName(int num, char *dst, int len, bool prefixOnly = false) const;
int getGameStateFileSlot(const char *filename) const;