10-18-2012, 11:44 PM
Gcc is just sooo picky about the sources. I spent a nice hour trying to figure out how to use the std::min() function on a static const int "variable".
Random Chitchat 2012-2016
|
10-18-2012, 11:44 PM
Gcc is just sooo picky about the sources. I spent a nice hour trying to figure out how to use the std::min() function on a static const int "variable".
10-19-2012, 12:55 AM
lols, then why not use a define? Should be faster as well
10-19-2012, 01:49 AM
#defines are not scopable. And there's no difference in speed - both are optimized into constants. Enum and member consts just seem neater.
10-19-2012, 02:55 AM
No I meant for std::min() define a min function
(09-27-2012, 12:04 AM)FakeTruth Wrote: Apparently the client does not send the metadata/health along with window clicks and MCServer does compare it and thinks it's out of sync when it's not the same item I have to clear Mojang's name here, this was my fault - the 1.3.2 protocol silently dropped the item metadata, always using zero. Fixed in rev 976. There's already ton of defines and functions with this name - windows.h defines one, std has another, I think MCServer has yet another somewhere. Too much garbage. And actually the templated version sometimes does optimize better, so I'd like to use that in all places.
10-19-2012, 03:57 AM
(10-19-2012, 03:54 AM)xoft Wrote:I strongly believe that somehow, some way it's still Mojang's fault(09-27-2012, 12:04 AM)FakeTruth Wrote: Apparently the client does not send the metadata/health along with window clicks and MCServer does compare it and thinks it's out of sync when it's not the same itemI have to clear Mojang's name here, this was my fault - the 1.3.2 protocol silently dropped the item metadata, always using zero. Fixed in rev 976
10-19-2012, 07:13 AM
Nice I think I'll drain my battery for a while
The cube movement is a little bit "boring". I'd try making them stop for a while when they hit the ground with their face - this would create a real notion of "marching". Accidentally, have you played Bloxorz? Cool game, and has exactly the marching animation http://www.bloxorz.org.uk/
10-20-2012, 04:49 AM
I think the Floody water simulator is good enough for now, I'm gonna go revisit the wormnestcaves generator. I think I have an idea for making it run faster, plus I need to fix it drilling through water and trees and stuff.
10-20-2012, 04:52 AM
wow cool i'm also happy that MCS now has a much better fluid simulator. and everyday MCS gets more customizable no other server is this customizable
|
« Next Oldest | Next Newest »
|