mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- fixed compilation of Linux targets
This commit is contained in:
parent
91914b728b
commit
f0ca7fb213
3 changed files with 10 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue