diff options
author | whitertandrek | 2018-03-18 15:19:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 6885bc2636c92ed6d43c7e4b10df3665b22b0932 (patch) | |
tree | 0ce110f6b88712f3fcc7e21ac9317160e02c6441 /engines/pink/items | |
parent | 1d97b960c5339037bb26d03b7b3e1a2df20b0ecb (diff) | |
download | scummvm-rg350-6885bc2636c92ed6d43c7e4b10df3665b22b0932.tar.gz scummvm-rg350-6885bc2636c92ed6d43c7e4b10df3665b22b0932.tar.bz2 scummvm-rg350-6885bc2636c92ed6d43c7e4b10df3665b22b0932.zip |
PINK: Added Sequencer, Sequence and SequenceItem
Diffstat (limited to 'engines/pink/items')
-rw-r--r-- | engines/pink/items/sequence_item.cpp | 32 | ||||
-rw-r--r-- | engines/pink/items/sequence_item.h | 41 |
2 files changed, 73 insertions, 0 deletions
diff --git a/engines/pink/items/sequence_item.cpp b/engines/pink/items/sequence_item.cpp new file mode 100644 index 0000000000..0672fd9b11 --- /dev/null +++ b/engines/pink/items/sequence_item.cpp @@ -0,0 +1,32 @@ +/* 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 "sequence_item.h" +#include "../archive.h" + +namespace Pink { + +void SequenceItem::deserialize(Archive &archive) { + archive >> _actor >> _action; +} + +} // End of namespace Pink
\ No newline at end of file diff --git a/engines/pink/items/sequence_item.h b/engines/pink/items/sequence_item.h new file mode 100644 index 0000000000..b81d193df4 --- /dev/null +++ b/engines/pink/items/sequence_item.h @@ -0,0 +1,41 @@ +/* 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 PINK_SEQUENCE_ITEM_H +#define PINK_SEQUENCE_ITEM_H + +#include <engines/pink/object.h> + +namespace Pink { + +class SequenceItem : public Object { +public: + virtual void deserialize(Archive &archive); + +private: + Common::String _actor; + Common::String _action; +}; + +} + +#endif |