equal
deleted
inserted
replaced
29 { |
29 { |
30 public: |
30 public: |
31 HWNamegen(); |
31 HWNamegen(); |
32 ~HWNamegen(); |
32 ~HWNamegen(); |
33 |
33 |
34 void TeamRandomName(HWTeam*& team, const int HedgehogNumber); |
34 void teamRandomName(HWTeam & team, const int HedgehogNumber); |
35 void TeamRandomNames(HWTeam*& team, const bool changeteamname); |
35 void teamRandomNames(HWTeam & team, const bool changeteamname); |
36 void RandomNameByHat(HWTeam*& team, const int HedgehogNumber); |
36 void randomNameByHat(HWTeam & team, const int HedgehogNumber); |
37 |
37 |
38 private: |
38 private: |
39 |
39 |
40 QList<QStringList> TypesTeamnames; |
40 QList<QStringList> TypesTeamnames; |
41 QList<QStringList> TypesHatnames; |
41 QList<QStringList> TypesHatnames; |
42 bool TypesAvliable; |
42 bool typesAvailable; |
43 void TypesLoad(); |
43 void loadTypes(); |
44 void DictLoad(const QString filename, QStringList &list); |
44 void dictLoad(const QString filename, QStringList &list); |
45 void HatCfgLoad(const QString hatname, QStringList &list); |
45 void hatCfgLoad(const QString hatname, QStringList &list); |
46 |
46 |
47 QString GetRandomGrave(); |
47 QString getRandomGrave(); |
48 QString GetRandomFort(); |
48 QString getRandomFort(); |
49 }; |
49 }; |
50 |
50 |
51 |
51 |
52 |
52 |
53 #endif |
53 #endif |