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
28namespace Sherlock {
29
30namespace Scalpel {
31
32extern uint BUTTON_TOP;
33extern uint BUTTON_MIDDLE;
34extern uint BUTTON_BOTTOM;
35extern uint COMMAND_FOREGROUND;
36extern uint COMMAND_HIGHLIGHTED;
37extern uint COMMAND_NULL;
38extern uint INFO_FOREGROUND;
39extern uint INFO_BACKGROUND;
40extern uint INV_FOREGROUND;
41extern uint INV_BACKGROUND;
42extern uint PEN_COLOR;
43extern uint INFO_BLACK;
44extern uint BORDER_COLOR;
45extern uint COMMAND_BACKGROUND;
46extern uint BUTTON_BACKGROUND;
47extern uint TALK_FOREGROUND;
48extern uint TALK_NULL;
49
51private:
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);
105protected:
109 void initialize() override;
110
114 void showOpening() override;
115
119 void startScene() override;
120public:
121 ScalpelEngine(OSystem *syst, const SherlockGameDescription *gameDesc);
122 ~ScalpelEngine() override;
123
128
133
138
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: path.h:52
Definition: system.h:166
Definition: scalpel_darts.h:33
Definition: scalpel.h:50
bool play3doMovie(const Common::Path &filename, const Common::Point &pos, bool isPortrait=false)
Definition: sherlock.h:206
Definition: rect.h:144
Definition: detection.h:34