echo This file intentionally left blank. > $@
../csprogs.dat: client/progs.inc $(QCCVERSIONFILE)
- $(CC) -xc $(QCCDEFS) -DCSQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/client.qc $<
- @$(CC) -xc $(QCCDEFS) -DCSQC -E -dM 1>tmp/client_macros.txt -H 2>tmp/client_includes.txt $<
+ $(CC) -xc -I. $(QCCDEFS) -DCSQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/client.qc $<
+ @$(CC) -xc -I. $(QCCDEFS) -DCSQC -E -dM 1>tmp/client_macros.txt -H 2>tmp/client_includes.txt $<
@sed -i 's/^# \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\2)\n#pragma line(\1)/g' tmp/client.qc
@echo make[1]: Entering directory \`$(PWD)/client\'
cd client && $(QCC) $(QCCFLAGS) -o ../$@ ../tmp/client.qc
-include tmp/client.d
../progs.dat: server/progs.inc $(QCCVERSIONFILE)
- $(CC) -xc $(QCCDEFS) -DSVQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/server.qc $<
- @$(CC) -xc $(QCCDEFS) -DSVQC -E -dM 1>tmp/server_macros.txt -H 2>tmp/server_includes.txt $<
+ $(CC) -xc -I. $(QCCDEFS) -DSVQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/server.qc $<
+ @$(CC) -xc -I. $(QCCDEFS) -DSVQC -E -dM 1>tmp/server_macros.txt -H 2>tmp/server_includes.txt $<
@sed -i 's/^# \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\2)\n#pragma line(\1)/g' tmp/server.qc
@echo make[1]: Entering directory \`$(PWD)/server\'
cd server && $(QCC) $(QCCFLAGS) -o ../$@ ../tmp/server.qc
-include tmp/server.d
../menu.dat: menu/progs.inc $(QCCVERSIONFILE)
- $(CC) -xc $(QCCDEFS) -DMENUQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/menu.qc $<
- @$(CC) -xc $(QCCDEFS) -DMENUQC -E -dM 1>tmp/menu_macros.txt -H 2>tmp/menu_includes.txt $<
+ $(CC) -xc -I. $(QCCDEFS) -DMENUQC -E -MMD -MP -MT $@ -Wall -Wundef -Werror -CC -o tmp/menu.qc $<
+ @$(CC) -xc -I. $(QCCDEFS) -DMENUQC -E -dM 1>tmp/menu_macros.txt -H 2>tmp/menu_includes.txt $<
@sed -i 's/^# \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\2)\n#pragma line(\1)/g' tmp/menu.qc
@echo make[1]: Entering directory \`$(PWD)/menu\'
cd menu && $(QCC) $(QCCFLAGS) -o ../$@ ../tmp/menu.qc
#ifndef CLIENT_ALL_H
#define CLIENT_ALL_H
-#include "../common/util.qh"
+#include <common/util.qh>
-#include "../common/effects/all.qh"
-#include "../common/models/all.qh"
-#include "../common/sounds/all.qh"
+#include <common/effects/all.qh>
+#include <common/models/all.qh>
+#include <common/sounds/all.qh>
#include "autocvars.qh"
#include "defs.qh"
#include "mutators/events.qh"
-#include "../common/notifications.qh"
-#include "../common/stats.qh"
+#include <common/notifications.qh>
+#include <common/stats.qh>
bool announcer_1min;
bool announcer_5min;
-#include "../../common/command/all.qc"
+#include <common/command/all.qc>
#include "cl_cmd.qc"
#ifndef CLIENT_COMMANDS_ALL_H
#define CLIENT_COMMANDS_ALL_H
-#include "../../common/commands/all.qh"
+#include <common/commands/all.qh>
#include "cl_cmd.qh"
// Last updated: December 28th, 2011
// ==============================================
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "cl_cmd.qh"
#include "../autocvars.qh"
#include "../mutators/events.qh"
-#include "../../common/mapinfo.qh"
+#include <common/mapinfo.qh>
-#include "../../common/command/generic.qh"
+#include <common/command/generic.qh>
void DrawDebugModel(entity this)
{
#include "mutators/events.qh"
#include "player_skeleton.qh"
#include "weapons/projectile.qh"
-#include "../common/animdecide.qh"
-#include "../common/physics/movetypes/movetypes.qh"
-#include "../common/viewloc.qh"
-#include "../lib/csqcmodel/cl_model.qh"
-#include "../lib/csqcmodel/cl_player.qh"
-#include "../lib/csqcmodel/interpolate.qh"
+#include <common/animdecide.qh>
+#include <common/physics/movetypes/movetypes.qh>
+#include <common/viewloc.qh>
+#include <lib/csqcmodel/cl_model.qh>
+#include <lib/csqcmodel/cl_player.qh>
+#include <lib/csqcmodel/interpolate.qh>
.float death_time;
.int modelflags;
#include "../mapvoting.qh"
#include "../scoreboard.qh"
#include "../teamradar.qh"
-#include "../../common/t_items.qh"
-#include "../../common/deathtypes/all.qh"
-#include "../../common/items/all.qc"
-#include "../../common/mapinfo.qh"
-#include "../../common/mutators/mutator/waypoints/all.qh"
-#include "../../common/stats.qh"
-#include "../../lib/csqcmodel/cl_player.qh"
+#include <common/t_items.qh>
+#include <common/deathtypes/all.qh>
+#include <common/items/all.qc>
+#include <common/mapinfo.qh>
+#include <common/mutators/mutator/waypoints/all.qh>
+#include <common/stats.qh>
+#include <lib/csqcmodel/cl_player.qh>
// TODO: remove
-#include "../../server/mutators/mutator/gamemode_ctf.qc"
+#include <server/mutators/mutator/gamemode_ctf.qc>
/*
#ifndef CLIENT_HUD_H
#define CLIENT_HUD_H
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
bool HUD_Radar_Clickable();
void HUD_Radar_Mouse();
// Minigame
-#include "../../../common/minigames/cl_minigames_hud.qc"
+#include <common/minigames/cl_minigames_hud.qc>
// QuickMenu (#23)
-#include "../../quickmenu.qc"
+#include <client/quickmenu.qc>
#include "main.qh"
-#include "../common/effects/qc/all.qh"
+#include <common/effects/qc/all.qh>
#include "hud/all.qh"
#include "mapvoting.qh"
#include "mutators/events.qh"
#include "quickmenu.qh"
#include "scoreboard.qh"
#include "shownames.qh"
-#include "../common/t_items.qh"
+#include <common/t_items.qh>
#include "wall.qh"
#include "weapons/projectile.qh"
-#include "../common/deathtypes/all.qh"
-#include "../common/items/all.qh"
-#include "../common/mapinfo.qh"
-#include "../common/minigames/cl_minigames.qh"
-#include "../common/minigames/cl_minigames_hud.qh"
-#include "../common/net_notice.qh"
-#include "../common/triggers/include.qh"
-#include "../common/vehicles/all.qh"
-#include "../lib/csqcmodel/cl_model.qh"
-#include "../lib/csqcmodel/interpolate.qh"
-#include "../lib/warpzone/client.qh"
+#include <common/deathtypes/all.qh>
+#include <common/items/all.qh>
+#include <common/mapinfo.qh>
+#include <common/minigames/cl_minigames.qh>
+#include <common/minigames/cl_minigames_hud.qh>
+#include <common/net_notice.qh>
+#include <common/triggers/include.qh>
+#include <common/vehicles/all.qh>
+#include <lib/csqcmodel/cl_model.qh>
+#include <lib/csqcmodel/interpolate.qh>
+#include <lib/warpzone/client.qh>
// --------------------------------------------------------------------------
// BEGIN REQUIRED CSQC FUNCTIONS
#ifndef CLIENT_MAIN_H
#define CLIENT_MAIN_H
-#include "../common/constants.qh"
-#include "../common/weapons/all.qh"
+#include <common/constants.qh>
+#include <common/weapons/all.qh>
// --------------------------------------------------------------------------
// MENU Functionality
#include "hud/all.qh"
#include "scoreboard.qh"
-#include "../common/mapinfo.qh"
+#include <common/mapinfo.qh>
int mv_num_maps;
#ifndef CLIENT_MAPVOTING_H
#define CLIENT_MAPVOTING_H
-#include "../common/constants.qh"
+#include <common/constants.qh>
void MapVote_Draw();
void Cmd_MapVote_MapDownload(float argc);
#include "hud/all.qh"
-#include "../common/command/generic.qh"
+#include <common/command/generic.qh>
-#include "../common/teams.qh"
+#include <common/teams.qh>
-#include "../lib/csqcmodel/cl_model.qh"
+#include <lib/csqcmodel/cl_model.qh>
void AuditLists()
#ifndef CLIENT_MUTATORS_EVENTS_H
#define CLIENT_MUTATORS_EVENTS_H
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
// globals
#include "../main.qh"
#include "../mutators/events.qh"
-#include "../../common/constants.qh"
-#include "../../common/physics/movetypes/movetypes.qh"
+#include <common/constants.qh>
+#include <common/physics/movetypes/movetypes.qh>
-#include "../../lib/csqcmodel/interpolate.qh"
+#include <lib/csqcmodel/interpolate.qh>
-#include "../../lib/warpzone/anglestransform.qh"
+#include <lib/warpzone/anglestransform.qh>
.float alpha;
.float scale;
#endif
#ifdef CSQC
- #include "../../client/commands/cl_cmd.qh"
+ #include <client/commands/cl_cmd.qh>
#endif
#ifdef SVQC
- #include "../../server/command/banning.qh"
- #include "../../server/command/cmd.qh"
- #include "../../server/command/common.qh"
- #include "../../server/command/sv_cmd.qh"
- #include "../../common/turrets/config.qh"
- #include "../../common/weapons/config.qh"
+ #include <server/command/banning.qh>
+ #include <server/command/cmd.qh>
+ #include <server/command/common.qh>
+ #include <server/command/sv_cmd.qh>
+ #include <common/turrets/config.qh>
+ #include <common/weapons/config.qh>
#endif
// =========================================================
#ifdef IMPLEMENTATION
-#include "../../util.qh"
+#include <common/util.qh>
#ifdef CSQC
-#include "../../physics/movetypes/movetypes.qh"
+#include <common/physics/movetypes/movetypes.qh>
#include "rubble.qh"
#endif
#define DAMAGEEFFECTS_H
#ifdef CSQC
-#include "../../deathtypes/all.qh"
-#include "../../physics/movetypes/movetypes.qh"
-#include "../../../client/mutators/events.qh"
-#include "../../vehicles/all.qh"
-#include "../../weapons/all.qh"
+#include <common/deathtypes/all.qh>
+#include <common/physics/movetypes/movetypes.qh>
+#include <client/mutators/events.qh>
+#include <common/vehicles/all.qh>
+#include <common/weapons/all.qh>
#endif
#endif
.bool silent;
#include "rubble.qh"
-#include "../../physics/movetypes/movetypes.qh"
+#include <common/physics/movetypes/movetypes.qh>
.float scale;
.float alpha;
#include "globalsound.qh"
-#include "../../ent_cs.qh"
+#include <common/ent_cs.qh>
#ifdef IMPLEMENTATION
- #include "../../animdecide.qh"
+ #include <common/animdecide.qh>
#ifdef SVQC
- #include "../../../server/cl_player.qh"
+ #include <server/cl_player.qh>
#endif
REGISTER_NET_TEMP(globalsound)
#include "ammo.qh"
#ifdef SVQC
- #include "../../t_items.qh"
+ #include <common/t_items.qh>
#endif
#ifndef MENUQC
#include "armor.qh"
#ifdef SVQC
- #include "../../t_items.qh"
+ #include <common/t_items.qh>
#endif
#ifndef MENUQC
#include "health.qh"
#ifdef SVQC
- #include "../../t_items.qh"
+ #include <common/t_items.qh>
#endif
#ifndef MENUQC
#ifdef SVQC
- #include "../../t_items.qh"
- #include "../../../server/constants.qh"
+ #include <common/t_items.qh>
+ #include <server/constants.qh>
#endif
#include "ammo.qh"
#ifdef SVQC
// For FL_POWERUP
- #include "../../../server/constants.qh"
+ #include <server/constants.qh>
#endif
#ifndef POWERUP_H
#ifdef SVQC
#include "sv_monsters.qh"
-#include "../../server/g_damage.qh"
-#include "../../server/bot/bot.qh"
-#include "../../server/weapons/common.qh"
-#include "../../server/weapons/tracing.qh"
-#include "../../server/weapons/weaponsystem.qh"
-#include "../mutators/mutator/waypoints/waypointsprites.qh"
-#include "../../lib/warpzone/server.qh"
+#include <server/g_damage.qh>
+#include <server/bot/bot.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/tracing.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <common/mutators/mutator/waypoints/waypointsprites.qh>
+#include <lib/warpzone/server.qh>
#endif
// special spawn flags
#endif
}
-#include "../../weapons/all.qh"
-#include "../../items/all.qc"
+#include <common/weapons/all.qh>
+#include <common/items/all.qc>
CLASS(MageSpike, PortoLaunch)
/* flags */ ATTRIB(MageSpike, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
}
}
-#include "../../effects/qc/all.qh"
+#include <common/effects/qc/all.qh>
void M_Shambler_Attack_Lightning_Explode()
{SELFPARAM();
#endif
}
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(SpiderAttack, PortoLaunch)
/* flags */ ATTRIB(SpiderAttack, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
#endif
}
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(WyvernAttack, PortoLaunch)
/* flags */ ATTRIB(WyvernAttack, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
#include "all.qh"
#include "sv_monsters.qh"
#include "spawn.qh"
- #include "../../server/autocvars.qh"
- #include "../../server/defs.qh"
+ #include <server/autocvars.qh>
+ #include <server/defs.qh>
#endif
entity spawnmonster (string monster, float monster_id, entity spawnedby, entity own, vector orig, float respwn, float invincible, float moveflag)
{SELFPARAM();
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../lib/warpzone/common.qh"
+ #include <lib/warpzone/common.qh>
#include "../constants.qh"
#include "../teams.qh"
#include "../util.qh"
#include "sv_monsters.qh"
#include "../physics/movelib.qh"
#include "../weapons/all.qh"
- #include "../../server/autocvars.qh"
- #include "../../server/defs.qh"
+ #include <server/autocvars.qh>
+ #include <server/defs.qh>
#include "../deathtypes/all.qh"
- #include "../../server/mutators/all.qh"
- #include "../../server/steerlib.qh"
+ #include <server/mutators/all.qh>
+ #include <server/steerlib.qh>
#include "../turrets/sv_turrets.qh"
#include "../turrets/util.qh"
#include "../vehicles/all.qh"
- #include "../../server/campaign.qh"
- #include "../../server/command/common.qh"
- #include "../../server/command/cmd.qh"
+ #include <server/campaign.qh>
+ #include <server/command/common.qh>
+ #include <server/command/cmd.qh>
#include "../triggers/triggers.qh"
- #include "../../lib/csqcmodel/sv_model.qh"
- #include "../../server/round_handler.qh"
+ #include <lib/csqcmodel/sv_model.qh>
+ #include <server/round_handler.qh>
#endif
void monsters_setstatus()
#ifdef IMPLEMENTATION
-#include "../../../deathtypes/all.qh"
-#include "../../../../server/g_hook.qh"
+#include <common/deathtypes/all.qh>
+#include <server/g_hook.qh>
REGISTER_MUTATOR(breakablehook, cvar("g_breakablehook"));
// Add new buffs here!
// Note: Buffs also need spawnfuncs, which are set below
-#include "../../../teams.qh"
-#include "../../../util.qh"
+#include <common/teams.qh>
+#include <common/util.qh>
REGISTER_WAYPOINT(Buff, _("Buff"), '1 0.5 0', 1);
REGISTER_RADARICON(Buff, 1);
} \
REGISTER_INIT(BUFF_##id)
-#include "../../../items/item/pickup.qh"
+#include <common/items/item/pickup.qh>
CLASS(Buff, Pickup)
/** bit index */
ATTRIB(Buff, m_itemid, int, 0)
#ifdef IMPLEMENTATION
-#include "../../../triggers/target/music.qh"
-#include "../../../gamemodes/all.qh"
+#include <common/triggers/target/music.qh>
+#include <common/gamemodes/all.qh>
.float buff_time = _STAT(BUFF_TIME);
void buffs_DelayedInit();
#ifdef IMPLEMENTATION
#ifdef SVQC
- #include "../../../../server/antilag.qh"
+ #include <server/antilag.qh>
#endif
-#include "../../../physics/player.qh"
+#include <common/physics/player.qh>
#if defined(SVQC)
#define MUTATOR_DAMAGETEXT_H
#ifdef MENUQC
-#include "../../../../menu/xonotic/tab.qc"
+#include <menu/xonotic/tab.qc>
#endif
#endif
#ifdef MENUQC
CLASS(XonoticDamageTextSettings, XonoticTab)
- #include "../../../../menu/gamesettings.qh"
+ #include <menu/gamesettings.qh>
REGISTER_SETTINGS(damagetext, NEW(XonoticDamageTextSettings));
ATTRIB(XonoticDamageTextSettings, title, string, _("Damage text"))
ATTRIB(XonoticDamageTextSettings, intendedWidth, float, 0.9)
// the jump part of the dodge cannot be ramped
.float dodging_single_action;
-#include "../../../animdecide.qh"
-#include "../../../physics/player.qh"
+#include <common/animdecide.qh>
+#include <common/physics/player.qh>
.float cvar_cl_dodging_timeout = _STAT(DODGING_TIMEOUT);
#ifdef IMPLEMENTATION
#ifdef SVQC
- #include "../../../../server/antilag.qh"
+ #include <server/antilag.qh>
#endif
-#include "../../../physics/player.qh"
+#include <common/physics/player.qh>
#ifdef SVQC
REGISTER_MUTATOR(doublejump, autocvar_sv_doublejump);
int autocvar_g_instagib_extralives;
float autocvar_g_instagib_speed_highspeed;
-#include "../../../../server/cl_client.qh"
+#include <server/cl_client.qh>
-#include "../../../items/all.qc"
+#include <common/items/all.qc>
REGISTER_MUTATOR(mutator_instagib, cvar("g_instagib") && !g_nexball);
-#include "../../../items/all.qh"
-#include "../../../items/item/ammo.qh"
-#include "../../../items/item/powerup.qh"
+#include <common/items/all.qh>
+#include <common/items/item/ammo.qh>
+#include <common/items/item/powerup.qh>
float instagib_respawntime_ammo = 45;
float instagib_respawntimejitter_ammo = 0;
#ifdef IMPLEMENTATION
#ifdef SVQC
- #include "../../../../server/antilag.qh"
+ #include <server/antilag.qh>
#endif
-#include "../../../physics/player.qh"
+#include <common/physics/player.qh>
#if defined(SVQC)
#ifdef SVQC
-#include "../../../gamemodes/all.qh"
-#include "../../../monsters/spawn.qh"
-#include "../../../monsters/sv_monsters.qh"
-#include "../../../../server/g_subs.qh"
+#include <common/gamemodes/all.qh>
+#include <common/monsters/spawn.qh>
+#include <common/monsters/sv_monsters.qh>
+#include <server/g_subs.qh>
REGISTER_MUTATOR(nades, cvar("g_nades"));
#ifndef NADES_ALL_H
#define NADES_ALL_H
-#include "../../../teams.qh"
+#include <common/teams.qh>
// use slots 70-100
const int PROJECTILE_NADE = 71;
#ifdef IMPLEMENTATION
-#include "../../../deathtypes/all.qh"
-#include "../../../../server/round_handler.qh"
+#include <common/deathtypes/all.qh>
+#include <server/round_handler.qh>
REGISTER_MUTATOR(rm, cvar("g_instagib"));
#include "../player.qh"
#if defined(CSQC)
- #include "../../../client/defs.qh"
- #include "../../stats.qh"
- #include "../../util.qh"
+ #include <client/defs.qh>
+ #include <common/stats.qh>
+ #include <common/util.qh>
#include "movetypes.qh"
- #include "../../../lib/csqcmodel/common.qh"
- #include "../../t_items.qh"
+ #include <lib/csqcmodel/common.qh>
+ #include <common/t_items.qh>
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../server/autocvars.qh"
+ #include <server/autocvars.qh>
#endif
void _Movetype_WallFriction(entity this, vector stepnormal) // SV_WallFriction
#ifdef SVQC
-#include "../../server/miscfunctions.qh"
+#include <server/miscfunctions.qh>
#include "../triggers/trigger/viewloc.qh"
// client side physics
#ifdef SVQC
-#include "../../../server/g_subs.qh"
-#include "../../../server/g_damage.qh"
-#include "../../../server/bot/bot.qh"
-#include "../../../common/csqcmodel_settings.qh"
-#include "../../../lib/csqcmodel/sv_model.qh"
-#include "../../../server/weapons/common.qh"
+#include <server/g_subs.qh>
+#include <server/g_damage.qh>
+#include <server/bot/bot.qh>
+#include <common/csqcmodel_settings.qh>
+#include <lib/csqcmodel/sv_model.qh>
+#include <server/weapons/common.qh>
.entity sprite;
// some required common stuff
#ifdef CSQC
- #include "../../server/item_key.qh"
+ #include <server/item_key.qh>
#endif
#include "triggers.qh"
#include "subs.qh"
#if defined(CSQC)
- #include "../../../lib/csqcmodel/interpolate.qh"
- #include "../../../client/main.qh"
- #include "../../../lib/csqcmodel/cl_model.qh"
+ #include <lib/csqcmodel/interpolate.qh>
+ #include <client/main.qh>
+ #include <lib/csqcmodel/cl_model.qh>
#elif defined(MENUQC)
#elif defined(SVQC)
#endif
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../constants.qh"
- #include "../../../server/constants.qh"
- #include "../../../server/defs.qh"
+ #include <common/constants.qh>
+ #include <server/constants.qh>
+ #include <server/defs.qh>
#endif
REGISTER_NET_TEMP(TE_CSQC_TARGET_MUSIC)
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../util.qh"
- #include "../../../server/defs.qh"
+ #include <common/util.qh>
+ #include <server/defs.qh>
#endif
#ifdef SVQC
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../lib/warpzone/common.qh"
- #include "../../lib/warpzone/util_server.qh"
- #include "../../lib/warpzone/server.qh"
+ #include <lib/warpzone/common.qh>
+ #include <lib/warpzone/util_server.qh>
+ #include <lib/warpzone/server.qh>
#include "../constants.qh"
#include "../triggers/subs.qh"
#include "../util.qh"
- #include "../../server/weapons/csqcprojectile.qh"
- #include "../../server/autocvars.qh"
- #include "../../server/constants.qh"
- #include "../../server/defs.qh"
+ #include <server/weapons/csqcprojectile.qh>
+ #include <server/autocvars.qh>
+ #include <server/constants.qh>
+ #include <server/defs.qh>
#include "../deathtypes/all.qh"
#include "../turrets/sv_turrets.qh"
#include "../vehicles/all.qh"
#include "../mapinfo.qh"
- #include "../../server/anticheat.qh"
+ #include <server/anticheat.qh>
#endif
float check_tdeath(entity player, vector org, vector telefragmin, vector telefragmax)
// TODO: split target_push and put it in the target folder
#ifdef SVQC
#include "jumppads.qh"
-#include "../../physics/movetypes/movetypes.qh"
+#include <common/physics/movetypes/movetypes.qh>
void trigger_push_use()
{SELFPARAM();
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../util.qh"
- #include "../../../server/defs.qh"
+ #include <common/util.qh>
+ #include <server/defs.qh>
#include "secret.qh"
#endif
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../lib/warpzone/util_server.qh"
- #include "../../weapons/all.qh"
- #include "../../../server/defs.qh"
- #include "../../deathtypes/all.qh"
+ #include <lib/warpzone/util_server.qh>
+ #include <common/weapons/all.qh>
+ #include <server/defs.qh>
+ #include <common/deathtypes/all.qh>
#endif
/*
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../lib/warpzone/util_server.qh"
- #include "../../../server/defs.qh"
+ #include <lib/warpzone/util_server.qh>
+ #include <server/defs.qh>
#endif
REGISTER_NET_LINKED(ENT_CLIENT_VIEWLOC)
#ifdef SVQC
-#include "../../server/autocvars.qh"
+#include <server/autocvars.qh>
// Generic aiming
vector turret_aim_generic()
#endif // SVQC
#ifdef CSQC
-#include "../../physics/movelib.qh"
+#include <common/physics/movelib.qh>
void walker_draw(entity this)
{
#ifndef VEHICLE_BUMBLEBEE_WEAPONS_H
#define VEHICLE_BUMBLEBEE_WEAPONS_H
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
#endif
#include "racer_weapon.qc"
#ifdef SVQC
-#include "../../triggers/trigger/impulse.qh"
+#include <common/triggers/trigger/impulse.qh>
bool autocvar_g_vehicle_racer;
#ifndef VEHICLE_RACER_WEAPON_H
#define VEHICLE_RACER_WEAPON_H
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(RacerAttack, PortoLaunch)
/* flags */ ATTRIB(RacerAttack, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
#ifndef VEHICLE_RAPTOR_WEAPONS_H
#define VEHICLE_RAPTOR_WEAPONS_H
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(RaptorCannon, PortoLaunch)
/* flags */ ATTRIB(RaptorCannon, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
#ifndef VEHICLE_SPIDERBOT_WEAPONS_H
#define VEHICLE_SPIDERBOT_WEAPONS_H
-#include "../../weapons/all.qh"
+#include <common/weapons/all.qh>
#endif
#include "all.qh"
#if defined(CSQC)
- #include "../../client/defs.qh"
+ #include <client/defs.qh>
#include "../constants.qh"
#include "../stats.qh"
- #include "../../lib/warpzone/anglestransform.qh"
- #include "../../lib/warpzone/common.qh"
- #include "../../lib/warpzone/client.qh"
+ #include <lib/warpzone/anglestransform.qh>
+ #include <lib/warpzone/common.qh>
+ #include <lib/warpzone/client.qh>
#include "../util.qh"
- #include "../../client/autocvars.qh"
+ #include <client/autocvars.qh>
#include "../deathtypes/all.qh"
- #include "../../lib/csqcmodel/interpolate.qh"
+ #include <lib/csqcmodel/interpolate.qh>
#include "../physics/movetypes/movetypes.qh"
- #include "../../client/main.qh"
- #include "../../lib/csqcmodel/cl_model.qh"
+ #include <client/main.qh>
+ #include <lib/csqcmodel/cl_model.qh>
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../lib/warpzone/anglestransform.qh"
- #include "../../lib/warpzone/common.qh"
- #include "../../lib/warpzone/util_server.qh"
- #include "../../lib/warpzone/server.qh"
+ #include <lib/warpzone/anglestransform.qh>
+ #include <lib/warpzone/common.qh>
+ #include <lib/warpzone/util_server.qh>
+ #include <lib/warpzone/server.qh>
#include "../constants.qh"
#include "../stats.qh"
#include "../teams.qh"
#include "../util.qh"
#include "../monsters/all.qh"
#include "config.qh"
- #include "../../server/weapons/csqcprojectile.qh"
- #include "../../server/weapons/tracing.qh"
+ #include <server/weapons/csqcprojectile.qh>
+ #include <server/weapons/tracing.qh>
#include "../t_items.qh"
- #include "../../server/autocvars.qh"
- #include "../../server/constants.qh"
- #include "../../server/defs.qh"
+ #include <server/autocvars.qh>
+ #include <server/constants.qh>
+ #include <server/defs.qh>
#include "../notifications.qh"
#include "../deathtypes/all.qh"
- #include "../../server/mutators/all.qh"
+ #include <server/mutators/all.qh>
#include "../mapinfo.qh"
- #include "../../server/command/common.qh"
- #include "../../lib/csqcmodel/sv_model.qh"
- #include "../../server/portals.qh"
- #include "../../server/g_hook.qh"
+ #include <server/command/common.qh>
+ #include <lib/csqcmodel/sv_model.qh>
+ #include <server/portals.qh>
+ #include <server/g_hook.qh>
#endif
#ifndef MENUQC
#include "calculations.qc"
#include "../util.qh"
#ifdef SVQC
-#include "../../server/bot/aim.qh"
+#include <server/bot/aim.qh>
#endif
REGISTRY(Weapons, 72) // Increase as needed. Can be up to 72.
#endif
#ifdef CSQC
-#include "../../../lib/csqcmodel/interpolate.qh"
-#include "../../../lib/warpzone/common.qh"
+#include <lib/csqcmodel/interpolate.qh>
+#include <lib/warpzone/common.qh>
void Draw_CylindricLine(vector from, vector to, float thickness, string texture, float aspect, float shift, vector rgb, float theAlpha, float drawflag, vector vieworg);
#endif
#ifdef IMPLEMENTATION
#ifdef SVQC
-#include "../../triggers/trigger/jumppads.qh"
+#include <common/triggers/trigger/jumppads.qh>
spawnfunc(weapon_porto) { weapon_defaultspawnfunc(this, WEP_PORTO); }
#endif
#if defined(CSQC)
- #include "../dpdefs/csprogsdefs.qh"
- #include "../dpdefs/keycodes.qh"
+ #include <dpdefs/csprogsdefs.qh>
+ #include <dpdefs/keycodes.qh>
#elif defined(SVQC)
- #include "../server/sys-pre.qh"
- #include "../dpdefs/progsdefs.qh"
- #include "../dpdefs/dpextensions.qh"
- #include "../server/sys-post.qh"
+ #include <server/sys-pre.qh>
+ #include <dpdefs/progsdefs.qh>
+ #include <dpdefs/dpextensions.qh>
+ #include <server/sys-post.qh>
#elif defined(MENUQC)
- #include "../dpdefs/menudefs.qh"
- #include "../dpdefs/keycodes.qh"
+ #include <dpdefs/menudefs.qh>
+ #include <dpdefs/keycodes.qh>
#endif
#include "macro.qh"
#include "cl_player.qh"
#include "common.qh"
#include "interpolate.qh"
-#include "../../client/defs.qh"
-#include "../../common/animdecide.qh"
-#include "../../common/csqcmodel_settings.qh"
-#include "../../common/util.qh"
+#include <client/defs.qh>
+#include <common/animdecide.qh>
+#include <common/csqcmodel_settings.qh>
+#include <common/util.qh>
float autocvar_cl_lerpanim_maxdelta_framegroups = 0.1;
float autocvar_cl_nolerp = 0;
#include "cl_model.qh"
#include "common.qh"
#include "interpolate.qh"
-#include "../../client/defs.qh"
-#include "../../client/main.qh"
-#include "../../common/constants.qh"
-#include "../../common/physics/player.qh"
-#include "../../common/stats.qh"
-#include "../../common/triggers/trigger/viewloc.qh"
-#include "../../common/util.qh"
-#include "../../common/viewloc.qh"
+#include <client/defs.qh>
+#include <client/main.qh>
+#include <common/constants.qh>
+#include <common/physics/player.qh>
+#include <common/stats.qh>
+#include <common/triggers/trigger/viewloc.qh>
+#include <common/util.qh>
+#include <common/viewloc.qh>
float autocvar_cl_movement_errorcompensation = 0;
#ifndef LIB_CSQCMODEL_COMMON_H
#define LIB_CSQCMODEL_COMMON_H
-#include "../../common/csqcmodel_settings.qh"
+#include <common/csqcmodel_settings.qh>
noref string csqcmodel_license = "\
Copyright (c) 2011 Rudolf Polzer\
#include "sv_model.qh"
#include "common.qh"
-#include "../../common/animdecide.qh"
-#include "../../common/constants.qh"
-#include "../../common/util.qh"
-#include "../../server/constants.qh"
-#include "../../server/defs.qh"
+#include <common/animdecide.qh>
+#include <common/constants.qh>
+#include <common/util.qh>
+#include <server/constants.qh>
+#include <server/defs.qh>
// generic CSQC model code
#include "i18n.qh"
#include "vector.qh"
- #include "../client/defs.qh"
+ #include <client/defs.qh>
void Draw_CylindricLine(vector from, vector to, float thickness, string texture, float aspect, float shift, vector rgb, float theAlpha, float drawflag, vector vieworg)
{
#include "common.qh"
#if defined(CSQC)
- #include "../../client/autocvars.qh"
- #include "../csqcmodel/cl_model.qh"
+ #include <client/autocvars.qh>
+ #include <lib/csqcmodel/cl_model.qh>
#elif defined(MENUQC)
#elif defined(SVQC)
#endif
#include "common.qh"
#if defined(CSQC)
- #include "../../common/t_items.qh"
+ #include <common/t_items.qh>
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../common/weapons/all.qh"
+ #include <common/weapons/all.qh>
#endif
void WarpZone_Accumulator_Clear(entity acc)
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../common/constants.qh"
- #include "../../common/triggers/subs.qh"
- #include "../../common/util.qh"
- #include "../../server/command/common.qh"
- #include "../../server/constants.qh"
- #include "../../server/defs.qh"
+ #include <common/constants.qh>
+ #include <common/triggers/subs.qh>
+ #include <common/util.qh>
+ #include <server/command/common.qh>
+ #include <server/constants.qh>
+ #include <server/defs.qh>
#endif
#ifdef WARPZONELIB_KEEPDEBUG
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../csqcmodel/sv_model.qh"
+ #include <lib/csqcmodel/sv_model.qh>
#endif
#include "common.qh"
#include "../menu.qh"
-#include "../../common/command/all.qc"
+#include <common/command/all.qc>
#include "menu_cmd.qc"
#ifndef MENU_COMMANDS_ALL_H
#define MENU_COMMANDS_ALL_H
-#include "../../common/command/commands.qh"
+#include <common/command/commands.qh>
#include "menu_cmd.qh"
#include "../mutators/events.qh"
-#include "../../common/command/generic.qh"
+#include <common/command/generic.qh>
.entity firstChild, nextSibling;
#ifndef MENU_MUTATORS_EVENTS_H
#define MENU_MUTATORS_EVENTS_H
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
// globals
-#include "../../common/campaign_common.qh"
+#include <common/campaign_common.qh>
#ifndef CAMPAIGN_H
#define CAMPAIGN_H
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
#ifndef DIALOG_MULTIPLAYER_CREATE_MUTATORS_H
#define DIALOG_MULTIPLAYER_CREATE_MUTATORS_H
-#include "../../common/mapinfo.qh"
+#include <common/mapinfo.qh>
#ifndef DIALOG_MULTIPLAYER_JOIN_SERVERINFO_H
#define DIALOG_MULTIPLAYER_JOIN_SERVERINFO_H
-#include "../../common/playerstats.qh"
+#include <common/playerstats.qh>
#ifndef STATSLIST_H
#define STATSLIST_H
#include "../item.qc"
#include "../menu.qh"
-#include "../../common/campaign_common.qh"
-#include "../../common/constants.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/util.qh"
-#include "../../common/command/generic.qh"
+#include <common/campaign_common.qh>
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/util.qh>
+#include <common/command/generic.qh>
float GL_CheckExtension(string ext)
{
#include "../constants.qh"
#include "../defs.qh"
#include "../race.qh"
-#include "../../common/t_items.qh"
+#include <common/t_items.qh>
#include "../mutators/all.qh"
#include "../weapons/accuracy.qh"
-#include "../../common/constants.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/teams.qh"
-#include "../../common/util.qh"
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
-#include "../../lib/csqcmodel/sv_model.qh"
+#include <lib/csqcmodel/sv_model.qh>
-#include "../../lib/warpzone/common.qh"
-#include "../../lib/warpzone/util_server.qh"
+#include <lib/warpzone/common.qh>
+#include <lib/warpzone/util_server.qh>
entity bot_spawn()
{SELFPARAM();
#include "../scripting.qh"
#include "../waypoints.qh"
-#include "../../../common/constants.qh"
-#include "../../../common/items/all.qh"
+#include <common/constants.qh>
+#include <common/items/all.qh>
-#include "../../../common/triggers/trigger/jumppads.qh"
+#include <common/triggers/trigger/jumppads.qh>
-#include "../../../lib/warpzone/common.qh"
+#include <lib/warpzone/common.qh>
.float speed;
#include "bot.qh"
#include "waypoints.qh"
-#include "../../common/t_items.qh"
+#include <common/t_items.qh>
-#include "../../common/items/all.qh"
+#include <common/items/all.qh>
-#include "../../common/constants.qh"
-#include "../../common/triggers/trigger/jumppads.qh"
+#include <common/constants.qh>
+#include <common/triggers/trigger/jumppads.qh>
.float speed;
#include "../antilag.qh"
-#include "../../common/constants.qh"
+#include <common/constants.qh>
-#include "../../lib/warpzone/common.qh"
-#include "../../lib/warpzone/util_server.qh"
+#include <lib/warpzone/common.qh>
+#include <lib/warpzone/util_server.qh>
// create a new spawnfunc_waypoint and automatically link it to other waypoints, and link
// them back to it as well
-#include "../../common/command/all.qc"
+#include <common/command/all.qc>
#include "sv_cmd.qc"
#ifndef SERVER_COMMANDS_ALL_H
#define SERVER_COMMANDS_ALL_H
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
REGISTRY(SERVER_COMMANDS, BITS(7))
#define SERVER_COMMANDS_from(i) _SERVER_COMMANDS_from(i, NULL)
REGISTER_REGISTRY(SERVER_COMMANDS)
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "banning.qh"
#include "common.qh"
#include "../cl_player.qh"
#include "../ipban.qh"
-#include "../../common/util.qh"
+#include <common/util.qh>
// =====================================================
// Banning and kicking command code, written by Samual
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "cmd.qh"
#include "common.qh"
#include "../mutators/all.qh"
#ifdef SVQC
- #include "../../common/vehicles/all.qh"
+ #include <common/vehicles/all.qh>
#endif
-#include "../../common/constants.qh"
-#include "../../common/deathtypes/all.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/notifications.qh"
-#include "../../common/physics/player.qh"
-#include "../../common/teams.qh"
-#include "../../common/util.qh"
-#include "../../common/triggers/triggers.qh"
+#include <common/constants.qh>
+#include <common/deathtypes/all.qh>
+#include <common/mapinfo.qh>
+#include <common/notifications.qh>
+#include <common/physics/player.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
+#include <common/triggers/triggers.qh>
-#include "../../common/minigames/sv_minigames.qh"
+#include <common/minigames/sv_minigames.qh>
-#include "../../common/monsters/all.qc"
-#include "../../common/monsters/spawn.qh"
-#include "../../common/monsters/sv_monsters.qh"
+#include <common/monsters/all.qc>
+#include <common/monsters/spawn.qh>
+#include <common/monsters/sv_monsters.qh>
-#include "../../lib/warpzone/common.qh"
+#include <lib/warpzone/common.qh>
void ClientKill_TeamChange(float targetteam); // 0 = don't change, -1 = auto, -2 = spec
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "common.qh"
#include "../scores.qh"
-#include "../../common/monsters/all.qh"
-#include "../../common/notifications.qh"
-#include "../../lib/warpzone/common.qh"
+#include <common/monsters/all.qh>
+#include <common/notifications.qh>
+#include <lib/warpzone/common.qh>
// ====================================================
#ifndef COMMAND_COMMON_H
#define COMMAND_COMMON_H
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
REGISTRY(COMMON_COMMANDS, BITS(7))
#define COMMON_COMMANDS_from(i) _COMMON_COMMANDS_from(i, NULL)
REGISTER_REGISTRY(COMMON_COMMANDS)
}
#include "vote.qh"
-#include "../../common/monsters/spawn.qh"
+#include <common/monsters/spawn.qh>
-#include "../../common/command/generic.qh"
-#include "../../common/command/command.qh"
+#include <common/command/generic.qh>
+#include <common/command/command.qh>
// ============================================================
// Shared declarations for server commands, written by Samual
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "getreplies.qh"
#include "../race.qh"
-#include "../../common/constants.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/util.qh"
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/util.qh>
-#include "../../common/monsters/all.qh"
+#include <common/monsters/all.qh>
// =========================================================
// Reply messages for common commands, re-worked by Samual
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "radarmap.qh"
#include "../g_world.qh"
#include "../g_subs.qh"
-#include "../../common/util.qh"
+#include <common/util.qh>
-#include "../../lib/csqcmodel/sv_model.qh"
+#include <lib/csqcmodel/sv_model.qh>
// ===============================================
// Generates radar map images for use in the HUD
#include "../mutators/all.qh"
-#include "../../common/constants.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/notifications.qh"
-#include "../../common/teams.qh"
-#include "../../common/util.qh"
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/notifications.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
-#include "../../common/monsters/sv_monsters.qh"
+#include <common/monsters/sv_monsters.qh>
void PutObserverInServer();
-#include "../../common/command/command.qh"
+#include <common/command/command.qh>
#include "vote.qh"
#include "common.qh"
#include "../mutators/all.qh"
-#include "../../common/constants.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/notifications.qh"
-#include "../../common/playerstats.qh"
-#include "../../common/util.qh"
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/notifications.qh>
+#include <common/playerstats.qh>
+#include <common/util.qh>
// =============================================
// Server side voting code, reworked by Samual
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../lib/warpzone/anglestransform.qh"
- #include "../../lib/warpzone/common.qh"
- #include "../../lib/warpzone/util_server.qh"
- #include "../../lib/warpzone/server.qh"
- #include "../../common/constants.qh"
- #include "../../common/stats.qh"
- #include "../../common/teams.qh"
- #include "../../common/util.qh"
- #include "../../common/command/markup.qh"
- #include "../../common/command/rpn.qh"
- #include "../../common/command/generic.qh"
- #include "../../common/command/command.qh"
- #include "../../common/net_notice.qh"
- #include "../../common/animdecide.qh"
- #include "../../common/monsters/all.qh"
- #include "../../common/monsters/sv_monsters.qh"
- #include "../../common/monsters/spawn.qh"
- #include "../../common/weapons/config.qh"
- #include "../../common/weapons/all.qh"
+ #include <lib/warpzone/anglestransform.qh>
+ #include <lib/warpzone/common.qh>
+ #include <lib/warpzone/util_server.qh>
+ #include <lib/warpzone/server.qh>
+ #include <common/constants.qh>
+ #include <common/stats.qh>
+ #include <common/teams.qh>
+ #include <common/util.qh>
+ #include <common/command/markup.qh>
+ #include <common/command/rpn.qh>
+ #include <common/command/generic.qh>
+ #include <common/command/command.qh>
+ #include <common/net_notice.qh>
+ #include <common/animdecide.qh>
+ #include <common/monsters/all.qh>
+ #include <common/monsters/sv_monsters.qh>
+ #include <common/monsters/spawn.qh>
+ #include <common/weapons/config.qh>
+ #include <common/weapons/all.qh>
#include "../weapons/accuracy.qh"
#include "../weapons/common.qh"
#include "../weapons/csqcprojectile.qh"
#include "../weapons/tracing.qh"
#include "../weapons/weaponstats.qh"
#include "../weapons/weaponsystem.qh"
- #include "../../common/t_items.qh"
+ #include <common/t_items.qh>
#include "../autocvars.qh"
#include "../constants.qh"
#include "../defs.qh"
- #include "../../common/notifications.qh"
- #include "../../common/deathtypes/all.qh"
+ #include <common/notifications.qh>
+ #include <common/deathtypes/all.qh>
#include "all.qh"
- #include "../../common/turrets/sv_turrets.qh"
- #include "../../common/vehicles/all.qh"
+ #include <common/turrets/sv_turrets.qh>
+ #include <common/vehicles/all.qh>
#include "../campaign.qh"
- #include "../../common/campaign_common.qh"
- #include "../../common/mapinfo.qh"
+ #include <common/campaign_common.qh>
+ #include <common/mapinfo.qh>
#include "../command/common.qh"
#include "../command/banning.qh"
#include "../command/radarmap.qh"
#include "../command/getreplies.qh"
#include "../command/cmd.qh"
#include "../command/sv_cmd.qh"
- #include "../../common/csqcmodel_settings.qh"
- #include "../../lib/csqcmodel/common.qh"
- #include "../../lib/csqcmodel/sv_model.qh"
+ #include <common/csqcmodel_settings.qh>
+ #include <lib/csqcmodel/common.qh>
+ #include <lib/csqcmodel/sv_model.qh>
#include "../anticheat.qh"
#include "../cheats.qh"
- #include "../../common/playerstats.qh"
+ #include <common/playerstats.qh>
#include "../portals.qh"
#include "../g_hook.qh"
#include "../scores.qh"
#include "../round_handler.qh"
#include "../item_key.qh"
#include "../pathlib/pathlib.qh"
- #include "../../common/vehicles/all.qh"
+ #include <common/vehicles/all.qh>
#endif
#include "all.qh"
#ifndef SERVER_MUTATORS_EVENTS_H
#define SERVER_MUTATORS_EVENTS_H
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
// register all possible hooks here
#include "../command/vote.qh"
-#include "../../common/monsters/all.qh"
+#include <common/monsters/all.qh>
#include "../command/common.qh"
#include "../weapons/tracing.qh"
#include "../weapons/weaponsystem.qh"
-#include "../../common/deathtypes/all.qh"
-#include "../../common/notifications.qh"
-#include "../../common/triggers/teleporters.qh"
-#include "../../common/triggers/subs.qh"
-#include "../../common/stats.qh"
-#include "../../common/teams.qh"
+#include <common/deathtypes/all.qh>
+#include <common/notifications.qh>
+#include <common/triggers/teleporters.qh>
+#include <common/triggers/subs.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
-#include "../../lib/warpzone/server.qh"
-#include "../../lib/warpzone/util_server.qh"
+#include <lib/warpzone/server.qh>
+#include <lib/warpzone/util_server.qh>
.float lastground;
float total_players;
#ifndef MUTATOR_H
#define MUTATOR_H
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
#include "../cl_client.qh"
#include "../cl_player.qh"
#include "../weapons/throwing.qh"
#include "../weapons/weaponsystem.qh"
-#include "../../common/deathtypes/all.qh"
-#include "../../common/notifications.qh"
-#include "../../common/triggers/teleporters.qh"
-#include "../../common/triggers/subs.qh"
-#include "../../common/stats.qh"
-#include "../../common/teams.qh"
+#include <common/deathtypes/all.qh>
+#include <common/notifications.qh>
+#include <common/triggers/teleporters.qh>
+#include <common/triggers/subs.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
-#include "../../common/monsters/all.qh"
+#include <common/monsters/all.qh>
-#include "../../lib/warpzone/anglestransform.qh"
-#include "../../lib/warpzone/server.qh"
-#include "../../lib/warpzone/util_server.qh"
+#include <lib/warpzone/anglestransform.qh>
+#include <lib/warpzone/server.qh>
+#include <lib/warpzone/util_server.qh>
#endif
#ifdef IMPLEMENTATION
#ifdef SVQC
-#include "../../../common/vehicles/all.qh"
-#include "../../teamplay.qh"
+#include <common/vehicles/all.qh>
+#include <server/teamplay.qh>
#endif
-#include "../../../lib/warpzone/common.qh"
+#include <lib/warpzone/common.qh>
bool autocvar_g_ctf_allow_vehicle_carry;
bool autocvar_g_ctf_allow_vehicle_touch;
-#include "../../race.qh"
+#include <server/race.qh>
#ifndef GAMEMODE_CTS_H
#define GAMEMODE_CTS_H
#ifdef IMPLEMENTATION
-#include "../../race.qh"
+#include <server/race.qh>
float autocvar_g_cts_finish_kill_delay;
bool autocvar_g_cts_selfdamage;
#ifdef IMPLEMENTATION
-#include "../../teamplay.qh"
+#include <server/teamplay.qh>
bool g_domination;
#ifdef IMPLEMENTATION
-#include "../../../common/monsters/spawn.qh"
-#include "../../../common/monsters/sv_monsters.qh"
+#include <common/monsters/spawn.qh>
+#include <common/monsters/sv_monsters.qh>
-#include "../../teamplay.qh"
+#include <server/teamplay.qh>
float autocvar_g_invasion_round_timelimit;
#ifdef IMPLEMENTATION
-#include "../../campaign.qh"
-#include "../../command/cmd.qh"
+#include <server/campaign.qh>
+#include <server/command/cmd.qh>
int autocvar_g_lms_extra_lives;
bool autocvar_g_lms_join_anytime;
#ifdef IMPLEMENTATION
-#include "../../race.qh"
+#include <server/race.qh>
#define autocvar_g_race_laps_limit cvar("g_race_laps_limit")
float autocvar_g_race_qualifying_timelimit;
#include "accuracy.qh"
#include "../mutators/all.qh"
-#include "../../common/constants.qh"
-#include "../../common/teams.qh"
-#include "../../common/util.qh"
-#include "../../common/weapons/all.qh"
+#include <common/constants.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
+#include <common/weapons/all.qh>
int accuracy_byte(float n, float d)
{
#include "common.qh"
-#include "../../common/t_items.qh"
-#include "../../common/constants.qh"
-#include "../../common/deathtypes/all.qh"
-#include "../../common/notifications.qh"
-#include "../../common/util.qh"
-#include "../../common/weapons/all.qh"
-#include "../../common/items/all.qc"
+#include <common/t_items.qh>
+#include <common/constants.qh>
+#include <common/deathtypes/all.qh>
+#include <common/notifications.qh>
+#include <common/util.qh>
+#include <common/weapons/all.qh>
+#include <common/items/all.qc>
void W_GiveWeapon (entity e, float wep)
{SELFPARAM();
#include "csqcprojectile.qh"
-#include "../../common/t_items.qh"
+#include <common/t_items.qh>
#include "../command/common.qh"
-#include "../../common/constants.qh"
-#include "../../common/weapons/all.qh"
+#include <common/constants.qh>
+#include <common/weapons/all.qh>
.float csqcprojectile_type;
#include "../antilag.qh"
#include "../g_subs.qh"
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
vector W_HitPlotUnnormalizedUntransform(vector screenforward, vector screenright, vector screenup, vector v)
{
#include "selection.qh"
#include "weaponsystem.qh"
-#include "../../common/t_items.qh"
-#include "../../common/constants.qh"
-#include "../../common/util.qh"
-#include "../../common/items/item.qh"
-#include "../../common/weapons/all.qh"
-#include "../../common/mutators/mutator/waypoints/waypointsprites.qh"
+#include <common/t_items.qh>
+#include <common/constants.qh>
+#include <common/util.qh>
+#include <common/items/item.qh>
+#include <common/weapons/all.qh>
+#include <common/mutators/mutator/waypoints/waypointsprites.qh>
// switch between weapons
void Send_WeaponComplain(entity e, float wpn, float type)
#include "weaponsystem.qh"
#include "../mutators/all.qh"
-#include "../../common/t_items.qh"
-#include "../../common/weapons/all.qh"
+#include <common/t_items.qh>
+#include <common/weapons/all.qh>
string W_Apply_Weaponreplace(string in)
{
#include "weaponsystem.qh"
#include "../mutators/all.qh"
-#include "../../common/t_items.qh"
+#include <common/t_items.qh>
#include "../g_damage.qh"
-#include "../../common/items/item.qh"
-#include "../../common/mapinfo.qh"
-#include "../../common/notifications.qh"
-#include "../../common/triggers/subs.qh"
-#include "../../common/util.qh"
-#include "../../common/weapons/all.qh"
+#include <common/items/item.qh>
+#include <common/mapinfo.qh>
+#include <common/notifications.qh>
+#include <common/triggers/subs.qh>
+#include <common/util.qh>
+#include <common/weapons/all.qh>
void thrown_wep_think()
{SELFPARAM();
#include "../g_subs.qh"
#include "../antilag.qh"
-#include "../../common/constants.qh"
-#include "../../common/util.qh"
+#include <common/constants.qh>
+#include <common/util.qh>
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
-#include "../../lib/warpzone/common.qh"
+#include <lib/warpzone/common.qh>
// this function calculates w_shotorg and w_shotdir based on the weapon model
// offset, trueaim and antilag, and won't put w_shotorg inside a wall.
#include "../g_world.qh"
-#include "../../common/weapons/all.qh"
+#include <common/weapons/all.qh>
void WeaponStats_Init()
{
#include "../command/common.qh"
#include "../mutators/all.qh"
#include "../round_handler.qh"
-#include "../../common/t_items.qh"
-#include "../../common/animdecide.qh"
-#include "../../common/constants.qh"
-#include "../../common/monsters/all.qh"
-#include "../../common/notifications.qh"
-#include "../../common/util.qh"
-#include "../../common/weapons/all.qh"
-#include "../../lib/csqcmodel/sv_model.qh"
+#include <common/t_items.qh>
+#include <common/animdecide.qh>
+#include <common/constants.qh>
+#include <common/monsters/all.qh>
+#include <common/notifications.qh>
+#include <common/util.qh>
+#include <common/weapons/all.qh>
+#include <lib/csqcmodel/sv_model.qh>
.int state;