diff --git a/engines/petka/module.mk b/engines/petka/module.mk index 0daa4327035..029839a6ed7 100644 --- a/engines/petka/module.mk +++ b/engines/petka/module.mk @@ -8,6 +8,7 @@ MODULE_OBJS = \ q_message_object.o \ q_object.o \ q_object_bg.o \ + q_object_case.o \ q_object_cursor.o \ q_system.o diff --git a/engines/petka/q_object_case.cpp b/engines/petka/q_object_case.cpp new file mode 100644 index 00000000000..4bf813d84d7 --- /dev/null +++ b/engines/petka/q_object_case.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 "petka/q_object_case.h" + +namespace Petka { + + + +} // End of namespace Petka diff --git a/engines/petka/q_object_case.h b/engines/petka/q_object_case.h new file mode 100644 index 00000000000..059809c8720 --- /dev/null +++ b/engines/petka/q_object_case.h @@ -0,0 +1,36 @@ +/* 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 PETKA_Q_OBJECT_CASE_H +#define PETKA_Q_OBJECT_CASE_H + +#include "petka/q_object.h" + +namespace Petka { + +class QObjectCase : public QObject { + +}; + +} // End of namespace Petka + +#endif diff --git a/engines/petka/q_system.cpp b/engines/petka/q_system.cpp index 1d0035d8809..1c7daa7fe95 100644 --- a/engines/petka/q_system.cpp +++ b/engines/petka/q_system.cpp @@ -24,13 +24,14 @@ #include "common/substream.h" #include "petka/petka.h" +#include "petka/q_object_case.h" #include "petka/q_object_cursor.h" #include "petka/q_system.h" namespace Petka { QSystem::QSystem(PetkaEngine &vm) - : _vm(vm), _cursor(nullptr) {} + : _vm(vm), _cursor(nullptr), _case(nullptr) {} QSystem::~QSystem() { @@ -81,7 +82,9 @@ bool QSystem::init() { addMessageForAllObjects(kTotalInit); _cursor.reset(new QObjectCursor()); + _case.reset(new QObjectCase()); _allObjects.push_back(_cursor.get()); + _allObjects.push_back(_case.get()); return true; } diff --git a/engines/petka/q_system.h b/engines/petka/q_system.h index 696216140e4..317f410e1fd 100644 --- a/engines/petka/q_system.h +++ b/engines/petka/q_system.h @@ -29,6 +29,7 @@ namespace Petka { class PetkaEngine; +class QObjectCase; class QObjectCursor; class QSystem { @@ -49,6 +50,7 @@ private: Common::Array _allObjects; Common::Array _messages; Common::ScopedPtr _cursor; + Common::ScopedPtr _case; }; } // End of namespace Petka