summaryrefslogtreecommitdiffstats
path: root/source/Entity.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 20:46:45 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 20:46:45 +0200
commit37f6c78404aeb92a40c1a96c856e69225788c3db (patch)
treea0fc1be5a64a00b46c6a01db21a936d6f56ab9c3 /source/Entity.h
parentFixed burn / fire damage in each game tick. (diff)
downloadcuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.gz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.bz2
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.lz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.xz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.zst
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.zip
Diffstat (limited to 'source/Entity.h')
-rw-r--r--source/Entity.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/source/Entity.h b/source/Entity.h
index 775b95253..0faa10830 100644
--- a/source/Entity.h
+++ b/source/Entity.h
@@ -43,48 +43,6 @@ class cChunk;
// tolua_begin
-enum eDamageType
-{
- // Canonical names for the types (as documented in the plugin wiki):
- dtAttack, // Being attacked by a mob
- dtLightning, // Hit by a lightning strike
- dtFalling, // Falling down; dealt when hitting the ground
- dtDrowning, // Drowning in water / lava
- dtSuffocating, // Suffocating inside a block
- dtStarving, // Hunger
- dtCactusContact, // Contact with a cactus block
- dtLavaContact, // Contact with a lava block
- dtPoisoning, // Having the poison effect
- dtOnFire, // Being on fire
- dtFireContact, // Standing inside a fire block
- dtInVoid, // Falling into the Void (Y < 0)
- dtPotionOfHarming,
- dtAdmin, // Damage applied by an admin command
-
- // Some common synonyms:
- dtPawnAttack = dtAttack,
- dtEntityAttack = dtAttack,
- dtMob = dtAttack,
- dtMobAttack = dtAttack,
- dtFall = dtFalling,
- dtDrown = dtDrowning,
- dtSuffocation = dtSuffocating,
- dtStarvation = dtStarving,
- dtHunger = dtStarving,
- dtCactus = dtCactusContact,
- dtCactuses = dtCactusContact,
- dtCacti = dtCactusContact,
- dtLava = dtLavaContact,
- dtPoison = dtPoisoning,
- dtBurning = dtOnFire,
- dtInFire = dtFireContact,
- dtPlugin = dtAdmin,
-} ;
-
-
-
-
-
struct TakeDamageInfo
{
eDamageType DamageType; // Where does the damage come from? Being hit / on fire / contact with cactus / ...