ScummVM API documentation
aspit.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_ASPIT_H
23#define RIVEN_STACKS_ASPIT_H
24
25#include "mohawk/riven_stack.h"
26
27namespace Mohawk {
28namespace RivenStacks {
29
33class ASpit : public RivenStack {
34public:
36
37 enum PatchedExternalCommandNameId {
38 kExternalSaveGame = 20,
39 kExternalRestoreGame = 21,
40 kExternalResume = 22,
41 kExternalOptions = 23,
42 kExternalQuit = 24,
43 kExternalNewGame = 25
44
45 };
46
47 // External commands - Main Menu
48 void xastartupbtnhide(const ArgumentArray &args);
49 void xasetupcomplete(const ArgumentArray &args);
50
51 // External commands - Atrus' Journal
52 void xaatrusopenbook(const ArgumentArray &args);
53 void xaatrusbookback(const ArgumentArray &args);
54 void xaatrusbookprevpage(const ArgumentArray &args);
55 void xaatrusbooknextpage(const ArgumentArray &args);
56
57 // External commands - Catherine's Journal
58 void xacathopenbook(const ArgumentArray &args);
59 void xacathbookback(const ArgumentArray &args);
60 void xacathbookprevpage(const ArgumentArray &args);
61 void xacathbooknextpage(const ArgumentArray &args);
62
63 // External commands - Trap Book
64 void xtrapbookback(const ArgumentArray &args);
65 void xatrapbookclose(const ArgumentArray &args);
66 void xatrapbookopen(const ArgumentArray &args);
67
68 // External commands - DVD-specific
69 void xarestoregame(const ArgumentArray &args);
70
71 // External commands - ScummVM 25th anniversary specific
72 void xaSaveGame(const ArgumentArray &args);
73 void xaResumeGame(const ArgumentArray &args);
74 void xaOptions(const ArgumentArray &args);
75 void xaNewGame(const ArgumentArray &args);
76
77 // External commands - Demo-specific
78 void xadisablemenureturn(const ArgumentArray &args);
79 void xaenablemenureturn(const ArgumentArray &args);
80 void xalaunchbrowser(const ArgumentArray &args);
81 void xadisablemenuintro(const ArgumentArray &args);
82 void xaenablemenuintro(const ArgumentArray &args);
83 void xademoquit(const ArgumentArray &args);
84 void xaexittomain(const ArgumentArray &args);
85
86private:
87 void cathBookDrawTelescopeCombination();
88
89 void cathBookDrawPage(uint32 page);
90
91 bool showConfirmationDialog(const Common::U32String &message, const Common::U32String &confirmButton, const Common::U32String &cancelButton);
92};
93
94} // End of namespace RivenStacks
95} // End of namespace Mohawk
96
97#endif
Definition: ustr.h:57
Definition: riven.h:91
Definition: riven_stack.h:89
Definition: aspit.h:33
Definition: bitmap.h:32