summaryrefslogtreecommitdiffstats
path: root/source/cRedstone.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-06 21:39:44 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-06 21:39:44 +0100
commitcc4e4345deebd36db77ec8befea4894c4169d0ed (patch)
tree0d5ba972628b757be1c7ae6fa0a088f1d5220969 /source/cRedstone.h
parentPatch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch. (diff)
downloadcuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar.gz
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar.bz2
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar.lz
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar.xz
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.tar.zst
cuberite-cc4e4345deebd36db77ec8befea4894c4169d0ed.zip
Diffstat (limited to '')
-rw-r--r--source/cRedstone.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/cRedstone.h b/source/cRedstone.h
index b4f8e7eed..31af95e59 100644
--- a/source/cRedstone.h
+++ b/source/cRedstone.h
@@ -22,10 +22,12 @@ static char RepeaterRotationToMetaData( float a_Rotation )
}
-void LightRedstone( int, int, int, char );
+char LightRedstone( int, int, int, char );
void ChangeRedstoneTorch( int, int, int, bool );
cWorld* m_World;
+char m_Metadata;
+
};