]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.h
fixed a score bug..
[hbs.git] / bs / fleet.h
index c4f26524cd81ef5d9e45ffcc05fd556e3127b7a7..10517318708288c545380d3a96b82f5783cbc6c2 100644 (file)
@@ -104,6 +104,8 @@ public:
 
        void distributeLossesGains(std::vector<Fleet*> fleets, int tick = 0);
 
+       void distributeCappedRoids(std::vector<Fleet*> fleets, int tick = 0);
+
        std::vector<Fleet*> calculateSide(std::vector<Fleet*> 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<std::string, int>& hitunits);