QTfrontend/gamecfgwidget.h
changeset 1784 dfe9bafb4590
parent 1783 169ebeefd7ab
child 1797 fedd8649fdd9
equal deleted inserted replaced
1783:169ebeefd7ab 1784:dfe9bafb4590
    79 	void setSuddenDeathTurns(int turns);
    79 	void setSuddenDeathTurns(int turns);
    80 	void setCaseProbability(int prob);
    80 	void setCaseProbability(int prob);
    81 	void setFortsMode(bool value);
    81 	void setFortsMode(bool value);
    82 	void setTeamsDivide(bool value);
    82 	void setTeamsDivide(bool value);
    83 	void setSolid(bool value);
    83 	void setSolid(bool value);
       
    84 	void setBorder(bool value);
    84 	void setNetAmmo(const QString& name, const QString& ammo);
    85 	void setNetAmmo(const QString& name, const QString& ammo);
    85 
    86 
    86 signals:
    87 signals:
    87 	void seedChanged(const QString & seed);
    88 	void seedChanged(const QString & seed);
    88 	void mapChanged(const QString & map);
    89 	void mapChanged(const QString & map);
    92 	void suddenDeathTurnsChanged(int turns);
    93 	void suddenDeathTurnsChanged(int turns);
    93 	void caseProbabilityChanged(int prob);
    94 	void caseProbabilityChanged(int prob);
    94 	void fortsModeChanged(bool value);
    95 	void fortsModeChanged(bool value);
    95 	void teamsDivideChanged(bool value);
    96 	void teamsDivideChanged(bool value);
    96 	void solidChanged(bool value);
    97 	void solidChanged(bool value);
       
    98 	void borderChanged(bool value);
    97 	void newWeaponScheme(const QString & name, const QString & ammo);
    99 	void newWeaponScheme(const QString & name, const QString & ammo);
    98 
   100 
    99 private slots:
   101 private slots:
   100 	void ammoChanged(int index);
   102 	void ammoChanged(int index);
   101 
   103 
   102 private:
   104 private:
   103 	QCheckBox * CB_mode_Forts;
   105 	QCheckBox * CB_mode_Forts;
   104 	QCheckBox * CB_teamsDivide;
   106 	QCheckBox * CB_teamsDivide;
   105 	QCheckBox * CB_solid;
   107 	QCheckBox * CB_solid;
       
   108 	QCheckBox * CB_border;
   106 	QGridLayout mainLayout;
   109 	QGridLayout mainLayout;
   107 	HWMapContainer* pMapContainer;
   110 	HWMapContainer* pMapContainer;
   108 	QSpinBox * SB_TurnTime;
   111 	QSpinBox * SB_TurnTime;
   109 	QSpinBox * SB_InitHealth;
   112 	QSpinBox * SB_InitHealth;
   110 	QSpinBox * SB_SuddenDeath;
   113 	QSpinBox * SB_SuddenDeath;