aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_view.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-02-22 20:43:14 -0500
committerPaul Gilbert2016-02-22 20:43:14 -0500
commit572fc8fc9ee65ec29c346f00cb34da482dda8d90 (patch)
treecd0d420fb357d2e92786c6c2011b3ed73e1de18b /engines/titanic/game_view.cpp
parent29215ff3647b5ed2e5ccc40fd7534b0070edd62b (diff)
downloadscummvm-rg350-572fc8fc9ee65ec29c346f00cb34da482dda8d90.tar.gz
scummvm-rg350-572fc8fc9ee65ec29c346f00cb34da482dda8d90.tar.bz2
scummvm-rg350-572fc8fc9ee65ec29c346f00cb34da482dda8d90.zip
TITANIC: Implemented bulk of applicationStarting
Diffstat (limited to 'engines/titanic/game_view.cpp')
-rw-r--r--engines/titanic/game_view.cpp41
1 files changed, 41 insertions, 0 deletions
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