Ok, so just so I don't make another stupid mistake... All I have to do is checkout r80 of the Box2D SVN and apply the SVN Patch you linked, and that should be it...
I'll try it within the next few minutes and edit this post to confirm/ask for more precision.
Cheers,
Chlikaflok
Edit : It does seem to work, all that's left is that I get "error C2666: 'Fixed::operator *' : 12 overloads have similar conversions" 12 times, all in b2World.cpp. I'll try to work this out by casting the types into what should logically be there, and report back.
Edit2 : After researching and making sure that casting values into bigger values (here casting unsigned short to int) didn't change the value, I cast my problems away (haha nice pun
😉) so here is the correction for the problem I had (I'm writing it here for posterity):
I had 12 errors each on a line looking roughly like this (give or take an x for a y or stuff like that)
Code:
b.minVertex.x = bp->m_worldAABB.minVertex.x + invQ.x * bp->m_bounds[0][p->lowerBounds[0]].value;
Adding a static_cast<int> did the job for setting the compiler's mind.
The result :
Code:
b.minVertex.x = bp->m_worldAABB.minVertex.x + invQ.x * static_cast<int>(bp->m_bounds[0][p->lowerBounds[0]].value);
I know I could have used (int)blablabla, but it seemed cleaner using the old-fashioned static_cast<int>.