diff options
author | whitertandrek | 2018-03-18 15:32:26 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | d6f0613adfa229133734a9373a0065e19454083a (patch) | |
tree | 6d922154fada6b0a7cf5ac91e25ee414acf5950d /engines | |
parent | 6885bc2636c92ed6d43c7e4b10df3665b22b0932 (diff) | |
download | scummvm-rg350-d6f0613adfa229133734a9373a0065e19454083a.tar.gz scummvm-rg350-d6f0613adfa229133734a9373a0065e19454083a.tar.bz2 scummvm-rg350-d6f0613adfa229133734a9373a0065e19454083a.zip |
PINK: Added SequenceItemLeader and SequenceItemDefaultAction
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pink/archive.cpp | 7 | ||||
-rw-r--r-- | engines/pink/items/sequence_item_default_action.cpp | 25 | ||||
-rw-r--r-- | engines/pink/items/sequence_item_default_action.h | 36 | ||||
-rw-r--r-- | engines/pink/items/sequence_item_leader.cpp | 26 | ||||
-rw-r--r-- | engines/pink/items/sequence_item_leader.h | 38 |
5 files changed, 131 insertions, 1 deletions
diff --git a/engines/pink/archive.cpp b/engines/pink/archive.cpp index 621135a87b..363fedacba 100644 --- a/engines/pink/archive.cpp +++ b/engines/pink/archive.cpp @@ -28,7 +28,8 @@ #include <engines/pink/actions/action_play.h> #include <engines/pink/actions/action_sound.h> #include <engines/pink/sequences/sequence.h> -#include "items/sequence_item.h" +#include <engines/pink/items/sequence_item_default_action.h> +#include <engines/pink/items/sequence_item_leader.h> #include "module.h" #include "page.h" #include "actors/lead_actor.h" @@ -170,6 +171,10 @@ static Object* createObject(int objectId){ return new Sequence; case kSequenceItem: return new SequenceItem; + case kSequenceItemDefaultAction: + return new SequenceItemDefaultAction; + case kSequenceItemLeader: + return new SequenceItemLeader; case kWalkLocation: return new WalkLocation; default: diff --git a/engines/pink/items/sequence_item_default_action.cpp b/engines/pink/items/sequence_item_default_action.cpp new file mode 100644 index 0000000000..58d8830ddc --- /dev/null +++ b/engines/pink/items/sequence_item_default_action.cpp @@ -0,0 +1,25 @@ +/* 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. + * + */ + +namespace Pink { + +} // End of namespace Pink
\ No newline at end of file diff --git a/engines/pink/items/sequence_item_default_action.h b/engines/pink/items/sequence_item_default_action.h new file mode 100644 index 0000000000..353846409a --- /dev/null +++ b/engines/pink/items/sequence_item_default_action.h @@ -0,0 +1,36 @@ +/* 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_DEFAULT_ACTION_H +#define PINK_SEQUENCE_ITEM_DEFAULT_ACTION_H + +#include "sequence_item.h" + +namespace Pink { + +class SequenceItemDefaultAction : public SequenceItem { + +}; + +} // End of namespace Pink + +#endif diff --git a/engines/pink/items/sequence_item_leader.cpp b/engines/pink/items/sequence_item_leader.cpp new file mode 100644 index 0000000000..8c3eb17bef --- /dev/null +++ b/engines/pink/items/sequence_item_leader.cpp @@ -0,0 +1,26 @@ +/* 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. + * + */ + +namespace Pink { + + +} //End of namespace Pink
\ No newline at end of file diff --git a/engines/pink/items/sequence_item_leader.h b/engines/pink/items/sequence_item_leader.h new file mode 100644 index 0000000000..9edfc05b41 --- /dev/null +++ b/engines/pink/items/sequence_item_leader.h @@ -0,0 +1,38 @@ +/* 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_LEADER_H +#define PINK_SEQUENCE_ITEM_LEADER_H + +#include "sequence_item.h" + +namespace Pink { + +class SequenceItemLeader : public SequenceItem { +public: + +private: +}; + +} + +#endif |