ScummVM API documentation
jspit.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_JSPIT_H
23#define RIVEN_STACKS_JSPIT_H
24
25#include "mohawk/riven_stacks/domespit.h"
26#include "mohawk/riven_video.h"
27
28namespace Mohawk {
29namespace RivenStacks {
30
34class JSpit : public DomeSpit {
35public:
37
38 // RivenStack API
39 void installCardTimer() override;
40
41 // External commands - Rebel Tunnel Puzzle
42 void xreseticons(const ArgumentArray &args);
43 void xicon(const ArgumentArray &args);
44 void xcheckicons(const ArgumentArray &args);
45 void xtoggleicon(const ArgumentArray &args);
46 void xjtunnel103_pictfix(const ArgumentArray &args);
47 void xjtunnel104_pictfix(const ArgumentArray &args);
48 void xjtunnel105_pictfix(const ArgumentArray &args);
49 void xjtunnel106_pictfix(const ArgumentArray &args);
50
51 // External commands - Lower the gallows carriage
52 void xvga1300_carriage(const ArgumentArray &args);
53
54 // External commands - Dome
55 void xjdome25_resetsliders(const ArgumentArray &args);
56 void xjdome25_slidermd(const ArgumentArray &args);
57 void xjdome25_slidermw(const ArgumentArray &args);
58 void xjscpbtn(const ArgumentArray &args);
59 void xjisland3500_domecheck(const ArgumentArray &args);
60
61 // External commands - Whark Elevator
62 void xhandlecontroldown(const ArgumentArray &args);
63 void xhandlecontrolmid(const ArgumentArray &args);
64 void xhandlecontrolup(const ArgumentArray &args);
65
66 // External commands - Beetle
67 void xjplaybeetle_550(const ArgumentArray &args);
68 void xjplaybeetle_600(const ArgumentArray &args);
69 void xjplaybeetle_950(const ArgumentArray &args);
70 void xjplaybeetle_1050(const ArgumentArray &args);
71 void xjplaybeetle_1450(const ArgumentArray &args);
72
73 // External commands - Creatures in the Lagoon
74 void xjlagoon700_alert(const ArgumentArray &args);
75 void xjlagoon800_alert(const ArgumentArray &args);
76 void xjlagoon1500_alert(const ArgumentArray &args);
77
78 // External commands - Play the Whark Game
79 void xschool280_playwhark(const ArgumentArray &args);
80 void xjschool280_resetleft(const ArgumentArray &args); // DVD only
81 void xjschool280_resetright(const ArgumentArray &args); // DVD only
82
83 // External commands - Demo-specific
84 void xjatboundary(const ArgumentArray &args);
85
86 // Timer callbacks
87 void sunnersTopStairsTimer();
88 void sunnersMidStairsTimer();
89 void sunnersLowerStairsTimer();
90 void sunnersBeachTimer();
91
92private:
93 int jspitElevatorLoop();
94 void redrawWharkNumberPuzzle(uint16 overlay, uint16 number);
95
96 void sunnersPlayVideo(RivenVideo *video, uint32 destCardGlobalId, bool sunnersShouldFlee);
97};
98
99} // End of namespace RivenStacks
100} // End of namespace Mohawk
101
102#endif
Definition: riven.h:91
Definition: domespit.h:30
Definition: jspit.h:34
void installCardTimer() override
Definition: riven_video.h:39
Definition: bitmap.h:32