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 RES_AMOUNT_HARD_LIMIT = 999;
10 const int RES_LIMIT_NONE = -1;
12 /// \brief Describes the available resource types.
15 RES_NONE, ///< Indicates the lack of resource. Use with caution.
16 RES_HEALTH, ///< Health.
17 RES_ARMOR, ///< Armor.
18 RES_SHELLS, ///< Shells (used by shotgun).
19 RES_BULLETS, ///< Bullets (used by machinegun, rifle, HMG)
20 RES_ROCKETS, ///< Rockets (used by mortar, hagar, devastator, etc).
21 RES_CELLS, ///< Cells (used by electro, crylink, vortex, etc)
22 RES_PLASMA, ///< Plasma (unused).
23 RES_FUEL ///< Fuel (used by jetpack).