QTfrontend/gamecfgwidget.h
changeset 1427 b510f7a74ef6
parent 1217 d6d91eec00f2
child 1517 27caa8c6e73a
--- a/QTfrontend/gamecfgwidget.h	Sun Oct 26 17:23:04 2008 +0000
+++ b/QTfrontend/gamecfgwidget.h	Sun Oct 26 17:39:33 2008 +0000
@@ -52,22 +52,25 @@
 	void setSeed(const QString & seed);
 	void setMap(const QString & map);
 	void setTheme(const QString & theme);
-	void setInitHealth(quint32 health);
-	void setTurnTime(quint32 time);
+	void setInitHealth(int health);
+	void setTurnTime(int time);
 	void setFortsMode(bool value);
+	void setTeamsDivide(bool value);
 	void setNetAmmo(const QString& name, const QString& ammo);
 
 signals:
 	void seedChanged(const QString & seed);
 	void mapChanged(const QString & map);
 	void themeChanged(const QString & theme);
-	void initHealthChanged(quint32 health);
-	void turnTimeChanged(quint32 time);
+	void initHealthChanged(int health);
+	void turnTimeChanged(int time);
 	void fortsModeChanged(bool value);
+	void teamsDivideChanged(bool value);
 	void newWeaponsName(const QString& weapon);
 
 private:
 	QCheckBox * CB_mode_Forts;
+	QCheckBox * CB_teamsDivide;
 	QGridLayout mainLayout;
 	HWMapContainer* pMapContainer;
 	QSpinBox * SB_TurnTime;
@@ -77,15 +80,6 @@
 
 	QString curNetAmmoName;
 	QString curNetAmmo;
-
-private slots:
-	void onSeedChanged(const QString & seed);
-	void onMapChanged(const QString & map);
-	void onThemeChanged(const QString & theme);
-	void onInitHealthChanged(int health);
-	void onTurnTimeChanged(int time);
-	void onFortsModeChanged(bool value);
-
 };
 
 #endif // GAMECONFIGWIDGET_H