ScummVM API documentation
scalpel.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 SHERLOCK_SCALPEL_H
23 #define SHERLOCK_SCALPEL_H
24 
25 #include "sherlock/sherlock.h"
26 #include "sherlock/scalpel/scalpel_darts.h"
27 
28 namespace Sherlock {
29 
30 namespace Scalpel {
31 
32 extern uint BUTTON_TOP;
33 extern uint BUTTON_MIDDLE;
34 extern uint BUTTON_BOTTOM;
35 extern uint COMMAND_FOREGROUND;
36 extern uint COMMAND_HIGHLIGHTED;
37 extern uint COMMAND_NULL;
38 extern uint INFO_FOREGROUND;
39 extern uint INFO_BACKGROUND;
40 extern uint INV_FOREGROUND;
41 extern uint INV_BACKGROUND;
42 extern uint PEN_COLOR;
43 extern uint INFO_BLACK;
44 extern uint BORDER_COLOR;
45 extern uint COMMAND_BACKGROUND;
46 extern uint BUTTON_BACKGROUND;
47 extern uint TALK_FOREGROUND;
48 extern uint TALK_NULL;
49 
50 class ScalpelEngine : public SherlockEngine {
51 private:
52  Darts *_darts;
53  int _mapResult;
54 
58  void setupGraphics();
59 
63  bool show3DOSplash();
64 
68  bool showCityCutscene();
69  bool showCityCutscene3DO();
70 
74  bool showAlleyCutscene();
75  bool showAlleyCutscene3DO();
76 
80  bool showStreetCutscene();
81  bool showStreetCutscene3DO();
82 
86  bool showOfficeCutscene();
87  bool showOfficeCutscene3DO();
88 
92  bool scrollCredits();
93 
99  void loadInventory();
100 
104  void showLBV(const Common::Path &filename);
105 protected:
109  void initialize() override;
110 
114  void showOpening() override;
115 
119  void startScene() override;
120 public:
121  ScalpelEngine(OSystem *syst, const SherlockGameDescription *gameDesc);
122  ~ScalpelEngine() override;
123 
127  void eraseBrumwellMirror();
128 
132  void doBrumwellMirror();
133 
137  void flushBrumwellMirror();
138 
142  void showScummVMSaveDialog();
143 
148 
152  bool play3doMovie(const Common::Path &filename, const Common::Point &pos, bool isPortrait = false);
153 };
154 
155 } // End of namespace Scalpel
156 
157 } // End of namespace Sherlock
158 
159 #endif
Definition: scalpel.h:50
Definition: detection.h:34
Definition: animation.h:29
bool play3doMovie(const Common::Path &filename, const Common::Point &pos, bool isPortrait=false)
Definition: path.h:52
Definition: sherlock.h:76
Definition: rect.h:45
Definition: scalpel_darts.h:33
Definition: system.h:161