int spectatorlist[MAX_SPECTATORS];
int framecount;
-.float health;
float GetSpeedUnitFactor(int speed_unit);
string GetSpeedUnit(int speed_unit);
#include "resources.qh"
+#include <common/items/item/ammo.qh>
/// \file
/// \brief Source file that contains implementation of the resource system.
/// \param[in] resource_type Type of the resource.
/// \return Entity field for that resource.
.float GetResourceField(int resource_type);
+
+/// \brief Legacy fields for the resources. To be removed.
+.float health;
+.float armorvalue;
#pragma once
#include "pickup.qh"
+#include <common/items/all.qh>
#ifdef SVQC
#include <common/t_items.qh>
#include <server/resources.qh>