diff options
author | Paul Gilbert | 2016-04-01 19:42:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-01 19:42:53 -0400 |
commit | 3f3f4d910d5185ff74396e989babd4fce27bfff5 (patch) | |
tree | 23a63983aef8cfa82d37b400690e48ebaff81828 /engines/titanic/pet_control/pet_conversations.h | |
parent | 08e8f105dcca1400120574f794d770c03198ef3a (diff) | |
download | scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.tar.gz scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.tar.bz2 scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.zip |
TITANIC: Moved gfx/ pet classes into pet_control/
Diffstat (limited to 'engines/titanic/pet_control/pet_conversations.h')
-rw-r--r-- | engines/titanic/pet_control/pet_conversations.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h new file mode 100644 index 0000000000..a511c3d991 --- /dev/null +++ b/engines/titanic/pet_control/pet_conversations.h @@ -0,0 +1,74 @@ +/* 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_PET_CONVERSATIONS_H +#define TITANIC_PET_CONVERSATIONS_H + +#include "titanic/pet_control/pet_section.h" +#include "titanic/pet_control/pet_control_sub12.h" +#include "titanic/pet_control/pet_gfx_element.h" + +namespace Titanic { + +class CPetConversations : public CPetSection { +private: + CPetGfxElement _val1; + CPetGfxElement _val2; + CPetGfxElement _val3; + CPetGfxElement _valArray1[3]; + CPetGfxElement _val4; + CPetGfxElement _val5; + CPetGfxElement _val6; + int _field14C; + CPetGfxElement _val7; + CPetGfxElement _val8; + CPetGfxElement _val9; + CPetGfxElement _valArray2[9]; + int _field30C; + CPetControlSub12 _sub1; + CPetControlSub12 _sub2; + int _valArray3[3]; + int _field414; + int _field418; + CString _string1; +public: + CPetConversations(); + + /** + * 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, int param); + + /** + * Returns true if the object is in a valid state + */ + virtual bool isValid(CPetControl *petControl); +}; + +} // End of namespace Titanic + +#endif /* TITANIC_PET_CONVERSATIONS_H */ |