ScummVM API documentation
martian_game.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_MARTIAN_GAME_H
23#define ACCESS_MARTIAN_GAME_H
24
25#include "access/access.h"
26
27namespace Access {
28
29namespace Martian {
30
32private:
33 bool _skipStart;
34 Common::MemoryReadStream *_creditsStream;
35
39 void doCredits();
40
41 bool showCredits();
42
46 void setupGame() override;
47
48 void initObjects() override;
49 void configSelect();
50 void initVariables();
51 void setupTimers();
52protected:
56 void playGame() override;
57
58 void dead(int deathId) override;
59
60 void setNoteParams();
61 void displayNote(const Common::String &msg);
62public:
63 MartianEngine(OSystem *syst, const AccessGameDescription *gameDesc);
64 ~MartianEngine() override;
65
66 void doSpecial5(int param1);
67 void showExpositionText(Common::String msg);
68 void establish(int estabIndex, int sub) override;
69
74};
75
76} // End of namespace Martian
77
78} // End of namespace Access
79
80#endif /* ACCESS_MARTIAN_GAME_H */
Definition: access.h:141
Definition: martian_game.h:31
Common::Error synchronize(Common::Serializer &s) override
Definition: error.h:81
Definition: memstream.h:43
Definition: serializer.h:80
Definition: str.h:59
Definition: system.h:166
Definition: access.h:62
Definition: detection.h:37