X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=d2a695aeb988c274df6e478527ae09cfbee8f753;hp=865d7b2cbe875e462f6c7132d25e1198771e0e5d;hb=69eda62d02bc02ff50547bad514af3f7ce487413;hpb=1d96f1ba683493a34bd036c1890bb93383793457 diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 865d7b2cb..d2a695aeb 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -7,7 +7,7 @@ // Globals -float g_footsteps, g_grappling_hook, g_instagib; +float g_footsteps, g_grappling_hook; float g_warmup_allguns; float g_warmup_allow_timeout; float warmup_stage; @@ -27,8 +27,6 @@ float bots_would_leave; void UpdateFrags(entity player, int f); .float totalfrags; -float team1_score, team2_score, team3_score, team4_score; - // flag set on worldspawn so that the code knows if it is dedicated or not float server_is_dedicated; @@ -36,6 +34,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 +190,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; @@ -231,8 +229,6 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, int d // WEAPONTODO #define DMG_NOWEP (weaponentities[0]) -float lockteams; - float sv_maxidle; float sv_maxidle_spectatorsareidle; int sv_maxidle_slots; @@ -279,9 +275,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)