--- a/QTfrontend/gamecfgwidget.h Wed Jan 09 21:22:22 2008 +0000
+++ b/QTfrontend/gamecfgwidget.h Fri Jan 11 21:45:24 2008 +0000
@@ -43,6 +43,8 @@
quint32 getTurnTime() const;
QStringList getFullConfig() const;
+ QString getNetAmmo() const; // FIXME: hack - this class should contain all ammo states itself
+
QComboBox* WeaponsName;
public slots:
@@ -52,6 +54,7 @@
void setInitHealth(quint32 health);
void setTurnTime(quint32 time);
void setFortsMode(bool value);
+ void setNetAmmo(const QString&);
signals:
void seedChanged(const QString & seed);
@@ -60,6 +63,7 @@
void initHealthChanged(quint32 health);
void turnTimeChanged(quint32 time);
void fortsModeChanged(bool value);
+ void newWeaponsName(const QString& weapon);
private:
QCheckBox * CB_mode_Forts;
@@ -70,6 +74,8 @@
QLabel * L_TurnTime;
QLabel * L_InitHealth;
+ QString curNetAmmo;
+
private slots:
void onSeedChanged(const QString & seed);
void onMapChanged(const QString & map);