Am Samstag 26 Dezember 2009 22:04:31 schrieb Michal Rudolf:
> FIDE changed the number of rating list per year. Alas, Scid seems to use 4-
> lists per year layout even for new games. For example, adding Elo for
> December's Ivanchuk's games used 2756:
> 
> Ivanchuk, Vassily
> 2009:2779,2746,2703,2756,2739
> 
> For 2009, there were 5 lists, for next years there will be six.
> 
Hallo Michal,

indeed, scid is now recognizing only 4 ratings per year.
Maybe someone can make the necessary changes in spellchk.cpp


below the a codesnip:

static const uint ELO_YEAR_FIRST = 1970;
static const uint ELO_YEAR_LAST  = 2010;
static const uint ELO_YEAR_RANGE = ELO_YEAR_LAST + 1 - ELO_YEAR_FIRST;
static const uint ELO_RATINGS_PER_YEAR = 4;
static const uint ELO_FIRST_QUARTERLY_YEAR = 2001;
static const uint ELO_ARRAY_SIZE = ELO_YEAR_RANGE * ELO_RATINGS_PER_YEAR;
static const uint ELO_MONTH_TO_QUARTER[13] = {
    0,         // Unknown month
    0, 0, 0,   // Jan, Feb, Mar
    1, 1, 1,   // Apr, May, Jun
    2, 2, 2,   // Jul, Aug, Sep
    3, 3, 3    // Oct, Nov, Dec
};


Franz

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to