equal
deleted
inserted
replaced
31 { |
31 { |
32 }; |
32 }; |
33 |
33 |
34 class HWTeam |
34 class HWTeam |
35 { |
35 { |
36 public: |
36 public: |
37 HWTeam(const QString & teamname); |
37 HWTeam(const QString & teamname); |
38 HWTeam(const QStringList& strLst); |
38 HWTeam(const QStringList& strLst); |
39 HWTeam(); |
39 HWTeam(); |
40 |
40 |
41 bool isNetTeam() const; |
41 bool isNetTeam() const; |
42 |
42 |
43 QString TeamName; |
43 QString TeamName; |
44 QString HHName[8]; |
44 QString HHName[8]; |
45 QString HHHat[8]; |
45 QString HHHat[8]; |
46 QString Grave; |
46 QString Grave; |
47 QString Fort; |
47 QString Fort; |
48 QString Flag; |
48 QString Flag; |
49 QString Voicepack; |
49 QString Voicepack; |
50 QString Owner; |
50 QString Owner; |
51 unsigned int difficulty; |
51 unsigned int difficulty; |
52 BindAction binds[BINDS_NUMBER]; |
52 BindAction binds[BINDS_NUMBER]; |
53 |
53 |
54 unsigned char numHedgehogs; |
54 unsigned char numHedgehogs; |
55 QColor teamColor; |
55 QColor teamColor; |
56 |
56 |
57 bool LoadFromFile(); |
57 bool LoadFromFile(); |
58 bool SaveToFile(); |
58 bool SaveToFile(); |
59 void SetToPage(HWForm * hwform); |
59 void SetToPage(HWForm * hwform); |
60 void GetFromPage(HWForm * hwform); |
60 void GetFromPage(HWForm * hwform); |
61 QStringList TeamGameConfig(quint32 InitHealth) const; |
61 QStringList TeamGameConfig(quint32 InitHealth) const; |
62 |
62 |
63 bool operator==(const HWTeam& t1) const; |
63 bool operator==(const HWTeam& t1) const; |
64 bool operator<(const HWTeam& t1) const; |
64 bool operator<(const HWTeam& t1) const; |
65 private: |
65 private: |
66 bool m_isNetTeam; |
66 bool m_isNetTeam; |
67 QString OldTeamName; |
67 QString OldTeamName; |
68 |
68 |
69 }; |
69 }; |
70 |
70 |
71 #endif |
71 #endif |