fix sdl2_compat build (#2173)

This commit is contained in:
Roman Fomin 2025-01-31 12:13:57 +07:00 committed by GitHub
parent 7615b58c45
commit 6afcfb206e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 18 additions and 3 deletions

View File

@ -16,6 +16,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "d_iwad.h"
#include "doomdef.h"

View File

@ -15,6 +15,8 @@
// Exit text-mode ENDOOM screen.
//
#include <string.h>
#include "doomtype.h"
#include "i_printf.h"
#include "i_video.h"

View File

@ -25,10 +25,12 @@
//
//----------------------------------------------------------------------------
#include "g_game.h"
#include <math.h>
#include <string.h>
#include "i_flickstick.h"
#include "doomstat.h"
#include "i_gamepad.h"
#include "i_input.h"
#include "m_config.h"
#define MAX_F 0.999999f

View File

@ -17,6 +17,7 @@
#include "SDL.h"
#include <math.h>
#include <string.h>
#include "g_game.h"
#include "i_flickstick.h"

View File

@ -17,6 +17,8 @@
#include "SDL.h"
#include <string.h>
#include "d_event.h"
#include "d_main.h"
#include "doomkeys.h"

View File

@ -19,6 +19,8 @@
#include "al.h"
#include "alext.h"
#include <string.h>
#include "doomstat.h"
#include "doomtype.h"
#include "i_oalcommon.h"

View File

@ -28,7 +28,6 @@
#include "m_config.h"
#include "p_mobj.h"
#include "sounds.h"
#include "w_wad.h"
#define MAX_RUMBLE_COUNT 4
#define MAX_RUMBLE_SDL 0xFFFF

View File

@ -26,6 +26,7 @@
#include "SDL.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -13,6 +13,9 @@
// GNU General Public License for more details.
//
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "hu_command.h"

View File

@ -20,6 +20,7 @@
//
//-----------------------------------------------------------------------------
#include <math.h>
#include <stdlib.h>
#include "am_map.h"

View File

@ -15,6 +15,7 @@
// Routines for selecting files.
//
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>