summaryrefslogtreecommitdiffstats
path: root/source/Minecart.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 21:19:46 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 21:19:46 +0200
commit4face38fdc6872f7e1ad26c28baa52836a2e709f (patch)
tree9ee407dd1d3ab05c100888d91318950e8c5e968b /source/Minecart.h
parentReplaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. (diff)
parentAnother compile fix (diff)
downloadcuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.gz
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.bz2
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.lz
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.xz
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.zst
cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.zip
Diffstat (limited to 'source/Minecart.h')
-rw-r--r--source/Minecart.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/source/Minecart.h b/source/Minecart.h
index e205a4963..d78739fc5 100644
--- a/source/Minecart.h
+++ b/source/Minecart.h
@@ -29,7 +29,9 @@ public:
mpNone, // Empty minecart, ridable by player or mobs
mpChest, // Minecart-with-chest, can store a grid of 3*8 items
mpFurnace, // Minecart-with-furnace, can be powered
- // TODO: Other 1.5 features: hopper, tnt, dispenser, spawner
+ mpTNT, // Minecart-with-TNT, can be blown up with activator rail
+ mpHopper, // Minecart-with-hopper, can be hopper
+ // TODO: Spawner minecarts, (and possibly any block in a minecart with NBT editing)
} ;
// cEntity overrides:
@@ -115,3 +117,29 @@ public:
+
+class cMinecartWithTNT :
+ public cMinecart
+{
+ typedef cMinecart super;
+
+public:
+ CLASS_PROTODEF(cMinecartWithTNT);
+
+ cMinecartWithTNT(double a_X, double a_Y, double a_Z);
+} ;
+
+
+
+
+
+class cMinecartWithHopper :
+ public cMinecart
+{
+ typedef cMinecart super;
+
+public:
+ CLASS_PROTODEF(cMinecartWithHopper);
+
+ cMinecartWithHopper(double a_X, double a_Y, double a_Z);
+} ; \ No newline at end of file