diff options
author | Thomas Fach-Pedersen | 2017-07-31 00:11:00 +0200 |
---|---|---|
committer | Thomas Fach-Pedersen | 2017-07-31 00:15:33 +0200 |
commit | d49bddfec6f4138aea1e44c8e61160276ebe20fd (patch) | |
tree | 8f8026d35dac00abc3e6961a8ab6a7764d4d780c /engines/bladerunner/script | |
parent | 42b469d0e802b81f1c4f94d11313ae8214d91c8e (diff) | |
download | scummvm-rg350-d49bddfec6f4138aea1e44c8e61160276ebe20fd.tar.gz scummvm-rg350-d49bddfec6f4138aea1e44c8e61160276ebe20fd.tar.bz2 scummvm-rg350-d49bddfec6f4138aea1e44c8e61160276ebe20fd.zip |
BLADERUNNER: Add Spinner support
Diffstat (limited to 'engines/bladerunner/script')
-rw-r--r-- | engines/bladerunner/script/script.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/engines/bladerunner/script/script.cpp b/engines/bladerunner/script/script.cpp index 9fcfb252c6..ba78a42b4c 100644 --- a/engines/bladerunner/script/script.cpp +++ b/engines/bladerunner/script/script.cpp @@ -43,6 +43,7 @@ #include "bladerunner/scene_objects.h" #include "bladerunner/slice_animations.h" #include "bladerunner/slice_renderer.h" +#include "bladerunner/spinner.h" #include "bladerunner/text_resource.h" #include "bladerunner/vector.h" #include "bladerunner/waypoints.h" @@ -1071,22 +1072,15 @@ bool ScriptBase::SDB_Add_Other_Clue(int suspectId, int clueId) { } void ScriptBase::Spinner_Set_Selectable_Destination_Flag(int a1, int a2) { - //TODO - warning("Spinner_Set_Selectable_Destination_Flag(%d, %d)", a1, a2); + _vm->_spinner->setSelectableDestinationFlag(a1, a2); } // ScriptBase::Spinner_Query_Selectable_Destination_Flag int ScriptBase::Spinner_Interface_Choose_Dest(int a1, int a2) { - //TODO - warning("Spinner_Interface_Choose_Dest(%d, %d)", a1, a2); - return -1; + return _vm->_spinner->interfaceChooseDest(a1, a2); } -// ScriptBase::Spinner_Set_Selectable_Destination_Flag -// ScriptBase::Spinner_Query_Selectable_Destination_Flag -// ScriptBase::Spinner_Interface_Choose_Dest - void ScriptBase::ESPER_Flag_To_Activate() { //TODO warning("ESPER_Flag_To_Activate()"); |