equal
deleted
inserted
replaced
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 #include "achievements.h" |
27 #include "hwconsts.h" |
27 #include "hwconsts.h" |
|
28 #include "frontlib.h" |
28 |
29 |
29 class HWForm; |
30 class HWForm; |
30 class GameUIConfig; |
31 class GameUIConfig; |
31 |
32 |
32 class HWTeamConstructException |
33 class HWTeamConstructException |
51 // constructors |
52 // constructors |
52 HWTeam(const QString & teamname); |
53 HWTeam(const QString & teamname); |
53 HWTeam(const QStringList& strLst); |
54 HWTeam(const QStringList& strLst); |
54 HWTeam(); |
55 HWTeam(); |
55 HWTeam(const HWTeam & other); |
56 HWTeam(const HWTeam & other); |
|
57 ~HWTeam(); |
56 |
58 |
57 // file operations |
59 // file operations |
58 static HWTeam loadFromFile(const QString & teamName); |
60 static HWTeam loadFromFile(const QString & teamName); |
59 bool loadFromFile(); |
61 bool loadFromFile(); |
60 bool deleteFile(); |
62 bool deleteFile(); |
115 QString m_voicepack; |
117 QString m_voicepack; |
116 QList<HWHog> m_hedgehogs; |
118 QList<HWHog> m_hedgehogs; |
117 quint8 m_difficulty; |
119 quint8 m_difficulty; |
118 QList<BindAction> m_binds; |
120 QList<BindAction> m_binds; |
119 |
121 |
|
122 flib_team * m_team; |
|
123 |
120 // class members that contain info for the current game setup |
124 // class members that contain info for the current game setup |
121 quint8 m_numHedgehogs; |
125 quint8 m_numHedgehogs; |
122 int m_color; |
126 int m_color; |
123 bool m_isNetTeam; |
127 bool m_isNetTeam; |
124 QString m_owner; |
128 QString m_owner; |