Commit 3cbcea63 authored by Mario's avatar Mario

Apply a standard alphabetical sort order to the server side includes and use constant paths

parent 259f742e
Pipeline #203544758 passed with stages
in 30 minutes and 30 seconds
#include "anticheat.qh"
#include "antilag.qh"
#include "autocvars.qh"
#include <common/weapons/_all.qh>
#include <common/playerstats.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/antilag.qh>
#include <server/autocvars.qh>
#include <server/client.qh>
#include <server/command/common.qh>
#include <server/gamelog.qh>
#include <server/main.qh>
#include "command/common.qh"
#include <common/playerstats.qh>
#include <common/state.qh>
.float anticheat_jointime;
.float anticheat_fixangle_endtime;
......
#include "antilag.qh"
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
#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"
#endif
#include <common/monsters/sv_monsters.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/vehicles/all.qh>
#include <common/weapons/_all.qh>
#include <lib/warpzone/common.qh>
#include <server/antilag.qh>
#include <server/weapons/common.qh>
const int ANTILAG_MAX_ORIGINS = 64;
.vector antilag_origins[ANTILAG_MAX_ORIGINS];
......
#include "aim.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include "cvars.qh"
#include "bot.qh"
#include <common/physics/player.qh>
#include <common/state.qh>
#include "../../weapons/weaponsystem.qh"
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/mutators/_mod.qh>
#include <server/weapons/weaponsystem.qh>
// traces multiple trajectories to find one that will impact the target
// 'end' vector is the place it aims for,
......
#include "bot.qh"
#include "cvars.qh"
#include "aim.qh"
#include "navigation.qh"
#include "scripting.qh"
#include "waypoints.qh"
#include "havocbot/havocbot.qh"
#include "havocbot/scripting.qh"
#include "../../teamplay.qh"
#include "../../antilag.qh"
#include "../../autocvars.qh"
#include "../../campaign.qh"
#include "../../client.qh"
#include <common/stats.qh>
#include <server/world.qh>
#include <server/damage.qh>
#include "../../race.qh"
#include <server/items/items.qh>
#include <server/mutators/_mod.qh>
#include "../../weapons/accuracy.qh"
#include <common/physics/player.qh>
#include <common/constants.qh>
#include <common/net_linked.qh>
#include <common/mapinfo.qh>
#include <common/net_linked.qh>
#include <common/physics/player.qh>
#include <common/stats.qh>
#include <common/teams.qh>
#include <common/util.qh>
#include <server/scores_rules.qh>
#include <common/weapons/_all.qh>
#include <lib/csqcmodel/sv_model.qh>
#include <lib/warpzone/common.qh>
#include <lib/warpzone/util_server.qh>
#include <server/antilag.qh>
#include <server/autocvars.qh>
#include <server/bot/default/aim.qh>
#include <server/bot/default/cvars.qh>
#include <server/bot/default/havocbot/havocbot.qh>
#include <server/bot/default/havocbot/scripting.qh>
#include <server/bot/default/navigation.qh>
#include <server/bot/default/scripting.qh>
#include <server/bot/default/waypoints.qh>
#include <server/campaign.qh>
#include <server/client.qh>
#include <server/damage.qh>
#include <server/items/items.qh>
#include <server/mutators/_mod.qh>
#include <server/race.qh>
#include <server/scores_rules.qh>
#include <server/teamplay.qh>
#include <server/weapons/accuracy.qh>
#include <server/world.qh>
STATIC_INIT(bot) { bot_calculate_stepheightvec(); }
......
#include "havocbot.qh"
#include "roles.qh"
#include <server/bot/api.qh>
#include <server/client.qh>
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <server/damage.qh>
#include <server/items/items.qh>
#include <server/mutators/_mod.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include <server/world.qh>
#include "../cvars.qh"
#include "../aim.qh"
#include "../bot.qh"
#include "../navigation.qh"
#include "../scripting.qh"
#include "../waypoints.qh"
#include <common/constants.qh>
#include <common/impulses/all.qh>
#include <common/net_linked.qh>
#include <common/physics/player.qh>
#include <common/state.qh>
#include <common/items/_mod.qh>
#include <common/wepent.qh>
#include <common/mapobjects/func/ladder.qh>
#include <common/mapobjects/teleporters.qh>
#include <common/mapobjects/trigger/hurt.qh>
#include <common/mapobjects/trigger/jumppads.qh>
#include <common/net_linked.qh>
#include <common/physics/player.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <common/wepent.qh>
#include <lib/warpzone/common.qh>
#include <server/bot/api.qh>
#include <server/bot/default/aim.qh>
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/bot/default/havocbot/roles.qh>
#include <server/bot/default/navigation.qh>
#include <server/bot/default/scripting.qh>
#include <server/bot/default/waypoints.qh>
#include <server/client.qh>
#include <server/damage.qh>
#include <server/items/items.qh>
#include <server/mutators/_mod.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include <server/world.qh>
void havocbot_ai(entity this)
{
......
#include "roles.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/bot/default/havocbot/havocbot.qh>
#include <server/bot/default/navigation.qh>
#include <server/items/items.qh>
#include <server/items/spawning.qh>
#include <server/mutators/_mod.qh>
#include <server/resources.qh>
#include "havocbot.qh"
#include "../cvars.qh"
#include "../bot.qh"
#include "../navigation.qh"
void havocbot_goalrating_waypoints(entity this, float ratingscale, vector org, float sradius)
{
......
#include "navigation.qh"
#include <server/bot/api.qh>
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include "cvars.qh"
#include "bot.qh"
#include "waypoints.qh"
#include <server/items/items.qh>
#include <common/items/_mod.qh>
#include <common/constants.qh>
#include <common/net_linked.qh>
#include <common/items/_mod.qh>
#include <common/mapobjects/func/ladder.qh>
#include <common/mapobjects/trigger/hurt.qh>
#include <common/mapobjects/trigger/jumppads.qh>
#include <common/net_linked.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/bot/api.qh>
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/bot/default/waypoints.qh>
#include <server/items/items.qh>
.float speed;
......
#include "scripting.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include "cvars.qh"
#include <common/state.qh>
#include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
#include <common/physics/player.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <common/wepent.qh>
#include "bot.qh"
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
.int state;
......
#include "waypoints.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <server/items/items.qh>
#include <server/spawnpoints.qh>
#include <server/weapons/tracing.qh>
#include "cvars.qh"
#include "bot.qh"
#include "navigation.qh"
#include <common/state.qh>
#include "../../antilag.qh"
#include <common/constants.qh>
#include <common/debug.qh>
#include <common/gamemodes/_mod.qh>
#include <common/mapobjects/trigger/jumppads.qh>
#include <common/net_linked.qh>
#include <common/physics/player.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <lib/warpzone/common.qh>
#include <lib/warpzone/util_server.qh>
#include <server/antilag.qh>
#include <server/bot/default/bot.qh>
#include <server/bot/default/cvars.qh>
#include <server/bot/default/navigation.qh>
#include <server/items/items.qh>
#include <server/spawnpoints.qh>
#include <server/weapons/tracing.qh>
.entity spawnpointmodel;
void waypoint_unreachable(entity pl)
......
#include "campaign.qh"
#include <common/campaign_common.qh>
#include <common/mapinfo.qh>
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include "cheats.qh"
#include <common/weapons/_all.qh>
#include <server/cheats.qh>
#include <server/intermission.qh>
#include "world.qh"
#include <common/campaign_common.qh>
#include <server/world.qh>
// campaign cvars:
// _campaign_index: index of CURRENT map
......
#include "cheats.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <common/effects/all.qh>
#include <server/resources.qh>
#include <server/main.qh>
#include <server/world.qh>
#include "damage.qh"
#include "clientkill.qh"
#include "player.qh"
#include "race.qh"
#include <common/mapobjects/teleporters.qh>
#include <server/mutators/_mod.qh>
#include "weapons/tracing.qh"
#include <common/constants.qh>
#include <common/deathtypes/all.qh>
#include <common/util.qh>
#include <common/physics/player.qh>
#include <common/monsters/_mod.qh>
#include <common/effects/all.qh>
#include <common/items/_mod.qh>
#include <common/weapons/_all.qh>
#include <common/mapobjects/func/breakable.qh>
#include <common/mapobjects/subs.qh>
#include <common/mapobjects/teleporters.qh>
#include <common/mapobjects/triggers.qh>
#include <common/mapobjects/func/breakable.qh>
#include <common/monsters/_mod.qh>
#include <common/physics/player.qh>
#include <common/stats.qh>
#include <common/util.qh>
#include <common/weapons/_all.qh>
#include <common/weapons/_all.qh>
#include <lib/csqcmodel/sv_model.qh>
#include <lib/warpzone/anglestransform.qh>
#include <lib/warpzone/util_server.qh>
#include <server/clientkill.qh>
#include <server/damage.qh>
#include <server/main.qh>
#include <server/mutators/_mod.qh>
#include <server/player.qh>
#include <server/race.qh>
#include <server/resources.qh>
#include <server/world.qh>
#ifdef NOCHEATS
......
#include "client.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <server/chat.qh>
#include <common/effects/all.qh>
#include "anticheat.qh"
#include "impulse.qh"
#include "player.qh"
#include "ipban.qh"
#include "portals.qh"
#include "teamplay.qh"
#include "spawnpoints.qh"
#include "resources.qh"
#include "damage.qh"
#include "handicap.qh"
#include "hook.qh"
#include <server/intermission.qh>
#include "command/common.qh"
#include "command/vote.qh"
#include "clientkill.qh"
#include "cheats.qh"
#include "world.qh"
#include <server/gamelog.qh>
#include "race.qh"
#include <server/main.qh>
#include <server/mutators/_mod.qh>
#include "antilag.qh"
#include "campaign.qh"
#include "command/common.qh"
#include "scores_rules.qh"
#include "weapons/common.qh"
#include "bot/api.qh"
#include <common/ent_cs.qh>
#include <common/wepent.qh>
#include <common/state.qh>
#include "compat/quake3.qh"
#include <common/effects/qc/globalsound.qh>
#include <common/ent_cs.qh>
#include <common/gamemodes/_mod.qh>
#include <common/gamemodes/gamemode/nexball/sv_nexball.qh>
#include <common/items/_mod.qh>
#include <common/items/inventory.qh>
#include <common/mapobjects/func/conveyor.qh>
#include <common/mapobjects/func/ladder.qh>
#include <common/mapobjects/teleporters.qh>
#include <common/mapobjects/subs.qh>
#include <common/mapobjects/target/spawnpoint.qh>
#include <common/mapobjects/teleporters.qh>
#include <common/mapobjects/trigger/counter.qh>
#include <common/mapobjects/trigger/secret.qh>
#include <common/mapobjects/trigger/swamp.qh>
#include <common/vehicles/all.qh>
#include "weapons/hitplot.qh"
#include "weapons/selection.qh"
#include "weapons/weaponsystem.qh"
#include <common/net_notice.qh>
#include <common/net_linked.qh>
#include <common/physics/player.qh>
#include <common/vehicles/sv_vehicles.qh>
#include <common/items/_mod.qh>
#include <common/gamemodes/gamemode/nexball/sv_nexball.qh>
#include <common/mutators/mutator/waypoints/all.qh>
#include <common/mutators/mutator/instagib/sv_instagib.qh>
#include <common/gamemodes/_mod.qh>
#include <common/mapobjects/subs.qh>
#include <common/mapobjects/triggers.qh>
#include <common/mapobjects/trigger/secret.qh>
#include <common/minigames/sv_minigames.qh>
#include <common/items/inventory.qh>
#include <common/monsters/sv_monsters.qh>
#include <lib/warpzone/server.qh>
#include <common/mutators/mutator/instagib/sv_instagib.qh>
#include <common/mutators/mutator/overkill/oknex.qh>
#include <common/mutators/mutator/waypoints/all.qh>
#include <common/net_linked.qh>
#include <common/net_notice.qh>
#include <common/physics/player.qh>
#include <common/state.qh>
#include <common/stats.qh>
#include <common/vehicles/all.qh>
#include <common/vehicles/sv_vehicles.qh>
#include <common/weapons/_all.qh>
#include <common/weapons/weapon/vortex.qh>
#include <common/wepent.qh>
#include <lib/warpzone/server.qh>
#include <server/anticheat.qh>
#include <server/antilag.qh>
#include <server/bot/api.qh>
#include <server/campaign.qh>
#include <server/chat.qh>
#include <server/cheats.qh>
#include <server/clientkill.qh>
#include <server/command/common.qh>
#include <server/command/common.qh>
#include <server/command/vote.qh>
#include <server/compat/quake3.qh>
#include <server/damage.qh>
#include <server/gamelog.qh>
#include <server/handicap.qh>
#include <server/hook.qh>
#include <server/impulse.qh>
#include <server/intermission.qh>
#include <server/ipban.qh>
#include <server/main.qh>
#include <server/mutators/_mod.qh>
#include <server/player.qh>
#include <server/portals.qh>
#include <server/race.qh>
#include <server/resources.qh>
#include <server/scores_rules.qh>
#include <server/spawnpoints.qh>
#include <server/teamplay.qh>
#include <server/weapons/common.qh>
#include <server/weapons/hitplot.qh>
#include <server/weapons/selection.qh>
#include <server/weapons/weaponsystem.qh>
#include <server/world.qh>
STATIC_METHOD(Client, Add, void(Client this, int _team))
{
......
#include "clientkill.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <server/client.qh>
#include <server/player.qh>
#include <server/mutators/_mod.qh>
#include "damage.qh"
#include "teamplay.qh"
#include <common/vehicles/sv_vehicles.qh>
#include <common/mapobjects/triggers.qh>
#include <common/notifications/all.qh>
#include <common/stats.qh>
#include <common/stats.qh>
#include <common/vehicles/sv_vehicles.qh>
#include <common/weapons/_all.qh>
#include <server/client.qh>
#include <server/damage.qh>
#include <server/mutators/_mod.qh>
#include <server/player.qh>
#include <server/teamplay.qh>
void ClientKill_Now_TeamChange(entity this)
{
......
#include "banning.qh"
#include <common/weapons/_all.qh>
#include <common/stats.qh>
#include <common/state.qh>
#include <common/command/_mod.qh>
#include "banning.qh"
#include "common.qh"
#include "../player.qh"
#include "../ipban.qh"
#include <common/state.qh>
#include <common/stats.qh>
#include <common/util.qh>
#include <common/weapons/_all.qh>
#include <server/command/banning.qh>
#include <server/command/common.qh>
#include <server/ipban.qh>
#include <server/player.qh>
// =====================================================
// Banning and kicking command code, written by Samual
......
#include "cmd.qh"
#include <server/chat.qh>
#include <server/world.qh>
#include <common/command/_mod.qh>
#include "common.qh"
#include "getreplies.qh"
#include "vote.qh"