|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "spawning.qh"#include <common/resources/sv_resources.qh>#include <common/weapons/_all.qh>#include <server/items/items.qh>#include <server/items/spawning.qh>#include <server/mutators/_mod.qh>#include <server/weapons/weaponsystem.qh>#include <server/world.qh>Go to the source code of this file.
Functions | |
| string | W_Apply_Weaponreplace (string in) |
| void | weapon_defaultspawnfunc (entity this, Weapon wpn) |
Variables | |
| bool | m_isreplaced |
| Holds whether the weapon has been replaced. | |
Definition at line 13 of file spawning.qc.
References cons(), FOREACH_WORD, and Weapon_from_name().
Referenced by MUTATOR_HOOKFUNCTION(), and weapon_defaultspawnfunc().
Definition at line 30 of file spawning.qc.
References Weapon::ammo_type, argv(), autocvar_g_balance_superweapons_time, autocvar_g_pickup_respawntime_superweapon, autocvar_g_pickup_respawntime_weapon, autocvar_g_pickup_respawntimejitter_superweapon, autocvar_g_pickup_respawntimejitter_weapon, autocvar_g_pickup_weapons_anyway, classname, colormapPaletteColor, count, cvar(), entity(), GetAmmoConsumption(), GetResource(), glowmod, internalteam, Item_CopyFields(), ITEM_IS_LOOT, Item_IsDefinitionAllowed(), M_ARGV, Weapon::m_color, m_isreplaced, Weapon::m_spawnfunc_hookreplace(), modelindex, MUTATOR_CALLHOOK, Weapon::netname, owner, pickup_anyway, respawntime, respawntimejitter, rint(), SetResource(), spawn, Weapon::spawnflags, StartItem(), startitem_failed, strcat(), superweapons_finished, team, tokenize_console, W_Apply_Weaponreplace(), weapon_defaultspawnfunc(), Weapon_from_name(), weaponsInMapAll, WEP_CVAR, WEP_FLAG_MUTATORBLOCKED, WEP_FLAG_SUPERWEAPON, WepSet_FromWeapon, and Weapon::wr_init().
Referenced by Item_Initialise(), W_ThrowNewWeapon(), and weapon_defaultspawnfunc().
| bool m_isreplaced |
Holds whether the weapon has been replaced.
Definition at line 11 of file spawning.qc.
Referenced by weapon_defaultspawnfunc().