diff options
author | Paul Gilbert | 2016-04-01 19:42:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-01 19:42:53 -0400 |
commit | 3f3f4d910d5185ff74396e989babd4fce27bfff5 (patch) | |
tree | 23a63983aef8cfa82d37b400690e48ebaff81828 /engines/titanic/gfx | |
parent | 08e8f105dcca1400120574f794d770c03198ef3a (diff) | |
download | scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.tar.gz scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.tar.bz2 scummvm-rg350-3f3f4d910d5185ff74396e989babd4fce27bfff5.zip |
TITANIC: Moved gfx/ pet classes into pet_control/
Diffstat (limited to 'engines/titanic/gfx')
28 files changed, 8 insertions, 860 deletions
diff --git a/engines/titanic/gfx/icon_nav_butt.h b/engines/titanic/gfx/icon_nav_butt.h index 36d3eb0890..b2db4c7794 100644 --- a/engines/titanic/gfx/icon_nav_butt.h +++ b/engines/titanic/gfx/icon_nav_butt.h @@ -23,7 +23,7 @@ #ifndef TITANIC_ICON_NAV_BUTT_H #define TITANIC_ICON_NAV_BUTT_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/icon_nav_image.h b/engines/titanic/gfx/icon_nav_image.h index 61febfd2a4..295ffe7d3b 100644 --- a/engines/titanic/gfx/icon_nav_image.h +++ b/engines/titanic/gfx/icon_nav_image.h @@ -23,7 +23,7 @@ #ifndef TITANIC_ICON_NAV_IMAGE_H #define TITANIC_ICON_NAV_IMAGE_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/icon_nav_receive.h b/engines/titanic/gfx/icon_nav_receive.h index cce1df2279..36eed5376b 100644 --- a/engines/titanic/gfx/icon_nav_receive.h +++ b/engines/titanic/gfx/icon_nav_receive.h @@ -23,7 +23,7 @@ #ifndef TITANIC_ICON_NAV_RECEIVE_H #define TITANIC_ICON_NAV_RECEIVE_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/icon_nav_send.h b/engines/titanic/gfx/icon_nav_send.h index 1ffb8e9e15..d25d0b9149 100644 --- a/engines/titanic/gfx/icon_nav_send.h +++ b/engines/titanic/gfx/icon_nav_send.h @@ -23,7 +23,7 @@ #ifndef TITANIC_ICON_NAV_SEND_H #define TITANIC_ICON_NAV_SEND_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/pet_drag_chev.cpp b/engines/titanic/gfx/pet_drag_chev.cpp deleted file mode 100644 index 24b4666b3a..0000000000 --- a/engines/titanic/gfx/pet_drag_chev.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_drag_chev.h" - -namespace Titanic { - -void CPetDragChev::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CPetGraphic2::save(file, indent); -} - -void CPetDragChev::load(SimpleFile *file) { - file->readNumber(); - CPetGraphic2::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_drag_chev.h b/engines/titanic/gfx/pet_drag_chev.h deleted file mode 100644 index e82afd0a1b..0000000000 --- a/engines/titanic/gfx/pet_drag_chev.h +++ /dev/null @@ -1,47 +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_DRAG_CHEV_H -#define TITANIC_PET_DRAG_CHEV_H - -#include "titanic/gfx/pet_graphic2.h" - -namespace Titanic { - -class CPetDragChev : public CPetGraphic2 { -public: - CLASSDEF - - /** - * 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_DRAG_CHEV_H */ diff --git a/engines/titanic/gfx/pet_graphic.cpp b/engines/titanic/gfx/pet_graphic.cpp deleted file mode 100644 index b625c1dfdb..0000000000 --- a/engines/titanic/gfx/pet_graphic.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_graphic.h" - -namespace Titanic { - -void CPetGraphic::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CGameObject::save(file, indent); -} - -void CPetGraphic::load(SimpleFile *file) { - file->readNumber(); - CGameObject::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_graphic.h b/engines/titanic/gfx/pet_graphic.h deleted file mode 100644 index 112d75a870..0000000000 --- a/engines/titanic/gfx/pet_graphic.h +++ /dev/null @@ -1,47 +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_GRAPHIC_H -#define TITANIC_PET_GRAPHIC_H - -#include "titanic/core/game_object.h" - -namespace Titanic { - -class CPetGraphic : public CGameObject { -public: - CLASSDEF - - /** - * 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_GRAPHIC_H */ diff --git a/engines/titanic/gfx/pet_graphic2.cpp b/engines/titanic/gfx/pet_graphic2.cpp deleted file mode 100644 index 5588c72fba..0000000000 --- a/engines/titanic/gfx/pet_graphic2.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_graphic2.h" - -namespace Titanic { - -void CPetGraphic2::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CGameObject::save(file, indent); -} - -void CPetGraphic2::load(SimpleFile *file) { - file->readNumber(); - CGameObject::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_graphic2.h b/engines/titanic/gfx/pet_graphic2.h deleted file mode 100644 index d9bb514915..0000000000 --- a/engines/titanic/gfx/pet_graphic2.h +++ /dev/null @@ -1,47 +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_GRAPHIC2_H -#define TITANIC_PET_GRAPHIC2_H - -#include "titanic/core/game_object.h" - -namespace Titanic { - -class CPetGraphic2 : public CGameObject { -public: - CLASSDEF - - /** - * 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_GRAPHIC2_H */ diff --git a/engines/titanic/gfx/pet_leaf.cpp b/engines/titanic/gfx/pet_leaf.cpp deleted file mode 100644 index adb6ccd144..0000000000 --- a/engines/titanic/gfx/pet_leaf.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_leaf.h" - -namespace Titanic { - -void PETLeaf::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CGameObject::save(file, indent); -} - -void PETLeaf::load(SimpleFile *file) { - file->readNumber(); - CGameObject::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_leaf.h b/engines/titanic/gfx/pet_leaf.h deleted file mode 100644 index 073374970c..0000000000 --- a/engines/titanic/gfx/pet_leaf.h +++ /dev/null @@ -1,47 +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_LEAF_H -#define TITANIC_PET_LEAF_H - -#include "titanic/core/game_object.h" - -namespace Titanic { - -class PETLeaf : public CGameObject { -public: - CLASSDEF - - /** - * 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_LEAF_H */ diff --git a/engines/titanic/gfx/pet_mode_off.cpp b/engines/titanic/gfx/pet_mode_off.cpp deleted file mode 100644 index d94ced085e..0000000000 --- a/engines/titanic/gfx/pet_mode_off.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 "titanic/gfx/pet_mode_off.h" - -namespace Titanic { - -CPetModeOff::CPetModeOff() : CToggleSwitch() { -} - -void CPetModeOff::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CToggleSwitch::save(file, indent); -} - -void CPetModeOff::load(SimpleFile *file) { - file->readNumber(); - CToggleSwitch::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_mode_off.h b/engines/titanic/gfx/pet_mode_off.h deleted file mode 100644 index ea88255b93..0000000000 --- a/engines/titanic/gfx/pet_mode_off.h +++ /dev/null @@ -1,48 +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_MODE_OFF_H -#define TITANIC_PET_MODE_OFF_H - -#include "titanic/gfx/toggle_switch.h" - -namespace Titanic { - -class CPetModeOff : public CToggleSwitch { -public: - CLASSDEF - CPetModeOff(); - - /** - * 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_MODE_OFF_H */ diff --git a/engines/titanic/gfx/pet_mode_on.cpp b/engines/titanic/gfx/pet_mode_on.cpp deleted file mode 100644 index 2de07455fa..0000000000 --- a/engines/titanic/gfx/pet_mode_on.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 "titanic/gfx/pet_mode_on.h" - -namespace Titanic { - -CPetModeOn::CPetModeOn() : CToggleSwitch() { -} - -void CPetModeOn::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CToggleSwitch::save(file, indent); -} - -void CPetModeOn::load(SimpleFile *file) { - file->readNumber(); - CToggleSwitch::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_mode_on.h b/engines/titanic/gfx/pet_mode_on.h deleted file mode 100644 index 1434fb20db..0000000000 --- a/engines/titanic/gfx/pet_mode_on.h +++ /dev/null @@ -1,48 +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_MODE_ON_H -#define TITANIC_PET_MODE_ON_H - -#include "titanic/gfx/toggle_switch.h" - -namespace Titanic { - -class CPetModeOn : public CToggleSwitch { -public: - CLASSDEF - CPetModeOn(); - - /** - * 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_MODE_ON_H */ diff --git a/engines/titanic/gfx/pet_mode_panel.cpp b/engines/titanic/gfx/pet_mode_panel.cpp deleted file mode 100644 index 050cb768df..0000000000 --- a/engines/titanic/gfx/pet_mode_panel.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 "titanic/gfx/pet_mode_panel.h" - -namespace Titanic { - -CPetModePanel::CPetModePanel() : CToggleSwitch() { -} - -void CPetModePanel::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CToggleSwitch::save(file, indent); -} - -void CPetModePanel::load(SimpleFile *file) { - file->readNumber(); - CToggleSwitch::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_mode_panel.h b/engines/titanic/gfx/pet_mode_panel.h deleted file mode 100644 index ef68ca8b06..0000000000 --- a/engines/titanic/gfx/pet_mode_panel.h +++ /dev/null @@ -1,48 +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_MODE_PANEL_H -#define TITANIC_PET_MODE_PANEL_H - -#include "titanic/gfx/toggle_switch.h" - -namespace Titanic { - -class CPetModePanel : public CToggleSwitch { -public: - CLASSDEF - CPetModePanel(); - - /** - * 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_MODE_PANEL_H */ diff --git a/engines/titanic/gfx/pet_pannel1.cpp b/engines/titanic/gfx/pet_pannel1.cpp deleted file mode 100644 index baa7558ea0..0000000000 --- a/engines/titanic/gfx/pet_pannel1.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_pannel1.h" - -namespace Titanic { - -void CPetPannel1::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CPetGraphic::save(file, indent); -} - -void CPetPannel1::load(SimpleFile *file) { - file->readNumber(); - CPetGraphic::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_pannel1.h b/engines/titanic/gfx/pet_pannel1.h deleted file mode 100644 index 9261af9077..0000000000 --- a/engines/titanic/gfx/pet_pannel1.h +++ /dev/null @@ -1,47 +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_PANNEL1_H -#define TITANIC_PET_PANNEL1_H - -#include "titanic/gfx/pet_graphic.h" - -namespace Titanic { - -class CPetPannel1 : public CPetGraphic { -public: - CLASSDEF - - /** - * 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_PANNEL1_H */ diff --git a/engines/titanic/gfx/pet_pannel2.cpp b/engines/titanic/gfx/pet_pannel2.cpp deleted file mode 100644 index 7376fcc4c5..0000000000 --- a/engines/titanic/gfx/pet_pannel2.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_pannel2.h" - -namespace Titanic { - -void CPetPannel2::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CPetGraphic::save(file, indent); -} - -void CPetPannel2::load(SimpleFile *file) { - file->readNumber(); - CPetGraphic::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_pannel2.h b/engines/titanic/gfx/pet_pannel2.h deleted file mode 100644 index 561c0d74a2..0000000000 --- a/engines/titanic/gfx/pet_pannel2.h +++ /dev/null @@ -1,47 +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_PANNEL2_H -#define TITANIC_PET_PANNEL2_H - -#include "titanic/gfx/pet_graphic.h" - -namespace Titanic { - -class CPetPannel2 : public CPetGraphic { -public: - CLASSDEF - - /** - * 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_PANNEL2_H */ diff --git a/engines/titanic/gfx/pet_pannel3.cpp b/engines/titanic/gfx/pet_pannel3.cpp deleted file mode 100644 index f4bd1fb0cc..0000000000 --- a/engines/titanic/gfx/pet_pannel3.cpp +++ /dev/null @@ -1,37 +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/gfx/pet_pannel3.h" - -namespace Titanic { - -void CPetPannel3::save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CPetGraphic::save(file, indent); -} - -void CPetPannel3::load(SimpleFile *file) { - file->readNumber(); - CPetGraphic::load(file); -} - -} // End of namespace Titanic diff --git a/engines/titanic/gfx/pet_pannel3.h b/engines/titanic/gfx/pet_pannel3.h deleted file mode 100644 index 590818406a..0000000000 --- a/engines/titanic/gfx/pet_pannel3.h +++ /dev/null @@ -1,47 +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_PANNEL3_H -#define TITANIC_PET_PANNEL3_H - -#include "titanic/gfx/pet_graphic.h" - -namespace Titanic { - -class CPetPannel3 : public CPetGraphic { -public: - CLASSDEF - - /** - * 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_PANNEL3_H */ diff --git a/engines/titanic/gfx/sgt_selector.h b/engines/titanic/gfx/sgt_selector.h index 678ee77b06..8ebd7ae255 100644 --- a/engines/titanic/gfx/sgt_selector.h +++ b/engines/titanic/gfx/sgt_selector.h @@ -23,7 +23,7 @@ #ifndef TITANIC_SGT_SELECTOR_H #define TITANIC_SGT_SELECTOR_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/text_down.h b/engines/titanic/gfx/text_down.h index 6fc55bb647..189f795650 100644 --- a/engines/titanic/gfx/text_down.h +++ b/engines/titanic/gfx/text_down.h @@ -23,7 +23,7 @@ #ifndef TITANIC_TEXT_DOWN_H #define TITANIC_TEXT_DOWN_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/text_skrew.h b/engines/titanic/gfx/text_skrew.h index 6d7e714963..aa6c375098 100644 --- a/engines/titanic/gfx/text_skrew.h +++ b/engines/titanic/gfx/text_skrew.h @@ -23,7 +23,7 @@ #ifndef TITANIC_TEXT_SKREW_H #define TITANIC_TEXT_SKREW_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { diff --git a/engines/titanic/gfx/text_up.h b/engines/titanic/gfx/text_up.h index 328aeee0ee..103f62159c 100644 --- a/engines/titanic/gfx/text_up.h +++ b/engines/titanic/gfx/text_up.h @@ -23,7 +23,7 @@ #ifndef TITANIC_TEXT_UP_H #define TITANIC_TEXT_UP_H -#include "titanic/gfx/pet_graphic.h" +#include "titanic/pet_control/pet_graphic.h" namespace Titanic { |