]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.h
changed the capping functionallity..
[hbs.git] / bs / fleet.h
index f632093bd51c8e766c2cd00ecc40f3b85a4e0424..673eb42037aa9ef965782ff4e1f81f194aedc0c9 100644 (file)
@@ -275,6 +275,13 @@ public:
        void printFleet();
 
        void resetTicks();
+
+       int freePodGuns(int tick = 0);
+
+       int usedPodGuns(int tick = 0) const;
+
+       void usePodGuns(int tick = 0, int guns = 1);
+
        //static functions
        //
        /** This function is used to set the different races used.
@@ -301,14 +308,15 @@ public:
 protected:
 
 
-       std::string  m_sName;
-       std::string      m_sRace;
-       int          m_iETA;
-       FleetList    m_Fleet;
-       FleetList    m_BlockedFleet;
-       ResourceList m_Resources;
-       ArmorList        m_Armor;
-       int          m_iStays;
+       std::string      m_sName;
+       std::string          m_sRace;
+       int              m_iETA;
+       FleetList        m_Fleet;
+       FleetList        m_BlockedFleet;
+       ResourceList     m_Resources;
+       ArmorList            m_Armor;
+       int              m_iStays;
+       std::vector<int> m_UsedPodGuns;