X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fresources.qh;h=8e33c649b3bf5e68e09b5050252f53f48002e8b7;hb=5ec0fae66f230a5e4a003fe4defc72d75aaca270;hp=a562292b40a5c5bcd7f00d779f647c2a3bb87357;hpb=05776c4204bf73c8ebc84e615ad088af45ebe5ed;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/resources.qh b/qcsrc/common/resources.qh index a562292b4..8e33c649b 100644 --- a/qcsrc/common/resources.qh +++ b/qcsrc/common/resources.qh @@ -5,6 +5,10 @@ /// \author Lyberta /// \copyright GNU GPLv2 or any later version. +/// \brief Unconditional maximum amount of resources the entity can have. +const int RESOURCE_AMOUNT_HARD_LIMIT = 999; +const int RESOURCE_LIMIT_NONE = -1; + /// \brief Describes the available resource types. enum {