26 class HWTeam; |
26 class HWTeam; |
27 |
27 |
28 class HWNamegen |
28 class HWNamegen |
29 { |
29 { |
30 public: |
30 public: |
31 enum RandomTeamMode |
|
32 { |
|
33 rtmEverything = 0, |
|
34 rtmHogNames = 1, |
|
35 }; |
|
36 |
|
37 static void teamRandomTeamName(HWTeam & team); |
31 static void teamRandomTeamName(HWTeam & team); |
38 static void teamRandomGrave(HWTeam & team, bool withDLC = true); |
32 static void teamRandomGrave(HWTeam & team, bool withDLC = true); |
39 static void teamRandomFort(HWTeam & team, bool withDLC = true); |
33 static void teamRandomFort(HWTeam & team, bool withDLC = true); |
40 static void teamRandomFlag(HWTeam & team, bool withDLC = true); |
34 static void teamRandomFlag(HWTeam & team, bool withDLC = true); |
41 static void teamRandomVoice(HWTeam & team, bool withDLC = true); |
35 static void teamRandomVoice(HWTeam & team, bool withDLC = true); |
42 static void teamRandomHats(HWTeam & team, bool withDLC = true); |
36 static void teamRandomHats(HWTeam & team, bool withDLC = true); |
43 static void teamRandomHat(HWTeam & team, const int HedgehogNumber, bool withDLC = true); |
37 static void teamRandomHat(HWTeam & team, const int HedgehogNumber, bool withDLC = true); |
|
38 static void teamRandomHogNames(HWTeam & team); |
44 static void teamRandomHogName(HWTeam & team, const int HedgehogNumber); |
39 static void teamRandomHogName(HWTeam & team, const int HedgehogNumber); |
45 static void teamRandomEverything(HWTeam & team, const enum RandomTeamMode mode); |
40 static void teamRandomEverything(HWTeam & team); |
46 |
41 |
47 private: |
42 private: |
48 HWNamegen(); |
43 HWNamegen(); |
49 |
44 |
50 static QString getRandomTeamName(int kind); |
45 static QString getRandomTeamName(int kind); |