Redstone...
#9
I forgot to make that change to cRedstone.cpp and included the same problem in cPiston.cpp. Oops


I think the redstone class should be changed to not update blocks, but to build a queue of blocks that need to be changed and send all the blocks that need to be changed to the world tick queue.

Anyone else have any ideas on this?

Also, now that I have a working fill algorithm, I should probably change it to a more efficient one. I used the easiest one to program in as a proof of concept. Currently, a 10x10x1 block of redstone requires 344 block replacements instead of just 100, and I don't know how many times it checks each block. Probably more than 344 times
Reply
Thanks given by:


Messages In This Thread
Redstone... - by rs2k - 11-02-2011, 12:22 PM
RE: Redstone... - by FakeTruth - 11-02-2011, 12:48 PM
RE: Redstone... - by rs2k - 11-02-2011, 01:15 PM
RE: Redstone... - by rs2k - 11-04-2011, 03:55 AM
RE: Redstone... - by rs2k - 11-04-2011, 05:26 AM
RE: Redstone... - by FakeTruth - 11-04-2011, 10:22 AM
RE: Redstone... - by rs2k - 11-04-2011, 03:12 PM
RE: Redstone... - by FakeTruth - 11-05-2011, 01:53 AM
RE: Redstone... - by rs2k - 11-06-2011, 04:46 AM
RE: Redstone... - by rs2k - 11-09-2011, 11:35 AM
RE: Redstone... - by NiLSPACE - 11-28-2012, 05:29 AM



Users browsing this thread: 1 Guest(s)