summaryrefslogtreecommitdiffstats
path: root/libksirtet/base/highscores.cpp
blob: a157b84fb316c4d308571daf0835419f05954245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "highscores.h"

#include <kurl.h>

#include "factory.h"


using namespace KExtHighscore;

BaseHighscores::BaseHighscores()
{
    const BaseBoardInfo &bi = bfactory->bbi;
    if ( bi.histogramSize!=0 ) {
        TQMemArray<uint> a;
        a.duplicate(bi.histogram, bi.histogramSize);
        setScoreHistogram(a, bi.scoreBound ? ScoreBound : ScoreNotBound);
    }
}