diff options
author | Paul Gilbert | 2016-03-17 20:55:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-17 20:55:32 -0400 |
commit | 12ae5e10f3a20b1b909a6ec40257e39e063b78c5 (patch) | |
tree | 936eff629cd96723faedf54b076006ec19b8c145 /engines/titanic/sound/room_trigger_auto_music_player.h | |
parent | a8d94d448ea977bdd5b1171e177de6dd714792a2 (diff) | |
download | scummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.tar.gz scummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.tar.bz2 scummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.zip |
TITANIC: Added stubbed CEnterRoomMsg event handlers as needed
Diffstat (limited to 'engines/titanic/sound/room_trigger_auto_music_player.h')
-rw-r--r-- | engines/titanic/sound/room_trigger_auto_music_player.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/engines/titanic/sound/room_trigger_auto_music_player.h b/engines/titanic/sound/room_trigger_auto_music_player.h new file mode 100644 index 0000000000..1915f92de1 --- /dev/null +++ b/engines/titanic/sound/room_trigger_auto_music_player.h @@ -0,0 +1,50 @@ +/* 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 TITANIC_ROOM_TRIGGER_AUTO_MUSIC_PLAYER_H +#define TITANIC_ROOM_TRIGGER_AUTO_MUSIC_PLAYER_H + +#include "titanic/sound/trigger_auto_music_player.h" +#include "titanic/messages/messages.h" + +namespace Titanic { + +class CRoomTriggerAutoMusicPlayer : public CTriggerAutoMusicPlayer, CEnterRoomMsgTarget { +protected: + virtual bool handleEvent(const CEnterRoomMsg &msg); +public: + CLASSDEF + + /** + * Save the data for the class to file + */ + virtual void save(SimpleFile *file, int indent) const; + + /** + * Load the data for the class from file + */ + virtual void load(SimpleFile *file); +}; + +} // End of namespace Titanic + +#endif /* TITANIC_ROOM_TRIGGER_AUTO_MUSIC_PLAYER_H */ |