aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/side_effects
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/side_effects')
-rw-r--r--engines/pink/side_effects/side_effect.cpp25
-rw-r--r--engines/pink/side_effects/side_effect.h41
-rw-r--r--engines/pink/side_effects/side_effect_exit.cpp40
-rw-r--r--engines/pink/side_effects/side_effect_exit.h43
-rw-r--r--engines/pink/side_effects/side_effect_module_variable.cpp44
-rw-r--r--engines/pink/side_effects/side_effect_module_variable.h38
-rw-r--r--engines/pink/side_effects/side_effect_variable.cpp32
-rw-r--r--engines/pink/side_effects/side_effect_variable.h41
8 files changed, 0 insertions, 304 deletions
diff --git a/engines/pink/side_effects/side_effect.cpp b/engines/pink/side_effects/side_effect.cpp
deleted file mode 100644
index 58d8830ddc..0000000000
--- a/engines/pink/side_effects/side_effect.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-/* 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/side_effects/side_effect.h b/engines/pink/side_effects/side_effect.h
deleted file mode 100644
index 45099f3126..0000000000
--- a/engines/pink/side_effects/side_effect.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* 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_SIDE_EFFECT_H
-#define PINK_SIDE_EFFECT_H
-
-#include <engines/pink/object.h>
-
-namespace Pink {
-
-class LeadActor;
-
-class SideEffect : public Object {
-public:
- virtual ~SideEffect() {};
- virtual void init(LeadActor *actor) {};
-
-};
-
-}
-
-#endif
diff --git a/engines/pink/side_effects/side_effect_exit.cpp b/engines/pink/side_effects/side_effect_exit.cpp
deleted file mode 100644
index 0871c2f547..0000000000
--- a/engines/pink/side_effects/side_effect_exit.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/* 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 <common/debug.h>
-#include "side_effect_exit.h"
-#include "../archive.h"
-#include "../actors/lead_actor.h"
-
-namespace Pink {
-
-void SideEffectExit::deserialize(Archive &archive) {
- archive >> _nextModule >> _nextPage;
- debug("\tSideEffectExit: _nextModule = %s, _nextPage = %s",
- _nextModule.c_str(), _nextPage.c_str());
-}
-
-void SideEffectExit::init(LeadActor *_actor) {
- _actor->setNextExecutors(_nextPage, _nextModule);
-}
-
-} // End of namespace Pink \ No newline at end of file
diff --git a/engines/pink/side_effects/side_effect_exit.h b/engines/pink/side_effects/side_effect_exit.h
deleted file mode 100644
index a324b8274a..0000000000
--- a/engines/pink/side_effects/side_effect_exit.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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_SIDE_EFFECT_EXIT_H
-#define PINK_SIDE_EFFECT_EXIT_H
-
-#include "side_effect.h"
-
-namespace Pink {
-
-class SideEffectExit : public SideEffect {
-public:
- virtual void deserialize(Archive &archive);
-
- virtual void init(LeadActor *_actor);
-
-private:
- Common::String _nextModule;
- Common::String _nextPage;
-};
-
-} // End of namespace Pink
-
-#endif
diff --git a/engines/pink/side_effects/side_effect_module_variable.cpp b/engines/pink/side_effects/side_effect_module_variable.cpp
deleted file mode 100644
index 4e1e173d55..0000000000
--- a/engines/pink/side_effects/side_effect_module_variable.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-#include <engines/pink/archive.h>
-#include <common/debug.h>
-#include "side_effect_variable.h"
-
-/* 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 "side_effect_module_variable.h"
-#include "../actors/lead_actor.h"
-#include "../page.h"
-
-namespace Pink {
-
-void SideEffectModuleVariable::deserialize(Archive &archive) {
- SideEffectVariable::deserialize(archive);
- debug("\tSideEffectModuleVariable: _name = %s _value = %s",
- _name.c_str(), _value.c_str());
-}
-
-void SideEffectModuleVariable::init(LeadActor *actor) {
- Common::StringMap &moduleMap = actor->getPage()->getModule()->getMap();
- moduleMap[_name] = _value;
-}
-
-} \ No newline at end of file
diff --git a/engines/pink/side_effects/side_effect_module_variable.h b/engines/pink/side_effects/side_effect_module_variable.h
deleted file mode 100644
index df45bf8c46..0000000000
--- a/engines/pink/side_effects/side_effect_module_variable.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/* 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_SIDE_EFFECT_MODULE_VARIABLE_H
-#define PINK_SIDE_EFFECT_MODULE_VARIABLE_H
-
-#include "side_effect_variable.h"
-
-namespace Pink {
-
-class SideEffectModuleVariable : public SideEffectVariable {
-public:
- virtual void deserialize(Archive &archive);
-
- virtual void init(LeadActor *actor);
-};
-
-} // End of namespace Pink
-
-#endif \ No newline at end of file
diff --git a/engines/pink/side_effects/side_effect_variable.cpp b/engines/pink/side_effects/side_effect_variable.cpp
deleted file mode 100644
index 17481aa5b9..0000000000
--- a/engines/pink/side_effects/side_effect_variable.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/* 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 "side_effect_variable.h"
-#include "../archive.h"
-
-namespace Pink {
-
-void SideEffectVariable::deserialize(Pink::Archive &archive) {
- archive >> _name >> _value;
-}
-
-}
diff --git a/engines/pink/side_effects/side_effect_variable.h b/engines/pink/side_effects/side_effect_variable.h
deleted file mode 100644
index c5b45f1e47..0000000000
--- a/engines/pink/side_effects/side_effect_variable.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* 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_SIDE_EFFECT_VARIABLE_H
-#define PINK_SIDE_EFFECT_VARIABLE_H
-
-#include "side_effect.h"
-
-namespace Pink {
-
-class SideEffectVariable : public SideEffect {
-public:
- virtual void deserialize(Archive &archive);
-
-protected:
- Common::String _name;
- Common::String _value;
-};
-
-} // End of namespace Pink
-
-#endif