|
Xonotic
|
#include "sv_physical_items.qh"
Include dependency graph for sv_physical_items.qc:Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (physical_items, Item_Spawn) | |
| void | physical_item_damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | physical_item_think (entity this) |
| void | physical_item_touch (entity this, entity toucher) |
| REGISTER_MUTATOR (physical_items, autocvar_g_physical_items) | |
Variables | |
| int | autocvar_g_physical_items |
| float | autocvar_g_physical_items_damageforcescale |
| float | autocvar_g_physical_items_reset |
| vector | spawn_angles |
| vector | spawn_origin |
| MUTATOR_HOOKFUNCTION | ( | physical_items | , |
| Item_Spawn | |||
| ) |
Definition at line 92 of file sv_physical_items.qc.
References autocvar_g_physical_items, autocvar_g_physical_items_damageforcescale, DAMAGE_AIM, droptofloor, EF_NODRAW, EF_NOMODELFLAGS, entity(), func_null(), M_ARGV, MOVETYPE_FOLLOW, MOVETYPE_PHYSICS, NULL, physical_item_damage(), physical_item_think(), physical_item_touch(), set_movetype(), setorigin(), setSendEntity, setthink, SOLID_CORPSE, spawn(), and time.
Here is the call graph for this function:| void physical_item_damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force | ||
| ) |
Definition at line 82 of file sv_physical_items.qc.
References angles, cnt, ITEM_DAMAGE_NEEDKILL, setorigin(), spawn_angles, and spawn_origin.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 35 of file sv_physical_items.qc.
References alpha, angles, autocvar_g_physical_items_reset, cnt, colormap, colormod, glowmod, MOVETYPE_NONE, MOVETYPE_PHYSICS, nextthink, owner, set_movetype(), setorigin(), solid, SOLID_CORPSE, SOLID_NOT, spawn_angles, spawn_origin, and time.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 72 of file sv_physical_items.qc.
References angles, cnt, ITEM_TOUCH_NEEDKILL, setorigin(), spawn_angles, and spawn_origin.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| REGISTER_MUTATOR | ( | physical_items | , |
| autocvar_g_physical_items | |||
| ) |
Definition at line 7 of file sv_physical_items.qc.
References checkextension(), LOG_INFO, LOG_TRACE, MUTATOR_ONADD, MUTATOR_ONREMOVE, and MUTATOR_ONROLLBACK_OR_REMOVE.
Here is the call graph for this function:| int autocvar_g_physical_items |
Definition at line 3 of file sv_physical_items.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_physical_items_damageforcescale |
Definition at line 4 of file sv_physical_items.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_physical_items_reset |
Definition at line 5 of file sv_physical_items.qc.
Referenced by physical_item_think().
| vector spawn_angles |
Definition at line 33 of file sv_physical_items.qc.
Referenced by physical_item_damage(), physical_item_think(), and physical_item_touch().
| vector spawn_origin |
Definition at line 33 of file sv_physical_items.qc.
Referenced by physical_item_damage(), physical_item_think(), and physical_item_touch().