diff options
author | johndoe123 | 2014-03-19 20:39:16 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 48ef46c02dfeb34706f1060f9443bb31c1a56093 (patch) | |
tree | a310cd0d0cf07f4ac79bea72988e9e208a96c6ae /engines/illusions/illusions.cpp | |
parent | e881db073200fb2b3d7087c076ff3da77135516a (diff) | |
download | scummvm-rg350-48ef46c02dfeb34706f1060f9443bb31c1a56093.tar.gz scummvm-rg350-48ef46c02dfeb34706f1060f9443bb31c1a56093.tar.bz2 scummvm-rg350-48ef46c02dfeb34706f1060f9443bb31c1a56093.zip |
ILLUSIONS: Implement more script opcodes and related functions
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r-- | engines/illusions/illusions.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp index 2a92d94d35..50e1bfa78b 100644 --- a/engines/illusions/illusions.cpp +++ b/engines/illusions/illusions.cpp @@ -138,19 +138,28 @@ Common::Error IllusionsEngine::run() { #endif #if 1 - // Actor/graphics test + // Actor/graphics/script test /* TODO 0x0010000B LinkIndex 0x00060AAB 0x00060556 */ + _resSys->loadResource(0x000D0001, 0, 0); _resSys->loadResource(0x0011000B, 0, 0); _resSys->loadResource(0x0010000B, 0, 0); + +#if 0 _controls->placeActor(0x00050009, Common::Point(0, 0), 0x00060573, 0x00040001, 0); Control *control = *_controls->_controls.begin(); control->setActorFrameIndex(1); control->appearActor(); +#endif + + _scriptMan->startScriptThread(0x00020004, 0, 0, 0, 0); + //_camera->panToPoint(Common::Point(800, 0), 500, 0); + while (!shouldQuit()) { + _scriptMan->_threads->updateThreads(); updateActors(); updateSequences(); updateGraphics(); @@ -358,4 +367,13 @@ int IllusionsEngine::convertPanXCoord(int16 x) { return 0; } +Common::Point IllusionsEngine::getNamedPointPosition(uint32 namedPointId) { + // TODO + return Common::Point(320, 240); +} + +void IllusionsEngine::playVideo(uint32 videoId, uint32 objectId, uint32 priority, uint32 threadId) { + +} + } // End of namespace Illusions |