equal
deleted
inserted
replaced
50 class HWForm : public QMainWindow |
50 class HWForm : public QMainWindow |
51 { |
51 { |
52 Q_OBJECT |
52 Q_OBJECT |
53 |
53 |
54 public: |
54 public: |
55 HWForm(QWidget *parent = 0); |
55 HWForm(QWidget *parent = 0, QString styleSheet = ""); |
56 Ui_HWForm ui; |
56 Ui_HWForm ui; |
57 SDLInteraction sdli; |
57 SDLInteraction sdli; |
58 GameUIConfig * config; |
58 GameUIConfig * config; |
59 QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage. Needs sync() calls if you want to get GameUIConfig changes though |
59 QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage. Needs sync() calls if you want to get GameUIConfig changes though |
60 void updateXfire(); |
60 void updateXfire(); |
115 void NetGameSlave(); |
115 void NetGameSlave(); |
116 |
116 |
117 void AsyncNetServerStart(); |
117 void AsyncNetServerStart(); |
118 void NetLeftRoom(); |
118 void NetLeftRoom(); |
119 void selectFirstNetScheme(); |
119 void selectFirstNetScheme(); |
|
120 |
|
121 void saveDemoWithCustomName(); |
120 |
122 |
121 private: |
123 private: |
122 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
124 void _NetConnect(const QString & hostName, quint16 port, const QString & nick); |
123 void UpdateTeamsLists(const QStringList* editable_teams=0); |
125 void UpdateTeamsLists(const QStringList* editable_teams=0); |
124 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
126 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
160 AmmoSchemeModel * ammoSchemeModel; |
162 AmmoSchemeModel * ammoSchemeModel; |
161 QStack<int> PagesStack; |
163 QStack<int> PagesStack; |
162 QTime eggTimer; |
164 QTime eggTimer; |
163 BGWidget * wBackground; |
165 BGWidget * wBackground; |
164 QSignalMapper * pageSwitchMapper; |
166 QSignalMapper * pageSwitchMapper; |
|
167 QByteArray m_lastDemo; |
165 |
168 |
166 #ifdef __APPLE__ |
169 #ifdef __APPLE__ |
167 InstallController * panel; |
170 InstallController * panel; |
168 #endif |
171 #endif |
169 |
172 |