]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation unit test
authorMario <mario@smbclan.net>
Wed, 5 Oct 2016 13:36:15 +0000 (23:36 +1000)
committerMario <mario@smbclan.net>
Wed, 5 Oct 2016 13:36:15 +0000 (23:36 +1000)
qcsrc/client/_all.qh
qcsrc/client/view.qc
qcsrc/client/view.qh
qcsrc/server/bot/default/havocbot/havocbot.qc
qcsrc/server/bot/default/scripting.qc
qcsrc/server/miscfunctions.qc
qcsrc/server/player.qc
qcsrc/server/weapons/hitplot.qc
qcsrc/server/weapons/selection.qc
qcsrc/server/weapons/throwing.qc
qcsrc/server/weapons/weaponsystem.qc

index 5593af1892d198a9f3f9752516bef43cbf1c05af..5935342ae474c7e064159402e5b830c1752caaed 100644 (file)
@@ -11,6 +11,7 @@
 #include "defs.qh"
 #include "main.qh"
 #include "miscfunctions.qh"
+#include "view.qh"
 
 #include <common/ent_cs.qh>
 #include <common/wepent.qh>
index 2dcd241eca89ec048bdee8cf1dc960958f9b9a88..a485240470c8e2cfce90b44adf844578c3625247 100644 (file)
@@ -354,7 +354,6 @@ void viewmodel_draw(entity this)
        setorigin(this, this.origin);
 }
 
-entity viewmodels[MAX_WEAPONSLOTS];
 STATIC_INIT(viewmodel) {
     for(int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
        viewmodels[slot] = new(viewmodel);
index f8c8bd26b65e20203bcdf36d08869345bb516951..01d4546374d40dcea83ae807eee7d1064a785bae 100644 (file)
@@ -1,3 +1,5 @@
 #pragma once
 
 vector crosshair_getcolor(entity this, float health_stat);
+
+entity viewmodels[MAX_WEAPONSLOTS];
index db395b9c366360d662c29494902446198d1dde1d..806ffc9c4a91dbadff158d6ca40d274114c39be7 100644 (file)
@@ -12,6 +12,7 @@
 #include <common/physics/player.qh>
 #include <common/state.qh>
 #include <common/items/_mod.qh>
+#include <common/wepent.qh>
 
 #include <common/triggers/teleporters.qh>
 #include <common/triggers/trigger/jumppads.qh>
index 66dc91b2592eedb79cb180abec127c7e8f6968a6..4b3fc6266e175c98beaf0c3e0fc6af179b86d7e5 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <common/state.qh>
 #include <common/physics/player.qh>
+#include <common/wepent.qh>
 
 #include "bot.qh"
 
index 0237a75ad9c66668abe055948e8145c5a4f79e1e..35f0f227e77ee4c18859d3c10ef55c658aa78d21 100644 (file)
@@ -25,6 +25,7 @@
 #include "../common/items/_mod.qh"
 #include "../common/state.qh"
 #include "../common/effects/qc/globalsound.qh"
+#include "../common/wepent.qh"
 #include "../lib/csqcmodel/sv_model.qh"
 #include "../lib/warpzone/anglestransform.qh"
 #include "../lib/warpzone/server.qh"
index 25ad24686d77d063bffe3ba38146384172f4306e..8aa67fc0643bc5c3734e74fb145cde4a8eac72bc 100644 (file)
@@ -24,6 +24,7 @@
 #include "../common/effects/qc/all.qh"
 #include "../common/mutators/mutator/waypoints/waypointsprites.qh"
 #include "../common/triggers/include.qh"
+#include "../common/wepent.qh"
 
 #include "weapons/weaponstats.qh"
 
index 0173c6d9d6623291c3acf4f25f78d063afc097b7..d148ab54f4597de3da7193d05c8104bd09a7fc80 100644 (file)
@@ -4,6 +4,7 @@
 #include "../g_subs.qh"
 #include <common/weapons/_all.qh>
 #include <common/state.qh>
+#include <common/wepent.qh>
 
 vector W_HitPlotUnnormalizedUntransform(vector screenforward, vector screenright, vector screenup, vector v)
 {
index bd05832abd4ec990e8af55dc1229ff3a5fb98021..b3075928cb4433a83e120214bd8e0f4d80e78b6f 100644 (file)
@@ -8,6 +8,7 @@
 #include <common/weapons/_all.qh>
 #include <common/state.qh>
 #include <common/mutators/mutator/waypoints/waypointsprites.qh>
+#include <common/wepent.qh>
 
 // switch between weapons
 void Send_WeaponComplain(entity e, float wpn, float type)
index a9fabf50a40239d9982e6a9bca266601f76c1cbe..4114c3c58b199cc9a950c811dcf5269b0fdea807 100644 (file)
@@ -11,6 +11,7 @@
 #include <common/util.qh>
 #include <common/weapons/_all.qh>
 #include <common/state.qh>
+#include <common/wepent.qh>
 
 void thrown_wep_think(entity this)
 {
index 1a223cec283eac2a9c05dc462dba661d005e58a3..3b51adb9986fa511b556321f36d7563ae1d8119c 100644 (file)
@@ -14,6 +14,7 @@
 #include <common/weapons/_all.qh>
 #include <common/state.qh>
 #include <lib/csqcmodel/sv_model.qh>
+#include <common/wepent.qh>
 
 .int state;