- fixed compilation of Linux targets

This commit is contained in:
alexey.lysiuk 2020-04-12 11:03:01 +03:00
parent 91914b728b
commit f0ca7fb213
3 changed files with 10 additions and 1 deletions

View file

@ -113,6 +113,10 @@
#include "scriptutil.h"
#include "v_palette.h"
#ifdef __unix__
#include "i_system.h" // for SHARE_DIR
#endif // __unix__
EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Int, vr_mode)
EXTERN_CVAR(Bool, cl_customizeinvulmap)

View file

@ -94,6 +94,10 @@ Everything that is changed is marked (maybe commented) with "Added by MC"
#include "vm.h"
#include "g_levellocals.h"
#if !defined _WIN32 && !defined __APPLE__
#include "i_system.h" // for SHARE_DIR
#endif // !_WIN32 && !__APPLE__
static FRandom pr_botspawn ("BotSpawn");
cycle_t BotThinkCycles, BotSupportCycles;

View file

@ -40,6 +40,7 @@
#include "d_main.h"
#include "d_event.h"
#include "d_gui.h"
#include "c_buttons.h"
#include "c_console.h"
#include "c_dispatch.h"
#include "dikeys.h"
@ -191,7 +192,7 @@ static void I_CheckGUICapture ()
if (wantCapt != GUICapture)
{
GUICapture = wantCapt;
ResetButtonStates();
buttonMap.ResetButtonStates();
}
}