summaryrefslogtreecommitdiffstats
path: root/source/Minecart.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-27 11:02:06 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-27 11:02:06 +0100
commit5eff323db2c9ebe18a354fba18359343426c60a7 (patch)
tree6cefb697dc81a6552182a32b44afb2428f211bd6 /source/Minecart.h
parentMade FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it. (diff)
downloadcuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar.gz
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar.bz2
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar.lz
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar.xz
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.tar.zst
cuberite-5eff323db2c9ebe18a354fba18359343426c60a7.zip
Diffstat (limited to 'source/Minecart.h')
-rw-r--r--source/Minecart.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/Minecart.h b/source/Minecart.h
index 72270df85..d46b80b3f 100644
--- a/source/Minecart.h
+++ b/source/Minecart.h
@@ -21,13 +21,16 @@ class cMinecart :
typedef cEntity super;
public:
+ CLASS_PROTODEF(cMinecart);
+
enum ePayload
{
- mpNone, // Empty minecart, ridable by player or mobs
- mpChest, // Minecart-with-chest, can store a grid of 3*8 items
+ 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
} ;
+
cMinecart(ePayload a_Payload, double a_X, double a_Y, double a_Z);
// cEntity overrides: