equal
deleted
inserted
replaced
59 |
59 |
60 public: |
60 public: |
61 HWForm(QWidget *parent = 0, QString styleSheet = ""); |
61 HWForm(QWidget *parent = 0, QString styleSheet = ""); |
62 Ui_HWForm ui; |
62 Ui_HWForm ui; |
63 static GameUIConfig * config; |
63 static GameUIConfig * config; |
64 static QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage. Needs sync() calls if you want to get GameUIConfig changes though |
|
65 void updateXfire(); |
64 void updateXfire(); |
66 void PlayDemoQuick(const QString & demofilename); |
65 void PlayDemoQuick(const QString & demofilename); |
67 void exit(); |
66 void exit(); |
68 void setButtonDescription(QString desc); |
67 void setButtonDescription(QString desc); |
69 void backDescription(); |
68 void backDescription(); |
144 |
143 |
145 void saveDemoWithCustomName(); |
144 void saveDemoWithCustomName(); |
146 |
145 |
147 private: |
146 private: |
148 void _NetConnect(const QString & hostName, quint16 port, QString nick); |
147 void _NetConnect(const QString & hostName, quint16 port, QString nick); |
149 void UpdateTeamsLists(const QStringList* editable_teams=0); |
148 void UpdateTeamsLists(); |
150 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
149 void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); |
151 void closeEvent(QCloseEvent *event); |
150 void closeEvent(QCloseEvent *event); |
152 void CustomizePalettes(); |
151 void CustomizePalettes(); |
153 void resizeEvent(QResizeEvent * event); |
152 void resizeEvent(QResizeEvent * event); |
154 //void keyReleaseEvent(QKeyEvent *event); |
153 //void keyReleaseEvent(QKeyEvent *event); |
176 ID_PAGE_NETTYPE , |
175 ID_PAGE_NETTYPE , |
177 ID_PAGE_CAMPAIGN , |
176 ID_PAGE_CAMPAIGN , |
178 ID_PAGE_DRAWMAP , |
177 ID_PAGE_DRAWMAP , |
179 ID_PAGE_DATADOWNLOAD , |
178 ID_PAGE_DATADOWNLOAD , |
180 ID_PAGE_FEEDBACK , |
179 ID_PAGE_FEEDBACK , |
181 ID_PAGE_VIDEOS, |
180 ID_PAGE_VIDEOS , |
182 MAX_PAGE |
181 MAX_PAGE |
183 }; |
182 }; |
184 QPointer<HWGame> game; |
183 QPointer<HWGame> game; |
185 QPointer<HWNetServer> pnetserver; |
184 QPointer<HWNetServer> pnetserver; |
186 QPointer<HWNetRegisterServer> pRegisterServer; |
185 QPointer<HWNetRegisterServer> pRegisterServer; |
187 QPointer<HWTeam> editedTeam; |
186 QPointer<HWTeam> editedTeam; |