From cc4e4345deebd36db77ec8befea4894c4169d0ed Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Sun, 6 Nov 2011 20:39:44 +0000 Subject: Redstone is now self aware. It's not quite as dumb as it used to be at any rate. Redstone wires have no range and understand they are supposed to stay on whenever there's an active torch touching it. (Need to add other power devices) git-svn-id: http://mc-server.googlecode.com/svn/trunk@68 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRedstone.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/cRedstone.h') 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; + }; -- cgit v1.2.3