aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/hero.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-12-03 14:46:24 +0000
committerKamil Zbróg2013-12-03 14:46:24 +0000
commit69a58457744c662930f5f19b90d95d7647d580b2 (patch)
treed0ea10c811d91a41346db12f469b50f44fb60838 /engines/prince/hero.cpp
parentf19f61a56da04e0dbd6e46ff9a303fdfb68d8390 (diff)
downloadscummvm-rg350-69a58457744c662930f5f19b90d95d7647d580b2.tar.gz
scummvm-rg350-69a58457744c662930f5f19b90d95d7647d580b2.tar.bz2
scummvm-rg350-69a58457744c662930f5f19b90d95d7647d580b2.zip
PRINCE: loadSample with sample looping added, escaping from intro works
Diffstat (limited to 'engines/prince/hero.cpp')
-rw-r--r--engines/prince/hero.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/engines/prince/hero.cpp b/engines/prince/hero.cpp
new file mode 100644
index 0000000000..277e521bee
--- /dev/null
+++ b/engines/prince/hero.cpp
@@ -0,0 +1,34 @@
+/* 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 "prince/hero.h"
+
+namespace Prince {
+
+Hero::Hero() : _number(0), _visible(false), _state(STAY), _middleX(0), _middleY(0)
+ , _boreNum(0), _currHeight(0), _moveDelay(0), _shadMinus(1)
+{
+}
+
+}
+
+/* vim: set tabstop=4 noexpandtab: */