diff options
author | Paul Gilbert | 2016-02-28 21:42:13 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-02-28 21:42:13 -0500 |
commit | 6eb777fe362d77189425c2ae137bedab0af5ee5f (patch) | |
tree | 2df00b84121ccb83115cacd8a62ef686e125dbfc /engines/titanic/sound/trigger_auto_music_player.cpp | |
parent | 0471a25575d7cabff26f8abbace55c1dadaf6320 (diff) | |
download | scummvm-rg350-6eb777fe362d77189425c2ae137bedab0af5ee5f.tar.gz scummvm-rg350-6eb777fe362d77189425c2ae137bedab0af5ee5f.tar.bz2 scummvm-rg350-6eb777fe362d77189425c2ae137bedab0af5ee5f.zip |
TITANIC: Added a lot of class definitions
Let's be honest here, it's a s**t-load of class definitions
Diffstat (limited to 'engines/titanic/sound/trigger_auto_music_player.cpp')
-rw-r--r-- | engines/titanic/sound/trigger_auto_music_player.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/engines/titanic/sound/trigger_auto_music_player.cpp b/engines/titanic/sound/trigger_auto_music_player.cpp new file mode 100644 index 0000000000..adcc18c591 --- /dev/null +++ b/engines/titanic/sound/trigger_auto_music_player.cpp @@ -0,0 +1,37 @@ +/* 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. + * + */ + +#include "titanic/sound/trigger_auto_music_player.h" + +namespace Titanic { + +void CTriggerAutoMusicPlayer::save(SimpleFile *file, int indent) const { + file->writeNumberLine(1, indent); + CGameObject::save(file, indent); +} + +void CTriggerAutoMusicPlayer::load(SimpleFile *file) { + file->readNumber(); + CGameObject::load(file); +} + +} // End of namespace Titanic |