aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/scene.cpp')
-rw-r--r--engines/saga/scene.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp
index b1e239677c..086ec4be4c 100644
--- a/engines/saga/scene.cpp
+++ b/engines/saga/scene.cpp
@@ -140,6 +140,13 @@ Scene::Scene(SagaEngine *vm) : _vm(vm) {
uint32 resourceId;
int i;
+ // Do nothing for SAGA2 games for now
+ if (_vm->isSaga2()) {
+ _inGame = false;
+ _sceneLoaded = false;
+ return;
+ }
+
// Load scene module resource context
_sceneContext = _vm->_resource->getContext(GAME_RESOURCEFILE);
if (_sceneContext == NULL) {
@@ -220,6 +227,11 @@ Scene::Scene(SagaEngine *vm) : _vm(vm) {
}
Scene::~Scene() {
+ // Do nothing for SAGA2 games for now
+ if (_vm->isSaga2()) {
+ return;
+ }
+
delete _actionMap;
delete _objectMap;
free(_sceneLUT);
@@ -277,6 +289,12 @@ void Scene::startScene() {
case GID_IHNM:
IHNMStartProc();
break;
+ case GID_DINO:
+ // TODO
+ break;
+ case GID_FTA2:
+ FTA2StartProc();
+ break;
default:
error("Scene::start(): Error: Can't start game... gametype not supported");
break;
@@ -1146,6 +1164,11 @@ void Scene::processSceneResources() {
}
void Scene::draw() {
+ // Do nothing for SAGA2 games for now
+ if (_vm->isSaga2()) {
+ return;
+ }
+
if (_sceneDescription.flags & kSceneFlagISO) {
_vm->_isoMap->adjustScroll(false);
_vm->_isoMap->draw();