]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix initial commit
authorJuhu_ <>
Wed, 29 Apr 2020 17:22:26 +0000 (19:22 +0200)
committerJuhu_ <>
Wed, 29 Apr 2020 17:22:26 +0000 (19:22 +0200)
qcsrc/client/hud/panel/strafehud.qc
qcsrc/menu/xonotic/dialog_hudpanel_strafehud.qc

index 62e6c55181396c35144a162844b6f818aab1ffd5..b867887006e104d8686f391428b465be86d8b20a 100644 (file)
@@ -1,15 +1,17 @@
 // Name:   StrafeHUD
 // Author: Juhu
 
-// FIXME: strafehud disabled in spectate due to lack of IS_ONGROUND()
+// FIXME: strafehud doesn't properly work in spectate due to lack of IS_ONGROUND()
 
 #include "strafehud.qh"
 
 #include <client/autocvars.qh>
-#include <client/defs.qh>
 #include <client/miscfunctions.qh>
-#include <client/main.qh>
+#include <common/ent_cs.qh>
 #include <common/mapinfo.qh>
+#include <common/mapobjects/trigger/swamp.qh>
+#include <common/physics/movetypes/movetypes.qh>
+#include <common/physics/player.qh>
 #include <lib/csqcmodel/cl_player.qh>
 
 bool strafehud_fwd = true;
index 394e96b47bfcd51b65574884c9c68553baeb35c0..f8fa0a9a8673089786a55c9d7bff480cab8cb391 100644 (file)
@@ -2,7 +2,8 @@
 
 #include "textlabel.qh"
 #include "textslider.qh"
-#include "checkbox.qh"
+#include "checkbox_string.qh"
+#include "colorpicker_string.qh"
 #include "slider.qh"
 
 void XonoticHUDStrafeHUDDialog_fill(entity me)