From 42b24e328afdb28bf2022b8c2998864c67491b12 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 17 Sep 2017 16:39:51 -0400 Subject: TITANIC: Add skeleton derived bot script classes for German version --- engines/titanic/module.mk | 8 +++++ engines/titanic/true_talk/german/barbot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/barbot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/bellbot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/bellbot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/deskbot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/deskbot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/doorbot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/doorbot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/liftbot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/liftbot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/maitred_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/maitred_script.h | 41 ++++++++++++++++++++++ engines/titanic/true_talk/german/parrot_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/parrot_script.h | 41 ++++++++++++++++++++++ .../titanic/true_talk/german/succubus_script.cpp | 29 +++++++++++++++ engines/titanic/true_talk/german/succubus_script.h | 41 ++++++++++++++++++++++ engines/titanic/true_talk/tt_scripts.cpp | 36 ++++++++++++++----- 18 files changed, 596 insertions(+), 8 deletions(-) create mode 100644 engines/titanic/true_talk/german/barbot_script.cpp create mode 100644 engines/titanic/true_talk/german/barbot_script.h create mode 100644 engines/titanic/true_talk/german/bellbot_script.cpp create mode 100644 engines/titanic/true_talk/german/bellbot_script.h create mode 100644 engines/titanic/true_talk/german/deskbot_script.cpp create mode 100644 engines/titanic/true_talk/german/deskbot_script.h create mode 100644 engines/titanic/true_talk/german/doorbot_script.cpp create mode 100644 engines/titanic/true_talk/german/doorbot_script.h create mode 100644 engines/titanic/true_talk/german/liftbot_script.cpp create mode 100644 engines/titanic/true_talk/german/liftbot_script.h create mode 100644 engines/titanic/true_talk/german/maitred_script.cpp create mode 100644 engines/titanic/true_talk/german/maitred_script.h create mode 100644 engines/titanic/true_talk/german/parrot_script.cpp create mode 100644 engines/titanic/true_talk/german/parrot_script.h create mode 100644 engines/titanic/true_talk/german/succubus_script.cpp create mode 100644 engines/titanic/true_talk/german/succubus_script.h (limited to 'engines/titanic') diff --git a/engines/titanic/module.mk b/engines/titanic/module.mk index 617e262396..395805933d 100644 --- a/engines/titanic/module.mk +++ b/engines/titanic/module.mk @@ -484,6 +484,14 @@ MODULE_OBJS := \ support/text_cursor.o \ support/time_event_info.o \ support/video_surface.o \ + true_talk/german/deskbot_script.o \ + true_talk/german/bellbot_script.o \ + true_talk/german/deskbot_script.o \ + true_talk/german/doorbot_script.o \ + true_talk/german/liftbot_script.o \ + true_talk/german/maitred_script.o \ + true_talk/german/parrot_script.o \ + true_talk/german/succubus_script.o \ true_talk/barbot_script.o \ true_talk/bellbot_script.o \ true_talk/deskbot_script.o \ diff --git a/engines/titanic/true_talk/german/barbot_script.cpp b/engines/titanic/true_talk/german/barbot_script.cpp new file mode 100644 index 0000000000..616653d9cb --- /dev/null +++ b/engines/titanic/true_talk/german/barbot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/deskbot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/barbot_script.h b/engines/titanic/true_talk/german/barbot_script.h new file mode 100644 index 0000000000..2d1c25d6b2 --- /dev/null +++ b/engines/titanic/true_talk/german/barbot_script.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 TITANIC_BARBOT_SCRIPT_DE_H +#define TITANIC_BARBOT_SCRIPT_DE_H + +#include "titanic/true_talk/barbot_script.h" + +namespace Titanic { +namespace German { + +class BarbotScript : public ::Titanic::BarbotScript { +public: + BarbotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) : + ::Titanic::BarbotScript(val1, charClass, v2, charName, v3, val2, v4, v5, v6, v7) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_BARBOT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/bellbot_script.cpp b/engines/titanic/true_talk/german/bellbot_script.cpp new file mode 100644 index 0000000000..c6ff9f6a50 --- /dev/null +++ b/engines/titanic/true_talk/german/bellbot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/bellbot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/bellbot_script.h b/engines/titanic/true_talk/german/bellbot_script.h new file mode 100644 index 0000000000..55e7e14661 --- /dev/null +++ b/engines/titanic/true_talk/german/bellbot_script.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 TITANIC_BELLBOT_SCRIPT_DE_H +#define TITANIC_BELLBOT_SCRIPT_DE_H + +#include "titanic/true_talk/Bellbot_script.h" + +namespace Titanic { +namespace German { + +class BellbotScript : public ::Titanic::BellbotScript { +public: + BellbotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2) : + ::Titanic::BellbotScript(val1, charClass, v2, charName, v3, val2) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_BELLBOT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/deskbot_script.cpp b/engines/titanic/true_talk/german/deskbot_script.cpp new file mode 100644 index 0000000000..616653d9cb --- /dev/null +++ b/engines/titanic/true_talk/german/deskbot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/deskbot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/deskbot_script.h b/engines/titanic/true_talk/german/deskbot_script.h new file mode 100644 index 0000000000..1987fb7302 --- /dev/null +++ b/engines/titanic/true_talk/german/deskbot_script.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 TITANIC_DESKBOT_SCRIPT_DE_H +#define TITANIC_DESKBOT_SCRIPT_DE_H + +#include "titanic/true_talk/deskbot_script.h" + +namespace Titanic { +namespace German { + +class DeskbotScript : public ::Titanic::DeskbotScript { +public: + DeskbotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2) : + ::Titanic::DeskbotScript(val1, charClass, v2, charName, v3, val2) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_DESKBOT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/doorbot_script.cpp b/engines/titanic/true_talk/german/doorbot_script.cpp new file mode 100644 index 0000000000..616653d9cb --- /dev/null +++ b/engines/titanic/true_talk/german/doorbot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/deskbot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/doorbot_script.h b/engines/titanic/true_talk/german/doorbot_script.h new file mode 100644 index 0000000000..1653f42d40 --- /dev/null +++ b/engines/titanic/true_talk/german/doorbot_script.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 TITANIC_DOORBOT_SCRIPT_DE_H +#define TITANIC_DOORBOT_SCRIPT_DE_H + +#include "titanic/true_talk/doorbot_script.h" + +namespace Titanic { +namespace German { + +class DoorbotScript : public ::Titanic::DoorbotScript { +public: + DoorbotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) : + ::Titanic::DoorbotScript(val1, charClass, v2, charName, v3, val2, v4, v5, v6, v7) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_DOORBOT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/liftbot_script.cpp b/engines/titanic/true_talk/german/liftbot_script.cpp new file mode 100644 index 0000000000..fade9968c4 --- /dev/null +++ b/engines/titanic/true_talk/german/liftbot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/liftbot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/liftbot_script.h b/engines/titanic/true_talk/german/liftbot_script.h new file mode 100644 index 0000000000..650a45201d --- /dev/null +++ b/engines/titanic/true_talk/german/liftbot_script.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 TITANIC_LIFTBOT_SCRIPT_DE_H +#define TITANIC_LIFTBOT_SCRIPT_DE_H + +#include "titanic/true_talk/liftbot_script.h" + +namespace Titanic { +namespace German { + +class LiftbotScript : public ::Titanic::LiftbotScript { +public: + LiftbotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) : + ::Titanic::LiftbotScript(val1, charClass, v2, charName, v3, val2, v4, v5, v6, v7) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_LIFTBOT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/maitred_script.cpp b/engines/titanic/true_talk/german/maitred_script.cpp new file mode 100644 index 0000000000..f670cdf58b --- /dev/null +++ b/engines/titanic/true_talk/german/maitred_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/maitred_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/maitred_script.h b/engines/titanic/true_talk/german/maitred_script.h new file mode 100644 index 0000000000..69c648e63e --- /dev/null +++ b/engines/titanic/true_talk/german/maitred_script.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 TITANIC_MAITRED_SCRIPT_DE_H +#define TITANIC_MAITRED_SCRIPT_DE_H + +#include "titanic/true_talk/MaitreD_script.h" + +namespace Titanic { +namespace German { + +class MaitreDScript : public ::Titanic::MaitreDScript { +public: + MaitreDScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2) : + ::Titanic::MaitreDScript(val1, charClass, v2, charName, v3, val2) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_MAITRED_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/parrot_script.cpp b/engines/titanic/true_talk/german/parrot_script.cpp new file mode 100644 index 0000000000..3e241c8683 --- /dev/null +++ b/engines/titanic/true_talk/german/parrot_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/parrot_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/parrot_script.h b/engines/titanic/true_talk/german/parrot_script.h new file mode 100644 index 0000000000..b34e6b112f --- /dev/null +++ b/engines/titanic/true_talk/german/parrot_script.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 TITANIC_PARROT_SCRIPT_DE_H +#define TITANIC_PARROT_SCRIPT_DE_H + +#include "titanic/true_talk/parrot_script.h" + +namespace Titanic { +namespace German { + +class ParrotScript : public ::Titanic::ParrotScript { +public: + ParrotScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) : + ::Titanic::ParrotScript(val1, charClass, v2, charName, v3, val2, v4, v5, v6, v7) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_PARROT_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/german/succubus_script.cpp b/engines/titanic/true_talk/german/succubus_script.cpp new file mode 100644 index 0000000000..a4963a8a59 --- /dev/null +++ b/engines/titanic/true_talk/german/succubus_script.cpp @@ -0,0 +1,29 @@ +/* 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 "titanic/true_talk/german/succubus_script.h" + +namespace Titanic { +namespace German { + +} // End of namespace German +} // End of namespace Titanic diff --git a/engines/titanic/true_talk/german/succubus_script.h b/engines/titanic/true_talk/german/succubus_script.h new file mode 100644 index 0000000000..f9ad25c36e --- /dev/null +++ b/engines/titanic/true_talk/german/succubus_script.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 TITANIC_SUCCUBUS_SCRIPT_DE_H +#define TITANIC_SUCCUBUS_SCRIPT_DE_H + +#include "titanic/true_talk/succubus_script.h" + +namespace Titanic { +namespace German { + +class SuccUBusScript : public ::Titanic::SuccUBusScript { +public: + SuccUBusScript(int val1, const char *charClass, int v2, + const char *charName, int v3, int val2, int v4, int v5, int v6, int v7) : + ::Titanic::SuccUBusScript(val1, charClass, v2, charName, v3, val2, v4, v5, v6, v7) {} +}; + +} // End of namespace German +} // End of namespace Titanic + +#endif /* TITANIC_SUCCUBUS_SCRIPT_DE_H */ diff --git a/engines/titanic/true_talk/tt_scripts.cpp b/engines/titanic/true_talk/tt_scripts.cpp index b1f18771fe..4c103ed457 100644 --- a/engines/titanic/true_talk/tt_scripts.cpp +++ b/engines/titanic/true_talk/tt_scripts.cpp @@ -30,6 +30,15 @@ #include "titanic/true_talk/maitred_script.h" #include "titanic/true_talk/parrot_script.h" #include "titanic/true_talk/succubus_script.h" +#include "titanic/true_talk/german/barbot_script.h" +#include "titanic/true_talk/german/bellbot_script.h" +#include "titanic/true_talk/german/deskbot_script.h" +#include "titanic/true_talk/german/doorbot_script.h" +#include "titanic/true_talk/german/liftbot_script.h" +#include "titanic/true_talk/german/maitred_script.h" +#include "titanic/true_talk/german/parrot_script.h" +#include "titanic/true_talk/german/succubus_script.h" +#include "titanic/translation.h" namespace Titanic { @@ -63,14 +72,25 @@ TTscripts::TTscripts() { addScript(new TTroomScript(scriptNum)); // Load npc scripts - addScript(new DoorbotScript(104, "Doorbot", 0, "Fentible", 11, 1, -1, -1, -1, 0), 100); - addScript(new BellbotScript(101, "Bellbot", 0, "Krage", 8, 1), 110); - addScript(new LiftbotScript(105, "LiftBot", 0, "Nobby", 11, 1, -1, -1, -1, 0), 103); - addScript(new DeskbotScript(103, "DeskBot", 0, "Marsinta", 11, 2), 110); - addScript(new BarbotScript(100, "Barbot", 0, "Fortillian", 9, 1, -1, -1, -1, 0), 112); - addScript(new ParrotScript(107, "Parrot", 0, "The Parrot", 5, 1, -1, -1, -1, 0), 111); - addScript(new MaitreDScript(112, "MaitreDBot", 0, "Dastrogaaar", 8, 1), 132); - addScript(new SuccUBusScript(111, "Succubus", 0, "Shorbert", 9, 1, -1, -1, -1, 0), 110); + if (g_language == Common::DE_DEU) { + addScript(new German::BarbotScript(100, "Barbot", 0, "Fortillian", 9, 1, -1, -1, -1, 0), 112); + addScript(new German::BellbotScript(101, "Bellbot", 0, "Krage", 8, 1), 110); + addScript(new German::DeskbotScript(103, "DeskBot", 0, "Marsinta", 11, 2), 110); + addScript(new German::DoorbotScript(104, "Doorbot", 0, "Fentible", 11, 1, -1, -1, -1, 0), 100); + addScript(new German::LiftbotScript(105, "LiftBot", 0, "Nobby", 11, 1, -1, -1, -1, 0), 103); + addScript(new German::ParrotScript(107, "Parrot", 0, "The Parrot", 5, 1, -1, -1, -1, 0), 111); + addScript(new German::SuccUBusScript(111, "Succubus", 0, "Shorbert", 9, 1, -1, -1, -1, 0), 110); + addScript(new German::MaitreDScript(112, "MaitreDBot", 0, "Dastrogaaar", 8, 1), 132); + } else { + addScript(new BarbotScript(100, "Barbot", 0, "Fortillian", 9, 1, -1, -1, -1, 0), 112); + addScript(new BellbotScript(101, "Bellbot", 0, "Krage", 8, 1), 110); + addScript(new DeskbotScript(103, "DeskBot", 0, "Marsinta", 11, 2), 110); + addScript(new DoorbotScript(104, "Doorbot", 0, "Fentible", 11, 1, -1, -1, -1, 0), 100); + addScript(new LiftbotScript(105, "LiftBot", 0, "Nobby", 11, 1, -1, -1, -1, 0), 103); + addScript(new ParrotScript(107, "Parrot", 0, "The Parrot", 5, 1, -1, -1, -1, 0), 111); + addScript(new SuccUBusScript(111, "Succubus", 0, "Shorbert", 9, 1, -1, -1, -1, 0), 110); + addScript(new MaitreDScript(112, "MaitreDBot", 0, "Dastrogaaar", 8, 1), 132); + } } void TTscripts::addScript(TTnpcScript *script, int scriptId) { -- cgit v1.2.3