From: Martin Taibr Date: Thu, 13 Oct 2016 16:06:55 +0000 (+0200) Subject: remove usused entity fields X-Git-Tag: xonotic-v0.8.2~488^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dd4c1682cc714ad06f353d96659e82edf76a175e;p=xonotic%2Fxonotic-data.pk3dir.git remove usused entity fields --- diff --git a/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qh b/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qh index 750ade34b..d8b7fd044 100644 --- a/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qh +++ b/qcsrc/common/gamemodes/gamemode/onslaught/sv_onslaught.qh @@ -48,12 +48,10 @@ entity ons_worldgeneratorlist; // list of control points on the map entity ons_worldcplist; .entity ons_worldcpnext; -.entity ons_stalecpnext; // list of links on the map entity ons_worldlinklist; .entity ons_worldlinknext; -.entity ons_stalelinknext; // definitions .entity sprite; diff --git a/qcsrc/common/turrets/sv_turrets.qh b/qcsrc/common/turrets/sv_turrets.qh index c5a3728d1..62759c058 100644 --- a/qcsrc/common/turrets/sv_turrets.qh +++ b/qcsrc/common/turrets/sv_turrets.qh @@ -8,7 +8,6 @@ entity turret_select_target(entity this); // turret fields .float ticrate; // interal ai think rate -.vector aim_idle; // where to aim while idle .entity tur_head; // top part of the turret .entity tur_defend; // defend this entity .vector tur_shotorg; // shot origin diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 1735a78be..554ef656b 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -708,7 +708,6 @@ void PutClientInServer(entity this) void ClientInit_misc(entity this); -.float ebouncefactor, ebouncestop; // electro's values // TODO do we need all these fields, or should we stop autodetecting runtime // changes and just have a console command to update this? bool ClientInit_SendEntity(entity this, entity to, int sf) diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qh b/qcsrc/server/mutators/mutator/gamemode_assault.qh index 43c5100cb..8fd407485 100644 --- a/qcsrc/server/mutators/mutator/gamemode_assault.qh +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qh @@ -49,7 +49,6 @@ const int HAVOCBOT_AST_ROLE_OFFENSE = 4; void(entity this) havocbot_role_ast_defense; void(entity this) havocbot_role_ast_offense; -.entity havocbot_ast_target; void(entity bot) havocbot_ast_reset_role; diff --git a/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc index 781609a91..944311598 100644 --- a/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc +++ b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc @@ -77,7 +77,6 @@ float kh_interferemsg_time, kh_interferemsg_team; .float kh_dropperteam; .entity kh_previous_owner; .float kh_previous_owner_playerid; -.float kh_cp_duration; float kh_key_dropped, kh_key_carried;