X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=4c23aaeb3b956f6706b8dcea57db48f1c4231f01;hb=aa69b91af5a7b45229c6f9fbf18214b4b17c5a84;hp=afe5814a516140630f3e9a1f60d39943e2e9b129;hpb=4afba1cb5f5e1526d4f8c26dae616b6bc32e9461;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index afe5814a5..4c23aaeb3 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -36,6 +36,8 @@ float server_is_dedicated; .void(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force) event_damage; +.bool(entity targ, entity inflictor, float amount, float limit) event_heal; + //.string wad; //.string map; @@ -190,8 +192,6 @@ void FixClientCvars(entity e); // WEAPONTODO: remove this //WepSet weaponsInMap; -#define weapons _STAT(WEAPONS) - .float respawn_countdown; // next number to count float bot_waypoints_for_items; @@ -279,9 +279,6 @@ void W_Porto_Remove (entity p); // Nexball float g_nexball_meter_period; -void SUB_DontUseTargets(entity this, entity actor, entity trigger); -void SUB_UseTargets(entity this, entity actor, entity trigger); - .void(entity this) reset; // if set, an entity is reset using this .void(entity this) reset2; // if set, an entity is reset using this (after calling ALL the reset functions for other entities)