On Wed, 3 Aug 2011, Michael Petch wrote:
[...] the proper display of the board when importing XGID's (reported by
Leo Bueno on BGO).
What the proper display is may not be that obvious. If the imported
position has the top player on roll (as displayed), your new code will
swap players anyway.
With these fancy XG exports, I don't think there is a way to be sure that
the imported position will look like the html from the xgid alone. FWIW,
XG doesn't do this either : if it exports a position upside down to have
the bottom player on roll in the html, pasting the id will get the
original position.
The question is more like : do we want the pasted positions to always have
the player on roll at the bottom no matter what the id says ?
This is reasonable, but then :
- it should work for cube positions (from the look of the change in set.c,
this is not the case)
- it should work for gnubgids
- it would be nice to have a configuration flag to enable or disable this
_______________________________________________
Bug-gnubg mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnubg