diff options
Diffstat (limited to 'engines/bladerunner/ui/kia.h')
-rw-r--r-- | engines/bladerunner/ui/kia.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/engines/bladerunner/ui/kia.h b/engines/bladerunner/ui/kia.h index 0612234db1..b5be9a7e08 100644 --- a/engines/bladerunner/ui/kia.h +++ b/engines/bladerunner/ui/kia.h @@ -25,14 +25,12 @@ #include "common/str.h" +#include "graphics/surface.h" + namespace Common { struct KeyState; } -namespace Graphics { -struct Surface; -} - namespace BladeRunner { class BladeRunnerEngine; @@ -78,18 +76,18 @@ class KIA { BladeRunnerEngine *_vm; - int _forceOpen; int _transitionId; - int _playerVqaTimeLast; - VQAPlayer *_playerVqaPlayer; - int _playerVqaFrame; - int _playerVisualizerState; - int _playerPhotographId; - Shape *_playerPhotograph; - int _playerSliceModelId; - float _playerSliceModelAngle; - int _timeLast; + int _playerVqaTimeLast; + VQAPlayer *_playerVqaPlayer; + int _playerVqaFrame; + int _playerVisualizerState; + int _playerPhotographId; + Shape *_playerPhotograph; + int _playerSliceModelId; + float _playerSliceModelAngle; + Graphics::Surface _playerImage; + int _timeLast; ActorDialogueQueueEntry _playerActorDialogueQueue[kPlayerActorDialogueQueueCapacity]; int _playerActorDialogueQueuePosition; @@ -117,9 +115,11 @@ class KIA { int _pogoPos; - byte *_thumbnail; + Graphics::Surface _thumbnail; public: + bool _forceOpen; + KIALog *_log; KIAScript *_script; KIAShapes *_shapes; @@ -147,6 +147,7 @@ public: void playActorDialogue(int actorId, int sentenceId); void playSliceModel(int sliceModelId); void playPhotograph(int photographId); + void playImage(const Graphics::Surface &image); private: static void mouseDownCallback(int buttonId, void *callbackData); |