bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Tutor mode patches for gnubg


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Tutor mode patches for gnubg
Date: Fri, 26 Jul 2002 10:15:53 +0000
User-agent: Mutt/1.2.5.1i

On Thu, Jul 25, 2002 at 06:52:32AM +0000, Joern Thyssen wrote
> On Wed, Jul 24, 2002 at 07:25:16PM +0200, Jim Segrave wrote
> > Maybe that should be a choice - if I (or someone) adds some frills to
> > selecting this mode, then one option could be to select which one to
> > use. I ended up using AnalyzeMove because it was easy for me to see
> > what I needed to hook this code in. I assume that I should be able to
> > find what I need in CommandHint or the routines it calls as well.
> 
> We can change the prototype of AnalyzeMove to take two pointers to
> evalsetups, instead of using the global variables esAnalysis*. When
> called from tutor-mode we pass esEvalCube and esEvalChequer. When called
> from AnalyseGame we pass esAnalysis*.

I made this change yesterday, so tutor mode now uses
esEval{Cube,Chequer} which I believe is more intuitively correct.

Jørn
-- 
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)



reply via email to

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