bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Parameterised board geometry


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Parameterised board geometry
Date: Fri, 19 Sep 2003 07:01:56 +0000
User-agent: Mutt/1.4.1i

On Fri, Sep 19, 2003 at 01:16:17AM +0200, Jim Segrave wrote
> 
> I have just completed a first cut at 'magic number removal' and have a
> verion of gnubg where the entire board structure is defined by the
> chequer diamter, cube and die size and the amount of extra space to be 
> included between the points. I've built a 72x108 board with this.
> (Although examining the code indicates that this is not safe to use as 
> it's not actually possible to place a die or doubling cube between two
> opposing points with five chequers). The shortest board where this
> won't happen is a 74x108.

Yes, this is problem for the html image export. As far as I know Gary
fixed this by elongating the board when exporting html images.

> gtkboard.c blows up if I change the chequer size to 8, #ifdeff'ing
> this call out still gives a board with all sorts of problem areas, a
> blank stripe, incomplete rendering of the frame edges, etc. 

A lot of these magic numbers show up in the *_invalidate_* routines in
gtkboard.c.

Jørn

Attachment: pgpNotP8rWY54.pgp
Description: PGP signature


reply via email to

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