]> git.sesse.net Git - ccbs/blobdiff - bigscreen/group.h
Only allocate space for four digits in the score screen -- if somebody actually gets...
[ccbs] / bigscreen / group.h
index 6961a90b5b2636a1e71213ebec91cc8801c6e3ba..3aa0efce2d08e2b97ec9b36e90cf212a475edb35 100644 (file)
@@ -6,18 +6,18 @@
 
 /* This more or less mimics the structures from show-tournament.pl */
 struct Song {
 
 /* 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;
 };
 struct Score {
        Song song;
        bool chosen;
-       unsigned score;
-}:
+       int score;
+};
 struct Player {
        unsigned id;
        widestring nick;
 struct Player {
        unsigned id;
        widestring nick;
-       unsigned score, rank;
+       unsigned total, rank;
        
        std::vector<Score> scores;
 };
        
        std::vector<Score> scores;
 };