]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/resources.qh
USR: Ported ammo.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / resources.qh
diff --git a/qcsrc/common/resources.qh b/qcsrc/common/resources.qh
new file mode 100644 (file)
index 0000000..a562292
--- /dev/null
@@ -0,0 +1,20 @@
+#pragma once
+
+/// \file
+/// \brief Header file that describes resource types.
+/// \author Lyberta
+/// \copyright GNU GPLv2 or any later version.
+
+/// \brief Describes the available resource types.
+enum
+{
+       RESOURCE_NONE, ///< Indicates the lack of resource. Use with caution.
+       RESOURCE_HEALTH, ///< Health.
+       RESOURCE_ARMOR, ///< Armor.
+       RESOURCE_SHELLS, ///< Shells (used by shotgun).
+       RESOURCE_BULLETS, ///< Bullets (used by machinegun, rifle, HMG)
+       RESOURCE_ROCKETS, ///< Rockets (used by mortar, hagar, devastator, etc).
+       RESOURCE_CELLS, ///< Cells (used by electro, crylink, vortex, etc)
+       RESOURCE_PLASMA, ///< Plasma (unused).
+       RESOURCE_FUEL ///< Fuel (used by jetpack).
+};