4 /// \brief Header file that describes resource types.
6 /// \copyright GNU GPLv2 or any later version.
8 /// \brief Unconditional maximum amount of resources the entity can have.
9 const int RESOURCE_AMOUNT_HARD_LIMIT = 999;
10 const int RESOURCE_LIMIT_NONE = -1;
12 /// \brief Describes the available resource types.
15 RESOURCE_NONE, ///< Indicates the lack of resource. Use with caution.
16 RESOURCE_HEALTH, ///< Health.
17 RESOURCE_ARMOR, ///< Armor.
18 RESOURCE_SHELLS, ///< Shells (used by shotgun).
19 RESOURCE_BULLETS, ///< Bullets (used by machinegun, rifle, HMG)
20 RESOURCE_ROCKETS, ///< Rockets (used by mortar, hagar, devastator, etc).
21 RESOURCE_CELLS, ///< Cells (used by electro, crylink, vortex, etc)
22 RESOURCE_PLASMA, ///< Plasma (unused).
23 RESOURCE_FUEL ///< Fuel (used by jetpack).