diff options
Diffstat (limited to 'engines/pink/side_effects')
-rw-r--r-- | engines/pink/side_effects/side_effect.cpp | 25 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect.h | 38 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_exit.cpp | 32 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_exit.h | 41 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_module_variable.cpp | 22 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_module_variable.h | 35 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_variable.cpp | 32 | ||||
-rw-r--r-- | engines/pink/side_effects/side_effect_variable.h | 41 |
8 files changed, 266 insertions, 0 deletions
diff --git a/engines/pink/side_effects/side_effect.cpp b/engines/pink/side_effects/side_effect.cpp new file mode 100644 index 0000000000..58d8830ddc --- /dev/null +++ b/engines/pink/side_effects/side_effect.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/side_effects/side_effect.h b/engines/pink/side_effects/side_effect.h new file mode 100644 index 0000000000..628fe1e883 --- /dev/null +++ b/engines/pink/side_effects/side_effect.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_SIDE_EFFECT_H +#define PINK_SIDE_EFFECT_H + +#include <engines/pink/object.h> + +namespace Pink { + +class SideEffect : public Object { +public: + + +}; + +} + +#endif diff --git a/engines/pink/side_effects/side_effect_exit.cpp b/engines/pink/side_effects/side_effect_exit.cpp new file mode 100644 index 0000000000..5232012ea6 --- /dev/null +++ b/engines/pink/side_effects/side_effect_exit.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 "side_effect_exit.h" +#include "../archive.h" + +namespace Pink { + +void SideEffectExit::deserialize(Archive &archive) { + archive >> _nextModule >> _nextPage; +} + +} // 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 new file mode 100644 index 0000000000..fdcd7cd538 --- /dev/null +++ b/engines/pink/side_effects/side_effect_exit.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_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); + +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 new file mode 100644 index 0000000000..4972ad00bb --- /dev/null +++ b/engines/pink/side_effects/side_effect_module_variable.cpp @@ -0,0 +1,22 @@ +/* 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. + * + */ + diff --git a/engines/pink/side_effects/side_effect_module_variable.h b/engines/pink/side_effects/side_effect_module_variable.h new file mode 100644 index 0000000000..dc46dedadb --- /dev/null +++ b/engines/pink/side_effects/side_effect_module_variable.h @@ -0,0 +1,35 @@ +/* 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 { + +}; + +} + +#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 new file mode 100644 index 0000000000..17481aa5b9 --- /dev/null +++ b/engines/pink/side_effects/side_effect_variable.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 "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 new file mode 100644 index 0000000000..15d638035e --- /dev/null +++ b/engines/pink/side_effects/side_effect_variable.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_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); + +private: + Common::String _name; + Common::String _value; +}; + +} // End of namespace Pink + +#endif |