|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "resources.qh"Go to the source code of this file.
Functions | |
| float | GetResourceField (Resource res_type) |
| Converts resource type (a RES_* constant) to entity field. | |
| Resource | GetResourceType (.float res_field) |
| Converts an entity field to resource type. | |
Converts resource type (a RES_* constant) to entity field.
| [in] | res_type | Type of the resource. |
Definition at line 11 of file resources.qc.
References Resource::m_field.
Referenced by SetResourceExplicit().
Converts an entity field to resource type.
| [in] | res_field | Entity field to convert. |
Definition at line 4 of file resources.qc.