MCMic {l Wrote}:Ok, reversing of check structures is now working!
Great news!
The only problem left is that karts start after the finish line instead of before, so they have to do one more lap, the first one is not counted.
The track being reversed, karts start position should be the other side of the lap line.
This is fixed in r10831 - I accidentally started the 'distance from start' calculation in reverse mode with the wrong node

(and the wrap around of distance from start triggers the new lap detection).
There is one additional thing which we have to check: auria added some code to better determine the rescue position, which I am not really familiar with. I'll ask her tomorrow (there is at least one hardcoded test for graph node 0 in it, which might not be right anymore).
How are these positions calculated?
If you are still interested, see QuadGraph::setDefaultStartPositions, there's some comments explaining the details.
PS: Also, look at the code, I'm not sure you'll like everything in it. I was kind of bugged that m_check_structure_to_change_state was a vector of int and not unsigned int, it seems that's because the xml reading needs a vector of int. I also had to put CheckManager as a friend class of CheckStructure.
OK, I'll have a look.
We are close to merging everything back to trunk. Auria has already improved the design of the track-info dialog (its layout is now specified in an XML file, not hard coded anymore), so merging those two together is necessary, but that's not too bad.
Stay tuned, I'll update this thread

Thanks!
Joerg