Exemplo n.º 1
0
void Logstalgia::reset() {

    end_reached = false;

    highscore = 0;

    initPaddles();
    initRequestBalls();

    ipSummarizer->recalc_display();

    for(Summarizer* s : summarizers) {
        s->recalc_display();
    }

    queued_entries.clear();

    // reset settings
    elapsed_time  = 0;
    starttime     = 0;
    lasttime      = 0;
}
Exemplo n.º 2
0
void Logstalgia::reset() {

    end_reached = false;

    highscore = 0;

    initPaddles();
    initRequestBalls();

    ipSummarizer->recalc_display();

    for(size_t i=0;i<summGroups.size();i++) {
        summGroups[i]->recalc_display();
    }

    queued_entries.clear();

    // reset settings
    elapsed_time  = 0;
    starttime     = 0;
    lasttime      = 0;
}
Exemplo n.º 3
0
void Logstalgia::reinit() {
    initPaddles();
    initRequestBalls();
    resizeGroups();
    slider.resize();
}