From: Mario Date: Sun, 18 Oct 2020 21:56:17 +0000 (+1000) Subject: Include the new headers in mod files X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=347acd38e16a344aeb51453f9db16d98ecb7a44d;p=xonotic%2Fxonotic-data.pk3dir.git Include the new headers in mod files --- 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()));