equal
deleted
inserted
replaced
29 { |
29 { |
30 public: |
30 public: |
31 |
31 |
32 static void teamRandomName(HWTeam & team, const int HedgehogNumber); |
32 static void teamRandomName(HWTeam & team, const int HedgehogNumber); |
33 static void teamRandomNames(HWTeam & team, const bool changeteamname); |
33 static void teamRandomNames(HWTeam & team, const bool changeteamname); |
|
34 static QString getRandomGrave(); |
|
35 static QString getRandomFort(); |
|
36 static QString getRandomFlag(); |
|
37 static QString getRandomVoice(); |
34 |
38 |
35 private: |
39 private: |
36 HWNamegen(); |
40 HWNamegen(); |
37 |
41 |
38 static QList<QStringList> TypesTeamnames; |
42 static QList<QStringList> TypesTeamnames; |
41 |
45 |
42 static bool loadTypes(); |
46 static bool loadTypes(); |
43 static QStringList dictContents(const QString filename); |
47 static QStringList dictContents(const QString filename); |
44 static QStringList dictsForHat(const QString hatname); |
48 static QStringList dictsForHat(const QString hatname); |
45 |
49 |
46 static QString getRandomGrave(); |
|
47 static QString getRandomFort(); |
|
48 static QString getRandomFlag(); |
|
49 static QString getRandomVoice(); |
|
50 static void teamRandomName(HWTeam & team, const int HedgehogNumber, const QStringList & dict); |
50 static void teamRandomName(HWTeam & team, const int HedgehogNumber, const QStringList & dict); |
51 }; |
51 }; |
52 |
52 |
53 |
53 |
54 |
54 |