diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-17 20:14:08 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-17 20:14:08 +0100 |
commit | 777041806fb5085e94838fa9bb0b1c3fe0b61696 (patch) | |
tree | b39ccdda97d69406a08358fe1c84349d25c421e4 /src/Defines.h | |
parent | Merge pull request #688 from worktycho/Flags (diff) | |
download | cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar.gz cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar.bz2 cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar.lz cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar.xz cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.tar.zst cuberite-777041806fb5085e94838fa9bb0b1c3fe0b61696.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Defines.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Defines.h b/src/Defines.h index f33d1ae56..7e22cbdc5 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -174,6 +174,43 @@ enum eWeather +enum eSkullType +{ + SKULL_TYPE_SKELETON = 0, + SKULL_TYPE_WITHER = 1, + SKULL_TYPE_ZOMBIE = 2, + SKULL_TYPE_PLAYER = 3, + SKULL_TYPE_CREEPER = 4, +} ; + + + + + +enum eSkullRotation +{ + 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) |