diff options
author | Peter Kohaut | 2018-01-14 12:12:06 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-01-28 10:57:16 +0100 |
commit | 1e5f9d3078f236f306b5d868bcd52f4e47f7b512 (patch) | |
tree | 0d402af27d75064d60e4674ab3bd4c9ad08759f1 /engines/bladerunner/script/kia.cpp | |
parent | 3a937f19c0a5e347c801c62d345475be082f9e41 (diff) | |
download | scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.tar.gz scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.tar.bz2 scummvm-rg350-1e5f9d3078f236f306b5d868bcd52f4e47f7b512.zip |
BLADERUNNER: Added basic KIA interface
Settings works
Help works
Clue database works
Fixed code for inserting objects into scene
Reorganization of few files
Unification & code formatting of few older files
Diffstat (limited to 'engines/bladerunner/script/kia.cpp')
-rw-r--r-- | engines/bladerunner/script/kia.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/bladerunner/script/kia.cpp b/engines/bladerunner/script/kia.cpp index 587e25d940..e0c875469d 100644 --- a/engines/bladerunner/script/kia.cpp +++ b/engines/bladerunner/script/kia.cpp @@ -23,10 +23,21 @@ #include "bladerunner/script/kia.h" #include "bladerunner/bladerunner.h" +#include "bladerunner/mouse.h" +#include "bladerunner/ui/kia.h" namespace BladeRunner { -void ScriptKIA::SCRIPT_KIA_DLL_Play_Clue_Asset_Script(int a1, int clueId) { +KIAScript::KIAScript(BladeRunnerEngine *vm) : ScriptBase(vm) {} + +void KIAScript::playClueAssetScript(int a1, int clueId) { + _vm->_kia->playerReset(); + _vm->_mouse->disable(); + SCRIPT_KIA_DLL_Play_Clue_Asset_Script(a1, clueId); + _vm->_mouse->enable(); +} + +void KIAScript::SCRIPT_KIA_DLL_Play_Clue_Asset_Script(int a1, int clueId) { int v1; switch (clueId) { case 0: |