Howdy, I have put away a a set of files that is a start towards a slightly extended MatchID. I have built a set of Windows test files (Use at your own risk) that include all the new code. The installer can be found here http://www.gnubg.org/media/windows/gnubg-TESTEXTID-20110323-setup.exe:
This version uses one of our 6 spare bits (Bit 67) to store the flag fNotJacoby. A value of 1=No Jacoby, A value of 0 = Jacoby . Since I am uncertain of 100% compatibility I have ifdef'ed the new extended MatchID support so that we can build either or. A normal ./autogen.sh; ./configure --enable-threads; make; make install will build Old Style MatchID support. To build the new extended MatchID support you can enable it with ./configure --enable-threads --enable-extmatchid . You can also just add #define USE_EXTENDEDMATCHID 1 to your config.h . If you utilize the new code The Jacoby flag contained in XG or an extended style GNUBGID will be used to set the jacoby flag (It will not override the default jacoby setting in Settings/Options/Dice. The global flag is used as the default when starting a new money session, and is also used to set the default Jacoby flag when editing a position. The GUI has been altered slightly as well. The Jacoby flag now appears under the Match length IF the Match Length is 0. If Matchlen > 0 then it shows the Crawford flag. This also applies if you edit the position. There are still some quirks/bugs with the UI and I'll try to clean them up tomorrow. If you are going to test new code I recommend using/building the extended MatchID versions. Once we are sure it is safe I'll remove the compiler directives and default to using the new code for all builds. -- Michael Petch CApp::Sysware Consulting Ltd. OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
