summaryrefslogtreecommitdiffstats
path: root/src/Defines.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
committerMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
commit87db4b6a904f2877919446b8219d659848da89e8 (patch)
tree617bf18a768a493c2cd428297168f57df0901c26 /src/Defines.h
parentMerge pull request #694 from mc-server/itemframes (diff)
parentRename SkullEntity to MobHeadEntity (diff)
downloadcuberite-87db4b6a904f2877919446b8219d659848da89e8.tar
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.gz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.bz2
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.lz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.xz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.zst
cuberite-87db4b6a904f2877919446b8219d659848da89e8.zip
Diffstat (limited to 'src/Defines.h')
-rw-r--r--src/Defines.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Defines.h b/src/Defines.h
index f33d1ae56..ba2866f83 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -174,6 +174,43 @@ enum eWeather
+enum eMobHeadType
+{
+ SKULL_TYPE_SKELETON = 0,
+ SKULL_TYPE_WITHER = 1,
+ SKULL_TYPE_ZOMBIE = 2,
+ SKULL_TYPE_PLAYER = 3,
+ SKULL_TYPE_CREEPER = 4,
+} ;
+
+
+
+
+
+enum eMobHeadRotation
+{
+ SKULL_ROTATION_NORTH = 0,
+ SKULL_ROTATION_NORTH_NORTH_EAST = 1,
+ SKULL_ROTATION_NORTH_EAST = 2,
+ SKULL_ROTATION_EAST_NORTH_EAST = 3,
+ SKULL_ROTATION_EAST = 4,
+ SKULL_ROTATION_EAST_SOUTH_EAST = 5,
+ SKULL_ROTATION_SOUTH_EAST = 6,
+ SKULL_ROTATION_SOUTH_SOUTH_EAST = 7,
+ SKULL_ROTATION_SOUTH = 8,
+ SKULL_ROTATION_SOUTH_SOUTH_WEST = 9,
+ SKULL_ROTATION_SOUTH_WEST = 10,
+ SKULL_ROTATION_WEST_SOUTH_WEST = 11,
+ SKULL_ROTATION_WEST = 12,
+ SKULL_ROTATION_WEST_NORTH_WEST = 13,
+ SKULL_ROTATION_NORTH_WEST = 14,
+ SKULL_ROTATION_NORTH_NORTH_WEST = 15,
+} ;
+
+
+
+
+
inline const char * ClickActionToString(eClickAction a_ClickAction)
{
switch (a_ClickAction)