35 #define REGISTER_RESOURCE(id, inst) REGISTER(Resources, RES, id, m_id, inst) 59 Resource GetResourceType(.
float res_field);
64 .float GetResourceField(Resource res_type);
STATIC_INIT(Resources_renumber)
#define REGISTER_RESOURCE(id, inst)
const int RES_AMOUNT_HARD_LIMIT
Unconditional maximum amount of resources the entity can have.
#define REGISTER_REGISTRY(id)
#define REGISTRY_DEFINE_GET(id, null)
REGISTRY(Resources, BITS(4))
REGISTRY_CHECK(Resources)
#define FOREACH(list, cond, body)