You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
461 B
20 lines
461 B
#include "highscores.h"
|
|
|
|
#include <kurl.h>
|
|
|
|
#include "factory.h"
|
|
|
|
|
|
using namespace KExtHighscore;
|
|
|
|
BaseHighscores::BaseHighscores()
|
|
{
|
|
setWWHighscores(KURL( bfactory->mainData.homepage ), bfactory->mainData.version);
|
|
const BaseBoardInfo &bi = bfactory->bbi;
|
|
if ( bi.histogramSize!=0 ) {
|
|
TQMemArray<uint> a;
|
|
a.duplicate(bi.histogram, bi.histogramSize);
|
|
setScoreHistogram(a, bi.scoreBound ? ScoreBound : ScoreNotBound);
|
|
}
|
|
}
|