QTfrontend/team.h
changeset 3381 f8800c44b3de
parent 3344 b18a166e6ca4
child 3758 80007c41c35e
equal deleted inserted replaced
3380:a46a311097af 3381:f8800c44b3de
    52         QString Grave;
    52         QString Grave;
    53         QString Fort;
    53         QString Fort;
    54         QString Flag;
    54         QString Flag;
    55         QString Voicepack;
    55         QString Voicepack;
    56         QString Owner;
    56         QString Owner;
       
    57         int Rounds;
       
    58         int Wins;
    57         HWHog Hedgehogs[8];
    59         HWHog Hedgehogs[8];
    58         unsigned int AchievementProgress[MAX_ACHIEVEMENTS];
    60         unsigned int AchievementProgress[MAX_ACHIEVEMENTS];
    59         unsigned int difficulty;
    61         unsigned int difficulty;
    60         BindAction binds[BINDS_NUMBER];
    62         BindAction binds[BINDS_NUMBER];
    61 
    63 
    63         QColor teamColor;
    65         QColor teamColor;
    64 
    66 
    65         bool LoadFromFile();
    67         bool LoadFromFile();
    66         bool DeleteFile();
    68         bool DeleteFile();
    67         bool SaveToFile();
    69         bool SaveToFile();
       
    70         bool FileExists();
    68         void SetToPage(HWForm * hwform);
    71         void SetToPage(HWForm * hwform);
    69         void GetFromPage(HWForm * hwform);
    72         void GetFromPage(HWForm * hwform);
    70         QStringList TeamGameConfig(quint32 InitHealth) const;
    73         QStringList TeamGameConfig(quint32 InitHealth) const;
    71 
    74 
    72         bool operator==(const HWTeam& t1) const;
    75         bool operator==(const HWTeam& t1) const;