From 572fc8fc9ee65ec29c346f00cb34da482dda8d90 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 22 Feb 2016 20:43:14 -0500 Subject: TITANIC: Implemented bulk of applicationStarting --- engines/titanic/game_view.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 engines/titanic/game_view.cpp (limited to 'engines/titanic/game_view.cpp') diff --git a/engines/titanic/game_view.cpp b/engines/titanic/game_view.cpp new file mode 100644 index 0000000000..d8410f1457 --- /dev/null +++ b/engines/titanic/game_view.cpp @@ -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. + * + */ + +#include "titanic/game_view.h" +#include "titanic/game_manager.h" + +namespace Titanic { + +CGameView::CGameView() : _gameManager(nullptr), _field8(0), _fieldC(0) { +} + +void CGameView::setGameManager(CGameManager *gameManager) { + _gameManager = gameManager; +} + +/*------------------------------------------------------------------------*/ + +CTitanicGameView::CTitanicGameView(CMainGameWindow *gameWindow) : + CGameView(), _gameWindow(gameWindow) { +} + +} // End of namespace Titanic -- cgit v1.2.3