Xonotic
|
#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. More... | |
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 _StartItem(), ammo, Weapon::ammo_type, argv(), autocvar_g_balance_superweapons_time, classname, copyentity(), count, cvar(), entity(), g_pickup_weapons_anyway, GetAmmoConsumptionQ3(), GetResource(), glowmod, internalteam, Item_IsDefinitionAllowed(), Item_IsLoot(), itemdef, M_ARGV, m_isreplaced, modelindex, MUTATOR_CALLHOOK, Weapon::netname, owner, pickup_anyway, q3compat, respawntime, respawntimejitter, SetResource(), spawn(), Weapon::spawnflags, startitem_failed, strcat(), superweapons_finished, team, tokenize_console, W_Apply_Weaponreplace(), weapon_defaultspawnfunc(), Weapon_from_name(), WEP_FLAG_MUTATORBLOCKED, WEP_FLAG_SUPERWEAPON, WepSet_FromWeapon, and Weapon::wpcolor.
Referenced by W_ThrowNewWeapon(), Weapon::Weapon ::display(), 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().