diff options
author | Matthew Hoops | 2011-10-02 20:52:09 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-02 20:52:09 -0400 |
commit | 8c7ebc803383a87cf3199b12d5b3485b2685a873 (patch) | |
tree | 6b61f6f6ad1246f47e07631281b4932aa0bab0b1 /engines/pegasus/neighborhood/caldoria/caldoriamirror.h | |
parent | b24081c781d66cdc496a14b6326574f75b083dc6 (diff) | |
download | scummvm-rg350-8c7ebc803383a87cf3199b12d5b3485b2685a873.tar.gz scummvm-rg350-8c7ebc803383a87cf3199b12d5b3485b2685a873.tar.bz2 scummvm-rg350-8c7ebc803383a87cf3199b12d5b3485b2685a873.zip |
PEGASUS: Add the basic Caldoria neighborhood
Does not include the end-of-game timers and sequence yet. It's currently hooked up to the full game, but does not go beyond the first frame of the wake-up sequence right now.
Diffstat (limited to 'engines/pegasus/neighborhood/caldoria/caldoriamirror.h')
-rwxr-xr-x | engines/pegasus/neighborhood/caldoria/caldoriamirror.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/caldoria/caldoriamirror.h b/engines/pegasus/neighborhood/caldoria/caldoriamirror.h new file mode 100755 index 0000000000..6b4339e69f --- /dev/null +++ b/engines/pegasus/neighborhood/caldoria/caldoriamirror.h @@ -0,0 +1,54 @@ +/* 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. + * + * Additional copyright for this file: + * Copyright (C) 1995-1997 Presto Studios, Inc. + * + * 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 PEGASUS_NEIGHBORHOOD_CALDORIA_CALDORIAMIRROR_H +#define PEGASUS_NEIGHBORHOOD_CALDORIA_CALDORIAMIRROR_H + +#include "pegasus/interaction.h" +#include "pegasus/notification.h" + +namespace Pegasus { + +class CaldoriaMirror : public GameInteraction, public NotificationReceiver { +public: + CaldoriaMirror(Neighborhood *); + virtual ~CaldoriaMirror() {} + +protected: + void openInteraction(); + void initInteraction(); + void closeInteraction(); + + void handleInput(const Input &, const Hotspot *); + void activateHotspots(); + void clickInHotspot(const Input &, const Hotspot *); + void receiveNotification(Notification *, const tNotificationFlags); + + Notification *_neighborhoodNotification; +}; + +} // End of namespace Pegasus + +#endif |