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/variable_list.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/variable_list.h')
-rw-r--r-- | engines/titanic/game/variable_list.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/engines/titanic/game/variable_list.h b/engines/titanic/game/variable_list.h new file mode 100644 index 0000000000..9309e19ac5 --- /dev/null +++ b/engines/titanic/game/variable_list.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_VARIABLE_LIST_H +#define TITANIC_VARIABLE_LIST_H + +#include "titanic/core/list.h" + +namespace Titanic { + +class CVariableListItem : public ListItem { +public: + CString _string1; + int _field18; + CString _string2; + CString _string3; + CString _string4; + int _field40; + int _field44; +public: + CLASSDEF; + CVariableListItem() : ListItem(), _field18(0), _field40(0), _field44(0) {} + + /** + * 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); +}; + + +/** + * Movie clip list + */ +class CVariableList: public List<CVariableListItem> { +}; + +} // End of namespace Titanic + +#endif /* TITANIC_VARIABLE_LIST_H */ |