X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Ffleet.h;h=6946d3c5ae9521ae8c7da30662684705ce47d33c;hb=935b6de2d1428854d76acc20b1727eb4a30f9273;hp=673eb42037aa9ef965782ff4e1f81f194aedc0c9;hpb=5b3a1459c35efe60c4255a5c50a1d74fdbe8e8eb;p=hbs.git diff --git a/bs/fleet.h b/bs/fleet.h index 673eb42..6946d3c 100644 --- a/bs/fleet.h +++ b/bs/fleet.h @@ -179,7 +179,7 @@ public: * and are staying long enough. * \todo add the stays part as a integrated part of each fleet. */ - std::vector calculateSide(std::vector fleets, int stays = 0, int tick = 0); + std::vector calculateSide(std::vector fleets, int tick = 0); /** Kill some ships of the specified type in the current fleet. * \param unittype the name of the unit to kill @@ -262,7 +262,7 @@ public: * very similar stuff in both the take* functions. * \sa takeShoot */ - void takeEMP(std::string unittype, int number); + void takeEMP(std::string unittype, int number, std::map& hitunits); void calculateLostStealships(std::string unittype, std::map stolen, int tick = 1);