]> git.sesse.net Git - ccbs/blobdiff - bigscreen/group.h
Add a line for "needed to secure qualifiction"/"needed to qualify". SQL cleanups...
[ccbs] / bigscreen / group.h
index 6961a90b5b2636a1e71213ebec91cc8801c6e3ba..312d71e2d23b388622a20229aaffa11abcdf31ff 100644 (file)
@@ -6,24 +6,25 @@
 
 /* This more or less mimics the structures from show-tournament.pl */
 struct Song {
-       unsigned id;
-       widestring title, artist;
+       int id;
+       widestring title, short_title, artist;
 };
 struct Score {
        Song song;
        bool chosen;
-       unsigned score;
-}:
+       int score;
+};
 struct Player {
-       unsigned id;
+       unsigned id, position;
        widestring nick;
-       unsigned score, rank;
+       unsigned total, rank;
        
        std::vector<Score> scores;
 };
 
 struct Group {
        unsigned tournament, round, parallel;
+       unsigned num_qualifying;
        std::vector<Player> players;
 };