Explosions and TNT block and entity
#8
You know, a friend once said, "whitespace is free, so use it freely". You might want to take that advice as wellTongue

I hopefully fixed your code to compile on Linux, it had some really bad issues - you put a pointer into a list and then let the object it was pointing to die, etc. So I fixed that up, too. Also, a vector is a better data structure here, since you can more or less approximate the number of elements, so you can even pre-allocate it, thus saving quite a few reallocations; a list has to allocate each item, so it's slow.
Reply
Thanks given by:


Messages In This Thread
Explosions and TNT block and entity - by keyboard - 04-18-2013, 12:54 PM
RE: Explosions and TNT block and entity - by xoft - 04-18-2013, 05:45 PM
RE: Explosions and TNT block and entity - by xoft - 04-18-2013, 11:32 PM
RE: Explosions and TNT block and entity - by xoft - 04-19-2013, 06:28 PM
RE: Explosions and TNT block and entity - by xoft - 04-21-2013, 05:49 AM
RE: Explosions and TNT block and entity - by xoft - 04-21-2013, 06:14 AM
RE: Explosions and TNT block and entity - by xoft - 04-21-2013, 06:46 AM
RE: Explosions and TNT block and entity - by xoft - 03-09-2014, 04:03 AM
RE: Explosions and TNT block and entity - by xoft - 03-09-2014, 06:27 AM



Users browsing this thread: 1 Guest(s)