ASYLUM: Added the ActionArray type. Slowly working on implementing this, but it looks to be what ties the actionlist to the character.

Also started implementing more standardized music handling.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@393 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
Alex Bevilacqua 2009-11-27 02:02:00 +00:00 committed by Eugene Sandulenko
parent 63b9cfeb0a
commit a33b9e677a
No known key found for this signature in database
GPG key ID: 014D387312D34F08
11 changed files with 236 additions and 26 deletions

View file

@ -55,8 +55,6 @@ AsylumEngine::AsylumEngine(OSystem *system, Common::Language language)
Common::enableDebugChannel("Scripts");
g_eventRec.registerRandomSource(_rnd, "asylum");
memset(_gameFlags, 0, 1512);
}
AsylumEngine::~AsylumEngine() {
@ -70,6 +68,7 @@ AsylumEngine::~AsylumEngine() {
delete _screen;
delete _encounter;
delete _text;
delete _actionArray;
}
Common::Error AsylumEngine::run() {
@ -95,6 +94,9 @@ Common::Error AsylumEngine::init() {
_introPlaying = false;
memset(_gameFlags, 0, 1512);
_actionArray = new ActionArray(this);
return Common::kNoError;
}