skipped = 0;
Planet allFriends;
- allFriends.addToThis(friends);
+ allFriends.addToThis(friends, tick);
Fleet allHostiles;
- allHostiles.addToThis(hostiles);
+ allHostiles.addToThis(hostiles, tick);
map<string, map<string, int> > stealfriendly;
map<string, map<string, int> > stealhostile;
calcOneTick(&allFriends, &allHostiles, stealfriendly, stealhostile );
+ //allFriends.printFleet();
+
allFriends.distributeLossesGains(friends, tick);
allHostiles.distributeLossesGains(hostiles, tick);
}
string unittype = i->second;
- cerr << "Initiative: " << s_Units[unittype].initiative() << " with unit: " << unittype << endl;
+ //cerr << "Initiative: " << s_Units[unittype].initiative() << " with unit: " << unittype << endl;
if (s_Units[unittype].type() == "EMP")
{