From 61518fb20882d556615a025074659cdd2f89fb69 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 4 Mar 2016 20:21:02 -0500 Subject: TITANIC: Move CPetControl and direct support classes to new folder --- engines/titanic/game/pet/pet_control.cpp | 79 --------------------- engines/titanic/game/pet/pet_control.h | 85 ----------------------- engines/titanic/game/pet/pet_control_sub1.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub1.h | 45 ------------ engines/titanic/game/pet/pet_control_sub2.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub2.h | 45 ------------ engines/titanic/game/pet/pet_control_sub3.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub3.h | 45 ------------ engines/titanic/game/pet/pet_control_sub4.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub4.h | 45 ------------ engines/titanic/game/pet/pet_control_sub5.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub5.h | 45 ------------ engines/titanic/game/pet/pet_control_sub6.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub6.h | 45 ------------ engines/titanic/game/pet/pet_control_sub7.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub7.h | 45 ------------ engines/titanic/game/pet/pet_control_sub8.cpp | 35 ---------- engines/titanic/game/pet/pet_control_sub8.h | 45 ------------ engines/titanic/game/pet/pet_control_sub_base.cpp | 27 ------- engines/titanic/game/pet/pet_control_sub_base.h | 49 ------------- 20 files changed, 880 deletions(-) delete mode 100644 engines/titanic/game/pet/pet_control.cpp delete mode 100644 engines/titanic/game/pet/pet_control.h delete mode 100644 engines/titanic/game/pet/pet_control_sub1.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub1.h delete mode 100644 engines/titanic/game/pet/pet_control_sub2.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub2.h delete mode 100644 engines/titanic/game/pet/pet_control_sub3.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub3.h delete mode 100644 engines/titanic/game/pet/pet_control_sub4.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub4.h delete mode 100644 engines/titanic/game/pet/pet_control_sub5.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub5.h delete mode 100644 engines/titanic/game/pet/pet_control_sub6.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub6.h delete mode 100644 engines/titanic/game/pet/pet_control_sub7.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub7.h delete mode 100644 engines/titanic/game/pet/pet_control_sub8.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub8.h delete mode 100644 engines/titanic/game/pet/pet_control_sub_base.cpp delete mode 100644 engines/titanic/game/pet/pet_control_sub_base.h (limited to 'engines/titanic/game/pet') diff --git a/engines/titanic/game/pet/pet_control.cpp b/engines/titanic/game/pet/pet_control.cpp deleted file mode 100644 index f85b767a85..0000000000 --- a/engines/titanic/game/pet/pet_control.cpp +++ /dev/null @@ -1,79 +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 "titanic/game/pet/pet_control.h" - -namespace Titanic { - -void CPetControl::save(SimpleFile *file, int indent) const { - file->writeNumberLine(0, indent); - file->writeNumberLine(_fieldBC, indent); - file->writeQuotedLine(_string1, indent); - file->writeQuotedLine(_string2, indent); - - saveSubObjects(file, indent); - CGameObject::save(file, indent); -} - -void CPetControl::load(SimpleFile *file) { - int val = file->readNumber(); - // TODO: sub_43A9E0 - - if (!val) { - _fieldBC = file->readNumber(); - _string1 = file->readString(); - _string2 = file->readString(); - - loadSubObjects(file); - } - - CGameObject::load(file); -} - -void CPetControl::gameLoaded() { - // TODO -} - -void CPetControl::loadSubObjects(SimpleFile *file) { - _sub1.load(file); - _sub2.load(file); - _sub3.load(file); - _sub4.load(file); - _sub5.load(file); - _sub6.load(file); - _sub7.load(file); - _sub8.load(file); -} - -void CPetControl::saveSubObjects(SimpleFile *file, int indent) const { - _sub1.save(file, indent); - _sub2.save(file, indent); - _sub3.save(file, indent); - _sub4.save(file, indent); - _sub5.save(file, indent); - _sub6.save(file, indent); - _sub7.save(file, indent); - _sub8.save(file, indent); -} - - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control.h b/engines/titanic/game/pet/pet_control.h deleted file mode 100644 index 33fa11d847..0000000000 --- a/engines/titanic/game/pet/pet_control.h +++ /dev/null @@ -1,85 +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 TITANIC_PET_CONTROL_H -#define TITANIC_PET_CONTROL_H - -#include "titanic/core/game_object.h" -#include "titanic/game/pet/pet_control_sub1.h" -#include "titanic/game/pet/pet_control_sub2.h" -#include "titanic/game/pet/pet_control_sub3.h" -#include "titanic/game/pet/pet_control_sub4.h" -#include "titanic/game/pet/pet_control_sub5.h" -#include "titanic/game/pet/pet_control_sub6.h" -#include "titanic/game/pet/pet_control_sub7.h" -#include "titanic/game/pet/pet_control_sub8.h" - -namespace Titanic { - -class CPetControl : public CGameObject { -private: - int _fieldBC; - int _fieldC0; - int _fieldC4; - int _fieldC8; - CPetControlSub1 _sub1; - CPetControlSub2 _sub2; - CPetControlSub3 _sub3; - CPetControlSub4 _sub4; - CPetControlSub5 _sub5; - CPetControlSub6 _sub6; - CPetControlSub7 _sub7; - CPetControlSub8 _sub8; - int _field1384; - CString _string1; - int _field1394; - CString _string2; - int _field13A4; -private: - void loadSubObjects(SimpleFile *file); - - void saveSubObjects(SimpleFile *file, int indent) const; -public: - /** - * Return the class name - */ - virtual const char *getClassName() const { return "CPetControl"; } - - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); - - /** - * Called after loading a game has finished - */ - void gameLoaded(); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_H */ diff --git a/engines/titanic/game/pet/pet_control_sub1.cpp b/engines/titanic/game/pet/pet_control_sub1.cpp deleted file mode 100644 index 5aa84bd192..0000000000 --- a/engines/titanic/game/pet/pet_control_sub1.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub1.h" - -namespace Titanic { - -void CPetControlSub1::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub1::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub1.h b/engines/titanic/game/pet/pet_control_sub1.h deleted file mode 100644 index 31e1129cae..0000000000 --- a/engines/titanic/game/pet/pet_control_sub1.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB1_H -#define TITANIC_PET_CONTROL_SUB1_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub1 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_H */ diff --git a/engines/titanic/game/pet/pet_control_sub2.cpp b/engines/titanic/game/pet/pet_control_sub2.cpp deleted file mode 100644 index c8c905ef3c..0000000000 --- a/engines/titanic/game/pet/pet_control_sub2.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub2.h" - -namespace Titanic { - -void CPetControlSub2::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub2::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub2.h b/engines/titanic/game/pet/pet_control_sub2.h deleted file mode 100644 index c4e2b208fd..0000000000 --- a/engines/titanic/game/pet/pet_control_sub2.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB2_H -#define TITANIC_PET_CONTROL_SUB2_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub2 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB2_H */ diff --git a/engines/titanic/game/pet/pet_control_sub3.cpp b/engines/titanic/game/pet/pet_control_sub3.cpp deleted file mode 100644 index 5504b1384f..0000000000 --- a/engines/titanic/game/pet/pet_control_sub3.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub3.h" - -namespace Titanic { - -void CPetControlSub3::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub3::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub3.h b/engines/titanic/game/pet/pet_control_sub3.h deleted file mode 100644 index 1b67a1eb1f..0000000000 --- a/engines/titanic/game/pet/pet_control_sub3.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB3_H -#define TITANIC_PET_CONTROL_SUB3_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub3 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB3_H */ diff --git a/engines/titanic/game/pet/pet_control_sub4.cpp b/engines/titanic/game/pet/pet_control_sub4.cpp deleted file mode 100644 index eb605b8826..0000000000 --- a/engines/titanic/game/pet/pet_control_sub4.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub4.h" - -namespace Titanic { - -void CPetControlSub4::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub4::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub4.h b/engines/titanic/game/pet/pet_control_sub4.h deleted file mode 100644 index 426137e519..0000000000 --- a/engines/titanic/game/pet/pet_control_sub4.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB4_H -#define TITANIC_PET_CONTROL_SUB4_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub4 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB4_H */ diff --git a/engines/titanic/game/pet/pet_control_sub5.cpp b/engines/titanic/game/pet/pet_control_sub5.cpp deleted file mode 100644 index d46b3db16c..0000000000 --- a/engines/titanic/game/pet/pet_control_sub5.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub5.h" - -namespace Titanic { - -void CPetControlSub5::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub5::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub5.h b/engines/titanic/game/pet/pet_control_sub5.h deleted file mode 100644 index d76cf8f8cc..0000000000 --- a/engines/titanic/game/pet/pet_control_sub5.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB5_H -#define TITANIC_PET_CONTROL_SUB5_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub5 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB5_H */ diff --git a/engines/titanic/game/pet/pet_control_sub6.cpp b/engines/titanic/game/pet/pet_control_sub6.cpp deleted file mode 100644 index 2a3f26e0fa..0000000000 --- a/engines/titanic/game/pet/pet_control_sub6.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub6.h" - -namespace Titanic { - -void CPetControlSub6::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub6::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub6.h b/engines/titanic/game/pet/pet_control_sub6.h deleted file mode 100644 index 4417665e16..0000000000 --- a/engines/titanic/game/pet/pet_control_sub6.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB6_H -#define TITANIC_PET_CONTROL_SUB6_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub6 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB6_H */ diff --git a/engines/titanic/game/pet/pet_control_sub7.cpp b/engines/titanic/game/pet/pet_control_sub7.cpp deleted file mode 100644 index 7be9b11bc5..0000000000 --- a/engines/titanic/game/pet/pet_control_sub7.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub7.h" - -namespace Titanic { - -void CPetControlSub7::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub7::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub7.h b/engines/titanic/game/pet/pet_control_sub7.h deleted file mode 100644 index cc42f9e27f..0000000000 --- a/engines/titanic/game/pet/pet_control_sub7.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB7_H -#define TITANIC_PET_CONTROL_SUB7_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub7 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB7_H */ diff --git a/engines/titanic/game/pet/pet_control_sub8.cpp b/engines/titanic/game/pet/pet_control_sub8.cpp deleted file mode 100644 index f88e8fdcf0..0000000000 --- a/engines/titanic/game/pet/pet_control_sub8.cpp +++ /dev/null @@ -1,35 +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 "titanic/game/pet/pet_control_sub8.h" - -namespace Titanic { - -void CPetControlSub8::save(SimpleFile *file, int indent) const { - -} - -void CPetControlSub8::load(SimpleFile *file) { - -} - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub8.h b/engines/titanic/game/pet/pet_control_sub8.h deleted file mode 100644 index 76dc6b1688..0000000000 --- a/engines/titanic/game/pet/pet_control_sub8.h +++ /dev/null @@ -1,45 +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 TITANIC_PET_CONTROL_SUB8_H -#define TITANIC_PET_CONTROL_SUB8_H - -#include "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -class CPetControlSub8 : public CPetControlSubBase { -public: - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file); -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB8_H */ diff --git a/engines/titanic/game/pet/pet_control_sub_base.cpp b/engines/titanic/game/pet/pet_control_sub_base.cpp deleted file mode 100644 index 9afb18895e..0000000000 --- a/engines/titanic/game/pet/pet_control_sub_base.cpp +++ /dev/null @@ -1,27 +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 "titanic/game/pet/pet_control_sub_base.h" - -namespace Titanic { - -} // End of namespace Titanic diff --git a/engines/titanic/game/pet/pet_control_sub_base.h b/engines/titanic/game/pet/pet_control_sub_base.h deleted file mode 100644 index b11f5cc78b..0000000000 --- a/engines/titanic/game/pet/pet_control_sub_base.h +++ /dev/null @@ -1,49 +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 TITANIC_PET_CONTROL_SUB_BASE_H -#define TITANIC_PET_CONTROL_SUB_BASE_H - -#include "titanic/simple_file.h" - -namespace Titanic { - -class CPetControlSubBase { -protected: - int _field4; -public: - CPetControlSubBase() : _field4(0) {} - - /** - * Save the data for the class to file - */ - virtual void save(SimpleFile *file, int indent) const = 0; - - /** - * Load the data for the class from file - */ - virtual void load(SimpleFile *file) = 0; -}; - -} // End of namespace Titanic - -#endif /* TITANIC_PET_CONTROL_SUB_BASE_H */ -- cgit v1.2.3