9046
Graphics / AW: Re: Shape doesn't compile
« on: December 18, 2012, 11:51:38 am »There is a boolean in sf::Shape that is private. When I use MSVC++ 2010 debug mode I can 'watch' a variable or what have you. The boolean is something like isCompiled or myIsCompiled or some such name and it shows up as false. So I wondered if anyone here might know what that means...obviously not.And I should've guessed that how?
If you're already looking at implementation details you could've also looked how and when that boolean gets set.
I'd guess that your described shape is a concave shape and iirc SFML 1.6 as well as SFML 2.0 provides only direct support for convex shapes.
As for 2.0 I would use it if there were a tutorial on how to get it up and running. The download page says to "wait until the final version is released, and tutorials are written. " so in an effort to not annoy the piss out of people here, I abstain. Also tutorials I've looked at elsewhere are either incomplete or incorrect, or something on my pc is broken.The offical tutorials on how to set things up are already finished and complete for SFML 2. What other sources say I can't judge, but it's often the case that they get outdated.
I wonder when posting links to board rules got started as a way of answering a question. All it seems to do in most cases is annoy the hell out of people. That was a musing, not a flame btw.If you had taken your time to read the rules you'd have seen in the last post how to write a good post and if then had compared it to your post it would've gotten clear to you what I wanted to point out.
And again if you want solutions to your problems quickly, it's important to not hold back information or assume that somthing is well known and most impotantly provide a minimal and complete example that reproduces your problem.