Hello. So I think I've fucked up pretty big time.
Apparently some coding I did broke something either in vs2008 or in one of the includes needed.
To give some background; I was coding to make a enemy turn to face me in 2d, and I wanted to use the sf::sprite::FlipX function. However I soon ran into a problem, namely that I could not, with any ease, check whether it had been flipped.
I decided to do some modifying to the SFML source code(not a good idea I know) to make the myIsFlippedX and myIsFlippedY variable of sf::sprite not private, but instead protected (since I have a class that inherits from sf::sprite I could then put in a IsFlipped function as a class member).
So basically I changed this
00154 protected :
00155
00160 virtual void Render(RenderTarget& Target) const;
00161
00162 private :
00163
00165 // Member data
00167 ResourcePtr<Image> myImage;
00168 IntRect mySubRect;
00169 bool myIsFlippedX;
00170 bool myIsFlippedY;
Into this:
00154 protected :
00155
00160 virtual void Render(RenderTarget& Target) const;
00161 bool myIsFlippedY;
bool myIsFlippedX;
00162 private :
00163
00165 // Member data
00167 ResourcePtr<Image> myImage;
00168 IntRect mySubRect;
(the code is taken from the website documentation).
The problem is that when I did that, well the game looked really weird (check out the screenshot).
Furthermore, even after I changed back the code, and even removed the SFML1.6 folder and put in a new one the issue still appears.
I have only one clue. When I first recompiled after the inital, succesful but bugged out run, VS2008 gave me an error link to a file called xtree. Something about nodes and roots. Can't seem to find the file now tho.
From what I've read about it xtree might have something to do with vectors, which I use vigourously in my work.
Anyone got any clues on how to fix this?
If anyone needs the code for figuring it out, send me a pm and I'll send it over!
PS: I also posted a non-bugged screenshot, taken from a week-old release build.
PSS: Crap, just remembered that this should probabky have been in the Graphical help section T_T
[attachment deleted by admin]