# HG changeset patch # User Wuzzy # Date 1506973159 -7200 # Node ID 91e55ce06ffc8805e8999a4a1812dd92cc063a48 # Parent a791a08062d662308605049e0a1709c4a194c331 Reduce number of initial teams: 4 human, 2 AI teams diff -r a791a08062d6 -r 91e55ce06ffc ChangeLog.txt --- a/ChangeLog.txt Mon Oct 02 20:59:40 2017 +0200 +++ b/ChangeLog.txt Mon Oct 02 21:39:19 2017 +0200 @@ -253,7 +253,7 @@ + Additional button for just randomizing theme that will not change your selected map + Randomizing map/theme in online-mode will not include DLC-content + New teams start with a random grave and fort - + Hedgewars creates 5 human teams and 5 computer teams on its first launch + + Hedgewars creates 4 human teams and 2 computer teams on its first launch + Allow to randomize hog names, hats, team name, flag, grave, voice and fort separately + “Random team” button is now able to randomly select from all available hats * Fix flag being selectable for computer players although it had no effect diff -r a791a08062d6 -r 91e55ce06ffc QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Mon Oct 02 20:59:40 2017 +0200 +++ b/QTfrontend/hwform.cpp Mon Oct 02 21:39:19 2017 +0200 @@ -462,7 +462,7 @@ QString currentNickName = config->value("net/nick",tr("Guest")+QString("%1").arg(rand())).toString().toUtf8(); QString teamName; int firstHumanTeam = 1; - int lastHumanTeam = 5; + int lastHumanTeam = 4; // Default team if (currentNickName.isEmpty()) @@ -487,7 +487,7 @@ // Add additional default teams - // 4 human teams to allow local multiplayer instantly + // More human teams to allow local multiplayer instantly for(int i=firstHumanTeam; i<=lastHumanTeam; i++) { //: Default team name @@ -498,8 +498,8 @@ numberTeam.saveToFile(); teamslist.push_back(teamName); } - // Add default CPU teams for each level - for(int i=1; i<=5; i++) + // Add 2 default CPU teams + for(int i=2; i<=5; i=i+2) { //: Default computer team name teamName = tr("Computer %1").arg(i);