X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Ffleet.h;fp=bs%2Ffleet.h;h=673eb42037aa9ef965782ff4e1f81f194aedc0c9;hp=f632093bd51c8e766c2cd00ecc40f3b85a4e0424;hb=5b3a1459c35efe60c4255a5c50a1d74fdbe8e8eb;hpb=6d1c9d157f48157d2d4038121f9f1b6991c96f20 diff --git a/bs/fleet.h b/bs/fleet.h index f632093..673eb42 100644 --- a/bs/fleet.h +++ b/bs/fleet.h @@ -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 m_UsedPodGuns;