X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fplanet.h;h=093c7f106affe4b52f40f352d5c44bf809e507ef;hb=e058e65a4a9f0c47b170413c0a085e90b172a3ec;hp=486bd60f50191fe185af5e34132bf51ab34e5b63;hpb=bb4169deef42f91b6afa4c4561f9339fba040f01;p=hbs.git diff --git a/bs/planet.h b/bs/planet.h index 486bd60..093c7f1 100644 --- a/bs/planet.h +++ b/bs/planet.h @@ -87,6 +87,9 @@ public: void calculateScoreLoss(std::vector friendly, int tick = 1); + float capping(int tick = 0); + void setCapping(float capping, int tick = 0); + protected: /** This function is used to start the calculations of a single tick of the * battle on the current planet. It's protected because it's not really meant @@ -101,6 +104,7 @@ protected: void calcOneTick(Planet* friendly, Fleet* hostile, std::map >& stealfriendly, std::map >& stealhostile, int tick = 0); std::vector m_Score; + std::vector m_Capping; RoidList m_Roids; };