ScummVM API documentation
noctropolis_room.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_ROOM_H
23#define ACCESS_NOCTROPOLIS_NOCTROPOLIS_ROOM_H
24
25#include "access/room.h"
26
27namespace Access {
28
29namespace Noctropolis {
30
31class NoctropolisRoom : public Room {
32public:
34
35 void roomMenu() override;
36
37 void init4Quads() override {};
38
43
44 void loadPlayer1();
45
46protected:
47 void reloadRoom() override;
48
49 void reloadRoom1() override;
50
51 void mainAreaLClick() override;
52
53 void doCommands() override;
54
55 int validateBox(int boxId) override;
56
57 void clearRoom() override;
58
59 void roomInit() override;
60private:
61 // Like buildColumn but can handle negative playX.
62 // TODO: Can we just replace Room::buildColumn with this one?
63 void buildColumnXScroll(int playX, int screenX);
64
65 int checkPlayerBox(const Common::Point &pt);
66};
67
68} // end namespace Noctropolis
69
70} // end namespace Access
71
72#endif // ACCESS_NOCTROPOLIS_NOCTROPOLIS_ROOM_H
Definition: access.h:141
Definition: noctropolis_room.h:31
Definition: room.h:71
Definition: access.h:62
Definition: rect.h:144