aboutsummaryrefslogtreecommitdiff
path: root/saga/saga.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2004-12-22 21:04:50 +0000
committerAndrew Kurushin2004-12-22 21:04:50 +0000
commit3d9784f94d3bc6c425d3180e59d322ab715e6306 (patch)
tree1313b3b88f8a6f9341a72c4fc178dad582f924c5 /saga/saga.cpp
parentab4734dcf60d8f06786cbdd382a7a83ca962103a (diff)
downloadscummvm-rg350-3d9784f94d3bc6c425d3180e59d322ab715e6306.tar.gz
scummvm-rg350-3d9784f94d3bc6c425d3180e59d322ab715e6306.tar.bz2
scummvm-rg350-3d9784f94d3bc6c425d3180e59d322ab715e6306.zip
- rewriten actors action handling (now uses all original flags etc)
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263
Diffstat (limited to 'saga/saga.cpp')
-rw-r--r--saga/saga.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/saga/saga.cpp b/saga/saga.cpp
index 25680a7383..c22e38eb19 100644
--- a/saga/saga.cpp
+++ b/saga/saga.cpp
@@ -45,7 +45,6 @@
#include "saga/isomap.h"
#include "saga/script.h"
#include "saga/scene.h"
-#include "saga/sdata.h"
#include "saga/sndres.h"
#include "saga/sprite.h"
#include "saga/sound.h"
@@ -151,7 +150,6 @@ int SagaEngine::init(GameDetector &detector) {
_sprite = new Sprite(this);
_anim = new Anim(this);
_script = new Script();
- _sdata = new SData();
_interface = new Interface(this); // requires script module
_actor = new Actor(this);
_palanim = new PalAnim(this);
@@ -218,7 +216,7 @@ int SagaEngine::go() {
_previousTicks = _system->getMillis();
- _sprite->loadList(ITE_MAIN_SPRITES, &_mainSprites);
+ _sprite->loadList(RID_ITE_MAIN_SPRITES, &_mainSprites);
// Begin Main Engine Loop
@@ -270,7 +268,6 @@ void SagaEngine::shutdown() {
delete _render;
delete _isoMap;
delete _sndRes;
- delete _sdata;
// Shutdown system modules */
delete _music;
delete _sound;