#ifndef COMMAND_GENERIC_H
#define COMMAND_GENERIC_H
-#include "../constants.qh"
+#include <common/constants.qh>
// =========================================================
// Declarations for common command code, written by Samual
#ifndef DEATHTYPES_ALL_H
#define DEATHTYPES_ALL_H
-#include "../notifications/all.qh"
+#include <common/notifications/all.qh>
REGISTRY(Deathtypes, BITS(8))
#define Deathtypes_from(i) _Deathtypes_from(i, NULL)
#ifndef ITEMS_ALL_H
#define ITEMS_ALL_H
-#include "../command/all.qh"
+#include <common/command/all.qh>
#include "item.qh"
#ifndef PICKUP_H
#define PICKUP_H
-#include "../inventory.qh"
-#include "../item.qh"
+#include <common/items/inventory.qh>
+#include <common/items/item.qh>
CLASS(Pickup, GameItem)
#ifndef MENUQC
ATTRIB(Pickup, m_model, Model, NULL)
#pragma once
#if defined(SVQC)
-#include "../sv_minigames.qh"
+#include <common/minigames/sv_minigames.qh>
#elif defined(CSQC)
-#include "../cl_minigames.qh"
+#include <common/minigames/cl_minigames.qh>
#endif
/**
#define STATS_H
#ifdef SVQC
-#include "../server/cl_client.qh"
+#include <server/cl_client.qh>
#endif
// Full list of all stat constants, included in a single location for easy reference
#ifndef TURRETS_ALL_H
#define TURRETS_ALL_H
-#include "../command/all.qh"
+#include <common/command/all.qh>
#include "config.qh"
#include "turret.qh"
#ifndef TURRET_H
#define TURRET_H
-#include "../weapons/all.qh"
+#include <common/weapons/all.qh>
CLASS(Turret, Object)
ATTRIB(Turret, m_id, int, 0)
#define VEHICLES_DEF_H
#ifdef SVQC
-#include "../turrets/sv_turrets.qh"
+#include <common/turrets/sv_turrets.qh>
// vehicle cvars
bool autocvar_g_vehicles = true;
#ifndef WEAPONS_ALL_H
#define WEAPONS_ALL_H
-#include "../command/all.qh"
-#include "../stats.qh"
+#include <common/command/all.qh>
+#include <common/stats.qh>
#include "config.qh"
// weapon sets
#include <common/models/all.qh>
#endif
-#include "../util.qh"
+#include <common/util.qh>
#ifdef SVQC
#include <server/bot/aim.qh>
#ifndef WEAPON_H
#define WEAPON_H
-#include "../items/item/pickup.qh"
-#include "../stats.qh"
+#include <common/items/item/pickup.qh>
+#include <common/stats.qh>
const int MAX_WEAPONSLOTS = 2;
.entity weaponentities[MAX_WEAPONSLOTS];
}
ENDCLASS(Weapon)
-#include "../items/all.qh"
+#include <common/items/all.qh>
CLASS(WeaponPickup, Pickup)
ATTRIB(WeaponPickup, m_weapon, Weapon, NULL)
ATTRIB(WeaponPickup, m_name, string, string_null)
#include "xonotic/util.qh"
-#include "../common/constants.qh"
-#include "../common/util.qh"
+#include <common/constants.qh>
+#include <common/util.qh>
const int GAME_ISSERVER = BIT(0);
const int GAME_CONNECTED = BIT(1);
#pragma once
-#include "../common/impulses/all.qh"
+#include <common/impulses/all.qh>
//float autocvar_sv_cheats; // must... declare... global
#pragma once
-#include "../common/weapons/all.qh"
-#include "../common/stats.qh"
+#include <common/weapons/all.qh>
+#include <common/stats.qh>
#define INDEPENDENT_ATTACK_FINISHED 1
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../lib/warpzone/common.qh"
- #include "../common/constants.qh"
- #include "../common/teams.qh"
- #include "../common/util.qh"
- #include "../common/weapons/all.qh"
+ #include <lib/warpzone/common.qh>
+ #include <common/constants.qh>
+ #include <common/teams.qh>
+ #include <common/util.qh>
+ #include <common/weapons/all.qh>
#include "weapons/accuracy.qh"
#include "weapons/csqcprojectile.qh"
#include "weapons/selection.qh"
- #include "../common/t_items.qh"
+ #include <common/t_items.qh>
#include "autocvars.qh"
#include "constants.qh"
#include "defs.qh"
- #include "../common/notifications/all.qh"
- #include "../common/deathtypes/all.qh"
+ #include <common/notifications/all.qh>
+ #include <common/deathtypes/all.qh>
#include "mutators/all.qh"
- #include "../common/turrets/sv_turrets.qh"
- #include "../common/vehicles/all.qh"
- #include "../lib/csqcmodel/sv_model.qh"
- #include "../common/playerstats.qh"
+ #include <common/turrets/sv_turrets.qh>
+ #include <common/vehicles/all.qh>
+ #include <lib/csqcmodel/sv_model.qh>
+ #include <common/playerstats.qh>
#include "g_hook.qh"
#include "scores.qh"
#include "spawnpoints.qh"
#pragma once
-#include "../common/t_items.qh"
+#include <common/t_items.qh>
#include "mutators/events.qh"
-#include "../common/constants.qh"
-#include "../common/mapinfo.qh"
-#include "../common/turrets/all.qh"
+#include <common/constants.qh>
+#include <common/mapinfo.qh>
+#include <common/turrets/all.qh>
#ifdef RELEASE
#define cvar_string_normal builtin_cvar_string
#pragma once
-#include "../cl_client.qh"
-#include "../cl_player.qh"
-#include "../cl_impulse.qh"
-#include "../cheats.qh"
-#include "../g_damage.qh"
-#include "../round_handler.qh"
-#include "../scores.qh"
-#include "../scores_rules.qh"
-#include "../teamplay.qh"
+#include <server/cl_client.qh>
+#include <server/cl_player.qh>
+#include <server/cl_impulse.qh>
+#include <server/cheats.qh>
+#include <server/g_damage.qh>
+#include <server/round_handler.qh>
+#include <server/scores.qh>
+#include <server/scores_rules.qh>
+#include <server/teamplay.qh>
-#include "../bot/bot.qh"
-#include "../bot/navigation.qh"
-#include "../bot/waypoints.qh"
-#include "../bot/havocbot/roles.qh"
+#include <server/bot/bot.qh>
+#include <server/bot/navigation.qh>
+#include <server/bot/waypoints.qh>
+#include <server/bot/havocbot/roles.qh>
-#include "../bot/havocbot/havocbot.qh"
+#include <server/bot/havocbot/havocbot.qh>
-#include "../command/vote.qh"
+#include <server/command/vote.qh>
#include <common/monsters/all.qh>
-#include "../command/common.qh"
+#include <server/command/common.qh>
-#include "../weapons/tracing.qh"
-#include "../weapons/weaponsystem.qh"
+#include <server/weapons/tracing.qh>
+#include <server/weapons/weaponsystem.qh>
#include <common/deathtypes/all.qh>
#include <common/notifications/all.qh>
#include <common/mutators/base.qh>
-#include "../cl_client.qh"
-#include "../cl_player.qh"
-#include "../cl_impulse.qh"
-#include "../cheats.qh"
-#include "../g_damage.qh"
-#include "../round_handler.qh"
-#include "../scores.qh"
-#include "../scores_rules.qh"
-
-#include "../bot/bot.qh"
-#include "../bot/navigation.qh"
-#include "../bot/waypoints.qh"
-
-#include "../bot/havocbot/havocbot.qh"
-#include "../bot/havocbot/roles.qh"
-
-#include "../command/vote.qh"
-#include "../command/common.qh"
-
-#include "../weapons/common.qh"
-#include "../weapons/tracing.qh"
-#include "../weapons/throwing.qh"
-#include "../weapons/weaponsystem.qh"
+#include <server/cl_client.qh>
+#include <server/cl_player.qh>
+#include <server/cl_impulse.qh>
+#include <server/cheats.qh>
+#include <server/g_damage.qh>
+#include <server/round_handler.qh>
+#include <server/scores.qh>
+#include <server/scores_rules.qh>
+
+#include <server/bot/bot.qh>
+#include <server/bot/navigation.qh>
+#include <server/bot/waypoints.qh>
+
+#include <server/bot/havocbot/havocbot.qh>
+#include <server/bot/havocbot/roles.qh>
+
+#include <server/command/vote.qh>
+#include <server/command/common.qh>
+
+#include <server/weapons/common.qh>
+#include <server/weapons/tracing.qh>
+#include <server/weapons/throwing.qh>
+#include <server/weapons/weaponsystem.qh>
#include <common/deathtypes/all.qh>
#include <common/notifications/all.qh>
#pragma once
-#include "../common/constants.qh"
+#include <common/constants.qh>
entity scores_initialized; // non-world when scores labels/rules have been set
.float scores[MAX_SCORE];