QTfrontend/gamecfgwidget.h
changeset 1797 fedd8649fdd9
parent 1784 dfe9bafb4590
child 1802 dd148e2506e2
--- a/QTfrontend/gamecfgwidget.h	Sat Feb 14 21:04:51 2009 +0000
+++ b/QTfrontend/gamecfgwidget.h	Sun Feb 15 14:38:02 2009 +0000
@@ -66,6 +66,7 @@
 	quint32 getTurnTime() const;
 	quint32 getSuddenDeathTurns() const;
 	quint32 getCaseProbability() const;
+	quint32 getTemplateFilter() const;
 	QStringList getFullConfig() const;
 
 	QComboBox* WeaponsName;
@@ -83,6 +84,7 @@
 	void setSolid(bool value);
 	void setBorder(bool value);
 	void setNetAmmo(const QString& name, const QString& ammo);
+    void setTemplateFilter(int filter);
 
 signals:
 	void seedChanged(const QString & seed);
@@ -97,9 +99,11 @@
 	void solidChanged(bool value);
 	void borderChanged(bool value);
 	void newWeaponScheme(const QString & name, const QString & ammo);
+	void newTemplateFilter(int filter);
 
 private slots:
 	void ammoChanged(int index);
+	void templateFilterChanged(int filter);
 
 private:
 	QCheckBox * CB_mode_Forts;
@@ -111,6 +115,7 @@
 	QSpinBox * SB_TurnTime;
 	QSpinBox * SB_InitHealth;
 	QSpinBox * SB_SuddenDeath;
+	QComboBox* CB_TemplateFilter;
 	FreqSpinBox * SB_CaseProb;
 	QLabel * L_TurnTime;
 	QLabel * L_InitHealth;