Fix EGBB support
Status: Beta
Brought to you by:
zwegner
EGBB support was buggy last time I checked (a while ago). Fix it up. Also, I don't like the way Scorpio bitbases work, I just want a bound for the search to use to get the real evaluation (i.e. moves to mate). It's basically just returning a hard evaluation with no search. I'm really not sure if I even want Scorpio bitbases, or bitbases at all.
Logged In: YES
user_id=263380
Originator: NO
I guess this might work for some people (getenv() or command line also makes sense):
#ifdef EGBB
/* TODO: make this user-adjustable and SMP-safe. Note "safe" means it
* doesn't have to load all of it to RAM twice. */
egbb_is_loaded = LoadEgbbLibrary ("egbb/", EGBB_CACHE_SIZE);
if (egbb_is_loaded == 0)
{ // bugbug:drc -- mine sit here:
egbb_is_loaded = LoadEgbbLibrary ("../egbb/", EGBB_CACHE_SIZE);
}
#endif