diff options
author | Paul Gilbert | 2016-09-11 09:27:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-11 09:27:51 -0400 |
commit | 49bc276ea3e297c23098d4f0e6ab331f0b89f6ee (patch) | |
tree | 4880e281775c5bda5ab7c29afbad53334e4f0310 /engines/titanic/game/place_holder_item.h | |
parent | 8fed7e1620ecbfcbf08c8d47c4ab27c6ed1d8619 (diff) | |
download | scummvm-rg350-49bc276ea3e297c23098d4f0e6ab331f0b89f6ee.tar.gz scummvm-rg350-49bc276ea3e297c23098d4f0e6ab331f0b89f6ee.tar.bz2 scummvm-rg350-49bc276ea3e297c23098d4f0e6ab331f0b89f6ee.zip |
TTIANIC: Add CPlaceHolderItem, CVariableList classes
Diffstat (limited to 'engines/titanic/game/place_holder_item.h')
-rw-r--r-- | engines/titanic/game/place_holder_item.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/engines/titanic/game/place_holder_item.h b/engines/titanic/game/place_holder_item.h new file mode 100644 index 0000000000..c4850377db --- /dev/null +++ b/engines/titanic/game/place_holder_item.h @@ -0,0 +1,63 @@ +/* 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_PLACE_HOLDER_ITEM_H +#define TITANIC_PLACE_HOLDER_ITEM_H + +#include "titanic/core/named_item.h" +#include "titanic/game/variable_list.h" +#include "titanic/support/movie_clip.h" + +namespace Titanic { + +class CPlaceHolderItem : public CNamedItem { + DECLARE_MESSAGE_MAP; +public: + CString _string1; + Point _pos1; + Point _pos2; + CString _string2; + int _field4C; + CVariableList _list; + int _field60; + int _field64; + int _field68; + CMovieClipList _clips; + int _field7C; +public: + CLASSDEF; + CPlaceHolderItem(); + + /** + * Save the data for the class to file + */ + virtual void save(SimpleFile *file, int indent); + + /** + * Load the data for the class from file + */ + virtual void load(SimpleFile *file); +}; + +} // End of namespace Titanic + +#endif /* TITANIC_PLACE_HOLDER_ITEM_H */ |