bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Win32 3D build Sep 15th


From: Jim Segrave
Subject: Re: [Bug-gnubg] Win32 3D build Sep 15th
Date: Mon, 15 Sep 2003 18:40:27 +0200
User-agent: Mutt/1.4.1i

On Mon 15 Sep 2003 (17:04 +0200), Nardy Pillads wrote:
> On 15 Sep 2003 at 16:11, Holger wrote:
> 
> > At 16:01 15.09.2003 +0200, Nardy Pillads wrote:
> > 
> > >Win32, 3D build of Sep 15th (ChangeLog 1.1379) crashes at startup.
> > >
> > >Splash screen says: Rendering board.
> > 
> > Could you please try with an CVS update later than Mon Sep 15 13:38:11
> > 2003 UTC, that is no more than 30 minutes ago?
> > 
> > Regards,
> > 
> >          Holger 
> > 
> After deleting .gnubgautorc, gnubg runs, but:
> 
> There is missing part of the board (see attachment),
> and it crashes after resizing the window or Settings 

render.c has so many magic numbers in it that it's virtually
impossible to change the board aspect ratio - 

search for:

82, 108, 79, 76 for starters (BOARD_HEIGHT, BOARD_WIDTH, (BOARD_HEIGHT
- 3), (BOARD_HEIGHT - 6). There are *lots* of other integers which I
suspect are related to the board dimensions. After replacing those and
still getting core-dumps, I gave up, because I simply can't guess
where the number come from.

I have no idea why there's 44, 35, 99, you name it. It's a nightmare
of fixed constants which I assume are related to board dimensions.

For the moment, the board has to remain 82x108 until someone has the time
and energy to convert *all* of these to #defines based on the two
fundamental dimensions.

I've committed a version of boarddim.h with the height forced to 82

-- 
Jim Segrave           address@hidden





reply via email to

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