From 7d605ce57316c86a247cf978e6b123b23045659c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 5 Aug 2014 22:17:30 -0400 Subject: ACCESS: Implement outer room handler --- engines/access/room.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 engines/access/room.h (limited to 'engines/access/room.h') diff --git a/engines/access/room.h b/engines/access/room.h new file mode 100644 index 0000000000..3b1a3347f9 --- /dev/null +++ b/engines/access/room.h @@ -0,0 +1,53 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef ACCESS_ROOM_H +#define ACCESS_ROOM_H + +#include "common/scummsys.h" + +namespace Access { + +class AccessEngine; + +class Room { +private: + AccessEngine *_vm; + + void roomLoop(); +public: + int _function; +public: + Room(AccessEngine *vm); + + void doRoom(); + + void doCommands(); + + void clearRoom(); + + void reloadRoom1(); +}; + +} // End of namespace Access + +#endif /* ACCESS_ROOM_H */ -- cgit v1.2.3