QTfrontend/util/namegen.h
changeset 12501 92c597704e57
parent 12295 ac57d564efce
child 12502 f4b0e164a0d5
equal deleted inserted replaced
12500:2e7a32c44ab3 12501:92c597704e57
    38         static void teamRandomTeamName(HWTeam & team);
    38         static void teamRandomTeamName(HWTeam & team);
    39         static void teamRandomGrave(HWTeam & team, bool withDLC = true);
    39         static void teamRandomGrave(HWTeam & team, bool withDLC = true);
    40         static void teamRandomFort(HWTeam & team, bool withDLC = true);
    40         static void teamRandomFort(HWTeam & team, bool withDLC = true);
    41         static void teamRandomFlag(HWTeam & team, bool withDLC = true);
    41         static void teamRandomFlag(HWTeam & team, bool withDLC = true);
    42         static void teamRandomVoice(HWTeam & team, bool withDLC = true);
    42         static void teamRandomVoice(HWTeam & team, bool withDLC = true);
       
    43         static void teamRandomHat(HWTeam & team, const int HedgehogNumber, bool withDLC = true);
    43         static void teamRandomHogName(HWTeam & team, const int HedgehogNumber);
    44         static void teamRandomHogName(HWTeam & team, const int HedgehogNumber);
    44         static void teamRandomEverything(HWTeam & team, const enum RandomTeamMode mode);
    45         static void teamRandomEverything(HWTeam & team, const enum RandomTeamMode mode);
    45         static void teamRandomHats(HWTeam & team);
       
    46 
    46 
    47     private:
    47     private:
    48         HWNamegen();
    48         HWNamegen();
    49 
    49 
    50         static QString getRandomTeamName(int kind);
    50         static QString getRandomTeamName(int kind);
       
    51         static QString getRandomHat(bool withDLC = true);
    51         static QString getRandomGrave(bool withDLC = true);
    52         static QString getRandomGrave(bool withDLC = true);
    52         static QString getRandomFort(bool withDLC = true);
    53         static QString getRandomFort(bool withDLC = true);
    53         static QString getRandomFlag(bool withDLC = true);
    54         static QString getRandomFlag(bool withDLC = true);
    54         static QString getRandomVoice(bool withDLC = true);
    55         static QString getRandomVoice(bool withDLC = true);
    55 
    56 
    59 
    60 
    60         static bool loadTypes();
    61         static bool loadTypes();
    61         static QStringList dictContents(const QString filename);
    62         static QStringList dictContents(const QString filename);
    62         static QStringList dictsForHat(const QString hatname);
    63         static QStringList dictsForHat(const QString hatname);
    63 
    64 
       
    65         static void teamRandomHat(HWTeam & team, const int HedgehogNumber, const QStringList & dict);
    64         static void teamRandomHogName(HWTeam & team, const int HedgehogNumber, const QStringList & dict);
    66         static void teamRandomHogName(HWTeam & team, const int HedgehogNumber, const QStringList & dict);
    65 };
    67 };
    66 
    68 
    67 
    69 
    68 
    70