diff options
author | Paul Gilbert | 2016-03-17 22:51:29 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-17 22:51:29 -0400 |
commit | 04b8c75a9371d0ad353cbf4cc86da6087e94c7df (patch) | |
tree | d22840a0c5f7aca3b21791444a1937243abb7025 /engines/titanic/game/volume_control.h | |
parent | 39a4db06fa00c994ac225b68a9e236ca6cf39a35 (diff) | |
download | scummvm-rg350-04b8c75a9371d0ad353cbf4cc86da6087e94c7df.tar.gz scummvm-rg350-04b8c75a9371d0ad353cbf4cc86da6087e94c7df.tar.bz2 scummvm-rg350-04b8c75a9371d0ad353cbf4cc86da6087e94c7df.zip |
TITANIC: Add stubs for CEnterNodeMsg message handlers
Diffstat (limited to 'engines/titanic/game/volume_control.h')
-rw-r--r-- | engines/titanic/game/volume_control.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/engines/titanic/game/volume_control.h b/engines/titanic/game/volume_control.h new file mode 100644 index 0000000000..8fa7d01a77 --- /dev/null +++ b/engines/titanic/game/volume_control.h @@ -0,0 +1,55 @@ +/* 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_VOLUME_CONTROL_H +#define TITANIC_VOLUME_CONTROL_H + +#include "titanic/core/game_object.h" +#include "titanic/messages/messages.h" + +namespace Titanic { + +class CVolumeControl : public CGameObject, CEnterNodeMsgTarget { +private: + int _fieldBC; + CString _string1; + int _fieldCC; +protected: + virtual bool handleEvent(const CEnterNodeMsg &msg); +public: + CLASSDEF + CVolumeControl(); + + /** + * 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_VOLUME_CONTROL_H */ |