]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/resources.qh
Send health / armor values to entcs entities only when the coded values are different...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / resources.qh
index a562292b40a5c5bcd7f00d779f647c2a3bb87357..8e33c649b3bf5e68e09b5050252f53f48002e8b7 100644 (file)
@@ -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
 {