ScummVM API documentation
amazon_scripts.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 ACCESS_AMAZON_SCRIPTS_H
23#define ACCESS_AMAZON_SCRIPTS_H
24
25#include "common/scummsys.h"
26#include "access/scripts.h"
27
28namespace Access {
29
30namespace Amazon {
31
32class AmazonEngine;
33
34class AmazonScripts : public Scripts {
35private:
36 AmazonEngine *_game;
37protected:
38 void setOpcodes() override;
39
40 bool executeSpecial(int commandIndex, int param1, int param2) override;
41
42 void cLoop();
43 void mWhile1();
44 void mWhile2();
45 void mWhile(int param1);
46 void loadBackground(int param1, int param2);
47 void plotInactive();
48 void loadNSound(int param1, int param2);
49 void setInactive();
50 void boatWalls(int param1, int param2);
51
52 void cmdDispInv_v2();
53 void cmdPushLocation_v2();
54 void cmdHelp_v2();
55 void cmdCycleBack();
56 void cmdChapter();
57 void cmdSetHelp();
58 void cmdCenterPanel();
59 void cmdMainPanel();
60 void cmdRetFlash();
61public:
63};
64
65} // End of namespace Amazon
66
67} // End of namespace Access
68
69#endif /* ACCESS_AMAZON_SCRIPTS_H */
Definition: access.h:141
Definition: amazon_game.h:34
Definition: amazon_scripts.h:34
Definition: scripts.h:40
Definition: access.h:62