From: TimePath Date: Sat, 5 Aug 2017 11:10:39 +0000 (+1000) Subject: menu: remove _all X-Git-Tag: xonotic-v0.8.5~2538 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12ec94b091fa7c9a8b35aac8f6db97bc7c7ccda0;p=xonotic%2Fxonotic-data.pk3dir.git menu: remove _all --- diff --git a/qcsrc/menu/_all.inc b/qcsrc/menu/_all.inc deleted file mode 100644 index e5198f591..000000000 --- a/qcsrc/menu/_all.inc +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include "_mod.inc" - -#include "anim/_mod.inc" -#include "command/_mod.inc" -#include "item/_mod.inc" -#include "mutators/_mod.inc" -#include "xonotic/_mod.inc" - -#include diff --git a/qcsrc/menu/_all.qh b/qcsrc/menu/_all.qh deleted file mode 100644 index 21f784e32..000000000 --- a/qcsrc/menu/_all.qh +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -#include "draw.qh" -#include "xonotic/util.qh" -#include "menu.qh" diff --git a/qcsrc/menu/_mod.inc b/qcsrc/menu/_mod.inc index e1a26e76b..d2a8d702f 100644 --- a/qcsrc/menu/_mod.inc +++ b/qcsrc/menu/_mod.inc @@ -3,3 +3,9 @@ #include #include #include + +#include +#include +#include +#include +#include diff --git a/qcsrc/menu/_mod.qh b/qcsrc/menu/_mod.qh index a5fe87d3e..da8675831 100644 --- a/qcsrc/menu/_mod.qh +++ b/qcsrc/menu/_mod.qh @@ -3,3 +3,9 @@ #include #include #include + +#include +#include +#include +#include +#include diff --git a/qcsrc/menu/item.qh b/qcsrc/menu/item.qh index 00dae2ed3..a5df52680 100644 --- a/qcsrc/menu/item.qh +++ b/qcsrc/menu/item.qh @@ -2,6 +2,8 @@ // convenience #include "skin.qh" +#include "draw.qh" +#include "menu.qh" CLASS(Item, Object) METHOD(Item, draw, void(Item)); diff --git a/qcsrc/menu/progs.inc b/qcsrc/menu/progs.inc index 404c6f2e5..e5b6fb98d 100644 --- a/qcsrc/menu/progs.inc +++ b/qcsrc/menu/progs.inc @@ -1,7 +1,11 @@ #include #if XONOTIC -#include + +#include "_mod.inc" + +#include + #endif #ifdef BUILD_MOD