X-Git-Url: https://ruin.nu/git/graph/stats/%3CTMPL_VAR%20NAME=Coords%3E?a=blobdiff_plain;f=bs%2Ffleet.h;h=10517318708288c545380d3a96b82f5783cbc6c2;hb=a61c6ecdc3dd55f06e06cc1a295b1b4fc2830314;hp=c4f26524cd81ef5d9e45ffcc05fd556e3127b7a7;hpb=515395613c36c35c3797bc085f6d54a8ac7725d9;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);