|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_physical_items.qh"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_QC_DelayedInit(), 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(), setSendEntity, setthink, settouch, SOLID_CORPSE, spawn, and time.
| 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, entity(), ITEM_DAMAGE_NEEDKILL, spawn_angles, spawn_origin, and vector.
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 35 of file sv_physical_items.qc.
References alpha, angles, autocvar_g_physical_items_reset, cnt, colormap, colormod, entity(), glowmod, MOVETYPE_NONE, MOVETYPE_PHYSICS, nextthink, owner, set_movetype(), solid, SOLID_CORPSE, SOLID_NOT, spawn_angles, spawn_origin, and time.
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 72 of file sv_physical_items.qc.
References angles, cnt, entity(), ITEM_TOUCH_NEEDKILL, spawn_angles, spawn_origin, and toucher.
Referenced by MUTATOR_HOOKFUNCTION().
| REGISTER_MUTATOR | ( | physical_items | , |
| autocvar_g_physical_items | ) |
Definition at line 7 of file sv_physical_items.qc.
References autocvar_g_physical_items, autocvar_physics_ode, checkextension(), LOG_INFO, LOG_TRACE, MUTATOR_ONADD, MUTATOR_ONREMOVE, and MUTATOR_ONROLLBACK_OR_REMOVE.
| int autocvar_g_physical_items |
Definition at line 3 of file sv_physical_items.qc.
Referenced by MUTATOR_HOOKFUNCTION(), and REGISTER_MUTATOR().
| 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().