bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] GNU Backgammon 0.16 stable


From: Joerg Picard
Subject: Re: [Bug-gnubg] GNU Backgammon 0.16 stable
Date: Mon, 7 May 2007 18:19:00 -0400

I don't think the issue with swapping player ratings is resolved yet.

Here's the code that needs to be inserted into gnubg.c:

original code:
  /* swap player names */

  pc = strdup ( ap[ 0 ].szName );
  strcpy ( ap[ 0 ].szName, ap[ 1 ].szName );
  strcpy ( ap[ 1 ].szName, pc );
  free ( pc );

insert this:
  /* swap player ratings */

  pc = mi.pchRating[ 0 ];
  mi.pchRating[ 0 ] = mi.pchRating[ 1 ];
  mi.pchRating[ 1 ] = pc;

continue original code:
  /* swap current matchstate */



On May 3, 2007, at 8:37 AM, Christian Anthon wrote:

Hi all,

since the new file choosing interface and the multi-thread code seems
reasonably stable, I think  we ought to "feature freeze" 0.16 and
start a new branch. Anything that needs to be done before we do that?
Øystein's batch code could use a bit of a polish I guess.

Christian.


_______________________________________________
Bug-gnubg mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnubg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]