X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fccbs_bigscreen.cpp;h=5c91b9e045fe4cfce7d7fcc4f5a3ec963d56b61f;hp=8180724c33bbb8f20231048fce44046f9357baa2;hb=5a591d5e5db52bb78fd794342f090c7db66211dd;hpb=7efdf061d8e7e8a68d9641ee4261f219099a02a9 diff --git a/bigscreen/ccbs_bigscreen.cpp b/bigscreen/ccbs_bigscreen.cpp index 8180724..5c91b9e 100644 --- a/bigscreen/ccbs_bigscreen.cpp +++ b/bigscreen/ccbs_bigscreen.cpp @@ -12,6 +12,7 @@ #include "fetch_auxilliary_screens.h" #include "fonts.h" #include "groupscreen.h" +#include "top10scorescreen.h" #include "splitscreen.h" #include "rotatescreen.h" @@ -56,7 +57,11 @@ void init(pqxx::connection &conn) conn.perform(FetchAuxilliaryScreens(&aux_screens)); for (std::vector::const_iterator i = aux_screens.begin(); i != aux_screens.end(); ++i) { -// std::fprintf(stderr, "Auxilliary screen '%s'\n", i->c_str()); + if (*i == widestring("top10scores")) { + screens.push_back(new Top10ScoreScreen(conn, active_tournament.id)); + continue; + } + std::fprintf(stderr, "Foobarbaz?\n"); } // hack