diff -r 2e7a32c44ab3 -r 92c597704e57 QTfrontend/util/namegen.h --- a/QTfrontend/util/namegen.h Sat Sep 23 07:45:18 2017 +0200 +++ b/QTfrontend/util/namegen.h Sat Sep 23 09:12:35 2017 +0200 @@ -40,14 +40,15 @@ static void teamRandomFort(HWTeam & team, bool withDLC = true); static void teamRandomFlag(HWTeam & team, bool withDLC = true); static void teamRandomVoice(HWTeam & team, bool withDLC = true); + static void teamRandomHat(HWTeam & team, const int HedgehogNumber, bool withDLC = true); static void teamRandomHogName(HWTeam & team, const int HedgehogNumber); static void teamRandomEverything(HWTeam & team, const enum RandomTeamMode mode); - static void teamRandomHats(HWTeam & team); private: HWNamegen(); static QString getRandomTeamName(int kind); + static QString getRandomHat(bool withDLC = true); static QString getRandomGrave(bool withDLC = true); static QString getRandomFort(bool withDLC = true); static QString getRandomFlag(bool withDLC = true); @@ -61,6 +62,7 @@ static QStringList dictContents(const QString filename); static QStringList dictsForHat(const QString hatname); + static void teamRandomHat(HWTeam & team, const int HedgehogNumber, const QStringList & dict); static void teamRandomHogName(HWTeam & team, const int HedgehogNumber, const QStringList & dict); };