]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.h
Fixed a bug in the shipstealing code..
[hbs.git] / bs / fleet.h
index 3c690fddb775886c08d5c4f4d4fee78d01677b16..f632093bd51c8e766c2cd00ecc40f3b85a4e0424 100644 (file)
@@ -266,11 +266,15 @@ public:
 
        void calculateLostStealships(std::string unittype, std::map<std::string, int> stolen, int tick = 1);
 
+       void distributeStolenShips(std::map<std::string, std::map<std::string, int> > stolen, std::vector<Fleet*> fleets, int tick = 0);
+
+       void calculateSalvage();
        /** This function prints out all the ships in the fleet to stderr,
         * mainly used for debugging.
         */
        void printFleet();
 
+       void resetTicks();
        //static functions
        //
        /** This function is used to set the different races used.