|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "lib/accumulate.qh"#include "lib/float.qh"#include "lib/log.qh"#include "lib/misc.qh"#include "lib/static.qh"#include "lib/vector.qh"Go to the source code of this file.
Macros | |
| #define | ADD_DYNAMIC_LIGHT(org, radius, lightcolours, forward, right, up) |
| #define | ADD_DYNAMIC_LIGHT2(org, radius, lightcolours, style, cubemapname, pflags, forward, right, up) |
| #define | adddynamiclight(org, radius, lightcolours) |
| #define | adddynamiclight2(org, radius, lightcolours, style, cubemapname, pflags) |
| #define | CLEAR_V_GLOBALS() |
| #define | DEGLOB_CLEAR 1 |
| #define | DEGLOB_LOG(kind, name, ...) |
| #define | DEGLOB_LOGGING 1 |
| #define | GET_TAG_INFO(ent, tagindex, forward, right, up, origin) |
| Note that this only avoids the v_* globals, not the gettaginfo_* ones. | |
| #define | GET_V_GLOBALS(forward, right, up) |
| #define | gettaginfo(ent, tagindex) |
| #define | MAKE_VECTORS(angles, forward, right, up) |
| Same as the makevectors builtin but uses the provided locals instead of the v_* globals. | |
| #define | makevectors(angles) |
| #define | SET_V_GLOBALS(forward, right, up) |
| #define | SKEL_GET_BONE_ABS(skel, bonenum, forward, right, up, origin) |
| Returns all 4 vectors by assigning to them (instead of returning a value) for consistency (and sanity) | |
| #define | skel_get_boneabs(skel, bonenum) |
| #define | SKEL_SET_BONE(skel, bonenum, org, forward, right, up) |
| #define | skel_set_bone(skel, bonenum, org) |
| #define | VECTOR_VECTORS(forward_in, forward, right, up) |
Functions | |
| void | deglob_log (int kind, string name, string file, int line, string func, string more_text) |
Variables | |
| const int | DEGLOB_ORIGINAL = 1 |
| const int | DEGLOB_WRAPPED = 2 |
Definition at line 103 of file deglobalization.qh.
| #define ADD_DYNAMIC_LIGHT2 | ( | org, | |
| radius, | |||
| lightcolours, | |||
| style, | |||
| cubemapname, | |||
| pflags, | |||
| forward, | |||
| right, | |||
| up ) |
Definition at line 110 of file deglobalization.qh.
Definition at line 151 of file deglobalization.qh.
Definition at line 157 of file deglobalization.qh.
| #define CLEAR_V_GLOBALS | ( | ) |
Definition at line 75 of file deglobalization.qh.
| #define DEGLOB_CLEAR 1 |
Definition at line 38 of file deglobalization.qh.
| #define DEGLOB_LOG | ( | kind, | |
| name, | |||
| ... ) |
Definition at line 56 of file deglobalization.qh.
| #define DEGLOB_LOGGING 1 |
Definition at line 37 of file deglobalization.qh.
| #define GET_TAG_INFO | ( | ent, | |
| tagindex, | |||
| forward, | |||
| right, | |||
| up, | |||
| origin ) |
Note that this only avoids the v_* globals, not the gettaginfo_* ones.
Definition at line 125 of file deglobalization.qh.
| #define GET_V_GLOBALS | ( | forward, | |
| right, | |||
| up ) |
Definition at line 61 of file deglobalization.qh.
| #define gettaginfo | ( | ent, | |
| tagindex ) |
Definition at line 163 of file deglobalization.qh.
| #define MAKE_VECTORS | ( | angles, | |
| forward, | |||
| right, | |||
| up ) |
Same as the makevectors builtin but uses the provided locals instead of the v_* globals.
Always use this instead of raw makevectors to make the data flow clear. Note that you might prefer FIXED_MAKE_VECTORS for new code.
Definition at line 81 of file deglobalization.qh.
Referenced by _Movetype_PushMove(), calc_followmodel_ofs(), CSQC_UpdateView(), DamageText::DamageText_draw2d(), Draw_ArcBeam(), draw_teamradar_player(), GetCurrentFov(), PlayerTouchWall(), PM_dodging(), PM_dodging_checkpressedkeys(), relocate_spawnpoint(), sys_phys_simulate(), View_EventChase(), W_WeaponFrame(), WarpZone_InitStep_UpdateTransform(), and WarpZoneLib_ExactTrigger_Init().
| #define makevectors | ( | angles | ) |
Definition at line 133 of file deglobalization.qh.
| #define SET_V_GLOBALS | ( | forward, | |
| right, | |||
| up ) |
Definition at line 62 of file deglobalization.qh.
| #define SKEL_GET_BONE_ABS | ( | skel, | |
| bonenum, | |||
| forward, | |||
| right, | |||
| up, | |||
| origin ) |
Returns all 4 vectors by assigning to them (instead of returning a value) for consistency (and sanity)
Definition at line 89 of file deglobalization.qh.
| #define skel_get_boneabs | ( | skel, | |
| bonenum ) |
Definition at line 139 of file deglobalization.qh.
| #define SKEL_SET_BONE | ( | skel, | |
| bonenum, | |||
| org, | |||
| forward, | |||
| right, | |||
| up ) |
Definition at line 96 of file deglobalization.qh.
| #define skel_set_bone | ( | skel, | |
| bonenum, | |||
| org ) |
Definition at line 145 of file deglobalization.qh.
| #define VECTOR_VECTORS | ( | forward_in, | |
| forward, | |||
| right, | |||
| up ) |
Definition at line 117 of file deglobalization.qh.
| const int DEGLOB_ORIGINAL = 1 |
Definition at line 40 of file deglobalization.qh.
| const int DEGLOB_WRAPPED = 2 |
Definition at line 41 of file deglobalization.qh.