QTfrontend/namegen.h
changeset 6015 daffc14a518a
parent 5114 a05081bc2769
child 6024 d38da7c19e43
--- a/QTfrontend/namegen.h	Sat Sep 24 22:27:20 2011 +0400
+++ b/QTfrontend/namegen.h	Sat Sep 24 22:14:10 2011 +0200
@@ -31,21 +31,21 @@
     HWNamegen();
     ~HWNamegen();
 
-    void TeamRandomName(HWTeam*& team, const int HedgehogNumber);
-    void TeamRandomNames(HWTeam*& team, const bool changeteamname);
-    void RandomNameByHat(HWTeam*& team, const int HedgehogNumber);
+    void teamRandomName(HWTeam & team, const int HedgehogNumber);
+    void teamRandomNames(HWTeam & team, const bool changeteamname);
+    void randomNameByHat(HWTeam & team, const int HedgehogNumber);
 
 private:
 
         QList<QStringList> TypesTeamnames;
         QList<QStringList> TypesHatnames;
-        bool TypesAvliable;
-        void TypesLoad();
-        void DictLoad(const QString filename, QStringList &list);
-        void HatCfgLoad(const QString hatname, QStringList &list);
+        bool typesAvailable;
+        void loadTypes();
+        void dictLoad(const QString filename, QStringList &list);
+        void hatCfgLoad(const QString hatname, QStringList &list);
 
-		QString GetRandomGrave();
-		QString GetRandomFort();
+        QString getRandomGrave();
+        QString getRandomFort();
 };