ScummVM API documentation
tspit.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 RIVEN_STACKS_TSPIT_H
23 #define RIVEN_STACKS_TSPIT_H
24 
25 #include "mohawk/riven_stacks/domespit.h"
26 
27 #include "common/rect.h"
28 
29 namespace Mohawk {
30 namespace RivenStacks {
31 
35 class TSpit : public DomeSpit {
36 public:
38 
39  // External commands - Telescope
40  void xtexterior300_telescopedown(const ArgumentArray &args);
41  void xtexterior300_telescopeup(const ArgumentArray &args);
42  void xtopenfissure();
43 
44  // External commands - Telescope cover buttons. Button is the button number (1...5).
45  void xtisland390_covercombo(const ArgumentArray &args); // Param1: button
46 
47  // External commands - Atrus' Journal and Trap Book are added to inventory
48  void xtatrusgivesbooks(const ArgumentArray &args);
49 
50  // External commands - Trap Book is removed from inventory
51  void xtchotakesbook(const ArgumentArray &args);
52  void xthideinventory(const ArgumentArray &args);
53 
54  // External commands - Marble Puzzle
55  void xt7500_checkmarbles(const ArgumentArray &args);
56  void xt7600_setupmarbles(const ArgumentArray &args);
57  void xt7800_setup(const ArgumentArray &args);
58  void xdrawmarbles(const ArgumentArray &args);
59  void xtakeit(const ArgumentArray &args);
60 
61  // External commands - Dome
62  void xtscpbtn(const ArgumentArray &args);
63  void xtisland4990_domecheck(const ArgumentArray &args);
64  void xtisland5056_opencard(const ArgumentArray &args);
65  void xtisland5056_resetsliders(const ArgumentArray &args);
66  void xtisland5056_slidermd(const ArgumentArray &args);
67  void xtisland5056_slidermw(const ArgumentArray &args);
68 
69  // External commands - Demo-specific
70  void xtatboundary(const ArgumentArray &args);
71 
72 private:
73  void drawMarbles();
74  void setMarbleHotspots();
75 
76  Common::Array<Common::Rect> _marbleBaseHotspots;
77 };
78 
79 } // End of namespace RivenStacks
80 } // End of namespace Mohawk
81 
82 #endif
Definition: tspit.h:35
Definition: riven.h:91
Definition: domespit.h:30
Definition: bitmap.h:32