35#define REGISTER_RESOURCE(id, inst) REGISTER(Resources, RES, id, m_id, inst)
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define FOREACH(list, cond, body)
#define REGISTRY_SORT(...)
#define REGISTER_REGISTRY(id)
#define REGISTRY(id, max)
Declare a new registry.
#define REGISTRY_CHECK(id)
#define REGISTRY_DEFINE_GET(id, null)
Resource GetResourceType(.float res_field)
Converts an entity field to resource type.
IntrusiveList default_order_resources
#define REGISTER_RESOURCE(id, inst)
float health
Legacy fields for the resources. To be removed.
float GetResourceField(Resource res_type)
Converts resource type (a RES_* constant) to entity field.
const int RES_AMOUNT_HARD_LIMIT
Unconditional maximum amount of resources the entity can have.
#define STATIC_INIT(func)
during worldspawn