aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/agi.cpp')
-rw-r--r--engines/agi/agi.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index d9fe32ba23..bc3cd86e7c 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -46,8 +46,6 @@
#include "agi/menu.h"
#include "agi/sound.h"
-
-
namespace Agi {
static uint32 g_tickTimer;
@@ -495,7 +493,7 @@ int AgiEngine::agiDetectGame() {
assert(_gameDescription != NULL);
- if(getVersion() <= 0x2999) {
+ if (getVersion() <= 0x2999) {
_loader = new AgiLoader_v2(this);
} else {
_loader = new AgiLoader_v3(this);
@@ -521,6 +519,7 @@ int AgiEngine::agiLoadResource(int r, int n) {
int i;
i = _loader->loadResource(r, n);
+
return i;
}
@@ -602,7 +601,11 @@ AgiButtonStyle::AgiButtonStyle(Common::RenderMode renderMode) {
setAmigaStyle(renderMode == Common::kRenderAmiga);
}
-AgiEngine::AgiEngine(OSystem *syst) : Engine(syst) {
+AgiBase::AgiBase(OSystem *syst) : Engine(syst) {
+
+}
+
+AgiEngine::AgiEngine(OSystem *syst) : AgiBase(syst) {
// Setup mixer
if (!_mixer->isReady()) {