diff options
author | Eric Fry | 2018-06-26 18:45:29 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 3d9f5ed20ff182ee0cbb621f2bcf0b98a44e384d (patch) | |
tree | 48664e74ab7409ce014c50d73ed731927fe822a0 /engines/illusions/bbdou/illusions_bbdou.cpp | |
parent | d77dd6c14ab6c41513ed282597a6da82289061e8 (diff) | |
download | scummvm-rg350-3d9f5ed20ff182ee0cbb621f2bcf0b98a44e384d.tar.gz scummvm-rg350-3d9f5ed20ff182ee0cbb621f2bcf0b98a44e384d.tar.bz2 scummvm-rg350-3d9f5ed20ff182ee0cbb621f2bcf0b98a44e384d.zip |
ILLUSIONS: Replace spaces with tabs
Replace while(1) with do..while loop
Removed dead code
Renamed FP16 to FixedPoint16 to improve readability
Diffstat (limited to 'engines/illusions/bbdou/illusions_bbdou.cpp')
-rw-r--r-- | engines/illusions/bbdou/illusions_bbdou.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/illusions/bbdou/illusions_bbdou.cpp b/engines/illusions/bbdou/illusions_bbdou.cpp index f3845a69ee..06cfc2891a 100644 --- a/engines/illusions/bbdou/illusions_bbdou.cpp +++ b/engines/illusions/bbdou/illusions_bbdou.cpp @@ -168,7 +168,7 @@ Common::Error IllusionsEngine_BBDOU::run() { _screen->setColorKey1(0xF81F); - initInput(); + initInput(); initUpdateFunctions(); @@ -188,10 +188,10 @@ Common::Error IllusionsEngine_BBDOU::run() { ConfMan.registerDefault("talkspeed", 240); _subtitleDuration = (uint16)ConfMan.getInt("talkspeed"); - _globalSceneId = 0x00010003; - + _globalSceneId = 0x00010003; + setDefaultTextCoords(); - + _resSys->loadResource(0x000D0001, 0, 0); _doScriptThreadInit = false; @@ -214,7 +214,7 @@ Common::Error IllusionsEngine_BBDOU::run() { delete _stack; delete _scriptOpcodes; - delete _soundMan; + delete _soundMan; delete _updateFunctions; delete _threads; delete _triggerFunctions; @@ -230,9 +230,9 @@ Common::Error IllusionsEngine_BBDOU::run() { delete _resSys; delete _resReader; delete _dict; - + debug("Ok"); - + return Common::kNoError; } |