equal
deleted
inserted
replaced
21 #define TEAM_H |
21 #define TEAM_H |
22 |
22 |
23 #include <QColor> |
23 #include <QColor> |
24 #include <QString> |
24 #include <QString> |
25 #include "binds.h" |
25 #include "binds.h" |
|
26 #include "achievements.h" |
26 |
27 |
27 class HWForm; |
28 class HWForm; |
28 class GameUIConfig; |
29 class GameUIConfig; |
29 |
30 |
30 class HWTeamConstructException |
31 class HWTeamConstructException |
31 { |
32 { |
|
33 }; |
|
34 |
|
35 struct HWHog |
|
36 { |
|
37 QString Name; |
|
38 QString Hat; |
|
39 int Rounds, Kills, Deaths, Suicides; |
32 }; |
40 }; |
33 |
41 |
34 class HWTeam |
42 class HWTeam |
35 { |
43 { |
36 public: |
44 public: |
39 HWTeam(); |
47 HWTeam(); |
40 |
48 |
41 bool isNetTeam() const; |
49 bool isNetTeam() const; |
42 |
50 |
43 QString TeamName; |
51 QString TeamName; |
44 QString HHName[8]; |
|
45 QString HHHat[8]; |
|
46 QString Grave; |
52 QString Grave; |
47 QString Fort; |
53 QString Fort; |
48 QString Flag; |
54 QString Flag; |
49 QString Voicepack; |
55 QString Voicepack; |
50 QString Owner; |
56 QString Owner; |
|
57 HWHog Hedgehogs[8]; |
|
58 unsigned int AchievementProgress[MAX_ACHIEVEMENTS]; |
51 unsigned int difficulty; |
59 unsigned int difficulty; |
52 BindAction binds[BINDS_NUMBER]; |
60 BindAction binds[BINDS_NUMBER]; |
53 |
61 |
54 unsigned char numHedgehogs; |
62 unsigned char numHedgehogs; |
55 QColor teamColor; |
63 QColor teamColor; |