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:
parent
63b9cfeb0a
commit
a33b9e677a
11 changed files with 236 additions and 26 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue