QTfrontend/team.h
changeset 1840 4747f0232b88
parent 1683 af34da5726aa
child 1907 a104432e8301
--- a/QTfrontend/team.h	Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/team.h	Tue Feb 24 21:47:17 2009 +0000
@@ -59,11 +59,22 @@
 		void GetFromPage(HWForm * hwform);
 		QStringList TeamGameConfig(quint32 InitHealth) const;
 
+		void TeamRandomName(const int &i);
+		void TeamRandomNames(bool changeteamname);
+
 		bool operator==(const HWTeam& t1) const;
 		bool operator<(const HWTeam& t1) const;
 	private:
 		bool m_isNetTeam;
 		QString OldTeamName;
+		void RandomNameByHat(const int &i);
+
+		QList<QStringList> TypesTeamnames;
+		QList<QStringList> TypesHatnames;
+		bool TypesAvliable;
+		void TypesLoad();
+		void DictLoad(const QString filename, QStringList &list);
+		void HatCfgLoad(const QString hatname, QStringList &list);
 };
 
 #endif