#if defined(SVQC)
#include "util.qh"
- #include "../server/defs.qh"
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#endif
bool monsters_animoverride(entity this)
#include <server/command/vote.qh>
#include <common/mapobjects/func/breakable.qh>
#include <common/mapobjects/triggers.qh>
+#include <common/turrets/sv_turrets.qh>
#include <server/g_damage.qh>
#include <server/g_world.qh>
#include <server/spawnpoints.qh>
#include <server/g_world.qh>
#include <server/gamelog.qh>
#include <server/items/spawning.qh>
+#include <server/weapons/common.qh>
#include <common/mapobjects/triggers.qh>
float autocvar_g_cts_finish_kill_delay;
#include <server/command/vote.qh>
#include <server/g_damage.qh>
#include <server/gamelog.qh>
+#include <server/items/items.qh>
#include <server/teamplay.qh>
#include <common/mapobjects/platforms.qh>
#include <common/mapobjects/triggers.qh>
#include <common/monsters/sv_spawner.qh>
#include <common/monsters/sv_monsters.qh>
+#include <server/bot/api.qh>
#include <server/g_world.qh>
#include <server/teamplay.qh>
#include <server/client.qh>
#include <server/gamelog.qh>
#include <server/g_damage.qh>
+#include <server/items/items.qh>
.entity ballcarried;
#include <server/command/vote.qh>
#include <server/gamelog.qh>
#include <server/g_damage.qh>
+#include <server/items/items.qh>
#include <common/mapobjects/triggers.qh>
float autocvar_g_balance_keyhunt_damageforcescale;
#include "sv_controlpoint.qh"
#include "sv_generator.qh"
+#include <server/bot/api.qh>
#include <server/command/vote.qh>
#include <server/g_damage.qh>
#include <server/items/items.qh>
IntrusiveList g_ladderents;
STATIC_INIT(g_ladderents) { g_ladderents = IL_NEW(); }
+#ifdef SVQC
+IntrusiveList g_ladders;
+STATIC_INIT(g_ladders) { g_ladders = IL_NEW(); }
+#endif
+
.entity ladder_entity;
#include "dynlight.qh"
#ifdef SVQC
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
const float LOOP = 1;
#include "models.qh"
#ifdef SVQC
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <common/net_linked.qh>
#include "subs.qh"
#pragma once
+
+#ifdef SVQC
+IntrusiveList g_locations;
+STATIC_INIT(g_locations) { g_locations = IL_NEW(); }
+#endif
#include <common/constants.qh>
#include <common/net_linked.qh>
#include <server/constants.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#endif
REGISTER_NET_TEMP(TE_CSQC_TARGET_MUSIC)
#elif defined(MENUQC)
#elif defined(SVQC)
#include <common/util.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include <server/g_world.qh>
#endif
#include <server/weapons/csqcprojectile.qh>
#include <server/autocvars.qh>
#include <server/constants.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include "../deathtypes/all.qh"
#include <server/sv_main.qh>
#include "../turrets/sv_turrets.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
#include <common/util.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#endif
#ifdef SVQC
#elif defined(SVQC)
#include <lib/warpzone/util_server.qh>
#include <common/weapons/_all.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include <common/deathtypes/all.qh>
#endif
#elif defined(SVQC)
#include <lib/warpzone/util_server.qh>
#include <common/mapobjects/triggers.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#endif
REGISTER_NET_LINKED(ENT_CLIENT_VIEWLOC)
#include "../physics/movelib.qh"
#include "../weapons/_mod.qh"
#include <server/autocvars.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_damage.qh>
#include "../deathtypes/all.qh"
#include <server/items/items.qh>
#pragma once
+#include "all.qh"
+
// stats networking
int monsters_total;
int monsters_killed;
#undef _MSOUND
float GetMonsterSoundSampleField_notFound;
+
+IntrusiveList g_monsters;
+STATIC_INIT(g_monsters) { g_monsters = IL_NEW(); }
+
+IntrusiveList g_monster_targets;
+STATIC_INIT(g_monster_targets) { g_monster_targets = IL_NEW(); }
#include "all.qh"
#include "sv_monsters.qh"
#include <server/autocvars.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include <server/weapons/common.qh>
#endif
entity spawnmonster (entity e, string monster, Monster monster_id, entity spawnedby, entity own, vector orig, bool respwn, bool removeifinvalid, int moveflag)
+#include "sv_monsters.qh"
#include "sv_spawner.qh"
#include "sv_spawn.qh"
#include <common/mapobjects/target/music.qh>
#include <common/gamemodes/_mod.qh>
+#include <server/items/items.qh>
#include <server/sv_main.qh>
void buffs_DelayedInit(entity this);
#include <common/weapons/_all.qh>
#include <server/client.qh>
#include "../server/anticheat.qh"
- #include "../server/defs.qh"
+ #include <common/stats.qh>
#include "../server/scores.qh"
#include <server/g_world.qh>
#include "../server/weapons/accuracy.qh"
#include "sv_turrets.qh"
#ifdef SVQC
#include <server/autocvars.qh>
+#include <server/bot/api.qh>
#include <server/g_damage.qh>
#include <server/weapons/common.qh>
#include <server/weapons/weaponsystem.qh>
vector tvt_tadv; // turret angle diff vector, updated by a successful call to turret_validate_target
float tvt_thadf; // turret head angle diff float, updated by a successful call to turret_validate_target
float tvt_dist; // turret distance, updated by a successful call to turret_validate_target
+
+IntrusiveList g_turrets;
+STATIC_INIT(g_turrets) { g_turrets = IL_NEW(); }
#include "sv_vehicles.qh"
+#include <server/bot/api.qh>
#include <server/g_damage.qh>
#include <server/g_world.qh>
#include <server/items/items.qh>
return false;
if(!this.tur_head)
- {
info.vr_precache(info);
- IL_PUSH(g_vehicles, this);
- }
if(this.targetname && this.targetname != "")
{
#include "constants.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../server/defs.qh"
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#endif
// client movement
#include <server/items/spawning.qh>
#include <server/autocvars.qh>
#include <server/constants.qh>
- #include <server/defs.qh>
#include "../notifications/all.qh"
#include "../deathtypes/all.qh"
#include <server/mutators/_mod.qh>
.float minelayer_detonate, mine_explodeanyway;
.float mine_time;
.vector mine_orientation;
+
+IntrusiveList g_mines;
+STATIC_INIT(g_mines) { g_mines = IL_NEW(); }
#endif
#include <common/mapobjects/teleporters.qh>
#include <common/util.qh>
#include <server/constants.qh>
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include <server/utils.qh>
#endif
#include "antilag.qh"
#include "autocvars.qh"
-#include "defs.qh"
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/client.qh>
#include <server/gamelog.qh>
#include <server/sv_main.qh>
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
+ #include <server/weapons/common.qh>
#include <common/state.qh>
+ #include <common/monsters/sv_monsters.qh>
#include <common/vehicles/all.qh>
#include <lib/warpzone/common.qh>
#include "antilag.qh"
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <common/physics/player.qh>
void waypoint_getSymmetricalOrigin_cmd(entity caller, bool save, int arg_idx);
void waypoint_getSymmetricalAxis_cmd(entity caller, bool save, int arg_idx);
+
+IntrusiveList g_waypoints;
+IntrusiveList g_bot_targets;
+IntrusiveList g_bot_dodge;
+STATIC_INIT(botapi)
+{
+ g_waypoints = IL_NEW();
+ g_bot_targets = IL_NEW();
+ g_bot_dodge = IL_NEW();
+}
#include "aim.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include "cvars.qh"
#include "../../campaign.qh"
#include "../../client.qh"
#include "../../constants.qh"
-#include "../../defs.qh"
+#include <common/stats.qh>
#include <server/g_world.qh>
#include <server/g_damage.qh>
#include "../../race.qh"
#include "roles.qh"
+#include <server/bot/api.qh>
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_damage.qh>
+#include <server/items/items.qh>
#include <server/miscfunctions.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include "roles.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <server/items/items.qh>
#include <server/items/spawning.qh>
#include "navigation.qh"
-#include <server/defs.qh>
+#include <server/bot/api.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "cvars.qh"
#include "scripting.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include "waypoints.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
+#include <server/items/items.qh>
#include <server/miscfunctions.qh>
+#include <server/spawnpoints.qh>
#include "cvars.qh"
#include "bot.qh"
#include "campaign.qh"
-#include "defs.qh"
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include "cheats.qh"
#include "miscfunctions.qh"
#include "cheats.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <common/effects/all.qh>
#include <server/resources.qh>
#include "client.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <common/effects/all.qh>
#include "anticheat.qh"
// called when a client connects, useful for updating sounds and such of static objects
.void(entity this, entity player) init_for_player;
+IntrusiveList g_initforplayer;
+STATIC_INIT(g_initforplayer) { g_initforplayer = IL_NEW(); }
+
/// \brief Print the string to the client's chat.
/// \param[in] client Client to print to.
/// \param[in] text Text to print.
#include "clientkill.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/client.qh>
+#include <server/player.qh>
#include "g_damage.qh"
#include "teamplay.qh"
#include "banning.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <common/state.qh>
#include <common/command/_mod.qh>
#include "common.qh"
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_world.qh>
#include <server/miscfunctions.qh>
#include "getreplies.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_world.qh>
#include <server/miscfunctions.qh>
#include "vote.qh"
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/gamelog.qh>
#include <server/miscfunctions.qh>
void ReadyRestart_force();
void VoteCount(float first_count);
void Nagger_Init();
+
+IntrusiveList g_saved_team;
+STATIC_INIT(g_saved_team) { g_saved_team = IL_NEW(); }
#include "quake.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <common/weapons/_all.qh>
#include "quake3.qh"
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <server/items/items.qh>
#include <server/items/spawning.qh>
#include "wop.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include <server/items/spawning.qh>
#include <common/weapons/_all.qh>
+++ /dev/null
-#pragma once
-
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-
-////
-
-IntrusiveList g_monsters;
-IntrusiveList g_waypoints;
-IntrusiveList g_vehicles;
-IntrusiveList g_turrets;
-IntrusiveList g_mines;
-IntrusiveList g_projectiles;
-IntrusiveList g_items;
-IntrusiveList g_initforplayer;
-IntrusiveList g_clones;
-IntrusiveList g_spawnpoints;
-IntrusiveList g_bot_targets;
-IntrusiveList g_bot_dodge;
-IntrusiveList g_damagedbycontents;
-IntrusiveList g_railgunhit;
-IntrusiveList g_ladders;
-IntrusiveList g_locations;
-IntrusiveList g_saved_team;
-IntrusiveList g_monster_targets;
-IntrusiveList g_pathlib_nodes;
-IntrusiveList g_moveables;
-STATIC_INIT(defs)
-{
- g_monsters = IL_NEW();
- g_waypoints = IL_NEW();
- g_vehicles = IL_NEW();
- g_turrets = IL_NEW();
- g_mines = IL_NEW();
- g_projectiles = IL_NEW();
- g_items = IL_NEW();
- g_initforplayer = IL_NEW();
- g_clones = IL_NEW();
- g_spawnpoints = IL_NEW();
- g_bot_targets = IL_NEW();
- g_bot_dodge = IL_NEW();
- g_damagedbycontents = IL_NEW();
- g_railgunhit = IL_NEW();
- g_ladders = IL_NEW();
- g_locations = IL_NEW();
- g_saved_team = IL_NEW();
- g_monster_targets = IL_NEW();
- g_pathlib_nodes = IL_NEW();
- g_moveables = IL_NEW();
-}
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include <server/defs.qh>
+ #include <common/weapons/_all.qh>
+ #include <common/stats.qh>
#include <server/items/items.qh>
#include <server/miscfunctions.qh>
#include <lib/warpzone/common.qh>
#include "weapons/selection.qh"
#include "autocvars.qh"
#include "constants.qh"
- #include "defs.qh"
#include <common/notifications/all.qh>
#include <common/deathtypes/all.qh>
#include <server/mutators/_mod.qh>
void Fire_ApplyDamage(entity e);
void Fire_ApplyEffect(entity e);
+
+IntrusiveList g_damagedbycontents;
+STATIC_INIT(g_damagedbycontents) { g_damagedbycontents = IL_NEW(); }
#include "g_hook.qh"
-#include <server/defs.qh>
+#include <server/bot/api.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_damage.qh>
#include <server/miscfunctions.qh>
#include <common/effects/all.qh>
#include "spawnpoints.qh"
#include "teamplay.qh"
#include "weapons/weaponstats.qh"
+#include <server/weapons/common.qh>
#include "../common/constants.qh"
#include <common/net_linked.qh>
#include "../common/deathtypes/all.qh"
float DoNextMapOverride(float reinit);
void CheckRules_World();
float RedirectionThink();
+
+IntrusiveList g_moveables;
+STATIC_INIT(g_moveables) { g_moveables = IL_NEW(); }
#include "ipban.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "autocvars.qh"
#include "command/banning.qh"
-#include "defs.qh"
#include "../common/constants.qh"
#include "../common/util.qh"
#define POSTGIVE_VALUE_ROT(e,f,t,rotfield,rottime,regenfield,regentime,snd_incr,snd_decr) GiveRot((e), save_##f, (e).f, rotfield, rottime, regenfield, regentime); GiveSound((e), save_##f, (e).f, t, snd_incr, snd_decr)
float GiveItems(entity e, float beginarg, float endarg);
+
+IntrusiveList g_items;
+STATIC_INIT(g_items) { g_items = IL_NEW(); }
#include "mapvoting.qh"
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/gamelog.qh>
#include <server/miscfunctions.qh>
#include "g_world.qh"
#include "ipban.qh"
#include <server/items/items.qh>
#include <server/mutators/_mod.qh>
+#include <server/spawnpoints.qh>
#include <server/sv_main.qh>
#include "mapvoting.qh"
#include "resources.qh"
#include "../common/teams.qh"
#include "../common/mapobjects/subs.qh"
#include <common/mapobjects/trigger/hurt.qh>
+#include <common/mapobjects/target/location.qh>
#include "../common/util.qh"
#include "../common/turrets/sv_turrets.qh"
#include <common/weapons/_all.qh>
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/client.qh>
#include <server/g_world.qh>
#include "loader.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
STATIC_INIT_LATE(Gametype) {
#include "main.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "pathlib.qh"
#include "utility.qh"
#include "movenode.qh"
#include <common/mapobjects/triggers.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "pathlib.qh"
#include "utility.qh"
var bool buildpath_nodefilter(vector n,vector c,vector p);
var float pathlib_wpp_waypointcallback(entity wp, entity wp_prev);
+
+IntrusiveList g_pathlib_nodes;
+STATIC_INIT(g_pathlib_nodes) { g_pathlib_nodes = IL_NEW(); }
#include "utility.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "pathlib.qh"
void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
bool PlayerHeal(entity targ, entity inflictor, float amount, float limit);
+
+IntrusiveList g_clones;
+STATIC_INIT(g_clones) { g_clones = IL_NEW(); }
#include "race.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_damage.qh>
#include <server/g_world.qh>
#include <server/miscfunctions.qh>
#include "scores.qh"
#include "command/common.qh"
-#include "defs.qh"
+#include <common/weapons/_all.qh>
#include "client.qh"
#include <server/g_world.qh>
#include <server/miscfunctions.qh>
#include "scores_rules.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "client.qh"
#include "scores.qh"
#include "g_world.qh"
#include "miscfunctions.qh"
#include "race.qh"
-#include "defs.qh"
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include "../common/constants.qh"
#include <common/net_linked.qh>
#include "../common/teams.qh"
.spawn_evalfunc_t spawn_evalfunc;
.int restriction;
+
+IntrusiveList g_spawnpoints;
+STATIC_INIT(g_spawnpoints) { g_spawnpoints = IL_NEW(); }
#include <server/mutators/_mod.qh>
#include "weapons/csqcprojectile.qh"
+#include <server/weapons/common.qh>
#include <server/compat/quake3.qh>
#include "../common/constants.qh"
#pragma once
-#include "defs.qh"
#include "miscfunctions.qh"
#include "autocvars.qh"
#include "client.qh"
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
.bool cvar_cl_accuracy_data_share;
#include "common.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_damage.qh>
#include <server/items/items.qh>
#include <server/miscfunctions.qh>
const int MIF_GUIDED_ALL = MIF_GUIDED_MANUAL | MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG;
const int MIF_GUIDED_TRACKING = MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG;
const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI;
+
+IntrusiveList g_projectiles;
+STATIC_INIT(g_projectiles) { g_projectiles = IL_NEW(); }
#include "csqcprojectile.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/items/items.qh>
#include <server/miscfunctions.qh>
#include "hitplot.qh"
#include <server/client.qh>
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/g_world.qh>
#include <server/miscfunctions.qh>
#include "../antilag.qh"
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
.int selectweapon; // last selected weapon of the player
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
string W_Apply_Weaponreplace(string in);
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
.float savenextthink;
#pragma once
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
vector w_shotorg;
.float railgunhitsolidbackup;
.vector railgunhitloc;
+IntrusiveList g_railgunhit;
+STATIC_INIT(g_railgunhit) { g_railgunhit = IL_NEW(); }
+
.float railgundistance;
.vector railgunforce;
void FireRailgunBullet (entity this, .entity weaponentity, vector start, vector end, float bdamage, bool headshot_notify, float bforce, float mindist, float maxdist, float halflifedist, float forcehalflifedist, int deathtype);
#include "weaponstats.qh"
-#include <server/defs.qh>
+#include <common/weapons/_all.qh>
+#include <common/stats.qh>
#include <server/miscfunctions.qh>
#include "../g_world.qh"