40 QString getCurrentSeed() const; |
40 QString getCurrentSeed() const; |
41 QString getCurrentMap() const; |
41 QString getCurrentMap() const; |
42 QString getCurrentTheme() const; |
42 QString getCurrentTheme() const; |
43 quint32 getInitHealth() const; |
43 quint32 getInitHealth() const; |
44 quint32 getTurnTime() const; |
44 quint32 getTurnTime() const; |
|
45 quint32 getSuddenDeathTurns() const; |
|
46 quint32 getCaseProbability() const; |
45 QStringList getFullConfig() const; |
47 QStringList getFullConfig() const; |
46 |
48 |
47 QComboBox* WeaponsName; |
49 QComboBox* WeaponsName; |
48 |
50 |
49 public slots: |
51 public slots: |
50 void setSeed(const QString & seed); |
52 void setSeed(const QString & seed); |
51 void setMap(const QString & map); |
53 void setMap(const QString & map); |
52 void setTheme(const QString & theme); |
54 void setTheme(const QString & theme); |
53 void setInitHealth(int health); |
55 void setInitHealth(int health); |
54 void setTurnTime(int time); |
56 void setTurnTime(int time); |
|
57 void setSuddenDeathTurns(int turns); |
|
58 void setCaseProbability(int prob); |
55 void setFortsMode(bool value); |
59 void setFortsMode(bool value); |
56 void setTeamsDivide(bool value); |
60 void setTeamsDivide(bool value); |
57 void setSolid(bool value); |
61 void setSolid(bool value); |
58 void setNetAmmo(const QString& name, const QString& ammo); |
62 void setNetAmmo(const QString& name, const QString& ammo); |
59 |
63 |
61 void seedChanged(const QString & seed); |
65 void seedChanged(const QString & seed); |
62 void mapChanged(const QString & map); |
66 void mapChanged(const QString & map); |
63 void themeChanged(const QString & theme); |
67 void themeChanged(const QString & theme); |
64 void initHealthChanged(int health); |
68 void initHealthChanged(int health); |
65 void turnTimeChanged(int time); |
69 void turnTimeChanged(int time); |
|
70 void suddenDeathTurnsChanged(int turns); |
|
71 void caseProbabilityChanged(int prob); |
66 void fortsModeChanged(bool value); |
72 void fortsModeChanged(bool value); |
67 void teamsDivideChanged(bool value); |
73 void teamsDivideChanged(bool value); |
68 void solidChanged(bool value); |
74 void solidChanged(bool value); |
69 void newWeaponScheme(const QString & name, const QString & ammo); |
75 void newWeaponScheme(const QString & name, const QString & ammo); |
70 |
76 |
77 QCheckBox * CB_solid; |
83 QCheckBox * CB_solid; |
78 QGridLayout mainLayout; |
84 QGridLayout mainLayout; |
79 HWMapContainer* pMapContainer; |
85 HWMapContainer* pMapContainer; |
80 QSpinBox * SB_TurnTime; |
86 QSpinBox * SB_TurnTime; |
81 QSpinBox * SB_InitHealth; |
87 QSpinBox * SB_InitHealth; |
|
88 QSpinBox * SB_SuddenDeath; |
|
89 QSpinBox * SB_CaseProb; |
82 QLabel * L_TurnTime; |
90 QLabel * L_TurnTime; |
83 QLabel * L_InitHealth; |
91 QLabel * L_InitHealth; |
|
92 QLabel * L_SuddenDeath; |
|
93 QLabel * L_CaseProb; |
84 |
94 |
85 QString curNetAmmoName; |
95 QString curNetAmmoName; |
86 QString curNetAmmo; |
96 QString curNetAmmo; |
87 }; |
97 }; |
88 |
98 |