Cuberite Forum
cRedstone, BlockRedstone... etc. - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: cRedstone, BlockRedstone... etc. (/thread-537.html)



cRedstone, BlockRedstone... etc. - FakeTruth - 08-20-2012

cRedstone contains an old and broken redstone simulator. It has been superseded quite a while ago by cRedstoneSimulator.

I wanted to remove cRedstone but BlockRedstone, BlockRedstoneRepeater and BlockRedstoneTorch are dependant on it.

Does this mean all those files can be removed? Or will it break stuffTongue


RE: cRedstone, BlockRedstone... etc. - Lapayo - 08-23-2012

Sorry for the late answer:
You should not completly remove those files, since they also contain other code which isnĀ“t handled by the simulator. (Right placement, action, etc)
But if the simulator handles the placing and destroying of blocks you can simply cut out the block placement handling from those classes.
I could also do this, if you want Wink

Lapayo