From: TimePath Date: Sat, 7 Apr 2018 13:45:30 +0000 (+1000) Subject: Fix compilation units X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=045974328671970f4ec351d0c6f65010fe45dfe4;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation units --- diff --git a/qcsrc/menu/modules/chat/commands.qc b/qcsrc/menu/modules/chat/commands.qc index b84ef7226..03e779e15 100644 --- a/qcsrc/menu/modules/chat/commands.qc +++ b/qcsrc/menu/modules/chat/commands.qc @@ -35,6 +35,8 @@ GENERIC_COMMAND(notice, "Append a notice to chat") } } +void m_goto(string name); + GENERIC_COMMAND(commandmode, "input a console command") { switch(request) diff --git a/qcsrc/menu/modules/chat/dialog.qc b/qcsrc/menu/modules/chat/dialog.qc index 681a698f8..68930bb7b 100644 --- a/qcsrc/menu/modules/chat/dialog.qc +++ b/qcsrc/menu/modules/chat/dialog.qc @@ -1,6 +1,9 @@ #include "dialog.qh" #include +#include + +#include "state.qh" CLASS(XonoticChatList, XonoticListBox) ATTRIB(XonoticChatList, rowsPerItem, int, 1); diff --git a/qcsrc/menu/xonotic/mainwindow.qc b/qcsrc/menu/xonotic/mainwindow.qc index ef1f011fb..5c22e249c 100644 --- a/qcsrc/menu/xonotic/mainwindow.qc +++ b/qcsrc/menu/xonotic/mainwindow.qc @@ -1,6 +1,7 @@ #include "mainwindow.qh" #include "../mutators/events.qh" +#include #include "nexposee.qh" #include "inputbox.qh"