X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ft_items.qh;h=5ebc9d7e6234f4e8bd06d1233f0584a91946a254;hp=1eb4b182dee07359b7fd7d0baf8b2948c877071a;hb=3220cab5a7b69ced4a641504a6a5f4eccf2d3bfc;hpb=f00146a481475e0fb4516f421fc471739cee3d29;ds=sidebyside diff --git a/qcsrc/common/t_items.qh b/qcsrc/common/t_items.qh index 1eb4b182d..5ebc9d7e6 100644 --- a/qcsrc/common/t_items.qh +++ b/qcsrc/common/t_items.qh @@ -72,9 +72,9 @@ const float ITEM_RESPAWN_TICKS = 10; void Item_Show (entity e, float mode); -void Item_Respawn (); +void Item_Respawn (entity this); -void Item_RespawnCountdown (); +void Item_RespawnCountdown(entity this); void Item_ScheduleRespawnIn(entity e, float t); void Item_ScheduleRespawn(entity e); @@ -88,7 +88,7 @@ float Item_GiveAmmoTo(entity item, entity player, .float ammotype, float ammomax float Item_GiveTo(entity item, entity player); -void Item_Touch(); +void Item_Touch(entity this); void Item_Reset(entity this); @@ -114,8 +114,6 @@ float commodity_pickupevalfunc(entity player, entity item); void _StartItem(entity this, entity def, float defaultrespawntime, float defaultrespawntimejitter); -void target_items_use (); - float GiveWeapon(entity e, float wpn, float op, float val); float GiveBit(entity e, .float fld, float bit, float op, float val);