X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Ffleet.h;h=10517318708288c545380d3a96b82f5783cbc6c2;hb=1cdb85f96705026bbeb6772d7bed34a4825353af;hp=c4f26524cd81ef5d9e45ffcc05fd556e3127b7a7;hpb=9f0513b48fbafa876159812f638019c6b47eae33;p=hbs.git diff --git a/bs/fleet.h b/bs/fleet.h index c4f2652..1051731 100644 --- a/bs/fleet.h +++ b/bs/fleet.h @@ -104,6 +104,8 @@ public: void distributeLossesGains(std::vector fleets, int tick = 0); + void distributeCappedRoids(std::vector fleets, int tick = 0); + std::vector calculateSide(std::vector fleets, int stays = 0, int tick = 0); void killFleet(std::string unittype, int number, int tick = 0); @@ -111,6 +113,7 @@ public: void blockFleet(std::string unittype, int number, int tick = 0); void setResource(std::string type, int number, int tick = 0); + void addResource(std::string type, int number, int tick = 0); int resource(std::string type, int tick = 0)const; void takeShoot(std::string unittype, int number, std::map& hitunits);