22 #ifndef BLADERUNNER_VK_H 23 #define BLADERUNNER_VK_H 25 #include "common/array.h" 26 #include "common/str.h" 28 #include "graphics/surface.h" 32 class BladeRunnerEngine;
45 int relatedSentenceId;
64 bool _calibrationStarted;
69 int _ambientVolumeFactorOutsideVK;
70 int _musicVolumeFactorOutsideVK;
76 int _calibrationRatio;
77 int _calibrationCounter;
79 int _humanProbability;
81 int _humanGaugeTarget;
83 uint32 _timeNextHumanGaugeStepDiff;
84 uint32 _timeNextHumanGaugeStepStart;
86 int _replicantProbability;
88 int _replicantGaugeTarget;
89 int _replicantGaugeDelta;
90 uint32 _timeNextReplicantGaugeStepDiff;
91 uint32 _timeNextReplicantGaugeStepStart;
97 int _needleValueTarget;
98 int _needleValueDelta;
99 uint32 _timeNextNeedleStepStart;
100 uint32 _timeNextNeedleOscillateStart;
101 uint32 _timeNeedleReturnStart;
104 uint32 _timeCloseStart;
107 uint32 _timeNextBlinkStart;
108 uint32 _timeNextGaugesBlinkStart;
112 int _adjustmentTarget;
113 int _adjustmentDelta;
114 uint32 _timeNextAdjustementStepStart;
116 int _eyeLineSelected;
123 uint32 _timeNextEyeLineStepStart;
124 uint32 _timeNextEyeLineStart;
130 void open(
int actorId,
int calibrationRatio);
138 void handleMouseDown(
int mouseX,
int mouseY,
bool mainButton);
139 void handleMouseUp(
int mouseX,
int mouseY,
bool mainButton);
141 void playSpeechLine(
int actorId,
int sentenceId,
float pauseDuration);
142 void addQuestion(
int intensity,
int sentenceId,
int relatedSentenceId);
143 void subjectReacts(
int intensity,
int humanResponse,
int replicantResponse,
int anxiety);
144 void eyeAnimates(
int loopId);
147 static void mouseDownCallback(
int buttonId,
void *callbackData);
148 static void mouseUpCallback(
int buttonId,
void *callbackData);
149 static void loopEnded(
void *callbackData,
int frame,
int loopId);
167 void startAdjustement();
168 void stopAdjustement();
169 void animateAdjustment(
int target);
170 void setAdjustment(
int x);
171 void setAdjustmentFromMouse();
173 void findRelatedQuestionBySentenceId(
int inSentenceId,
int &outRelatedQuestionId,
int &outRelatedIntensity);
174 void askQuestion(
int intensity);
Definition: vqa_player.h:45
Definition: vk_script.h:31
Definition: ui_image_picker.h:40
Definition: debugger.h:56
Definition: bladerunner.h:113