Thursday, January 26th, 2012

Thursday, January 26th, 2012 12:43 pm
I need to subclass an abstract class. As I was implementing one of abstract class methods in my derived class, Xcode put a red error mark on "void Listener::BeginContact(b2Contact* c)" line, telling me there are three errors. I double checked my spelling and syntax and found no errors, so I clicked on error mark to see error descriptions. Xcode crashed.

When I restarted Xcode, error mark was still there. I clicked on it and Xcode crashed.

I restarted Xcode, deleted project's derived data, restarted Xcode again. Error mark was still there. I clicked on it and Xcode crashed.

I restarted Xcode, built the project (clean) - error mark was still there. I did the clean build again - and error mark was gone. W. T. F.
Thursday, January 26th, 2012 04:05 pm
I added some new stuff to the code and suddenly the game began drawing platforms half a platform height above where platforms should be rendered. WTF? I did not change platforms code. Clean build did not help. Deleting derived data did not help.

Y U GLITCH ON ME LIKE THIS

So I cloned git of the project to another folder and started reverting to earlier versions. All versions were drawing platforms in wrong positions.



I switched back to latest version and ran it again. All platforms in their places. I ran it again. All platforms were above where they should be.

April 2025

S M T W T F S
  12345
6789101112
13141516171819
202122 23242526
27282930   
Page generated Monday, July 7th, 2025 12:14 am
Powered by Dreamwidth Studios