From: TimePath Date: Mon, 14 Mar 2016 07:07:10 +0000 (+1100) Subject: Header police X-Git-Tag: xonotic-v0.8.2~1088 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=826222f84e886d85179a032b07edc71d99982040;p=xonotic%2Fxonotic-data.pk3dir.git Header police --- diff --git a/qcsrc/client/commands/all.qc b/qcsrc/client/commands/all.qc index d37165ca9..8a40a3b14 100644 --- a/qcsrc/client/commands/all.qc +++ b/qcsrc/client/commands/all.qc @@ -1,3 +1,4 @@ +#include "all.qh" #include #include "cl_cmd.qc" diff --git a/qcsrc/client/commands/all.qh b/qcsrc/client/commands/all.qh index cdaf8c55f..3a15cca9a 100644 --- a/qcsrc/client/commands/all.qh +++ b/qcsrc/client/commands/all.qh @@ -1,7 +1,7 @@ #ifndef CLIENT_COMMANDS_ALL_H #define CLIENT_COMMANDS_ALL_H -#include +#include #include "cl_cmd.qh" diff --git a/qcsrc/client/commands/cl_cmd.qc b/qcsrc/client/commands/cl_cmd.qc index b512ba53a..5a1350f02 100644 --- a/qcsrc/client/commands/cl_cmd.qc +++ b/qcsrc/client/commands/cl_cmd.qc @@ -1,3 +1,4 @@ +#include "cl_cmd.qh" // ============================================== // CSQC client commands code, written by Samual // Last updated: December 28th, 2011 diff --git a/qcsrc/client/csqcmodel_hooks.qc b/qcsrc/client/csqcmodel_hooks.qc index 8f8d65c98..376ef9b60 100644 --- a/qcsrc/client/csqcmodel_hooks.qc +++ b/qcsrc/client/csqcmodel_hooks.qc @@ -1,3 +1,4 @@ +#include "csqcmodel_hooks.qh" #include "mutators/events.qh" #include "player_skeleton.qh" #include "weapons/projectile.qh" diff --git a/qcsrc/client/csqcmodel_hooks.qh b/qcsrc/client/csqcmodel_hooks.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/csqcmodel_hooks.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/all.qc b/qcsrc/client/hud/all.qc index 680b0230b..1e4b55803 100644 --- a/qcsrc/client/hud/all.qc +++ b/qcsrc/client/hud/all.qc @@ -1,2 +1,3 @@ +#include "all.qh" #include "hud.qc" #include "hud_config.qc" diff --git a/qcsrc/client/hud/panel/ammo.qc b/qcsrc/client/hud/panel/ammo.qc index 6c0621f42..12212ff85 100644 --- a/qcsrc/client/hud/panel/ammo.qc +++ b/qcsrc/client/hud/panel/ammo.qc @@ -1,3 +1,4 @@ +#include "ammo.qh" // Ammo (#1) void DrawNadeProgressBar(vector myPos, vector mySize, float progress, vector color) diff --git a/qcsrc/client/hud/panel/ammo.qh b/qcsrc/client/hud/panel/ammo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/ammo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index 0c64aa00a..bf5a82ec6 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -1,3 +1,4 @@ +#include "centerprint.qh" // CenterPrint (#16) const int CENTERPRINT_MAX_MSGS = 10; diff --git a/qcsrc/client/hud/panel/centerprint.qh b/qcsrc/client/hud/panel/centerprint.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/centerprint.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/chat.qc b/qcsrc/client/hud/panel/chat.qc index 02df4ed62..dd89b791c 100644 --- a/qcsrc/client/hud/panel/chat.qc +++ b/qcsrc/client/hud/panel/chat.qc @@ -1,3 +1,4 @@ +#include "chat.qh" /** Handle chat as a panel (#12) */ void HUD_Chat() { diff --git a/qcsrc/client/hud/panel/chat.qh b/qcsrc/client/hud/panel/chat.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/chat.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/engineinfo.qc b/qcsrc/client/hud/panel/engineinfo.qc index 1a22c54e8..ea136a214 100644 --- a/qcsrc/client/hud/panel/engineinfo.qc +++ b/qcsrc/client/hud/panel/engineinfo.qc @@ -1,3 +1,4 @@ +#include "engineinfo.qh" // Engine info panel (#13) float prevfps; diff --git a/qcsrc/client/hud/panel/engineinfo.qh b/qcsrc/client/hud/panel/engineinfo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/engineinfo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/healtharmor.qc b/qcsrc/client/hud/panel/healtharmor.qc index 3b094d39d..ae901e05a 100644 --- a/qcsrc/client/hud/panel/healtharmor.qc +++ b/qcsrc/client/hud/panel/healtharmor.qc @@ -1,3 +1,4 @@ +#include "healtharmor.qh" /** Health/armor (#3) */ void HUD_HealthArmor() { diff --git a/qcsrc/client/hud/panel/healtharmor.qh b/qcsrc/client/hud/panel/healtharmor.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/healtharmor.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/infomessages.qc b/qcsrc/client/hud/panel/infomessages.qc index 74b962410..8ddfe89c5 100644 --- a/qcsrc/client/hud/panel/infomessages.qc +++ b/qcsrc/client/hud/panel/infomessages.qc @@ -1,3 +1,4 @@ +#include "infomessages.qh" // Info messages panel (#14) #define drawInfoMessage(s) MACRO_BEGIN { \ diff --git a/qcsrc/client/hud/panel/infomessages.qh b/qcsrc/client/hud/panel/infomessages.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/infomessages.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/minigame.qc b/qcsrc/client/hud/panel/minigame.qc index 6979ee413..933528a49 100644 --- a/qcsrc/client/hud/panel/minigame.qc +++ b/qcsrc/client/hud/panel/minigame.qc @@ -1,3 +1,4 @@ +#include "minigame.qh" // Minigame #include diff --git a/qcsrc/client/hud/panel/minigame.qh b/qcsrc/client/hud/panel/minigame.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/minigame.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/modicons.qc b/qcsrc/client/hud/panel/modicons.qc index 0705ddfe5..e6808d972 100644 --- a/qcsrc/client/hud/panel/modicons.qc +++ b/qcsrc/client/hud/panel/modicons.qc @@ -1,3 +1,4 @@ +#include "modicons.qh" // Mod icons panel (#10) bool mod_active; // is there any active mod icon? diff --git a/qcsrc/client/hud/panel/modicons.qh b/qcsrc/client/hud/panel/modicons.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/modicons.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/notify.qc b/qcsrc/client/hud/panel/notify.qc index 3c4b9c105..1f0e26b9a 100644 --- a/qcsrc/client/hud/panel/notify.qc +++ b/qcsrc/client/hud/panel/notify.qc @@ -1,3 +1,4 @@ +#include "notify.qh" // Notification area (#4) void HUD_Notify_Push(string icon, string attacker, string victim) diff --git a/qcsrc/client/hud/panel/notify.qh b/qcsrc/client/hud/panel/notify.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/notify.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/physics.qc b/qcsrc/client/hud/panel/physics.qc index e59b5e716..9b1db7b76 100644 --- a/qcsrc/client/hud/panel/physics.qc +++ b/qcsrc/client/hud/panel/physics.qc @@ -1,3 +1,4 @@ +#include "physics.qh" // Physics panel (#15) vector acc_prevspeed; diff --git a/qcsrc/client/hud/panel/physics.qh b/qcsrc/client/hud/panel/physics.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/physics.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/powerups.qc b/qcsrc/client/hud/panel/powerups.qc index 854ed594a..85ee99c8d 100644 --- a/qcsrc/client/hud/panel/powerups.qc +++ b/qcsrc/client/hud/panel/powerups.qc @@ -1,3 +1,4 @@ +#include "powerups.qh" // Powerups (#2) // Powerup item fields (reusing existing fields) diff --git a/qcsrc/client/hud/panel/powerups.qh b/qcsrc/client/hud/panel/powerups.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/powerups.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/pressedkeys.qc b/qcsrc/client/hud/panel/pressedkeys.qc index 7d6955009..3b512b1c3 100644 --- a/qcsrc/client/hud/panel/pressedkeys.qc +++ b/qcsrc/client/hud/panel/pressedkeys.qc @@ -1,3 +1,4 @@ +#include "pressedkeys.qh" /** Draw pressed keys (#11) */ void HUD_PressedKeys() { diff --git a/qcsrc/client/hud/panel/pressedkeys.qh b/qcsrc/client/hud/panel/pressedkeys.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/pressedkeys.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/quickmenu.qc b/qcsrc/client/hud/panel/quickmenu.qc index 0ad5c4965..dd733a813 100644 --- a/qcsrc/client/hud/panel/quickmenu.qc +++ b/qcsrc/client/hud/panel/quickmenu.qc @@ -1,3 +1,4 @@ +#include "quickmenu.qh" // QuickMenu (#23) #include diff --git a/qcsrc/client/hud/panel/quickmenu.qh b/qcsrc/client/hud/panel/quickmenu.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/quickmenu.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index 1fa216b96..8bac1614b 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -1,3 +1,4 @@ +#include "racetimer.qh" /** Race timer (#8) */ void HUD_RaceTimer () { diff --git a/qcsrc/client/hud/panel/racetimer.qh b/qcsrc/client/hud/panel/racetimer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/racetimer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/radar.qc b/qcsrc/client/hud/panel/radar.qc index b4986e5e3..35fab19fe 100644 --- a/qcsrc/client/hud/panel/radar.qc +++ b/qcsrc/client/hud/panel/radar.qc @@ -1,3 +1,4 @@ +#include "radar.qh" // Radar (#6) float HUD_Radar_Clickable() diff --git a/qcsrc/client/hud/panel/radar.qh b/qcsrc/client/hud/panel/radar.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/radar.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/score.qc b/qcsrc/client/hud/panel/score.qc index 42d18ff62..ce199ee68 100644 --- a/qcsrc/client/hud/panel/score.qc +++ b/qcsrc/client/hud/panel/score.qc @@ -1,3 +1,4 @@ +#include "score.qh" // Score (#7) void HUD_UpdatePlayerTeams(); diff --git a/qcsrc/client/hud/panel/score.qh b/qcsrc/client/hud/panel/score.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/score.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/timer.qc b/qcsrc/client/hud/panel/timer.qc index 4de0c1e5f..dc4036817 100644 --- a/qcsrc/client/hud/panel/timer.qc +++ b/qcsrc/client/hud/panel/timer.qc @@ -1,3 +1,4 @@ +#include "timer.qh" void HUD_Timer() { if(!autocvar__hud_configure) diff --git a/qcsrc/client/hud/panel/timer.qh b/qcsrc/client/hud/panel/timer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/timer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/vote.qc b/qcsrc/client/hud/panel/vote.qc index 5f286b24a..8e3605f0d 100644 --- a/qcsrc/client/hud/panel/vote.qc +++ b/qcsrc/client/hud/panel/vote.qc @@ -1,3 +1,4 @@ +#include "vote.qh" /** Vote window (#9) */ void HUD_Vote() { diff --git a/qcsrc/client/hud/panel/vote.qh b/qcsrc/client/hud/panel/vote.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/vote.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/hud/panel/weapons.qc b/qcsrc/client/hud/panel/weapons.qc index 6e9f13dac..1590c32d3 100644 --- a/qcsrc/client/hud/panel/weapons.qc +++ b/qcsrc/client/hud/panel/weapons.qc @@ -1,3 +1,4 @@ +#include "weapons.qh" // Weapon icons (#0) entity weaponorder[Weapons_MAX]; diff --git a/qcsrc/client/hud/panel/weapons.qh b/qcsrc/client/hud/panel/weapons.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/hud/panel/weapons.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 70a4f2eeb..611116cfd 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -1,3 +1,4 @@ +#include "view.qh" #include "announcer.qh" #include "hud/all.qh" diff --git a/qcsrc/client/view.qh b/qcsrc/client/view.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/client/view.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/anim/animation.qc b/qcsrc/menu/anim/animation.qc index 09bf77217..c20101d87 100644 --- a/qcsrc/menu/anim/animation.qc +++ b/qcsrc/menu/anim/animation.qc @@ -1,3 +1,4 @@ +#include "animation.qh" #ifndef ANIM_ANIMATION_H #define ANIM_ANIMATION_H CLASS(Animation, Object) diff --git a/qcsrc/menu/anim/animation.qh b/qcsrc/menu/anim/animation.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/anim/animation.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/anim/animhost.qc b/qcsrc/menu/anim/animhost.qc index 7826a47b7..3ef209414 100644 --- a/qcsrc/menu/anim/animhost.qc +++ b/qcsrc/menu/anim/animhost.qc @@ -1,3 +1,4 @@ +#include "animhost.qh" #include "../menu.qh" #ifndef ANIM_ANIMHOST_H diff --git a/qcsrc/menu/anim/animhost.qh b/qcsrc/menu/anim/animhost.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/anim/animhost.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/anim/easing.qc b/qcsrc/menu/anim/easing.qc index 080f390ba..e2b02f136 100644 --- a/qcsrc/menu/anim/easing.qc +++ b/qcsrc/menu/anim/easing.qc @@ -1,3 +1,4 @@ +#include "easing.qh" #ifndef ANIM_EASING_H #define ANIM_EASING_H #include "animation.qc" diff --git a/qcsrc/menu/anim/easing.qh b/qcsrc/menu/anim/easing.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/anim/easing.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/anim/keyframe.qc b/qcsrc/menu/anim/keyframe.qc index eec5c03ae..da74e9f33 100644 --- a/qcsrc/menu/anim/keyframe.qc +++ b/qcsrc/menu/anim/keyframe.qc @@ -1,3 +1,4 @@ +#include "keyframe.qh" #ifndef ANIM_KEYFRAME_H #define ANIM_KEYFRAME_H #include "animation.qc" diff --git a/qcsrc/menu/anim/keyframe.qh b/qcsrc/menu/anim/keyframe.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/anim/keyframe.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/classes.qc b/qcsrc/menu/classes.qc index 9454a3113..90ea3b992 100644 --- a/qcsrc/menu/classes.qc +++ b/qcsrc/menu/classes.qc @@ -1,3 +1,4 @@ +#include "classes.qh" #ifndef CLASSES_H #define CLASSES_H diff --git a/qcsrc/menu/classes.qh b/qcsrc/menu/classes.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/classes.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/command/all.qc b/qcsrc/menu/command/all.qc index a08a1cee1..d555b23ba 100644 --- a/qcsrc/menu/command/all.qc +++ b/qcsrc/menu/command/all.qc @@ -1,3 +1,4 @@ +#include "all.qh" #include "../menu.qh" #include diff --git a/qcsrc/menu/command/all.qh b/qcsrc/menu/command/all.qh index f42a64ff0..6377a4c08 100644 --- a/qcsrc/menu/command/all.qh +++ b/qcsrc/menu/command/all.qh @@ -1,7 +1,7 @@ #ifndef MENU_COMMANDS_ALL_H #define MENU_COMMANDS_ALL_H -#include +#include #include "menu_cmd.qh" diff --git a/qcsrc/menu/item.qc b/qcsrc/menu/item.qc index 12132affb..3aba726b4 100644 --- a/qcsrc/menu/item.qc +++ b/qcsrc/menu/item.qc @@ -1,3 +1,4 @@ +#include "item.qh" #ifndef ITEM_H #define ITEM_H #include "skin.qh" diff --git a/qcsrc/menu/item.qh b/qcsrc/menu/item.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/borderimage.qc b/qcsrc/menu/item/borderimage.qc index 4acf33d86..3c2c8817c 100644 --- a/qcsrc/menu/item/borderimage.qc +++ b/qcsrc/menu/item/borderimage.qc @@ -1,3 +1,4 @@ +#include "borderimage.qh" #ifndef ITEM_BORDERIMAGE_H #define ITEM_BORDERIMAGE_H #include "label.qc" diff --git a/qcsrc/menu/item/borderimage.qh b/qcsrc/menu/item/borderimage.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/borderimage.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/button.qc b/qcsrc/menu/item/button.qc index a81a0a22f..bec835664 100644 --- a/qcsrc/menu/item/button.qc +++ b/qcsrc/menu/item/button.qc @@ -1,3 +1,4 @@ +#include "button.qh" #ifndef ITEM_BUTTON_H #define ITEM_BUTTON_H #include "label.qc" diff --git a/qcsrc/menu/item/button.qh b/qcsrc/menu/item/button.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/button.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/checkbox.qc b/qcsrc/menu/item/checkbox.qc index 17bc50103..b4b733ce2 100644 --- a/qcsrc/menu/item/checkbox.qc +++ b/qcsrc/menu/item/checkbox.qc @@ -1,3 +1,4 @@ +#include "checkbox.qh" #ifndef ITEM_CHECKBOX_H #define ITEM_CHECKBOX_H #include "button.qc" diff --git a/qcsrc/menu/item/checkbox.qh b/qcsrc/menu/item/checkbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/checkbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/container.qc b/qcsrc/menu/item/container.qc index 17412cd0f..63366c0ee 100644 --- a/qcsrc/menu/item/container.qc +++ b/qcsrc/menu/item/container.qc @@ -1,3 +1,4 @@ +#include "container.qh" #ifndef ITEM_CONTAINER_H #define ITEM_CONTAINER_H #include "../item.qc" diff --git a/qcsrc/menu/item/container.qh b/qcsrc/menu/item/container.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/container.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/dialog.qc b/qcsrc/menu/item/dialog.qc index fc14d9222..9c5fb385c 100644 --- a/qcsrc/menu/item/dialog.qc +++ b/qcsrc/menu/item/dialog.qc @@ -1,3 +1,4 @@ +#include "dialog.qh" // Note: this class is called Dialog, but it can also handle a tab under the following conditions: // - isTabRoot is 0 // - backgroundImage is the tab's background diff --git a/qcsrc/menu/item/dialog.qh b/qcsrc/menu/item/dialog.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/dialog.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/image.qc b/qcsrc/menu/item/image.qc index 2a28c78b1..9141d4df4 100644 --- a/qcsrc/menu/item/image.qc +++ b/qcsrc/menu/item/image.qc @@ -1,3 +1,4 @@ +#include "image.qh" #ifndef ITEM_IMAGE_H #define ITEM_IMAGE_H #include "../item.qc" diff --git a/qcsrc/menu/item/image.qh b/qcsrc/menu/item/image.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/image.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/inputbox.qc b/qcsrc/menu/item/inputbox.qc index 522801f81..43ef41f81 100644 --- a/qcsrc/menu/item/inputbox.qc +++ b/qcsrc/menu/item/inputbox.qc @@ -1,3 +1,4 @@ +#include "inputbox.qh" #ifndef ITEM_INPUTBOX_H #define ITEM_INPUTBOX_H #include "label.qc" diff --git a/qcsrc/menu/item/inputbox.qh b/qcsrc/menu/item/inputbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/inputbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/inputcontainer.qc b/qcsrc/menu/item/inputcontainer.qc index 45f60854f..ce263889d 100644 --- a/qcsrc/menu/item/inputcontainer.qc +++ b/qcsrc/menu/item/inputcontainer.qc @@ -1,3 +1,4 @@ +#include "inputcontainer.qh" #ifndef ITEM_INPUTCONTAINER_H #define ITEM_INPUTCONTAINER_H #include "container.qc" diff --git a/qcsrc/menu/item/inputcontainer.qh b/qcsrc/menu/item/inputcontainer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/inputcontainer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/label.qc b/qcsrc/menu/item/label.qc index 6d9b9cda1..7148b1f0d 100644 --- a/qcsrc/menu/item/label.qc +++ b/qcsrc/menu/item/label.qc @@ -1,3 +1,4 @@ +#include "label.qh" #ifndef ITEM_LABEL_H #define ITEM_LABEL_H #include "../item.qc" diff --git a/qcsrc/menu/item/label.qh b/qcsrc/menu/item/label.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/label.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/listbox.qc b/qcsrc/menu/item/listbox.qc index d6ea7d859..10cc934bf 100644 --- a/qcsrc/menu/item/listbox.qc +++ b/qcsrc/menu/item/listbox.qc @@ -1,3 +1,4 @@ +#include "listbox.qh" #ifndef ITEM_LISTBOX_H #define ITEM_LISTBOX_H #include "../item.qc" diff --git a/qcsrc/menu/item/listbox.qh b/qcsrc/menu/item/listbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/listbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/modalcontroller.qc b/qcsrc/menu/item/modalcontroller.qc index ed02a0cef..0dd6fe8ef 100644 --- a/qcsrc/menu/item/modalcontroller.qc +++ b/qcsrc/menu/item/modalcontroller.qc @@ -1,3 +1,4 @@ +#include "modalcontroller.qh" #ifndef ITEM_MODALCONTROLLER_H #define ITEM_MODALCONTROLLER_H #include "container.qc" diff --git a/qcsrc/menu/item/modalcontroller.qh b/qcsrc/menu/item/modalcontroller.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/modalcontroller.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/nexposee.qc b/qcsrc/menu/item/nexposee.qc index e35909493..ba786597f 100644 --- a/qcsrc/menu/item/nexposee.qc +++ b/qcsrc/menu/item/nexposee.qc @@ -1,3 +1,4 @@ +#include "nexposee.qh" #ifndef ITEM_NEXPOSEE_H #define ITEM_NEXPOSEE_H #include "container.qc" diff --git a/qcsrc/menu/item/nexposee.qh b/qcsrc/menu/item/nexposee.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/nexposee.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/radiobutton.qc b/qcsrc/menu/item/radiobutton.qc index dac17b141..e707f773d 100644 --- a/qcsrc/menu/item/radiobutton.qc +++ b/qcsrc/menu/item/radiobutton.qc @@ -1,3 +1,4 @@ +#include "radiobutton.qh" #ifndef ITEM_RADIOBUTTON_H #define ITEM_RADIOBUTTON_H #include "checkbox.qc" diff --git a/qcsrc/menu/item/radiobutton.qh b/qcsrc/menu/item/radiobutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/radiobutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/slider.qc b/qcsrc/menu/item/slider.qc index dcfe68a75..348addbb8 100644 --- a/qcsrc/menu/item/slider.qc +++ b/qcsrc/menu/item/slider.qc @@ -1,3 +1,4 @@ +#include "slider.qh" // Note: // to use this, you FIRST call configureSliderVisuals, then configureSliderValues #ifndef ITEM_SLIDER_H diff --git a/qcsrc/menu/item/slider.qh b/qcsrc/menu/item/slider.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/slider.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/tab.qc b/qcsrc/menu/item/tab.qc index 7564f02cf..28a9c71d4 100644 --- a/qcsrc/menu/item/tab.qc +++ b/qcsrc/menu/item/tab.qc @@ -1,3 +1,4 @@ +#include "tab.qh" #ifndef ITEM_TAB_H #define ITEM_TAB_H #include "dialog.qc" diff --git a/qcsrc/menu/item/tab.qh b/qcsrc/menu/item/tab.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/tab.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/item/textslider.qc b/qcsrc/menu/item/textslider.qc index 4c23ff9a0..5d9d6b886 100644 --- a/qcsrc/menu/item/textslider.qc +++ b/qcsrc/menu/item/textslider.qc @@ -1,3 +1,4 @@ +#include "textslider.qh" // Note: // to use this, you FIRST call configureSliderVisuals, then multiple times addValue, then configureTextSlider #ifndef ITEM_TEXTSLIDER_H diff --git a/qcsrc/menu/item/textslider.qh b/qcsrc/menu/item/textslider.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/item/textslider.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/bigbutton.qc b/qcsrc/menu/xonotic/bigbutton.qc index c0a5caa12..45990118b 100644 --- a/qcsrc/menu/xonotic/bigbutton.qc +++ b/qcsrc/menu/xonotic/bigbutton.qc @@ -1,3 +1,4 @@ +#include "bigbutton.qh" #ifndef BIGBUTTON_H #define BIGBUTTON_H #include "button.qc" diff --git a/qcsrc/menu/xonotic/bigbutton.qh b/qcsrc/menu/xonotic/bigbutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/bigbutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/bigcommandbutton.qc b/qcsrc/menu/xonotic/bigcommandbutton.qc index 689417717..d453cb119 100644 --- a/qcsrc/menu/xonotic/bigcommandbutton.qc +++ b/qcsrc/menu/xonotic/bigcommandbutton.qc @@ -1,3 +1,4 @@ +#include "bigcommandbutton.qh" #ifndef BIGCOMMANDBUTTON_H #define BIGCOMMANDBUTTON_H #include "commandbutton.qc" diff --git a/qcsrc/menu/xonotic/bigcommandbutton.qh b/qcsrc/menu/xonotic/bigcommandbutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/bigcommandbutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/button.qc b/qcsrc/menu/xonotic/button.qc index a9a8fe216..6c84c48a4 100644 --- a/qcsrc/menu/xonotic/button.qc +++ b/qcsrc/menu/xonotic/button.qc @@ -1,3 +1,4 @@ +#include "button.qh" #ifndef BUTTON_H #define BUTTON_H #include "../item/button.qc" diff --git a/qcsrc/menu/xonotic/button.qh b/qcsrc/menu/xonotic/button.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/button.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/campaign.qc b/qcsrc/menu/xonotic/campaign.qc index 5947c3e73..ae9c8cfec 100644 --- a/qcsrc/menu/xonotic/campaign.qc +++ b/qcsrc/menu/xonotic/campaign.qc @@ -1,3 +1,4 @@ +#include "campaign.qh" #include #ifndef CAMPAIGN_H diff --git a/qcsrc/menu/xonotic/campaign.qh b/qcsrc/menu/xonotic/campaign.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/campaign.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/charmap.qc b/qcsrc/menu/xonotic/charmap.qc index f13c8bc83..7a10648c9 100644 --- a/qcsrc/menu/xonotic/charmap.qc +++ b/qcsrc/menu/xonotic/charmap.qc @@ -1,3 +1,4 @@ +#include "charmap.qh" #ifndef CHARMAP_H #define CHARMAP_H #include "picker.qc" diff --git a/qcsrc/menu/xonotic/charmap.qh b/qcsrc/menu/xonotic/charmap.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/charmap.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/checkbox.qc b/qcsrc/menu/xonotic/checkbox.qc index bb63bffe4..600560659 100644 --- a/qcsrc/menu/xonotic/checkbox.qc +++ b/qcsrc/menu/xonotic/checkbox.qc @@ -1,3 +1,4 @@ +#include "checkbox.qh" #ifndef CHECKBOX_H #define CHECKBOX_H #include "../item/checkbox.qc" diff --git a/qcsrc/menu/xonotic/checkbox.qh b/qcsrc/menu/xonotic/checkbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/checkbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/checkbox_slider_invalid.qc b/qcsrc/menu/xonotic/checkbox_slider_invalid.qc index 9dae25a35..723a37a9e 100644 --- a/qcsrc/menu/xonotic/checkbox_slider_invalid.qc +++ b/qcsrc/menu/xonotic/checkbox_slider_invalid.qc @@ -1,3 +1,4 @@ +#include "checkbox_slider_invalid.qh" #ifndef CHECKBOX_SLIDER_INVALID_H #define CHECKBOX_SLIDER_INVALID_H #include "../item/checkbox.qc" diff --git a/qcsrc/menu/xonotic/checkbox_slider_invalid.qh b/qcsrc/menu/xonotic/checkbox_slider_invalid.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/checkbox_slider_invalid.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/checkbox_string.qc b/qcsrc/menu/xonotic/checkbox_string.qc index a93c9acf5..e605390f2 100644 --- a/qcsrc/menu/xonotic/checkbox_string.qc +++ b/qcsrc/menu/xonotic/checkbox_string.qc @@ -1,3 +1,4 @@ +#include "checkbox_string.qh" #ifndef CHECKBOX_STRING_H #define CHECKBOX_STRING_H #include "../item/checkbox.qc" diff --git a/qcsrc/menu/xonotic/checkbox_string.qh b/qcsrc/menu/xonotic/checkbox_string.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/checkbox_string.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/colorbutton.qc b/qcsrc/menu/xonotic/colorbutton.qc index 4efa4a2bd..ac86697b8 100644 --- a/qcsrc/menu/xonotic/colorbutton.qc +++ b/qcsrc/menu/xonotic/colorbutton.qc @@ -1,3 +1,4 @@ +#include "colorbutton.qh" #ifndef COLORBUTTON_H #define COLORBUTTON_H #include "../item/radiobutton.qc" diff --git a/qcsrc/menu/xonotic/colorbutton.qh b/qcsrc/menu/xonotic/colorbutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/colorbutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/colorpicker.qc b/qcsrc/menu/xonotic/colorpicker.qc index f7d72439d..069f086b9 100644 --- a/qcsrc/menu/xonotic/colorpicker.qc +++ b/qcsrc/menu/xonotic/colorpicker.qc @@ -1,3 +1,4 @@ +#include "colorpicker.qh" #ifndef COLORPICKER_H #define COLORPICKER_H #include "../item/image.qc" diff --git a/qcsrc/menu/xonotic/colorpicker.qh b/qcsrc/menu/xonotic/colorpicker.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/colorpicker.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/colorpicker_string.qc b/qcsrc/menu/xonotic/colorpicker_string.qc index c8c26e4f3..6485cfaa4 100644 --- a/qcsrc/menu/xonotic/colorpicker_string.qc +++ b/qcsrc/menu/xonotic/colorpicker_string.qc @@ -1,3 +1,4 @@ +#include "colorpicker_string.qh" #ifndef COLORPICKER_STRING_H #define COLORPICKER_STRING_H #include "../item/image.qc" diff --git a/qcsrc/menu/xonotic/colorpicker_string.qh b/qcsrc/menu/xonotic/colorpicker_string.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/colorpicker_string.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/commandbutton.qc b/qcsrc/menu/xonotic/commandbutton.qc index 0a4943e41..22a9820eb 100644 --- a/qcsrc/menu/xonotic/commandbutton.qc +++ b/qcsrc/menu/xonotic/commandbutton.qc @@ -1,3 +1,4 @@ +#include "commandbutton.qh" #ifndef COMMANDBUTTON_CLOSE # define COMMANDBUTTON_CLOSE 1 # define COMMANDBUTTON_APPLY 2 diff --git a/qcsrc/menu/xonotic/commandbutton.qh b/qcsrc/menu/xonotic/commandbutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/commandbutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/credits.qc b/qcsrc/menu/xonotic/credits.qc index d9a1ecb2e..c1068e7aa 100644 --- a/qcsrc/menu/xonotic/credits.qc +++ b/qcsrc/menu/xonotic/credits.qc @@ -1,3 +1,4 @@ +#include "credits.qh" #ifndef CREDITS_H #define CREDITS_H diff --git a/qcsrc/menu/xonotic/credits.qh b/qcsrc/menu/xonotic/credits.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/credits.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/crosshairpicker.qc b/qcsrc/menu/xonotic/crosshairpicker.qc index 63da9cd92..69e540d1b 100644 --- a/qcsrc/menu/xonotic/crosshairpicker.qc +++ b/qcsrc/menu/xonotic/crosshairpicker.qc @@ -1,3 +1,4 @@ +#include "crosshairpicker.qh" #ifndef CROSSHAIRPICKER_H #define CROSSHAIRPICKER_H #include "picker.qc" diff --git a/qcsrc/menu/xonotic/crosshairpicker.qh b/qcsrc/menu/xonotic/crosshairpicker.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/crosshairpicker.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/crosshairpreview.qc b/qcsrc/menu/xonotic/crosshairpreview.qc index 90694ca8c..817e452a1 100644 --- a/qcsrc/menu/xonotic/crosshairpreview.qc +++ b/qcsrc/menu/xonotic/crosshairpreview.qc @@ -1,3 +1,4 @@ +#include "crosshairpreview.qh" #ifndef CROSSHAIRPREVIEW_H #define CROSSHAIRPREVIEW_H #include "../item.qc" diff --git a/qcsrc/menu/xonotic/crosshairpreview.qh b/qcsrc/menu/xonotic/crosshairpreview.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/crosshairpreview.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/cvarlist.qc b/qcsrc/menu/xonotic/cvarlist.qc index 11e88a4e6..433194ba0 100644 --- a/qcsrc/menu/xonotic/cvarlist.qc +++ b/qcsrc/menu/xonotic/cvarlist.qc @@ -1,3 +1,4 @@ +#include "cvarlist.qh" #ifndef CVARLIST_H #define CVARLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/cvarlist.qh b/qcsrc/menu/xonotic/cvarlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/cvarlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/datasource.qc b/qcsrc/menu/xonotic/datasource.qc index 3b8be8d27..809f79682 100644 --- a/qcsrc/menu/xonotic/datasource.qc +++ b/qcsrc/menu/xonotic/datasource.qc @@ -1,3 +1,4 @@ +#include "datasource.qh" #ifndef DATASOURCE_H #define DATASOURCE_H CLASS(DataSource, Object) diff --git a/qcsrc/menu/xonotic/datasource.qh b/qcsrc/menu/xonotic/datasource.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/datasource.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/demolist.qc b/qcsrc/menu/xonotic/demolist.qc index 9f8978c14..6f1a2a6e1 100644 --- a/qcsrc/menu/xonotic/demolist.qc +++ b/qcsrc/menu/xonotic/demolist.qc @@ -1,3 +1,4 @@ +#include "demolist.qh" #ifndef DEMOLIST_H #define DEMOLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/demolist.qh b/qcsrc/menu/xonotic/demolist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/demolist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog.qc b/qcsrc/menu/xonotic/dialog.qc index 739507134..1394b1897 100644 --- a/qcsrc/menu/xonotic/dialog.qc +++ b/qcsrc/menu/xonotic/dialog.qc @@ -1,3 +1,4 @@ +#include "dialog.qh" #ifndef DIALOG_H #define DIALOG_H #include "../item/dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog.qh b/qcsrc/menu/xonotic/dialog.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_credits.qc b/qcsrc/menu/xonotic/dialog_credits.qc index 9559211b0..8a2568dac 100644 --- a/qcsrc/menu/xonotic/dialog_credits.qc +++ b/qcsrc/menu/xonotic/dialog_credits.qc @@ -1,3 +1,4 @@ +#include "dialog_credits.qh" #ifndef DIALOG_CREDITS_H #define DIALOG_CREDITS_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_credits.qh b/qcsrc/menu/xonotic/dialog_credits.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_credits.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_firstrun.qc b/qcsrc/menu/xonotic/dialog_firstrun.qc index 6b597a7a3..f117d3a6f 100644 --- a/qcsrc/menu/xonotic/dialog_firstrun.qc +++ b/qcsrc/menu/xonotic/dialog_firstrun.qc @@ -1,3 +1,4 @@ +#include "dialog_firstrun.qh" #ifndef DIALOG_FIRSTRUN_H #define DIALOG_FIRSTRUN_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_firstrun.qh b/qcsrc/menu/xonotic/dialog_firstrun.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_firstrun.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qc b/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qc index dd54f14ef..49b7ba272 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_ammo.qh" #ifndef DIALOG_HUDPANEL_AMMO_H #define DIALOG_HUDPANEL_AMMO_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qh b/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_ammo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qc b/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qc index c888fa733..c1fa78578 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_centerprint.qh" #ifndef DIALOG_HUDPANEL_CENTERPRINT_H #define DIALOG_HUDPANEL_CENTERPRINT_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qh b/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_chat.qc b/qcsrc/menu/xonotic/dialog_hudpanel_chat.qc index 4c18f2066..380dfcc03 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_chat.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_chat.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_chat.qh" #ifndef DIALOG_HUDPANEL_CHAT_H #define DIALOG_HUDPANEL_CHAT_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_chat.qh b/qcsrc/menu/xonotic/dialog_hudpanel_chat.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_chat.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qc b/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qc index df9165e81..6b2c8ea59 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_engineinfo.qh" #ifndef DIALOG_HUDPANEL_ENGINEINFO_H #define DIALOG_HUDPANEL_ENGINEINFO_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qh b/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_engineinfo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qc b/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qc index d576e2372..ddf3e9ac0 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_healtharmor.qh" #ifndef DIALOG_HUDPANEL_HEALTHARMOR_H #define DIALOG_HUDPANEL_HEALTHARMOR_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qh b/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_healtharmor.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qc b/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qc index 33b4ca9b7..1d7f6ba61 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_infomessages.qh" #ifndef DIALOG_HUDPANEL_INFOMESSAGES_H #define DIALOG_HUDPANEL_INFOMESSAGES_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qh b/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_infomessages.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qc b/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qc index 1124044e3..b99adb6b9 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_itemstime.qh" #ifndef DIALOG_HUDPANEL_ITEMSTIME_H #define DIALOG_HUDPANEL_ITEMSTIME_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qh b/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_itemstime.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qc b/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qc index 1fcefb72f..a664f2933 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_modicons.qh" #ifndef DIALOG_HUDPANEL_MODICONS_H #define DIALOG_HUDPANEL_MODICONS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qh b/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_modicons.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc index 93d58d0bb..3625ac086 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_notification.qh" #ifndef DIALOG_HUDPANEL_NOTIFICATION_H #define DIALOG_HUDPANEL_NOTIFICATION_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qh b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc index 394ab14bc..1ef02288a 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_physics.qh" #ifndef DIALOG_HUDPANEL_PHYSICS_H #define DIALOG_HUDPANEL_PHYSICS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_physics.qh b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_physics.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qc b/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qc index 85abb0f02..0168385c4 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_powerups.qh" #ifndef DIALOG_HUDPANEL_POWERUPS_H #define DIALOG_HUDPANEL_POWERUPS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qh b/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_powerups.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qc b/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qc index 1de8e51c3..f37b766bd 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_pressedkeys.qh" #ifndef DIALOG_HUDPANEL_PRESSEDKEYS_H #define DIALOG_HUDPANEL_PRESSEDKEYS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qh b/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_pressedkeys.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qc b/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qc index 4d468452d..d4e157710 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_quickmenu.qh" #ifndef DIALOG_HUDPANEL_QUICKMENU_H #define DIALOG_HUDPANEL_QUICKMENU_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qh b/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_quickmenu.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qc b/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qc index 79a56230d..d938cc04c 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_racetimer.qh" #ifndef DIALOG_HUDPANEL_RACETIMER_H #define DIALOG_HUDPANEL_RACETIMER_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qh b/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_racetimer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_radar.qc b/qcsrc/menu/xonotic/dialog_hudpanel_radar.qc index b7efc4a39..4d02e8d09 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_radar.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_radar.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_radar.qh" #ifndef DIALOG_HUDPANEL_RADAR_H #define DIALOG_HUDPANEL_RADAR_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_radar.qh b/qcsrc/menu/xonotic/dialog_hudpanel_radar.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_radar.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_score.qc b/qcsrc/menu/xonotic/dialog_hudpanel_score.qc index 6cbbe4618..e13b9a8ae 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_score.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_score.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_score.qh" #ifndef DIALOG_HUDPANEL_SCORE_H #define DIALOG_HUDPANEL_SCORE_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_score.qh b/qcsrc/menu/xonotic/dialog_hudpanel_score.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_score.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc index ae071e02e..dcdc170c1 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_timer.qh" #ifndef DIALOG_HUDPANEL_TIMER_H #define DIALOG_HUDPANEL_TIMER_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_timer.qh b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_vote.qc b/qcsrc/menu/xonotic/dialog_hudpanel_vote.qc index 67eed0c8f..fe6d98fd4 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_vote.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_vote.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_vote.qh" #ifndef DIALOG_HUDPANEL_VOTE_H #define DIALOG_HUDPANEL_VOTE_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_vote.qh b/qcsrc/menu/xonotic/dialog_hudpanel_vote.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_vote.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qc b/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qc index a5fedbd3f..01ce3463d 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qc @@ -1,3 +1,4 @@ +#include "dialog_hudpanel_weapons.qh" #ifndef DIALOG_HUDPANEL_WEAPONS_H #define DIALOG_HUDPANEL_WEAPONS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qh b/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudpanel_weapons.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc index 2a4180f3e..169986122 100644 --- a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc +++ b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc @@ -1,3 +1,4 @@ +#include "dialog_hudsetup_exit.qh" #ifndef DIALOG_HUDSETUP_EXIT_H #define DIALOG_HUDSETUP_EXIT_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qh b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_monstertools.qc b/qcsrc/menu/xonotic/dialog_monstertools.qc index a63e0141d..d35a1d29a 100644 --- a/qcsrc/menu/xonotic/dialog_monstertools.qc +++ b/qcsrc/menu/xonotic/dialog_monstertools.qc @@ -1,3 +1,4 @@ +#include "dialog_monstertools.qh" #ifndef DIALOG_MONSTERTOOLS_H #define DIALOG_MONSTERTOOLS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_monstertools.qh b/qcsrc/menu/xonotic/dialog_monstertools.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_monstertools.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer.qc b/qcsrc/menu/xonotic/dialog_multiplayer.qc index 0cef712a9..a6237b72a 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer.qh" #ifndef DIALOG_MULTIPLAYER_H #define DIALOG_MULTIPLAYER_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer.qh b/qcsrc/menu/xonotic/dialog_multiplayer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc index 689a8f630..58731ca27 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_create.qh" #ifndef DIALOG_MULTIPLAYER_CREATE_H #define DIALOG_MULTIPLAYER_CREATE_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create.qh b/qcsrc/menu/xonotic/dialog_multiplayer_create.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qc index 2a5c8245a..f79563f22 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_create_mapinfo.qh" #ifndef DIALOG_MULTIPLAYER_CREATE_MAPINFO_H #define DIALOG_MULTIPLAYER_CREATE_MAPINFO_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qh b/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mapinfo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc index e90a90959..63a22cac5 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_create_mutators.qh" #include #ifndef DIALOG_MULTIPLAYER_CREATE_MUTATORS_H diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join.qc b/qcsrc/menu/xonotic/dialog_multiplayer_join.qc index fba5f1930..d76c0c822 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_join.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_join.qh" #ifndef DIALOG_MULTIPLAYER_JOIN_H #define DIALOG_MULTIPLAYER_JOIN_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join.qh b/qcsrc/menu/xonotic/dialog_multiplayer_join.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qc b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qc index 798ef3ae7..7e0f39ce6 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_join_serverinfo.qh" #include #ifndef DIALOG_MULTIPLAYER_JOIN_SERVERINFO_H diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qh b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media.qc index abecd1ed5..32a1dfd3f 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_H #define DIALOG_MULTIPLAYER_MEDIA_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc index b7f3884a8..36d9597a7 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_demo.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_H #define DIALOG_MULTIPLAYER_MEDIA_DEMO_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qc index dedd34356..8479b3a83 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_demo_startconfirm.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_STARTCONFIRM_H #define DIALOG_MULTIPLAYER_MEDIA_DEMO_STARTCONFIRM_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_startconfirm.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qc index 6e35565ad..295dd91ba 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_demo_timeconfirm.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_DEMO_TIMECONFIRM_H #define DIALOG_MULTIPLAYER_MEDIA_DEMO_TIMECONFIRM_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo_timeconfirm.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc index 9346dfdbd..caf5bf724 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_musicplayer.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_MUSICPLAYER_H #define DIALOG_MULTIPLAYER_MEDIA_MUSICPLAYER_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qc index 58230253f..92ef5ef51 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_screenshot.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_H #define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qc index 880dda032..3a2f90091 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_media_screenshot_viewer.qh" #ifndef DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H #define DIALOG_MULTIPLAYER_MEDIA_SCREENSHOT_VIEWER_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qh b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_screenshot_viewer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc index c316318b3..4093099c1 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc @@ -1,3 +1,4 @@ +#include "dialog_multiplayer_profile.qh" #ifndef DIALOG_MULTIPLAYER_PROFILE_H #define DIALOG_MULTIPLAYER_PROFILE_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qh b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_quit.qc b/qcsrc/menu/xonotic/dialog_quit.qc index 74692cf87..5736de712 100644 --- a/qcsrc/menu/xonotic/dialog_quit.qc +++ b/qcsrc/menu/xonotic/dialog_quit.qc @@ -1,3 +1,4 @@ +#include "dialog_quit.qh" #ifndef DIALOG_QUIT_H #define DIALOG_QUIT_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_quit.qh b/qcsrc/menu/xonotic/dialog_quit.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_quit.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.qc b/qcsrc/menu/xonotic/dialog_sandboxtools.qc index 59075442b..4b530adbf 100644 --- a/qcsrc/menu/xonotic/dialog_sandboxtools.qc +++ b/qcsrc/menu/xonotic/dialog_sandboxtools.qc @@ -1,3 +1,4 @@ +#include "dialog_sandboxtools.qh" #ifndef DIALOG_SANDBOXTOOLS_H #define DIALOG_SANDBOXTOOLS_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.qh b/qcsrc/menu/xonotic/dialog_sandboxtools.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_sandboxtools.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings.qc b/qcsrc/menu/xonotic/dialog_settings.qc index 1b491abe1..27c4c32b9 100644 --- a/qcsrc/menu/xonotic/dialog_settings.qc +++ b/qcsrc/menu/xonotic/dialog_settings.qc @@ -1,3 +1,4 @@ +#include "dialog_settings.qh" #ifndef DIALOG_SETTINGS_H #define DIALOG_SETTINGS_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings.qh b/qcsrc/menu/xonotic/dialog_settings.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_audio.qc b/qcsrc/menu/xonotic/dialog_settings_audio.qc index 775203a1c..2742e9bcd 100644 --- a/qcsrc/menu/xonotic/dialog_settings_audio.qc +++ b/qcsrc/menu/xonotic/dialog_settings_audio.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_audio.qh" #ifndef DIALOG_SETTINGS_AUDIO_H #define DIALOG_SETTINGS_AUDIO_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_audio.qh b/qcsrc/menu/xonotic/dialog_settings_audio.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_audio.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_effects.qc b/qcsrc/menu/xonotic/dialog_settings_effects.qc index ed03e2f6e..143a36f68 100644 --- a/qcsrc/menu/xonotic/dialog_settings_effects.qc +++ b/qcsrc/menu/xonotic/dialog_settings_effects.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_effects.qh" #ifndef DIALOG_SETTINGS_EFFECTS_H #define DIALOG_SETTINGS_EFFECTS_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_effects.qh b/qcsrc/menu/xonotic/dialog_settings_effects.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_effects.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game.qc b/qcsrc/menu/xonotic/dialog_settings_game.qc index 6f68b332d..ac2df7cb6 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game.qh" #ifndef DIALOG_SETTINGS_GAME_H #define DIALOG_SETTINGS_GAME_H diff --git a/qcsrc/menu/xonotic/dialog_settings_game.qh b/qcsrc/menu/xonotic/dialog_settings_game.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc index cab2d25c6..2be11eecd 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_crosshair.qh" #ifndef DIALOG_SETTINGS_GAME_CROSSHAIR_H #define DIALOG_SETTINGS_GAME_CROSSHAIR_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qh b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc index 150357de2..a2ef43e6b 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_hud.qh" #ifndef DIALOG_SETTINGS_GAME_HUD_H #define DIALOG_SETTINGS_GAME_HUD_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hud.qh b/qcsrc/menu/xonotic/dialog_settings_game_hud.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_hud.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qc b/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qc index 6d3fa1f02..18804ab50 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_hudconfirm.qh" #ifndef DIALOG_SETTINGS_GAME_HUDCONFIRM_H #define DIALOG_SETTINGS_GAME_HUDCONFIRM_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qh b/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_hudconfirm.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_messages.qc b/qcsrc/menu/xonotic/dialog_settings_game_messages.qc index f9ff06796..45b5b7736 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_messages.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_messages.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_messages.qh" #ifndef DIALOG_SETTINGS_GAME_MESSAGES_H #define DIALOG_SETTINGS_GAME_MESSAGES_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_messages.qh b/qcsrc/menu/xonotic/dialog_settings_game_messages.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_messages.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_model.qc b/qcsrc/menu/xonotic/dialog_settings_game_model.qc index 740dbe95a..bdeb10fa7 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_model.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_model.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_model.qh" #ifndef DIALOG_SETTINGS_GAME_MODEL_H #define DIALOG_SETTINGS_GAME_MODEL_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_model.qh b/qcsrc/menu/xonotic/dialog_settings_game_model.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_model.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_view.qc b/qcsrc/menu/xonotic/dialog_settings_game_view.qc index 91ffa0e29..d2ae09a6a 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_view.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_view.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_view.qh" #ifndef DIALOG_SETTINGS_GAME_VIEW_H #define DIALOG_SETTINGS_GAME_VIEW_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_view.qh b/qcsrc/menu/xonotic/dialog_settings_game_view.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_view.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_game_weapons.qc b/qcsrc/menu/xonotic/dialog_settings_game_weapons.qc index 86b160331..34baba0bf 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_weapons.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_weapons.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_game_weapons.qh" #ifndef DIALOG_SETTINGS_GAME_WEAPONS_H #define DIALOG_SETTINGS_GAME_WEAPONS_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_game_weapons.qh b/qcsrc/menu/xonotic/dialog_settings_game_weapons.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_game_weapons.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_input.qc b/qcsrc/menu/xonotic/dialog_settings_input.qc index 9eab078ad..5bf16d991 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input.qc +++ b/qcsrc/menu/xonotic/dialog_settings_input.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_input.qh" #ifndef DIALOG_SETTINGS_INPUT_H #define DIALOG_SETTINGS_INPUT_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_input.qh b/qcsrc/menu/xonotic/dialog_settings_input.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_input.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_input_userbind.qc b/qcsrc/menu/xonotic/dialog_settings_input_userbind.qc index d88be1d59..9fa18d3b7 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input_userbind.qc +++ b/qcsrc/menu/xonotic/dialog_settings_input_userbind.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_input_userbind.qh" #ifndef DIALOG_SETTINGS_INPUT_USERBIND_H #define DIALOG_SETTINGS_INPUT_USERBIND_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_input_userbind.qh b/qcsrc/menu/xonotic/dialog_settings_input_userbind.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_input_userbind.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_misc.qc b/qcsrc/menu/xonotic/dialog_settings_misc.qc index 997c97f19..b2488d050 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc.qc +++ b/qcsrc/menu/xonotic/dialog_settings_misc.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_misc.qh" #ifndef DIALOG_SETTINGS_MISC_H #define DIALOG_SETTINGS_MISC_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_misc.qh b/qcsrc/menu/xonotic/dialog_settings_misc.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_misc.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qc b/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qc index 8a2d489a0..d4b9ff93d 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qc +++ b/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_misc_cvars.qh" #ifndef DIALOG_SETTINGS_MISC_CVARS_H #define DIALOG_SETTINGS_MISC_CVARS_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qh b/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_misc_cvars.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_misc_reset.qc b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qc index f989f8859..a8bd5e730 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc_reset.qc +++ b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_misc_reset.qh" #ifndef DIALOG_SETTINGS_MISC_RESET_H #define DIALOG_SETTINGS_MISC_RESET_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_misc_reset.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_user.qc b/qcsrc/menu/xonotic/dialog_settings_user.qc index 07ab1bd0d..d102da638 100644 --- a/qcsrc/menu/xonotic/dialog_settings_user.qc +++ b/qcsrc/menu/xonotic/dialog_settings_user.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_user.qh" #ifndef DIALOG_SETTINGS_USER_H #define DIALOG_SETTINGS_USER_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_user.qh b/qcsrc/menu/xonotic/dialog_settings_user.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_user.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qc b/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qc index 605f8d245..00b209301 100644 --- a/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qc +++ b/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_user_languagewarning.qh" #ifndef DIALOG_SETTINGS_USER_LANGUAGEWARNING_H #define DIALOG_SETTINGS_USER_LANGUAGEWARNING_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qh b/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_user_languagewarning.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_settings_video.qc b/qcsrc/menu/xonotic/dialog_settings_video.qc index d8e55cb9d..f78571784 100644 --- a/qcsrc/menu/xonotic/dialog_settings_video.qc +++ b/qcsrc/menu/xonotic/dialog_settings_video.qc @@ -1,3 +1,4 @@ +#include "dialog_settings_video.qh" #ifndef DIALOG_SETTINGS_VIDEO_H #define DIALOG_SETTINGS_VIDEO_H #include "tab.qc" diff --git a/qcsrc/menu/xonotic/dialog_settings_video.qh b/qcsrc/menu/xonotic/dialog_settings_video.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_settings_video.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_singleplayer.qc b/qcsrc/menu/xonotic/dialog_singleplayer.qc index 1cdc28267..6337a665a 100644 --- a/qcsrc/menu/xonotic/dialog_singleplayer.qc +++ b/qcsrc/menu/xonotic/dialog_singleplayer.qc @@ -1,3 +1,4 @@ +#include "dialog_singleplayer.qh" #ifndef DIALOG_SINGLEPLAYER_H #define DIALOG_SINGLEPLAYER_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_singleplayer.qh b/qcsrc/menu/xonotic/dialog_singleplayer.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_singleplayer.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_singleplayer_winner.qc b/qcsrc/menu/xonotic/dialog_singleplayer_winner.qc index b7b97c973..b484e282a 100644 --- a/qcsrc/menu/xonotic/dialog_singleplayer_winner.qc +++ b/qcsrc/menu/xonotic/dialog_singleplayer_winner.qc @@ -1,3 +1,4 @@ +#include "dialog_singleplayer_winner.qh" #ifndef DIALOG_SINGLEPLAYER_WINNER_H #define DIALOG_SINGLEPLAYER_WINNER_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_singleplayer_winner.qh b/qcsrc/menu/xonotic/dialog_singleplayer_winner.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_singleplayer_winner.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/dialog_teamselect.qc b/qcsrc/menu/xonotic/dialog_teamselect.qc index 15e023f79..33ded408f 100644 --- a/qcsrc/menu/xonotic/dialog_teamselect.qc +++ b/qcsrc/menu/xonotic/dialog_teamselect.qc @@ -1,3 +1,4 @@ +#include "dialog_teamselect.qh" #ifndef DIALOG_TEAMSELECT_H #define DIALOG_TEAMSELECT_H #include "rootdialog.qc" diff --git a/qcsrc/menu/xonotic/dialog_teamselect.qh b/qcsrc/menu/xonotic/dialog_teamselect.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/dialog_teamselect.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/gametypebutton.qc b/qcsrc/menu/xonotic/gametypebutton.qc index fb8086690..707a9aed5 100644 --- a/qcsrc/menu/xonotic/gametypebutton.qc +++ b/qcsrc/menu/xonotic/gametypebutton.qc @@ -1,3 +1,4 @@ +#include "gametypebutton.qh" #ifndef GAMETYPEBUTTON_H #define GAMETYPEBUTTON_H #include "../item/radiobutton.qc" diff --git a/qcsrc/menu/xonotic/gametypebutton.qh b/qcsrc/menu/xonotic/gametypebutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/gametypebutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/gametypelist.qc b/qcsrc/menu/xonotic/gametypelist.qc index f04a0d23a..89cfc1b58 100644 --- a/qcsrc/menu/xonotic/gametypelist.qc +++ b/qcsrc/menu/xonotic/gametypelist.qc @@ -1,3 +1,4 @@ +#include "gametypelist.qh" #ifndef GAMETYPELIST_H #define GAMETYPELIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/gametypelist.qh b/qcsrc/menu/xonotic/gametypelist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/gametypelist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/hudskinlist.qc b/qcsrc/menu/xonotic/hudskinlist.qc index b3bdc6243..bcb20523a 100644 --- a/qcsrc/menu/xonotic/hudskinlist.qc +++ b/qcsrc/menu/xonotic/hudskinlist.qc @@ -1,3 +1,4 @@ +#include "hudskinlist.qh" #ifndef HUDSKINLIST_H #define HUDSKINLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/hudskinlist.qh b/qcsrc/menu/xonotic/hudskinlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/hudskinlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/image.qc b/qcsrc/menu/xonotic/image.qc index 1f25899c1..931261f6d 100644 --- a/qcsrc/menu/xonotic/image.qc +++ b/qcsrc/menu/xonotic/image.qc @@ -1,3 +1,4 @@ +#include "image.qh" #ifndef IMAGE_H #define IMAGE_H #include "../item/image.qc" diff --git a/qcsrc/menu/xonotic/image.qh b/qcsrc/menu/xonotic/image.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/image.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/inputbox.qc b/qcsrc/menu/xonotic/inputbox.qc index 6dc49c02e..eccf68f0d 100644 --- a/qcsrc/menu/xonotic/inputbox.qc +++ b/qcsrc/menu/xonotic/inputbox.qc @@ -1,3 +1,4 @@ +#include "inputbox.qh" #ifndef INPUTBOX_H #define INPUTBOX_H #include "../item/inputbox.qc" diff --git a/qcsrc/menu/xonotic/inputbox.qh b/qcsrc/menu/xonotic/inputbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/inputbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/keybinder.qc b/qcsrc/menu/xonotic/keybinder.qc index 9ce18c6b0..fe7b95ef7 100644 --- a/qcsrc/menu/xonotic/keybinder.qc +++ b/qcsrc/menu/xonotic/keybinder.qc @@ -1,3 +1,4 @@ +#include "keybinder.qh" #ifndef KEYBINDER_H #define KEYBINDER_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/keybinder.qh b/qcsrc/menu/xonotic/keybinder.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/keybinder.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/languagelist.qc b/qcsrc/menu/xonotic/languagelist.qc index 66dbb8351..258a19716 100644 --- a/qcsrc/menu/xonotic/languagelist.qc +++ b/qcsrc/menu/xonotic/languagelist.qc @@ -1,3 +1,4 @@ +#include "languagelist.qh" #ifndef LANGUAGELIST_H #define LANGUAGELIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/languagelist.qh b/qcsrc/menu/xonotic/languagelist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/languagelist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/listbox.qc b/qcsrc/menu/xonotic/listbox.qc index 3ce6ed7cc..f2d639f9f 100644 --- a/qcsrc/menu/xonotic/listbox.qc +++ b/qcsrc/menu/xonotic/listbox.qc @@ -1,3 +1,4 @@ +#include "listbox.qh" #ifndef LISTBOX_H #define LISTBOX_H #include "../item/listbox.qc" diff --git a/qcsrc/menu/xonotic/listbox.qh b/qcsrc/menu/xonotic/listbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/listbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/mainwindow.qc b/qcsrc/menu/xonotic/mainwindow.qc index 3d4110448..8d65d691f 100644 --- a/qcsrc/menu/xonotic/mainwindow.qc +++ b/qcsrc/menu/xonotic/mainwindow.qc @@ -1,3 +1,4 @@ +#include "mainwindow.qh" #ifndef MAINWINDOW_H #define MAINWINDOW_H #include "../item/modalcontroller.qc" diff --git a/qcsrc/menu/xonotic/mainwindow.qh b/qcsrc/menu/xonotic/mainwindow.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/mainwindow.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/maplist.qc b/qcsrc/menu/xonotic/maplist.qc index 91d8eaa3d..d24770ba9 100644 --- a/qcsrc/menu/xonotic/maplist.qc +++ b/qcsrc/menu/xonotic/maplist.qc @@ -1,3 +1,4 @@ +#include "maplist.qh" #ifndef MAPLIST_H #define MAPLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/maplist.qh b/qcsrc/menu/xonotic/maplist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/maplist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/nexposee.qc b/qcsrc/menu/xonotic/nexposee.qc index 0d302eba8..788a025ca 100644 --- a/qcsrc/menu/xonotic/nexposee.qc +++ b/qcsrc/menu/xonotic/nexposee.qc @@ -1,3 +1,4 @@ +#include "nexposee.qh" #ifndef NEXPOSEE_H #define NEXPOSEE_H #include "../item/nexposee.qc" diff --git a/qcsrc/menu/xonotic/nexposee.qh b/qcsrc/menu/xonotic/nexposee.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/nexposee.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/picker.qc b/qcsrc/menu/xonotic/picker.qc index 24e5b2f5c..e89361894 100644 --- a/qcsrc/menu/xonotic/picker.qc +++ b/qcsrc/menu/xonotic/picker.qc @@ -1,3 +1,4 @@ +#include "picker.qh" #ifndef PICKER_H #define PICKER_H #include "../item.qc" diff --git a/qcsrc/menu/xonotic/picker.qh b/qcsrc/menu/xonotic/picker.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/picker.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/playerlist.qc b/qcsrc/menu/xonotic/playerlist.qc index 3fdea5ae2..5ef53872c 100644 --- a/qcsrc/menu/xonotic/playerlist.qc +++ b/qcsrc/menu/xonotic/playerlist.qc @@ -1,3 +1,4 @@ +#include "playerlist.qh" #ifndef PLAYERLIST_H #define PLAYERLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/playerlist.qh b/qcsrc/menu/xonotic/playerlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/playerlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/playermodel.qc b/qcsrc/menu/xonotic/playermodel.qc index 3af8238dd..6fb767858 100644 --- a/qcsrc/menu/xonotic/playermodel.qc +++ b/qcsrc/menu/xonotic/playermodel.qc @@ -1,3 +1,4 @@ +#include "playermodel.qh" #ifndef PLAYERMODEL_H #define PLAYERMODEL_H #include "image.qc" diff --git a/qcsrc/menu/xonotic/playermodel.qh b/qcsrc/menu/xonotic/playermodel.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/playermodel.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/playlist.qc b/qcsrc/menu/xonotic/playlist.qc index 0393215f8..93fa21252 100644 --- a/qcsrc/menu/xonotic/playlist.qc +++ b/qcsrc/menu/xonotic/playlist.qc @@ -1,3 +1,4 @@ +#include "playlist.qh" #ifndef PLAYLIST_H #define PLAYLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/playlist.qh b/qcsrc/menu/xonotic/playlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/playlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/radiobutton.qc b/qcsrc/menu/xonotic/radiobutton.qc index 1a0ffd55f..de0da5d74 100644 --- a/qcsrc/menu/xonotic/radiobutton.qc +++ b/qcsrc/menu/xonotic/radiobutton.qc @@ -1,3 +1,4 @@ +#include "radiobutton.qh" #ifndef RADIOBUTTON_H #define RADIOBUTTON_H #include "../item/radiobutton.qc" diff --git a/qcsrc/menu/xonotic/radiobutton.qh b/qcsrc/menu/xonotic/radiobutton.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/radiobutton.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/rootdialog.qc b/qcsrc/menu/xonotic/rootdialog.qc index f074a6286..6a1a23a41 100644 --- a/qcsrc/menu/xonotic/rootdialog.qc +++ b/qcsrc/menu/xonotic/rootdialog.qc @@ -1,3 +1,4 @@ +#include "rootdialog.qh" #ifndef ROOTDIALOG_H #define ROOTDIALOG_H #include "dialog.qc" diff --git a/qcsrc/menu/xonotic/rootdialog.qh b/qcsrc/menu/xonotic/rootdialog.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/rootdialog.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/screenshotimage.qc b/qcsrc/menu/xonotic/screenshotimage.qc index f7a5c9b30..34053676f 100644 --- a/qcsrc/menu/xonotic/screenshotimage.qc +++ b/qcsrc/menu/xonotic/screenshotimage.qc @@ -1,3 +1,4 @@ +#include "screenshotimage.qh" #ifndef SCREENSHOTIMAGE_H #define SCREENSHOTIMAGE_H #include "image.qc" diff --git a/qcsrc/menu/xonotic/screenshotimage.qh b/qcsrc/menu/xonotic/screenshotimage.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/screenshotimage.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/screenshotlist.qc b/qcsrc/menu/xonotic/screenshotlist.qc index 900c446f3..244a9e61e 100644 --- a/qcsrc/menu/xonotic/screenshotlist.qc +++ b/qcsrc/menu/xonotic/screenshotlist.qc @@ -1,3 +1,4 @@ +#include "screenshotlist.qh" #ifndef SCREENSHOTLIST_H #define SCREENSHOTLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/screenshotlist.qh b/qcsrc/menu/xonotic/screenshotlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/screenshotlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index ef49b4b29..35241094a 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -1,3 +1,4 @@ +#include "serverlist.qh" #ifndef SERVERLIST_H #define SERVERLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/serverlist.qh b/qcsrc/menu/xonotic/serverlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/serverlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/skinlist.qc b/qcsrc/menu/xonotic/skinlist.qc index 5c4195351..607888ec1 100644 --- a/qcsrc/menu/xonotic/skinlist.qc +++ b/qcsrc/menu/xonotic/skinlist.qc @@ -1,3 +1,4 @@ +#include "skinlist.qh" #ifndef SKINLIST_H #define SKINLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/skinlist.qh b/qcsrc/menu/xonotic/skinlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/skinlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider.qc b/qcsrc/menu/xonotic/slider.qc index 2b0bd6ce0..149544aa3 100644 --- a/qcsrc/menu/xonotic/slider.qc +++ b/qcsrc/menu/xonotic/slider.qc @@ -1,3 +1,4 @@ +#include "slider.qh" #ifndef SLIDER_H #define SLIDER_H #include "../item/slider.qc" diff --git a/qcsrc/menu/xonotic/slider.qh b/qcsrc/menu/xonotic/slider.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider_decibels.qc b/qcsrc/menu/xonotic/slider_decibels.qc index c3eb4b0ab..345acf2b0 100644 --- a/qcsrc/menu/xonotic/slider_decibels.qc +++ b/qcsrc/menu/xonotic/slider_decibels.qc @@ -1,3 +1,4 @@ +#include "slider_decibels.qh" #ifndef SLIDER_DECIBELS_H #define SLIDER_DECIBELS_H #include "slider.qc" diff --git a/qcsrc/menu/xonotic/slider_decibels.qh b/qcsrc/menu/xonotic/slider_decibels.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider_decibels.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider_particles.qc b/qcsrc/menu/xonotic/slider_particles.qc index 1a7ee2c4a..22fee95fa 100644 --- a/qcsrc/menu/xonotic/slider_particles.qc +++ b/qcsrc/menu/xonotic/slider_particles.qc @@ -1,3 +1,4 @@ +#include "slider_particles.qh" #ifndef SLIDER_PARTICLES_H #define SLIDER_PARTICLES_H #include "textslider.qc" diff --git a/qcsrc/menu/xonotic/slider_particles.qh b/qcsrc/menu/xonotic/slider_particles.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider_particles.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider_picmip.qc b/qcsrc/menu/xonotic/slider_picmip.qc index 93ad740cd..35c7ab7cb 100644 --- a/qcsrc/menu/xonotic/slider_picmip.qc +++ b/qcsrc/menu/xonotic/slider_picmip.qc @@ -1,3 +1,4 @@ +#include "slider_picmip.qh" #ifndef SLIDER_PICMIP_H #define SLIDER_PICMIP_H #include "textslider.qc" diff --git a/qcsrc/menu/xonotic/slider_picmip.qh b/qcsrc/menu/xonotic/slider_picmip.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider_picmip.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider_resolution.qc b/qcsrc/menu/xonotic/slider_resolution.qc index c6d95b430..bfafaf2c4 100644 --- a/qcsrc/menu/xonotic/slider_resolution.qc +++ b/qcsrc/menu/xonotic/slider_resolution.qc @@ -1,3 +1,4 @@ +#include "slider_resolution.qh" #ifndef SLIDER_RESOLUTION_H #define SLIDER_RESOLUTION_H #include "textslider.qc" diff --git a/qcsrc/menu/xonotic/slider_resolution.qh b/qcsrc/menu/xonotic/slider_resolution.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider_resolution.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/slider_sbfadetime.qc b/qcsrc/menu/xonotic/slider_sbfadetime.qc index ecf850f40..386af7909 100644 --- a/qcsrc/menu/xonotic/slider_sbfadetime.qc +++ b/qcsrc/menu/xonotic/slider_sbfadetime.qc @@ -1,3 +1,4 @@ +#include "slider_sbfadetime.qh" #ifndef SLIDER_SBFADETIME_H #define SLIDER_SBFADETIME_H #include "textslider.qc" diff --git a/qcsrc/menu/xonotic/slider_sbfadetime.qh b/qcsrc/menu/xonotic/slider_sbfadetime.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/slider_sbfadetime.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/soundlist.qc b/qcsrc/menu/xonotic/soundlist.qc index 961c5b00b..0dd568fef 100644 --- a/qcsrc/menu/xonotic/soundlist.qc +++ b/qcsrc/menu/xonotic/soundlist.qc @@ -1,3 +1,4 @@ +#include "soundlist.qh" #ifndef SOUNDLIST_H #define SOUNDLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/soundlist.qh b/qcsrc/menu/xonotic/soundlist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/soundlist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/statslist.qc b/qcsrc/menu/xonotic/statslist.qc index 3a52371d1..b8ced9010 100644 --- a/qcsrc/menu/xonotic/statslist.qc +++ b/qcsrc/menu/xonotic/statslist.qc @@ -1,3 +1,4 @@ +#include "statslist.qh" #include #ifndef STATSLIST_H diff --git a/qcsrc/menu/xonotic/statslist.qh b/qcsrc/menu/xonotic/statslist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/statslist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/tab.qc b/qcsrc/menu/xonotic/tab.qc index 03a5bc5fe..adcdd0bc7 100644 --- a/qcsrc/menu/xonotic/tab.qc +++ b/qcsrc/menu/xonotic/tab.qc @@ -1,3 +1,4 @@ +#include "tab.qh" #ifndef TAB_H #define TAB_H #include "../item/tab.qc" diff --git a/qcsrc/menu/xonotic/tab.qh b/qcsrc/menu/xonotic/tab.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/tab.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/tabcontroller.qc b/qcsrc/menu/xonotic/tabcontroller.qc index 2fae65a89..b0f4fff30 100644 --- a/qcsrc/menu/xonotic/tabcontroller.qc +++ b/qcsrc/menu/xonotic/tabcontroller.qc @@ -1,3 +1,4 @@ +#include "tabcontroller.qh" #ifndef TABCONTROLLER_H #define TABCONTROLLER_H #include "../item/modalcontroller.qc" diff --git a/qcsrc/menu/xonotic/tabcontroller.qh b/qcsrc/menu/xonotic/tabcontroller.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/tabcontroller.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/textlabel.qc b/qcsrc/menu/xonotic/textlabel.qc index 13d3077ab..fa7751f3a 100644 --- a/qcsrc/menu/xonotic/textlabel.qc +++ b/qcsrc/menu/xonotic/textlabel.qc @@ -1,3 +1,4 @@ +#include "textlabel.qh" #ifndef TEXTLABEL_H #define TEXTLABEL_H #include "../item/label.qc" diff --git a/qcsrc/menu/xonotic/textlabel.qh b/qcsrc/menu/xonotic/textlabel.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/textlabel.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/textslider.qc b/qcsrc/menu/xonotic/textslider.qc index c21b07734..40023e436 100644 --- a/qcsrc/menu/xonotic/textslider.qc +++ b/qcsrc/menu/xonotic/textslider.qc @@ -1,3 +1,4 @@ +#include "textslider.qh" #ifndef TEXTSLIDER_H #define TEXTSLIDER_H #include "../item/textslider.qc" diff --git a/qcsrc/menu/xonotic/textslider.qh b/qcsrc/menu/xonotic/textslider.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/textslider.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/weaponarenacheckbox.qc b/qcsrc/menu/xonotic/weaponarenacheckbox.qc index a0a962de2..942b1a4cc 100644 --- a/qcsrc/menu/xonotic/weaponarenacheckbox.qc +++ b/qcsrc/menu/xonotic/weaponarenacheckbox.qc @@ -1,3 +1,4 @@ +#include "weaponarenacheckbox.qh" #ifndef WEAPONARENACHECKBOX_H #define WEAPONARENACHECKBOX_H #include "../item/checkbox.qc" diff --git a/qcsrc/menu/xonotic/weaponarenacheckbox.qh b/qcsrc/menu/xonotic/weaponarenacheckbox.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/weaponarenacheckbox.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/menu/xonotic/weaponslist.qc b/qcsrc/menu/xonotic/weaponslist.qc index 94347b325..2f0f5d822 100644 --- a/qcsrc/menu/xonotic/weaponslist.qc +++ b/qcsrc/menu/xonotic/weaponslist.qc @@ -1,3 +1,4 @@ +#include "weaponslist.qh" #ifndef WEAPONSLIST_H #define WEAPONSLIST_H #include "listbox.qc" diff --git a/qcsrc/menu/xonotic/weaponslist.qh b/qcsrc/menu/xonotic/weaponslist.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/menu/xonotic/weaponslist.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/antilag.qc b/qcsrc/server/antilag.qc index f1cd80aff..560d7614c 100644 --- a/qcsrc/server/antilag.qc +++ b/qcsrc/server/antilag.qc @@ -1,3 +1,4 @@ +#include "antilag.qh" #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) diff --git a/qcsrc/server/bot/havocbot/roles.qc b/qcsrc/server/bot/havocbot/roles.qc index b7f459afe..d8904de32 100644 --- a/qcsrc/server/bot/havocbot/roles.qc +++ b/qcsrc/server/bot/havocbot/roles.qc @@ -1,3 +1,4 @@ +#include "roles.qh" #include "havocbot.qh" diff --git a/qcsrc/server/cl_impulse.qc b/qcsrc/server/cl_impulse.qc index 926eeacea..a525c58f7 100644 --- a/qcsrc/server/cl_impulse.qc +++ b/qcsrc/server/cl_impulse.qc @@ -1,3 +1,4 @@ +#include "cl_impulse.qh" #include "round_handler.qh" #include "bot/waypoints.qh" diff --git a/qcsrc/server/command/all.qc b/qcsrc/server/command/all.qc index a15ae46de..c6d30cb7f 100644 --- a/qcsrc/server/command/all.qc +++ b/qcsrc/server/command/all.qc @@ -1,3 +1,4 @@ +#include "all.qh" #include #include "sv_cmd.qc" diff --git a/qcsrc/server/command/banning.qc b/qcsrc/server/command/banning.qc index 9c7eb00ca..d6968c262 100644 --- a/qcsrc/server/command/banning.qc +++ b/qcsrc/server/command/banning.qc @@ -1,3 +1,4 @@ +#include "banning.qh" #include #include "banning.qh" diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 9246f7aa1..173a38401 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -1,3 +1,4 @@ +#include "cmd.qh" #include #include "cmd.qh" diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index d2a8f6ec9..6e43d9a7b 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -1,3 +1,4 @@ +#include "common.qh" #include #include "common.qh" diff --git a/qcsrc/server/command/getreplies.qc b/qcsrc/server/command/getreplies.qc index ea61290e5..83a746b7a 100644 --- a/qcsrc/server/command/getreplies.qc +++ b/qcsrc/server/command/getreplies.qc @@ -1,3 +1,4 @@ +#include "getreplies.qh" #include #include "getreplies.qh" diff --git a/qcsrc/server/command/radarmap.qc b/qcsrc/server/command/radarmap.qc index cec53d4f3..5105a5b19 100644 --- a/qcsrc/server/command/radarmap.qc +++ b/qcsrc/server/command/radarmap.qc @@ -1,3 +1,4 @@ +#include "radarmap.qh" #include #include "radarmap.qh" diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index 056cb0db4..2f1400245 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -1,3 +1,4 @@ +#include "sv_cmd.qh" #include "all.qh" #include "banning.qh" diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index 1e00e8562..4cf5b7dc5 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -1,3 +1,4 @@ +#include "vote.qh" #include #include "vote.qh" diff --git a/qcsrc/server/g_lights.qc b/qcsrc/server/g_lights.qc index 8399b5fdb..37177326f 100644 --- a/qcsrc/server/g_lights.qc +++ b/qcsrc/server/g_lights.qc @@ -1,3 +1,4 @@ +#include "g_lights.qh" void train_next(); diff --git a/qcsrc/server/g_lights.qh b/qcsrc/server/g_lights.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/g_lights.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/g_models.qc b/qcsrc/server/g_models.qc index 46ebe5ed8..6612b837c 100644 --- a/qcsrc/server/g_models.qc +++ b/qcsrc/server/g_models.qc @@ -1,3 +1,4 @@ +#include "g_models.qh" #include "g_subs.qh" #include "../common/triggers/subs.qh" diff --git a/qcsrc/server/g_models.qh b/qcsrc/server/g_models.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/g_models.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/all.qc b/qcsrc/server/mutators/all.qc index 2cca71c7c..d742c77af 100644 --- a/qcsrc/server/mutators/all.qc +++ b/qcsrc/server/mutators/all.qc @@ -1,3 +1,4 @@ +#include "all.qh" #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qc b/qcsrc/server/mutators/mutator/gamemode_assault.qc index b822911c8..2f0d89903 100644 --- a/qcsrc/server/mutators/mutator/gamemode_assault.qc +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qc @@ -1,3 +1,4 @@ +#include "gamemode_assault.qh" #ifndef GAMEMODE_ASSAULT_H #define GAMEMODE_ASSAULT_H diff --git a/qcsrc/server/mutators/mutator/gamemode_assault.qh b/qcsrc/server/mutators/mutator/gamemode_assault.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_assault.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_ca.qc b/qcsrc/server/mutators/mutator/gamemode_ca.qc index 57e96abf9..23bee3af7 100644 --- a/qcsrc/server/mutators/mutator/gamemode_ca.qc +++ b/qcsrc/server/mutators/mutator/gamemode_ca.qc @@ -1,3 +1,4 @@ +#include "gamemode_ca.qh" #ifndef GAMEMODE_CA_H #define GAMEMODE_CA_H diff --git a/qcsrc/server/mutators/mutator/gamemode_ca.qh b/qcsrc/server/mutators/mutator/gamemode_ca.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_ca.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_ctf.qc b/qcsrc/server/mutators/mutator/gamemode_ctf.qc index a6d34c0d4..eb5b72ef8 100644 --- a/qcsrc/server/mutators/mutator/gamemode_ctf.qc +++ b/qcsrc/server/mutators/mutator/gamemode_ctf.qc @@ -1,3 +1,4 @@ +#include "gamemode_ctf.qh" #ifndef GAMEMODE_CTF_H #define GAMEMODE_CTF_H diff --git a/qcsrc/server/mutators/mutator/gamemode_ctf.qh b/qcsrc/server/mutators/mutator/gamemode_ctf.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_ctf.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_cts.qc b/qcsrc/server/mutators/mutator/gamemode_cts.qc index fed9a8920..ff5abeb9d 100644 --- a/qcsrc/server/mutators/mutator/gamemode_cts.qc +++ b/qcsrc/server/mutators/mutator/gamemode_cts.qc @@ -1,3 +1,4 @@ +#include "gamemode_cts.qh" #include #ifndef GAMEMODE_CTS_H diff --git a/qcsrc/server/mutators/mutator/gamemode_cts.qh b/qcsrc/server/mutators/mutator/gamemode_cts.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_cts.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_deathmatch.qc b/qcsrc/server/mutators/mutator/gamemode_deathmatch.qc index d05bc18bd..866370351 100644 --- a/qcsrc/server/mutators/mutator/gamemode_deathmatch.qc +++ b/qcsrc/server/mutators/mutator/gamemode_deathmatch.qc @@ -1,3 +1,4 @@ +#include "gamemode_deathmatch.qh" #ifndef GAMEMODE_DEATHMATCH_H #define GAMEMODE_DEATHMATCH_H diff --git a/qcsrc/server/mutators/mutator/gamemode_deathmatch.qh b/qcsrc/server/mutators/mutator/gamemode_deathmatch.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_deathmatch.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_domination.qc b/qcsrc/server/mutators/mutator/gamemode_domination.qc index 1c1620414..56111a34d 100644 --- a/qcsrc/server/mutators/mutator/gamemode_domination.qc +++ b/qcsrc/server/mutators/mutator/gamemode_domination.qc @@ -1,3 +1,4 @@ +#include "gamemode_domination.qh" #ifndef GAMEMODE_DOMINATION_H #define GAMEMODE_DOMINATION_H diff --git a/qcsrc/server/mutators/mutator/gamemode_domination.qh b/qcsrc/server/mutators/mutator/gamemode_domination.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_domination.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_freezetag.qc b/qcsrc/server/mutators/mutator/gamemode_freezetag.qc index 236ec2dd8..a451cf88a 100644 --- a/qcsrc/server/mutators/mutator/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/mutator/gamemode_freezetag.qc @@ -1,3 +1,4 @@ +#include "gamemode_freezetag.qh" #ifndef GAMEMODE_FREEZETAG_H #define GAMEMODE_FREEZETAG_H diff --git a/qcsrc/server/mutators/mutator/gamemode_freezetag.qh b/qcsrc/server/mutators/mutator/gamemode_freezetag.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_freezetag.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_invasion.qc b/qcsrc/server/mutators/mutator/gamemode_invasion.qc index 64b710f22..7b2972c84 100644 --- a/qcsrc/server/mutators/mutator/gamemode_invasion.qc +++ b/qcsrc/server/mutators/mutator/gamemode_invasion.qc @@ -1,3 +1,4 @@ +#include "gamemode_invasion.qh" #ifndef GAMEMODE_INVASION_H #define GAMEMODE_INVASION_H diff --git a/qcsrc/server/mutators/mutator/gamemode_invasion.qh b/qcsrc/server/mutators/mutator/gamemode_invasion.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_invasion.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_keepaway.qc b/qcsrc/server/mutators/mutator/gamemode_keepaway.qc index 073631e70..28270b885 100644 --- a/qcsrc/server/mutators/mutator/gamemode_keepaway.qc +++ b/qcsrc/server/mutators/mutator/gamemode_keepaway.qc @@ -1,3 +1,4 @@ +#include "gamemode_keepaway.qh" #ifndef GAMEMODE_KEEPAWAY_H #define GAMEMODE_KEEPAWAY_H diff --git a/qcsrc/server/mutators/mutator/gamemode_keepaway.qh b/qcsrc/server/mutators/mutator/gamemode_keepaway.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_keepaway.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc index 6720f053a..8e0bcd8ee 100644 --- a/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc +++ b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qc @@ -1,3 +1,4 @@ +#include "gamemode_keyhunt.qh" #ifndef GAMEMODE_KEYHUNT_H #define GAMEMODE_KEYHUNT_H diff --git a/qcsrc/server/mutators/mutator/gamemode_keyhunt.qh b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_keyhunt.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_lms.qc b/qcsrc/server/mutators/mutator/gamemode_lms.qc index cbca46300..4496b49ea 100644 --- a/qcsrc/server/mutators/mutator/gamemode_lms.qc +++ b/qcsrc/server/mutators/mutator/gamemode_lms.qc @@ -1,3 +1,4 @@ +#include "gamemode_lms.qh" #ifndef GAMEMODE_LMS_H #define GAMEMODE_LMS_H diff --git a/qcsrc/server/mutators/mutator/gamemode_lms.qh b/qcsrc/server/mutators/mutator/gamemode_lms.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_lms.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_race.qc b/qcsrc/server/mutators/mutator/gamemode_race.qc index 03ee6eaf9..7db3cde96 100644 --- a/qcsrc/server/mutators/mutator/gamemode_race.qc +++ b/qcsrc/server/mutators/mutator/gamemode_race.qc @@ -1,3 +1,4 @@ +#include "gamemode_race.qh" #ifndef GAMEMODE_RACE_H #define GAMEMODE_RACE_H diff --git a/qcsrc/server/mutators/mutator/gamemode_race.qh b/qcsrc/server/mutators/mutator/gamemode_race.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_race.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/mutators/mutator/gamemode_tdm.qc b/qcsrc/server/mutators/mutator/gamemode_tdm.qc index 0c17a479b..3167d603b 100644 --- a/qcsrc/server/mutators/mutator/gamemode_tdm.qc +++ b/qcsrc/server/mutators/mutator/gamemode_tdm.qc @@ -1,3 +1,4 @@ +#include "gamemode_tdm.qh" #ifndef GAMEMODE_TDM_H #define GAMEMODE_TDM_H diff --git a/qcsrc/server/mutators/mutator/gamemode_tdm.qh b/qcsrc/server/mutators/mutator/gamemode_tdm.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/mutators/mutator/gamemode_tdm.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/pathlib/costs.qc b/qcsrc/server/pathlib/costs.qc index 3e452f66e..6b89bb640 100644 --- a/qcsrc/server/pathlib/costs.qc +++ b/qcsrc/server/pathlib/costs.qc @@ -1,3 +1,4 @@ +#include "costs.qh" #include "pathlib.qh" float pathlib_g_static(entity parent,vector to, float static_cost) diff --git a/qcsrc/server/pathlib/costs.qh b/qcsrc/server/pathlib/costs.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/pathlib/costs.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/pathlib/debug.qc b/qcsrc/server/pathlib/debug.qc index abdfcbaed..16f31e6ef 100644 --- a/qcsrc/server/pathlib/debug.qc +++ b/qcsrc/server/pathlib/debug.qc @@ -1,3 +1,4 @@ +#include "debug.qh" #include "pathlib.qh" MODEL(SQUARE, "models/pathlib/square.md3"); diff --git a/qcsrc/server/pathlib/debug.qh b/qcsrc/server/pathlib/debug.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/pathlib/debug.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/pathlib/expandnode.qc b/qcsrc/server/pathlib/expandnode.qc index 1f095a785..972c09c97 100644 --- a/qcsrc/server/pathlib/expandnode.qc +++ b/qcsrc/server/pathlib/expandnode.qc @@ -1,3 +1,4 @@ +#include "expandnode.qh" #include "pathlib.qh" #include "utility.qh" diff --git a/qcsrc/server/pathlib/expandnode.qh b/qcsrc/server/pathlib/expandnode.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/pathlib/expandnode.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/pathlib/main.qc b/qcsrc/server/pathlib/main.qc index f25348057..d0c70b2b8 100644 --- a/qcsrc/server/pathlib/main.qc +++ b/qcsrc/server/pathlib/main.qc @@ -1,3 +1,4 @@ +#include "main.qh" #include "pathlib.qh" #include "utility.qh" diff --git a/qcsrc/server/pathlib/movenode.qc b/qcsrc/server/pathlib/movenode.qc index e3bcac61e..d1a4e68df 100644 --- a/qcsrc/server/pathlib/movenode.qc +++ b/qcsrc/server/pathlib/movenode.qc @@ -1,3 +1,4 @@ +#include "movenode.qh" #include "pathlib.qh" #include "utility.qh" diff --git a/qcsrc/server/pathlib/movenode.qh b/qcsrc/server/pathlib/movenode.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/pathlib/movenode.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/pathlib/path_waypoint.qc b/qcsrc/server/pathlib/path_waypoint.qc index 4c3a7a1aa..849514c37 100644 --- a/qcsrc/server/pathlib/path_waypoint.qc +++ b/qcsrc/server/pathlib/path_waypoint.qc @@ -1,3 +1,4 @@ +#include "path_waypoint.qh" #include "../bot/waypoints.qh" #include "pathlib.qh" diff --git a/qcsrc/server/pathlib/path_waypoint.qh b/qcsrc/server/pathlib/path_waypoint.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/pathlib/path_waypoint.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/playerdemo.qc b/qcsrc/server/playerdemo.qc index 69ad7d0c6..9e335a331 100644 --- a/qcsrc/server/playerdemo.qc +++ b/qcsrc/server/playerdemo.qc @@ -1,3 +1,4 @@ +#include "playerdemo.qh" #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) diff --git a/qcsrc/server/steerlib.qc b/qcsrc/server/steerlib.qc index 7e05e7c75..248001656 100644 --- a/qcsrc/server/steerlib.qc +++ b/qcsrc/server/steerlib.qc @@ -1,3 +1,4 @@ +#include "steerlib.qh" #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 4ecaedc5b..c94ff92d9 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -1,3 +1,4 @@ +#include "sv_main.qh" #include "anticheat.qh" #include "g_hook.qh" diff --git a/qcsrc/server/sv_main.qh b/qcsrc/server/sv_main.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/sv_main.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/t_halflife.qc b/qcsrc/server/t_halflife.qc index 043828200..771954245 100644 --- a/qcsrc/server/t_halflife.qc +++ b/qcsrc/server/t_halflife.qc @@ -1,3 +1,4 @@ +#include "t_halflife.qh" .float roomtype; .float radius; .float pitch; diff --git a/qcsrc/server/t_halflife.qh b/qcsrc/server/t_halflife.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/t_halflife.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/t_quake.qc b/qcsrc/server/t_quake.qc index 29de5d4c7..c41f8ccf8 100644 --- a/qcsrc/server/t_quake.qc +++ b/qcsrc/server/t_quake.qc @@ -1,3 +1,4 @@ +#include "t_quake.qh" #include "../common/weapons/all.qh" diff --git a/qcsrc/server/t_quake.qh b/qcsrc/server/t_quake.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/t_quake.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/server/t_quake3.qc b/qcsrc/server/t_quake3.qc index 4ea7a3348..d6f3559cd 100644 --- a/qcsrc/server/t_quake3.qc +++ b/qcsrc/server/t_quake3.qc @@ -1,3 +1,4 @@ +#include "t_quake3.qh" #include "../common/weapons/all.qh" diff --git a/qcsrc/server/t_quake3.qh b/qcsrc/server/t_quake3.qh new file mode 100644 index 000000000..6f70f09be --- /dev/null +++ b/qcsrc/server/t_quake3.qh @@ -0,0 +1 @@ +#pragma once diff --git a/qcsrc/test/compilationunit.sh b/qcsrc/test/compilationunit.sh deleted file mode 100755 index dfe7181ae..000000000 --- a/qcsrc/test/compilationunit.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -set -eu -cd "$(dirname "$0")" -cd .. - -declare -a NOWARN=( - -Wno-field-redeclared - -Wno-unused-variable - -Wno-implicit-function-pointer -) -declare QCC=../../../gmqcc/gmqcc - -declare -a QCC_FLAGS=( - -std=gmqcc - -Wall -Werror - -fftepp -fftepp-predefs -Wcpp - -futf8 - -freturn-assignments - -frelaxed-switch - -Ooverlap-locals -) - -function check() { - declare -l base="${1}" - declare -la predefs=("-D${2}" "lib/_all.inc" "${base}/_all.qh") - find "$base" -type f -name '*.qc' -print0 | sort -z | while read -r -d '' file; do - echo "$file" - ${QCC} "${QCC_FLAGS[@]}" "${NOWARN[@]}" "${predefs[@]}" "$file" >/dev/null - done -} - -check client CSQC -check server SVQC -check menu MENUQC diff --git a/qcsrc/test/compilationunits.sh b/qcsrc/test/compilationunits.sh new file mode 100755 index 000000000..98ea3c6f3 --- /dev/null +++ b/qcsrc/test/compilationunits.sh @@ -0,0 +1,34 @@ +#!/bin/bash +set -eu +cd "$(dirname "$0")" +cd .. + +declare -a NOWARN=( + -Wno-field-redeclared + -Wno-unused-variable + -Wno-implicit-function-pointer +) +declare QCC=../../../gmqcc/gmqcc + +declare -a QCC_FLAGS=( + -std=gmqcc + -Wall -Werror + -fftepp -fftepp-predefs -Wcpp + -futf8 + -freturn-assignments + -frelaxed-switch + -Ooverlap-locals +) + +function check() { + declare -l base="${1}" + declare -la predefs=("-D${2}" "lib/_all.inc" "${base}/_all.qh") + find "$base" -type f -name '*.qc' -print0 | sort -z | while read -r -d '' file; do + echo "$file" + ${QCC} "${QCC_FLAGS[@]}" "${NOWARN[@]}" "${predefs[@]}" "$file" >/dev/null + done +} + +check client CSQC +check server SVQC +check menu MENUQC diff --git a/qcsrc/test/headerstyle.sh b/qcsrc/test/headerstyle.sh new file mode 100755 index 000000000..ef1731592 --- /dev/null +++ b/qcsrc/test/headerstyle.sh @@ -0,0 +1,35 @@ +#!/bin/bash +set -eu +cd "$(dirname "$0")" +cd .. + +function startswith() { + declare -l file="${1}" + declare -l prelude="${2}" + declare -l line=$(head -n1 "$file") + if [ "$line" != "$prelude" ]; then + echo "$prelude" | cat - "$file" > "$file.tmp" && mv "$file.tmp" "$file" + fi +} + +function check() { + declare -l base="${1}" + find "$base" -type f -name '*.qc' -print0 | sort -z | while read -r -d '' file; do + echo "$file" + declare -l file_h="${file%.qc}.qh" + if [ ! -f "$file_h" ]; then echo "#pragma once" > "$file_h"; fi + + include=$(basename "$file") + include="${include%.qc}.qh" + include="#include \"${include}\"" + startswith "$file" "$include" + done + find "$base" -type f -name '*.qh' -print0 | sort -z | while read -r -d '' file; do + echo "$file" + startswith "$file" "#pragma once" + done +} + +check client +check server +check menu