QTfrontend/team.h
changeset 1840 4747f0232b88
parent 1683 af34da5726aa
child 1907 a104432e8301
equal deleted inserted replaced
1839:5dd4cb7fd7e5 1840:4747f0232b88
    57 		bool SaveToFile();
    57 		bool SaveToFile();
    58 		void SetToPage(HWForm * hwform);
    58 		void SetToPage(HWForm * hwform);
    59 		void GetFromPage(HWForm * hwform);
    59 		void GetFromPage(HWForm * hwform);
    60 		QStringList TeamGameConfig(quint32 InitHealth) const;
    60 		QStringList TeamGameConfig(quint32 InitHealth) const;
    61 
    61 
       
    62 		void TeamRandomName(const int &i);
       
    63 		void TeamRandomNames(bool changeteamname);
       
    64 
    62 		bool operator==(const HWTeam& t1) const;
    65 		bool operator==(const HWTeam& t1) const;
    63 		bool operator<(const HWTeam& t1) const;
    66 		bool operator<(const HWTeam& t1) const;
    64 	private:
    67 	private:
    65 		bool m_isNetTeam;
    68 		bool m_isNetTeam;
    66 		QString OldTeamName;
    69 		QString OldTeamName;
       
    70 		void RandomNameByHat(const int &i);
       
    71 
       
    72 		QList<QStringList> TypesTeamnames;
       
    73 		QList<QStringList> TypesHatnames;
       
    74 		bool TypesAvliable;
       
    75 		void TypesLoad();
       
    76 		void DictLoad(const QString filename, QStringList &list);
       
    77 		void HatCfgLoad(const QString hatname, QStringList &list);
    67 };
    78 };
    68 
    79 
    69 #endif
    80 #endif