From 347acd38e16a344aeb51453f9db16d98ecb7a44d Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 19 Oct 2020 07:56:17 +1000 Subject: [PATCH] Include the new headers in mod files --- qcsrc/menu/xonotic/_mod.inc | 2 ++ qcsrc/menu/xonotic/_mod.qh | 2 ++ qcsrc/menu/xonotic/dialog_multiplayer_media.qc | 3 +++ 3 files changed, 7 insertions(+) diff --git a/qcsrc/menu/xonotic/_mod.inc b/qcsrc/menu/xonotic/_mod.inc index 0f9a960c92..9b895e4f83 100644 --- a/qcsrc/menu/xonotic/_mod.inc +++ b/qcsrc/menu/xonotic/_mod.inc @@ -119,3 +119,5 @@ #include #include #include + +#include diff --git a/qcsrc/menu/xonotic/_mod.qh b/qcsrc/menu/xonotic/_mod.qh index 2bb4ccead2..412dd7e760 100644 --- a/qcsrc/menu/xonotic/_mod.qh +++ b/qcsrc/menu/xonotic/_mod.qh @@ -119,3 +119,5 @@ #include #include #include + +#include diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media.qc index bc379d3b93..f337221fc5 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media.qc @@ -7,6 +7,8 @@ #include "dialog_multiplayer_media_demo_timeconfirm.qh" #include "dialog_multiplayer_media_demo_startconfirm.qh" +#include + #include "tabcontroller.qh" entity makeXonoticMediaTab() @@ -22,6 +24,7 @@ void XonoticMediaTab_fill(entity me) mc = makeXonoticTabController(me.rows - 2); me.gotoRC(me, 0.5, 0); + me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Guide"), NEW(XonoticGuideTab))); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Demos"), makeXonoticDemoBrowserTab())); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Screenshots"), makeXonoticScreenshotBrowserTab())); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Music Player"), makeXonoticMusicPlayerTab())); -- 2.39.2