ScummVM API documentation
vk_script.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef BLADERUNNER_SCRIPT_KIA_H
23 #define BLADERUNNER_SCRIPT_KIA_H
24 
25 #include "bladerunner/script/script.h"
26 
27 namespace BladeRunner {
28 
29 class BladeRunnerEngine;
30 
32  friend class Debugger;
33 
34  int _inScriptCounter;
35  int _calibrationQuestionCounter;
36  int _questionCounter;
37 
38 public:
40 
41  void initialize(int actorId);
42  void calibrate(int actorId);
43  void beginTest(int actorId);
44  void mcCoyAsksQuestion(int actorId, int questionId);
45  void questionAsked(int actorId, int questionId);
46  void shutdown(int actorId, int humanPercentage, int replicantPercentage, int anxiety);
47 
48  bool isInsideScript() const;
49 
50 private:
51  bool SCRIPT_VK_DLL_Initialize(int actorId);
52  void SCRIPT_VK_DLL_Calibrate(int actorId);
53  bool SCRIPT_VK_DLL_Begin_Test(int actorId);
54  void SCRIPT_VK_DLL_McCoy_Asks_Question(int actorId, int questionId);
55  void SCRIPT_VK_DLL_Question_Asked(int actorId, int questionId);
56  void SCRIPT_VK_DLL_Shutdown(int actorId, int humanPercentage, int replicantPercentage, int anxiety);
57 
58  void askLucy(int questionId);
59  void askGrigorian(int questionId);
60  void askDektora(int questionId);
61  void askRunciter(int questionId);
62  void askBulletBob(int questionId);
63  void askCalibrationQuestion1(int actorId, int notUsed);
64  void askCalibrationQuestion2(int actorId, int notUsed);
65  void askCalibrationQuestion3(int actorId, int notUsed);
66 };
67 
68 } // End of namespace BladeRunner
69 
70 #endif
Definition: actor.h:31
Definition: vk_script.h:31
Definition: debugger.h:56
Definition: script.h:34
Definition: bladerunner.h:113