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 
28 namespace Access {
29 
30 namespace Amazon {
31 
32 class AmazonEngine;
33 
34 class AmazonScripts : public Scripts {
35 private:
36  AmazonEngine *_game;
37 protected:
38  void executeSpecial(int commandIndex, int param1, int param2) override;
39  void executeCommand(int commandIndex) override;
40 
41  void cLoop();
42  void mWhile1();
43  void mWhile2();
44  void mWhile(int param1);
45  void loadBackground(int param1, int param2);
46  void plotInactive();
47  void loadNSound(int param1, int param2);
48  void setInactive();
49  void boatWalls(int param1, int param2);
50 
51  void cmdHelp_v2();
52  void cmdCycleBack();
53  void cmdChapter();
54  void cmdSetHelp();
55  void cmdCenterPanel();
56  void cmdMainPanel();
57  void CMDRETFLASH();
58 public:
60 };
61 
62 } // End of namespace Amazon
63 
64 } // End of namespace Access
65 
66 #endif /* ACCESS_AMAZON_SCRIPTS_H */
Definition: access.h:84
Definition: scripts.h:39
Definition: amazon_game.h:34
Definition: amazon_scripts.h:34
Definition: access.h:62