ScummVM API documentation
scumm_v3.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 SCUMM_SCRIPT_V3_H
23#define SCUMM_SCRIPT_V3_H
24
25#include "scumm/scumm_v4.h"
26
27namespace Scumm {
28
33public:
34 ScummEngine_v3(OSystem *syst, const DetectorResult &dr);
35
36 void resetScumm() override;
37
38protected:
39 void setupOpcodes() override;
40
41 void scummLoop_handleSaveLoad() override;
42 void terminateSaveMenuScript() override;
43
44 void readRoomsOffsets() override;
45 void loadCharset(int no) override;
46
47 void processKeyboard(Common::KeyState lastKeyHit) override;
48
49 /* Version 3 script opcodes */
50 void o3_setBoxFlags();
51 void o3_waitForActor();
52 void o3_waitForSentence();
53};
54
59public:
61
62protected:
63 int readResTypeList(ResType type) override;
64 void readIndexFile() override;
65 void setupRoomSubBlocks() override;
66 void resetRoomSubBlocks() override;
67 void resetRoomObjects() override;
68};
69
70
71} // End of namespace Scumm
72
73#endif
Definition: system.h:166
Definition: scumm_v3.h:32
Definition: scumm_v3.h:58
Definition: scumm_v4.h:32
Definition: actor.h:30
ResType
Definition: scumm.h:243
Definition: keyboard.h:294
Definition: detection.h:144