]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/resources.qh
Migrating resources (ammo, health etc) to a registry for ease of maintenance and...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / resources.qh
diff --git a/qcsrc/common/resources.qh b/qcsrc/common/resources.qh
deleted file mode 100644 (file)
index 81f4eb5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-/// \file
-/// \brief Header file that describes resource types.
-/// \author Lyberta
-/// \copyright GNU GPLv2 or any later version.
-
-/// \brief Unconditional maximum amount of resources the entity can have.
-const int RES_AMOUNT_HARD_LIMIT = 999;
-const int RES_LIMIT_NONE = -1;
-
-/// \brief Describes the available resource types.
-enum
-{
-       RES_NONE, ///< Indicates the lack of resource. Use with caution.
-       RES_HEALTH, ///< Health.
-       RES_ARMOR, ///< Armor.
-       RES_SHELLS, ///< Shells (used by shotgun).
-       RES_BULLETS, ///< Bullets (used by machinegun, rifle, HMG)
-       RES_ROCKETS, ///< Rockets (used by mortar, hagar, devastator, etc).
-       RES_CELLS, ///< Cells (used by electro, crylink, vortex, etc)
-       RES_PLASMA, ///< Plasma (unused).
-       RES_FUEL ///< Fuel (used by jetpack).
-};