aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorMax Horn2008-11-06 17:05:54 +0000
committerMax Horn2008-11-06 17:05:54 +0000
commit40136f25909bd8773cac0f08740a36037395e9a7 (patch)
treebf61db949f9942c10cad667042b1e2403a9b51cd /engines/cine
parent4c8f221fb8f5735932652c3279efd6f2e941d948 (diff)
downloadscummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.tar.gz
scummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.tar.bz2
scummvm-rg350-40136f25909bd8773cac0f08740a36037395e9a7.zip
Switched various Engine APIs to use Common::Error
svn-id: r34916
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/cine.cpp8
-rw-r--r--engines/cine/cine.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index d12ba61480..51f778610a 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -74,7 +74,7 @@ CineEngine::~CineEngine() {
Common::clearAllSpecialDebugLevels();
}
-int CineEngine::init() {
+Common::Error CineEngine::init() {
// Initialize backend
_system->beginGFXTransaction();
initCommonGFX(false);
@@ -91,10 +91,10 @@ int CineEngine::init() {
initialize();
- return 0;
+ return Common::kNoError;
}
-int CineEngine::go() {
+Common::Error CineEngine::go() {
CursorMan.showMouse(true);
mainLoop(1);
@@ -102,7 +102,7 @@ int CineEngine::go() {
delete[] collisionPage;
delete g_sound;
- return 0;
+ return Common::kNoError;
}
int CineEngine::getTimerDelay() const {
diff --git a/engines/cine/cine.h b/engines/cine/cine.h
index ef643a115e..933f692ec2 100644
--- a/engines/cine/cine.h
+++ b/engines/cine/cine.h
@@ -71,8 +71,8 @@ class CineEngine : public Engine {
protected:
// Engine APIs
- virtual int init();
- virtual int go();
+ virtual Common::Error init();
+ virtual Common::Error go();
virtual bool hasFeature(EngineFeature f) const;
void shutdown();