summaryrefslogtreecommitdiffstats
path: root/src/Mobs/NewMonster.c
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-20 23:42:18 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-20 23:42:18 +0200
commit9cbc50a7e051d4198c36dc5ff40ee21002ff2769 (patch)
tree727e0a2a40519245a0aae63fe558a1635741c022 /src/Mobs/NewMonster.c
parentAdded NewMonster to the make list for mobs (diff)
downloadcuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar.gz
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar.bz2
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar.lz
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar.xz
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.tar.zst
cuberite-9cbc50a7e051d4198c36dc5ff40ee21002ff2769.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/NewMonster.c0
-rw-r--r--src/Mobs/NewMonster.cpp10
2 files changed, 10 insertions, 0 deletions
diff --git a/src/Mobs/NewMonster.c b/src/Mobs/NewMonster.c
deleted file mode 100644
index e69de29bb..000000000
--- a/src/Mobs/NewMonster.c
+++ /dev/null
diff --git a/src/Mobs/NewMonster.cpp b/src/Mobs/NewMonster.cpp
new file mode 100644
index 000000000..14fa54607
--- /dev/null
+++ b/src/Mobs/NewMonster.cpp
@@ -0,0 +1,10 @@
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+#include "NewMonster.h"
+
+cNewMonster::cNewMonster(const AString & a_ConfigName, eType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height)
+ : super(etMonster, a_Width, a_Height)
+ , m_MobType(a_MobType)
+ , m_SoundHurt(a_SoundHurt)
+ , m_SoundDeath(a_SoundDeath)
+{
+}