ScummVM API documentation
noctropolis_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_NOCTROPOLIS_NOCTROPOLIS_SCRIPTS_H
23#define ACCESS_NOCTROPOLIS_NOCTROPOLIS_SCRIPTS_H
24
25#include "access/scripts.h"
26
27namespace Access {
28
29namespace Noctropolis {
30
31class NoctropolisEngine;
32
34public:
36
37 bool executeSpecial(int commandIndex, int param1, int param2) override;
38
39 void searchForSequence() override;
40
41protected:
42 virtual void setOpcodes() override;
43
44 void cmdJumpUse_v3();
45 void cmdJumpTalk_v3();
46 void cmdJumpGoto_v3();
47 void cmdSetVideo_v3();
48 void cmdDispAbout_v3();
49 void cmdFadeOut_v3();
50 void cmdEndObject_v3();
51 void cmdCharSpeak_v3();
52
53 void cmdDoTravel_Noct();
54 void cmdDigitalPlay();
55 void cmdFillSound();
56 void cmdPlayVid1();
57 void cmdCharWait();
58 void cmdUndoText();
59 void cmdResetAnim();
60 void cmdWalkTo();
61 void cmdWalkCheck();
62
63 void cmdSoundEnd();
64 void cmdFadeWhite();
65 void cmdGotoFrame();
66 void cmdPlayerScale();
67 void cmdRestoreBlock();
68 void cmdCopyScnBuf();
69 void cmdStilWalkTo();
70 void cmdStilWalkCheck();
71 void cmdStilOff();
72 void cmdStilOn();
73 void cmdReturnExit();
74 void cmdSetCoords();
75 void cmdSetStilCoords();
76 void cmdSetPlayerDir();
77 void cmdSetStilDir();
78 void cmdStilScale();
79 void cmdLockInterface();
80 void cmdUnlockInterface();
81 void cmdPlayerSpeak();
82 void cmdPlayerChoice();
83
84private:
85 void skipCommand(byte cmd);
86
87 Common::Point _askBase;
88 bool _keepAskPosition;
89
90};
91
92} // end namespace Noctropolis
93
94} // end namespace Access
95
96#endif // ACCESS_NOCTROPOLIS_NOCTROPOLIS_SCRIPTS_H
Definition: noctropolis_game.h:46
Definition: noctropolis_scripts.h:33
Definition: scripts.h:40
Definition: access.h:62
Definition: rect.h:144