diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h index fc35a419..88dce0c0 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h index b38f928a..8baecb63 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h index b2287748..deee35f9 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -162,12 +162,29 @@ extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void); #define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("dmb ish" : : : "memory") #define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("dmb ish" : : : "memory") #elif defined(__GNUC__) && defined(__arm__) -#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) +#if 0 /* defined(__LINUX__) || defined(__ANDROID__) */ +/* Information from: + https://chromium.googlesource.com/chromium/chromium/+/trunk/base/atomicops_internals_arm_gcc.h#19 + + The Linux kernel provides a helper function which provides the right code for a memory barrier, + hard-coded at address 0xffff0fa0 +*/ +typedef void (*SDL_KernelMemoryBarrierFunc)(); +#define SDL_MemoryBarrierRelease() ((SDL_KernelMemoryBarrierFunc)0xffff0fa0)() +#define SDL_MemoryBarrierAcquire() ((SDL_KernelMemoryBarrierFunc)0xffff0fa0)() +#elif 0 /* defined(__QNXNTO__) */ +#include + +#define SDL_MemoryBarrierRelease() __cpu_membarrier() +#define SDL_MemoryBarrierAcquire() __cpu_membarrier() +#else +#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) || defined(__ARM_ARCH_8A__) #define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("dmb ish" : : : "memory") #define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("dmb ish" : : : "memory") #elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__) #ifdef __thumb__ /* The mcr instruction isn't available in thumb mode, use real functions */ +#define SDL_MEMORY_BARRIER_USES_FUNCTION #define SDL_MemoryBarrierRelease() SDL_MemoryBarrierReleaseFunction() #define SDL_MemoryBarrierAcquire() SDL_MemoryBarrierAcquireFunction() #else @@ -177,6 +194,7 @@ extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void); #else #define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("" : : : "memory") #define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("" : : : "memory") +#endif /* __LINUX__ || __ANDROID__ */ #endif /* __GNUC__ && __arm__ */ #else #if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120)) diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h index d3e1bfac..305c01a9 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -420,23 +420,56 @@ extern DECLSPEC void SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev, /* @} *//* Pause audio functions */ /** - * This function loads a WAVE from the data source, automatically freeing - * that source if \c freesrc is non-zero. For example, to load a WAVE file, - * you could do: + * \brief Load the audio data of a WAVE file into memory + * + * Loading a WAVE file requires \c src, \c spec, \c audio_buf and \c audio_len + * to be valid pointers. The entire data portion of the file is then loaded + * into memory and decoded if necessary. + * + * If \c freesrc is non-zero, the data source gets automatically closed and + * freed before the function returns. + * + * Supported are RIFF WAVE files with the formats PCM (8, 16, 24, and 32 bits), + * IEEE Float (32 bits), Microsoft ADPCM and IMA ADPCM (4 bits), and A-law and + * ยต-law (8 bits). Other formats are currently unsupported and cause an error. + * + * If this function succeeds, the pointer returned by it is equal to \c spec + * and the pointer to the audio data allocated by the function is written to + * \c audio_buf and its length in bytes to \c audio_len. The \ref SDL_AudioSpec + * members \c freq, \c channels, and \c format are set to the values of the + * audio data in the buffer. The \c samples member is set to a sane default and + * all others are set to zero. + * + * It's necessary to use SDL_FreeWAV() to free the audio data returned in + * \c audio_buf when it is no longer used. + * + * Because of the underspecification of the Waveform format, there are many + * problematic files in the wild that cause issues with strict decoders. To + * provide compatibility with these files, this decoder is lenient in regards + * to the truncation of the file, the fact chunk, and the size of the RIFF + * chunk. The hints SDL_HINT_WAVE_RIFF_CHUNK_SIZE, SDL_HINT_WAVE_TRUNCATION, + * and SDL_HINT_WAVE_FACT_CHUNK can be used to tune the behavior of the + * loading process. + * + * Any file that is invalid (due to truncation, corruption, or wrong values in + * the headers), too big, or unsupported causes an error. Additionally, any + * critical I/O error from the data source will terminate the loading process + * with an error. The function returns NULL on error and in all cases (with the + * exception of \c src being NULL), an appropriate error message will be set. + * + * It is required that the data source supports seeking. + * + * Example: * \code * SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); * \endcode * - * If this function succeeds, it returns the given SDL_AudioSpec, - * filled with the audio data format of the wave data, and sets - * \c *audio_buf to a malloc()'d buffer containing the audio data, - * and sets \c *audio_len to the length of that audio buffer, in bytes. - * You need to free the audio buffer with SDL_FreeWAV() when you are - * done with it. - * - * This function returns NULL and sets the SDL error message if the - * wave file cannot be opened, uses an unknown data format, or is - * corrupt. Currently raw and MS-ADPCM WAVE files are supported. + * \param src The data source with the WAVE data + * \param freesrc A integer value that makes the function close the data source if non-zero + * \param spec A pointer filled with the audio format of the audio data + * \param audio_buf A pointer filled with the audio data allocated by the function + * \param audio_len A pointer filled with the length of the audio data buffer in bytes + * \return NULL on error, or non-NULL on success. */ extern DECLSPEC SDL_AudioSpec *SDLCALL SDL_LoadWAV_RW(SDL_RWops * src, int freesrc, diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h index eb8322f0..b116cc8d 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -101,6 +101,15 @@ SDL_MostSignificantBitIndex32(Uint32 x) #endif } +SDL_FORCE_INLINE SDL_bool +SDL_HasExactlyOneBitSet32(Uint32 x) +{ + if (x && !(x & (x - 1))) { + return SDL_TRUE; + } + return SDL_FALSE; +} + /* Ends C function definitions when using C++ */ #ifdef __cplusplus } diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h index 36a5ea76..6f0a22b9 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -90,12 +90,12 @@ typedef enum /** * \brief Create a custom blend mode, which may or may not be supported by a given renderer * - * \param srcColorFactor - * \param dstColorFactor - * \param colorOperation - * \param srcAlphaFactor - * \param dstAlphaFactor - * \param alphaOperation + * \param srcColorFactor source color factor + * \param dstColorFactor destination color factor + * \param colorOperation color operation + * \param srcAlphaFactor source alpha factor + * \param dstAlphaFactor destination alpha factor + * \param alphaOperation alpha operation * * The result of the blend mode operation will be: * dstRGB = dstRGB * dstColorFactor colorOperation srcRGB * srcColorFactor diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h index f28751eb..c4f8766c 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h index 32f4113f..7d62d3e2 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h index 9ebd4a33..c494b2e3 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -218,7 +218,7 @@ #endif /* Enable Vulkan support */ -/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */ +/* Metal/Vulkan Portability only supported on 64-bit architectures with 10.11+ */ #if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) #define SDL_VIDEO_VULKAN 1 #else diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_copying.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_copying.h index 15616ace..1ef18cd1 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_copying.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_copying.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h index ee3a47e8..296df01a 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -41,24 +41,43 @@ #else #include #ifndef _WIN64 +#ifndef __MMX__ #define __MMX__ +#endif +#ifndef __3dNOW__ #define __3dNOW__ #endif +#endif +#ifndef __SSE__ #define __SSE__ +#endif +#ifndef __SSE2__ #define __SSE2__ +#endif #endif /* __clang__ */ #elif defined(__MINGW64_VERSION_MAJOR) #include #else -#ifdef __ALTIVEC__ -#if defined(HAVE_ALTIVEC_H) && !defined(__APPLE_ALTIVEC__) && !defined(SDL_DISABLE_ALTIVEC_H) +/* altivec.h redefining bool causes a number of problems, see bugs 3993 and 4392, so you need to explicitly define SDL_ENABLE_ALTIVEC_H to have it included. */ +#if defined(HAVE_ALTIVEC_H) && defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC_H) #include -#undef pixel -#undef bool #endif -#endif -#if defined(__ARM_NEON__) && !defined(SDL_DISABLE_ARM_NEON_H) -#include +#if !defined(SDL_DISABLE_ARM_NEON_H) +# if defined(__ARM_NEON) +# include +# elif defined(__WINDOWS__) || defined(__WINRT__) +/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */ +# if defined(_M_ARM) +# include +# include +# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */ +# endif +# if defined (_M_ARM64) +# include +# include +# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */ +# endif +# endif #endif #if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H) #include @@ -177,6 +196,69 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void); */ extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void); +/** + * \brief Report the alignment this system needs for SIMD allocations. + * + * This will return the minimum number of bytes to which a pointer must be + * aligned to be compatible with SIMD instructions on the current machine. + * For example, if the machine supports SSE only, it will return 16, but if + * it supports AVX-512F, it'll return 64 (etc). This only reports values for + * instruction sets SDL knows about, so if your SDL build doesn't have + * SDL_HasAVX512F(), then it might return 16 for the SSE support it sees and + * not 64 for the AVX-512 instructions that exist but SDL doesn't know about. + * Plan accordingly. + */ +extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void); + +/** + * \brief Allocate memory in a SIMD-friendly way. + * + * This will allocate a block of memory that is suitable for use with SIMD + * instructions. Specifically, it will be properly aligned and padded for + * the system's supported vector instructions. + * + * The memory returned will be padded such that it is safe to read or write + * an incomplete vector at the end of the memory block. This can be useful + * so you don't have to drop back to a scalar fallback at the end of your + * SIMD processing loop to deal with the final elements without overflowing + * the allocated buffer. + * + * You must free this memory with SDL_FreeSIMD(), not free() or SDL_free() + * or delete[], etc. + * + * Note that SDL will only deal with SIMD instruction sets it is aware of; + * for example, SDL 2.0.8 knows that SSE wants 16-byte vectors + * (SDL_HasSSE()), and AVX2 wants 32 bytes (SDL_HasAVX2()), but doesn't + * know that AVX-512 wants 64. To be clear: if you can't decide to use an + * instruction set with an SDL_Has*() function, don't use that instruction + * set with memory allocated through here. + * + * SDL_AllocSIMD(0) will return a non-NULL pointer, assuming the system isn't + * out of memory. + * + * \param len The length, in bytes, of the block to allocated. The actual + * allocated block might be larger due to padding, etc. + * \return Pointer to newly-allocated block, NULL if out of memory. + * + * \sa SDL_SIMDAlignment + * \sa SDL_SIMDFree + */ +extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len); + +/** + * \brief Deallocate memory obtained from SDL_SIMDAlloc + * + * It is not valid to use this function on a pointer from anything but + * SDL_SIMDAlloc(). It can't be used on pointers from malloc, realloc, + * SDL_malloc, memalign, new[], etc. + * + * However, SDL_SIMDFree(NULL) is a legal no-op. + * + * \sa SDL_SIMDAlloc + */ +extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr); + +/* vi: set ts=4 sw=4 expandtab: */ /* Ends C function definitions when using C++ */ #ifdef __cplusplus } diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h index ed0bf5ba..54d5d486 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h index c0e46298..24416e69 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h index af22eb64..282b9fb7 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -594,6 +594,9 @@ typedef union SDL_Event Uint8 padding[56]; } SDL_Event; +/* Make sure we haven't broken binary compatibility */ +SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56); + /* Function prototypes */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h index fa6a1fa6..6d97e589 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h index 6ae9c954..ebde3871 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h index b223d80d..9d25e9c1 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h index 2ea1bfc1..07562768 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h index 4ee72e97..8fa0dd66 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -315,6 +315,16 @@ extern "C" { */ #define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS" +/** + * \brief A variable controlling whether mouse events should generate synthetic touch events + * + * This variable can be set to the following values: + * "0" - Mouse events will not generate touch events (default for desktop platforms) + * "1" - Mouse events will generate touch events (default for mobile platforms, such as Android and iOS) + */ + +#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS" + /** * \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true. * @@ -436,6 +446,16 @@ extern "C" { */ #define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG" +/** + * \brief A variable that lets you provide a file with extra gamecontroller db entries. + * + * The file should contain lines of gamecontroller config data, see SDL_gamecontroller.h + * + * This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER) + * You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping() + */ +#define SDL_HINT_GAMECONTROLLERCONFIG_FILE "SDL_GAMECONTROLLERCONFIG_FILE" + /** * \brief A variable containing a list of devices to skip when scanning for game controllers. * @@ -836,19 +856,7 @@ extern "C" { */ #define SDL_HINT_IME_INTERNAL_EDITING "SDL_IME_INTERNAL_EDITING" - /** - * \brief A variable to control whether mouse and touch events are to be treated together or separately - * - * The variable can be set to the following values: - * "0" - Mouse events will be handled as touch events, and touch will raise fake mouse - * events. This is the behaviour of SDL <= 2.0.3. (default) - * "1" - Mouse events will be handled separately from pure touch events. - * - * The value of this hint is used at runtime, so it can be changed at any time. - */ -#define SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH "SDL_ANDROID_SEPARATE_MOUSE_AND_TOUCH" - - /** +/** * \brief A variable to control whether we trap the Android back button to handle it manually. * This is necessary for the right mouse button to work on some Android devices, or * to be able to trap the back button for use in your code reliably. If set to true, @@ -865,6 +873,17 @@ extern "C" { */ #define SDL_HINT_ANDROID_TRAP_BACK_BUTTON "SDL_ANDROID_TRAP_BACK_BUTTON" +/** + * \brief A variable to control whether the event loop will block itself when the app is paused. + * + * The variable can be set to the following values: + * "0" - Non blocking. + * "1" - Blocking. (default) + * + * The value should be set before SDL is initialized. + */ +#define SDL_HINT_ANDROID_BLOCK_ON_PAUSE "SDL_ANDROID_BLOCK_ON_PAUSE" + /** * \brief A variable to control whether the return key on the soft keyboard * should hide the soft keyboard on Android and iOS. @@ -1043,6 +1062,118 @@ extern "C" { */ #define SDL_HINT_AUDIO_CATEGORY "SDL_AUDIO_CATEGORY" +/** + * \brief A variable controlling whether the 2D render API is compatible or efficient. + * + * This variable can be set to the following values: + * + * "0" - Don't use batching to make rendering more efficient. + * "1" - Use batching, but might cause problems if app makes its own direct OpenGL calls. + * + * Up to SDL 2.0.9, the render API would draw immediately when requested. Now + * it batches up draw requests and sends them all to the GPU only when forced + * to (during SDL_RenderPresent, when changing render targets, by updating a + * texture that the batch needs, etc). This is significantly more efficient, + * but it can cause problems for apps that expect to render on top of the + * render API's output. As such, SDL will disable batching if a specific + * render backend is requested (since this might indicate that the app is + * planning to use the underlying graphics API directly). This hint can + * be used to explicitly request batching in this instance. It is a contract + * that you will either never use the underlying graphics API directly, or + * if you do, you will call SDL_RenderFlush() before you do so any current + * batch goes to the GPU before your work begins. Not following this contract + * will result in undefined behavior. + */ +#define SDL_HINT_RENDER_BATCHING "SDL_RENDER_BATCHING" + + +/** + * \brief A variable controlling whether SDL logs all events pushed onto its internal queue. + * + * This variable can be set to the following values: + * + * "0" - Don't log any events (default) + * "1" - Log all events except mouse and finger motion, which are pretty spammy. + * "2" - Log all events. + * + * This is generally meant to be used to debug SDL itself, but can be useful + * for application developers that need better visibility into what is going + * on in the event queue. Logged events are sent through SDL_Log(), which + * means by default they appear on stdout on most platforms or maybe + * OutputDebugString() on Windows, and can be funneled by the app with + * SDL_LogSetOutputFunction(), etc. + * + * This hint can be toggled on and off at runtime, if you only need to log + * events for a small subset of program execution. + */ +#define SDL_HINT_EVENT_LOGGING "SDL_EVENT_LOGGING" + + + +/** + * \brief Controls how the size of the RIFF chunk affects the loading of a WAVE file. + * + * The size of the RIFF chunk (which includes all the sub-chunks of the WAVE + * file) is not always reliable. In case the size is wrong, it's possible to + * just ignore it and step through the chunks until a fixed limit is reached. + * + * Note that files that have trailing data unrelated to the WAVE file or + * corrupt files may slow down the loading process without a reliable boundary. + * By default, SDL stops after 10000 chunks to prevent wasting time. Use the + * environment variable SDL_WAVE_CHUNK_LIMIT to adjust this value. + * + * This variable can be set to the following values: + * + * "force" - Always use the RIFF chunk size as a boundary for the chunk search + * "ignorezero" - Like "force", but a zero size searches up to 4 GiB (default) + * "ignore" - Ignore the RIFF chunk size and always search up to 4 GiB + * "maximum" - Search for chunks until the end of file (not recommended) + */ +#define SDL_HINT_WAVE_RIFF_CHUNK_SIZE "SDL_WAVE_RIFF_CHUNK_SIZE" + +/** + * \brief Controls how a truncated WAVE file is handled. + * + * A WAVE file is considered truncated if any of the chunks are incomplete or + * the data chunk size is not a multiple of the block size. By default, SDL + * decodes until the first incomplete block, as most applications seem to do. + * + * This variable can be set to the following values: + * + * "verystrict" - Raise an error if the file is truncated + * "strict" - Like "verystrict", but the size of the RIFF chunk is ignored + * "dropframe" - Decode until the first incomplete sample frame + * "dropblock" - Decode until the first incomplete block (default) + */ +#define SDL_HINT_WAVE_TRUNCATION "SDL_WAVE_TRUNCATION" + +/** + * \brief Controls how the fact chunk affects the loading of a WAVE file. + * + * The fact chunk stores information about the number of samples of a WAVE + * file. The Standards Update from Microsoft notes that this value can be used + * to 'determine the length of the data in seconds'. This is especially useful + * for compressed formats (for which this is a mandatory chunk) if they produce + * multiple sample frames per block and truncating the block is not allowed. + * The fact chunk can exactly specify how many sample frames there should be + * in this case. + * + * Unfortunately, most application seem to ignore the fact chunk and so SDL + * ignores it by default as well. + * + * This variable can be set to the following values: + * + * "truncate" - Use the number of samples to truncate the wave data if + * the fact chunk is present and valid + * "strict" - Like "truncate", but raise an error if the fact chunk + * is invalid, not present for non-PCM formats, or if the + * data chunk doesn't have that many samples + * "ignorezero" - Like "truncate", but ignore fact chunk if the number of + * samples is zero + * "ignore" - Ignore fact chunk entirely (default) + */ +#define SDL_HINT_WAVE_FACT_CHUNK "SDL_WAVE_FACT_CHUNK" + /** * \brief An enumeration of hint priorities */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h index 6e05a9c2..3a4c5d17 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h index 87482317..4b2a055d 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h index d7d5b1db..3bceb418 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h index da56fb45..793ba535 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h index e12b6588..40f768d5 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h index 98558217..623f2d00 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -55,6 +55,10 @@ /* On iOS SDL provides a main function that creates an application delegate and starts the iOS application run loop. + If you link with SDL dynamically on iOS, the main function can't be in a + shared library, so you need to link with libSDLmain.a, which includes a + stub main function that calls into the shared library to start execution. + See src/video/uikit/SDL_uikitappdelegate.m for more details. */ #define SDL_MAIN_NEEDED @@ -82,12 +86,6 @@ #endif #endif /* SDL_MAIN_HANDLED */ -#ifdef __cplusplus -#define C_LINKAGE "C" -#else -#define C_LINKAGE -#endif /* __cplusplus */ - #ifndef SDLMAIN_DECLSPEC #define SDLMAIN_DECLSPEC #endif @@ -111,17 +109,18 @@ #define main SDL_main #endif -/** - * The prototype for the application's main() function - */ -extern C_LINKAGE SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]); - - #include "begin_code.h" #ifdef __cplusplus extern "C" { #endif +/** + * The prototype for the application's main() function + */ +typedef int (*SDL_main_func)(int argc, char *argv[]); +extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]); + + /** * This is called by the real SDL main function to let the rest of the * library know that initialization was done properly. @@ -136,8 +135,7 @@ extern DECLSPEC void SDLCALL SDL_SetMainReady(void); /** * This can be called to set the application class at startup */ -extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, - void *hInst); +extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst); extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); #endif /* __WIN32__ */ @@ -153,10 +151,24 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); * \return 0 on success, -1 on failure. On failure, use SDL_GetError to retrieve more * information on the failure. */ -extern DECLSPEC int SDLCALL SDL_WinRTRunApp(int (*mainFunction)(int, char **), void * reserved); +extern DECLSPEC int SDLCALL SDL_WinRTRunApp(SDL_main_func mainFunction, void * reserved); #endif /* __WINRT__ */ +#if defined(__IPHONEOS__) + +/** + * \brief Initializes and launches an SDL application. + * + * \param argc The argc parameter from the application's main() function + * \param argv The argv parameter from the application's main() function + * \param mainFunction The SDL app's C-style main(). + * \return the return value from mainFunction + */ +extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_func mainFunction); + +#endif /* __IPHONEOS__ */ + #ifdef __cplusplus } diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h index b7be59d8..e34b5547 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h index d3c9f615..277559d2 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h index ba4247ce..970e7871 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_name.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_name.h index ecd863f4..690a8199 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_name.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_name.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h index 253d9c93..6685be73 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h index 18dd984b..1e0660c3 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h index 6ccecf21..df29d384 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h index 0b4364b1..dcb7a980 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -168,7 +168,7 @@ enum ((format) && (SDL_PIXELFLAG(format) != 1)) /* Note: If you modify this list, update SDL_GetPixelFormatName() */ -enum +typedef enum { SDL_PIXELFORMAT_UNKNOWN, SDL_PIXELFORMAT_INDEX1LSB = @@ -290,7 +290,7 @@ enum SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1'), SDL_PIXELFORMAT_EXTERNAL_OES = /**< Android video texture format */ SDL_DEFINE_PIXELFOURCC('O', 'E', 'S', ' ') -}; +} SDL_PixelFormatEnum; typedef struct SDL_Color { diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h index 7dea4ce9..c2cbc6b4 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h index a4fe8a93..4831cb77 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h index fea56a8d..c979983c 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h index 543bb618..71a41151 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -40,7 +40,7 @@ extern "C" { #endif /** - * \brief The structure that defines a point + * \brief The structure that defines a point (integer) * * \sa SDL_EnclosePoints * \sa SDL_PointInRect @@ -52,7 +52,20 @@ typedef struct SDL_Point } SDL_Point; /** - * \brief A rectangle, with the origin at the upper left. + * \brief The structure that defines a point (floating point) + * + * \sa SDL_EnclosePoints + * \sa SDL_PointInRect + */ +typedef struct SDL_FPoint +{ + float x; + float y; +} SDL_FPoint; + + +/** + * \brief A rectangle, with the origin at the upper left (integer). * * \sa SDL_RectEmpty * \sa SDL_RectEquals @@ -67,6 +80,19 @@ typedef struct SDL_Rect int w, h; } SDL_Rect; + +/** + * \brief A rectangle, with the origin at the upper left (floating point). + */ +typedef struct SDL_FRect +{ + float x; + float y; + float w; + float h; +} SDL_FRect; + + /** * \brief Returns true if point resides inside a rectangle. */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h index d3361929..096b4a57 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -835,6 +835,148 @@ extern DECLSPEC int SDLCALL SDL_RenderCopyEx(SDL_Renderer * renderer, const SDL_Point *center, const SDL_RendererFlip flip); + +/** + * \brief Draw a point on the current rendering target. + * + * \param renderer The renderer which should draw a point. + * \param x The x coordinate of the point. + * \param y The y coordinate of the point. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawPointF(SDL_Renderer * renderer, + float x, float y); + +/** + * \brief Draw multiple points on the current rendering target. + * + * \param renderer The renderer which should draw multiple points. + * \param points The points to draw + * \param count The number of points to draw + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawPointsF(SDL_Renderer * renderer, + const SDL_FPoint * points, + int count); + +/** + * \brief Draw a line on the current rendering target. + * + * \param renderer The renderer which should draw a line. + * \param x1 The x coordinate of the start point. + * \param y1 The y coordinate of the start point. + * \param x2 The x coordinate of the end point. + * \param y2 The y coordinate of the end point. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawLineF(SDL_Renderer * renderer, + float x1, float y1, float x2, float y2); + +/** + * \brief Draw a series of connected lines on the current rendering target. + * + * \param renderer The renderer which should draw multiple lines. + * \param points The points along the lines + * \param count The number of points, drawing count-1 lines + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawLinesF(SDL_Renderer * renderer, + const SDL_FPoint * points, + int count); + +/** + * \brief Draw a rectangle on the current rendering target. + * + * \param renderer The renderer which should draw a rectangle. + * \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawRectF(SDL_Renderer * renderer, + const SDL_FRect * rect); + +/** + * \brief Draw some number of rectangles on the current rendering target. + * + * \param renderer The renderer which should draw multiple rectangles. + * \param rects A pointer to an array of destination rectangles. + * \param count The number of rectangles. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawRectsF(SDL_Renderer * renderer, + const SDL_FRect * rects, + int count); + +/** + * \brief Fill a rectangle on the current rendering target with the drawing color. + * + * \param renderer The renderer which should fill a rectangle. + * \param rect A pointer to the destination rectangle, or NULL for the entire + * rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderFillRectF(SDL_Renderer * renderer, + const SDL_FRect * rect); + +/** + * \brief Fill some number of rectangles on the current rendering target with the drawing color. + * + * \param renderer The renderer which should fill multiple rectangles. + * \param rects A pointer to an array of destination rectangles. + * \param count The number of rectangles. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderFillRectsF(SDL_Renderer * renderer, + const SDL_FRect * rects, + int count); + +/** + * \brief Copy a portion of the texture to the current rendering target. + * + * \param renderer The renderer which should copy parts of a texture. + * \param texture The source texture. + * \param srcrect A pointer to the source rectangle, or NULL for the entire + * texture. + * \param dstrect A pointer to the destination rectangle, or NULL for the + * entire rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderCopyF(SDL_Renderer * renderer, + SDL_Texture * texture, + const SDL_Rect * srcrect, + const SDL_FRect * dstrect); + +/** + * \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center + * + * \param renderer The renderer which should copy parts of a texture. + * \param texture The source texture. + * \param srcrect A pointer to the source rectangle, or NULL for the entire + * texture. + * \param dstrect A pointer to the destination rectangle, or NULL for the + * entire rendering target. + * \param angle An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction + * \param center A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2). + * \param flip An SDL_RendererFlip value stating which flipping actions should be performed on the texture + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderCopyExF(SDL_Renderer * renderer, + SDL_Texture * texture, + const SDL_Rect * srcrect, + const SDL_FRect * dstrect, + const double angle, + const SDL_FPoint *center, + const SDL_RendererFlip flip); + /** * \brief Read pixels from the current rendering target. * @@ -876,6 +1018,31 @@ extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture); */ extern DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_Renderer * renderer); +/** + * \brief Force the rendering context to flush any pending commands to the + * underlying rendering API. + * + * You do not need to (and in fact, shouldn't) call this function unless + * you are planning to call into OpenGL/Direct3D/Metal/whatever directly + * in addition to using an SDL_Renderer. + * + * This is for a very-specific case: if you are using SDL's render API, + * you asked for a specific renderer backend (OpenGL, Direct3D, etc), + * you set SDL_HINT_RENDER_BATCHING to "1", and you plan to make + * OpenGL/D3D/whatever calls in addition to SDL render API calls. If all of + * this applies, you should call SDL_RenderFlush() between calls to SDL's + * render API and the low-level API you're using in cooperation. + * + * In all other cases, you can ignore this function. This is only here to + * get maximum performance out of a specific situation. In all other cases, + * SDL will do the right thing, perhaps at a performance loss. + * + * This function is first available in SDL 2.0.10, and is not needed in + * 2.0.9 and earlier, as earlier versions did not queue rendering commands + * at all, instead flushing them to the OS immediately. + */ +extern DECLSPEC int SDLCALL SDL_RenderFlush(SDL_Renderer * renderer); + /** * \brief Bind the texture to the current OpenGL/ES/ES2 context for use with diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h index d70fd694..3b3fc85e 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h @@ -1,2 +1,2 @@ -#define SDL_REVISION "hg-0:aaaaaaaaaaah" -#define SDL_REVISION_NUMBER 0 +#define SDL_REVISION "hg-12952:bc90ce38f1e2" +#define SDL_REVISION_NUMBER 12952 diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h index 0960699d..f66119fb 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -176,19 +176,48 @@ extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops * area); #define RW_SEEK_END 2 /**< Seek relative to the end of data */ /** - * \name Read/write macros - * - * Macros to easily read and write from an SDL_RWops structure. + * Return the size of the file in this rwops, or -1 if unknown */ -/* @{ */ -#define SDL_RWsize(ctx) (ctx)->size(ctx) -#define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence) -#define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR) -#define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) -#define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n) -#define SDL_RWclose(ctx) (ctx)->close(ctx) -/* @} *//* Read/write macros */ +extern DECLSPEC Sint64 SDLCALL SDL_RWsize(SDL_RWops *context); +/** + * Seek to \c offset relative to \c whence, one of stdio's whence values: + * RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END + * + * \return the final offset in the data stream, or -1 on error. + */ +extern DECLSPEC Sint64 SDLCALL SDL_RWseek(SDL_RWops *context, + Sint64 offset, int whence); + +/** + * Return the current offset in the data stream, or -1 on error. + */ +extern DECLSPEC Sint64 SDLCALL SDL_RWtell(SDL_RWops *context); + +/** + * Read up to \c maxnum objects each of size \c size from the data + * stream to the area pointed at by \c ptr. + * + * \return the number of objects read, or 0 at error or end of file. + */ +extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context, + void *ptr, size_t size, size_t maxnum); + +/** + * Write exactly \c num objects each of size \c size from the area + * pointed at by \c ptr to data stream. + * + * \return the number of objects written, or 0 at error or end of file. + */ +extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context, + const void *ptr, size_t size, size_t num); + +/** + * Close and free an allocated SDL_RWops structure. + * + * \return 0 if successful or -1 on write error when flushing data. + */ +extern DECLSPEC int SDLCALL SDL_RWclose(SDL_RWops *context); /** * Load all the data from an SDL data stream. @@ -209,9 +238,17 @@ extern DECLSPEC void *SDLCALL SDL_LoadFile_RW(SDL_RWops * src, size_t *datasize, /** * Load an entire file. * - * Convenience macro. + * The data is allocated with a zero byte at the end (null terminated) + * + * If \c datasize is not NULL, it is filled with the size of the data read. + * + * If \c freesrc is non-zero, the stream will be closed after being read. + * + * The data should be freed with SDL_free(). + * + * \return the data, or NULL if there was an error. */ -#define SDL_LoadFile(file, datasize) SDL_LoadFile_RW(SDL_RWFromFile(file, "rb"), datasize, 1) +extern DECLSPEC void *SDLCALL SDL_LoadFile(const char *file, size_t *datasize); /** * \name Read endian functions diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h index 63871aa3..a50305f5 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -38,7 +38,7 @@ * SDL_Event structure. * * The values in this enumeration are based on the USB usage page standard: - * http://www.usb.org/developers/hidpage/Hut1_12v2.pdf + * https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf */ typedef enum { diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h index ac163a8c..966adbf2 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -26,8 +26,8 @@ * */ -#ifndef _SDL_sensor_h -#define _SDL_sensor_h +#ifndef SDL_sensor_h_ +#define SDL_sensor_h_ #include "SDL_stdinc.h" #include "SDL_error.h" @@ -246,6 +246,6 @@ extern DECLSPEC void SDLCALL SDL_SensorUpdate(void); #endif #include "close_code.h" -#endif /* _SDL_sensor_h */ +#endif /* SDL_sensor_h_ */ /* vi: set ts=4 sw=4 expandtab: */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h index 40a6baaa..2ab43fcd 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h index e373bc38..28bb7b96 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h index 730d49fc..51a12830 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -53,6 +53,7 @@ extern "C" { #define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ #define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ +#define SDL_SIMD_ALIGNED 0x00000008 /**< Surface uses aligned memory */ /* @} *//* Surface flags */ /** diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h index 4dc372d6..3b084076 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h index f1c4021c..7aa8c686 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -34,16 +34,16 @@ #include "SDL_version.h" /** - * \file SDL_syswm.h + * \brief SDL_syswm.h * * Your application has access to a special type of event ::SDL_SYSWMEVENT, * which contains window-manager specific information and arrives whenever * an unhandled window event occurs. This event is ignored by default, but * you can enable it with SDL_EventState(). */ -#ifdef SDL_PROTOTYPES_ONLY struct SDL_SysWMinfo; -#else + +#if !defined(SDL_PROTOTYPES_ONLY) #if defined(SDL_VIDEO_DRIVER_WINDOWS) #ifndef WIN32_LEAN_AND_MEAN @@ -103,6 +103,8 @@ typedef void *EGLSurface; #if defined(SDL_VIDEO_DRIVER_VIVANTE) #include "SDL_egl.h" #endif +#endif /* SDL_PROTOTYPES_ONLY */ + #include "begin_code.h" /* Set up for C function definitions, even when using C++ */ @@ -110,6 +112,7 @@ typedef void *EGLSurface; extern "C" { #endif +#if !defined(SDL_PROTOTYPES_ONLY) /** * These are the various supported windowing subsystems */ @@ -122,7 +125,7 @@ typedef enum SDL_SYSWM_COCOA, SDL_SYSWM_UIKIT, SDL_SYSWM_WAYLAND, - SDL_SYSWM_MIR, + SDL_SYSWM_MIR, /* no longer available, left for API/ABI compatibility. Remove in 2.1! */ SDL_SYSWM_WINRT, SDL_SYSWM_ANDROID, SDL_SYSWM_VIVANTE, @@ -257,11 +260,11 @@ struct SDL_SysWMinfo struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */ } wl; #endif -#if defined(SDL_VIDEO_DRIVER_MIR) +#if defined(SDL_VIDEO_DRIVER_MIR) /* no longer available, left for API/ABI compatibility. Remove in 2.1! */ struct { - struct MirConnection *connection; /**< Mir display server connection */ - struct MirSurface *surface; /**< Mir surface */ + void *connection; /**< Mir display server connection */ + void *surface; /**< Mir surface */ } mir; #endif diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h index 554dd0b6..f78b1145 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h index 5600618f..2a47b043 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h index f4075e79..99dbcb8c 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -41,6 +41,14 @@ extern "C" { typedef Sint64 SDL_TouchID; typedef Sint64 SDL_FingerID; +typedef enum +{ + SDL_TOUCH_DEVICE_INVALID = -1, + SDL_TOUCH_DEVICE_DIRECT, /* touch screen with window-relative coordinates */ + SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE, /* trackpad with absolute device coordinates */ + SDL_TOUCH_DEVICE_INDIRECT_RELATIVE /* trackpad with screen cursor-relative coordinates */ +} SDL_TouchDeviceType; + typedef struct SDL_Finger { SDL_FingerID id; @@ -52,6 +60,9 @@ typedef struct SDL_Finger /* Used as the device ID for mouse events simulated with touch input */ #define SDL_TOUCH_MOUSEID ((Uint32)-1) +/* Used as the SDL_TouchID for touch events simulated with mouse input */ +#define SDL_MOUSE_TOUCHID ((Sint64)-1) + /* Function prototypes */ @@ -65,6 +76,11 @@ extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void); */ extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index); +/** + * \brief Get the type of the given touch device. + */ +extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID touchID); + /** * \brief Get the number of active fingers for a given touch device. */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h index 4ac248c8..9c3e9896 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h index 31443e14..6c7499d3 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -59,7 +59,7 @@ typedef struct SDL_version */ #define SDL_MAJOR_VERSION 2 #define SDL_MINOR_VERSION 0 -#define SDL_PATCHLEVEL 9 +#define SDL_PATCHLEVEL 10 /** * \brief Macro to determine SDL version program was compiled against. diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h index 461f1380..352afd43 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h index 972cca4d..d69a436b 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h @@ -98,8 +98,8 @@ typedef VkSurfaceKHR SDL_vulkanSurface; /* for compatibility with Tizen */ * applications to link with libvulkan (and historically MoltenVK was * provided as a static library). If it is not found then, on macOS, SDL * will attempt to load \c vulkan.framework/vulkan, \c libvulkan.1.dylib, - * \c MoltenVK.framework/MoltenVK and \c libMoltenVK.dylib in that order. - * On iOS SDL will attempt to load \c libMoltenVK.dylib. Applications + * followed by \c libvulkan.dylib, in that order. + * On iOS SDL will attempt to load \c libvulkan.dylib only. Applications * using a dynamic framework or .dylib must ensure it is included in its * application bundle. * @@ -153,7 +153,7 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void); * is smaller than the number of required extensions, \c SDL_FALSE will be * returned instead of \c SDL_TRUE, to indicate that not all the required * extensions were returned. - * + * * \note If \c window is not NULL, it will be checked against its creation * flags to ensure that the Vulkan flag is present. This parameter * will be removed in a future major release. diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h index 6c210624..22c997c4 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -105,6 +105,9 @@ #ifdef _MSC_VER #pragma warning(disable: 4103) #endif +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wpragma-pack" +#endif #ifdef __BORLANDC__ #pragma nopackwarning #endif diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/close_code.h b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/close_code.h index b3b70a4c..8e4cac3d 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/close_code.h +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Headers/close_code.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga + Copyright (C) 1997-2019 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -26,6 +26,9 @@ * after you finish any function and structure declarations in your headers */ +#ifndef _begin_code_h +#error close_code.h included without matching begin_code.h +#endif #undef _begin_code_h /* Reset structure packing at previous byte alignment */ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist b/libs/mac/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist index fc351ee0..df7ebf28 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18E226 + 18D109 CFBundleDevelopmentRegion English CFBundleExecutable @@ -19,7 +19,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.0.9 + 2.0.10 CFBundleSignature SDLX CFBundleSupportedPlatforms @@ -27,7 +27,7 @@ MacOSX CFBundleVersion - 2.0.9 + 2.0.10 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/SDL2 b/libs/mac/Frameworks/SDL2.framework/Versions/A/SDL2 index 253e85ce..d753d1fe 100755 Binary files a/libs/mac/Frameworks/SDL2.framework/Versions/A/SDL2 and b/libs/mac/Frameworks/SDL2.framework/Versions/A/SDL2 differ diff --git a/libs/mac/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources b/libs/mac/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources index 7d6a65e5..a3fb4de7 100644 --- a/libs/mac/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources +++ b/libs/mac/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - R+u/+U4v4MZreoaFKEgSTferTn0= + K7JUofWxGZV+MoLec+znWL//Eew= files2 @@ -15,330 +15,330 @@ hash - 49nvc7QToCAQLOuQYg5d779VW3g= + ZdbdIQwu9O76Dgd2jt/oyNmnIg0= hash2 - NLgB0IPWGKfeYCtUqAAuK70AxrNGD5IUCdRh2wM0+VU= + HQb5XxQjcmcgu6Lop08Z62PzfPg7rI2I96dPjB1CB8s= Headers/SDL_assert.h hash - zWoE6/P7ZWAYr4J+EVgDAK+kot8= + zSdyqeJFhwSSxW7J+zPjhnOqFXI= hash2 - tuS18C7A11akqH9MWT0WWCb6q7kcF97Ui5OFwNtSF/k= + 4LN3cMaLbAvZc00PQtUPkPF3hgpmwXoHOyT2CkEnxOA= Headers/SDL_atomic.h hash - /q15zvR2djPgTRkySENYqzisn64= + X3xsGy7tYfY0KGYCJF1kPy8K4k0= hash2 - n9rGA8zXFxasUnN0ytgLLWmW2CDCtKBeGJZcfB+nfRc= + IzaELyJIMDJ+B8rAEnHSflOwUNyeqQbhPwIuzOGX0ps= Headers/SDL_audio.h hash - bCT1aBK06cMR6XwF8XLvtevSVAY= + wu0/tddl4vLnhUPjZeb1d4T7uDM= hash2 - 38oQKCI+MpwiSgdqg/YUBSB6cfzpXXnqv4oPEScXDDM= + Kxuhp8ub2Hp/Z70Xc5E6ZKslGtqZy3cuhkAuKNljzsA= Headers/SDL_bits.h hash - yp8Jj93ZE224v1+u++cOexlp9RY= + 00YFfg2cWwtRJ5Ds5gZqCBVVuB8= hash2 - kQTBxFYnOjKSlti4H7pAYZWdkH0BpQ9Eq54E/r/nlVY= + CxoSBgnrIcnpyVnNBDD6eKwB0PrGVYLtk2JLS0iI9to= Headers/SDL_blendmode.h hash - kgTnzOrp0kqeI8lzDgQyT/gCGiM= + LRgmOWdJnYmmsHJ7JdvfkADOw54= hash2 - d/8B0iLh4aFeoaPEFqQ4C6x4ISlDJCKrybaKuHCJHL4= + lytKe5manzmUJsXVkz2f7Ru+jXGQtqUQSoMd/13h+v4= Headers/SDL_clipboard.h hash - qq1r82AS7fHG8G94+jvL41iKEyA= + FZ6uga56W5B8c+3VvK3K630egsY= hash2 - +r0LOXHGRf2Q9+FkqRU6i++1zEzsE5sWXxxMGrsSyKk= + LpkAeAHk1fl1g+jEh+/8v+GhvbSzNxU7EZj7GKsNoHE= Headers/SDL_config.h hash - d/fShSScdM47JT6zVSrfULAMtpk= + BiFZtrDFy2fSJ72smnhk/xX2vOM= hash2 - hqFomi7gM/LXRjuRae5d3D/SKLBKmrPAp6TgW+OdkVg= + Gg9NJpIEx9tBrfXyjdXZKY8eZCrvc81dMc8nV9BS7N0= Headers/SDL_config_macosx.h hash - H0+NaeWz7cJLtW/LjkuWlCT2/oE= + 0SoDDMtzf17+QHz2sy6d2WBImW4= hash2 - skiBjJo1Yq2nen+FcO3Pxy4PjWbcUdDKF8p72tPBrpw= + UaSnyX9qJPiJGsTA3n8rd89F4byXob+MUojHwdKH9pM= Headers/SDL_copying.h hash - 0DKOkPvRlLo00X7iE2fL4i8XBww= + C62NBTBnDNGfFFSXd4zGfjO4RJU= hash2 - nHJ8cj/FeSfLoRm5gRiDk73eyYlKn7u1BfbqkB2ofLg= + XvlF/XC1olqbcm8yNxgEqTcPWo4jlAb7ILUYXPBPs/M= Headers/SDL_cpuinfo.h hash - Nw8KCHXkAAuqJAvJOv+SWhZGEhU= + xbDTQkNoUE7r2/g3QchsqhHCIJY= hash2 - 0eRfEAH+V/dL+6GHKmkbzcmeR9nISfmjBGcoOn8J9J8= + oeNN13Dm5+MBSxbMI8m3nylyvhehubfQ0IJpWhQHjlM= Headers/SDL_endian.h hash - WmJrxu+b1MkjtE6ttCymwH4EVC0= + WnRVp2tYXkNHTJo2lYUvUxmaRBo= hash2 - 77hv0QIqlra/8gcQF81aAwP21/ZAANKiIaJRV1QK8mk= + BnA6TE4wV1m4HysOJUQFQ+tF0ny38sghJfcIj/tNkTw= Headers/SDL_error.h hash - HMprigJ3u4PqQ7B+gD1UUbTSrJ8= + 1S/GAK9ebtkbSQ0MmStwySLlKb8= hash2 - errosoVYCD45UvQVzL4Lmfq4eCQg92a6xUZ062DGEL4= + igVYqa9pjpLUL4KFJDRti4j5/dfm3p7ORFqQLhFC4jU= Headers/SDL_events.h hash - szOypQL+tBWkumW9xkwm5kpiGCE= + DZ9ziTGQepRxb/iTlkQqceblYKo= hash2 - Iz2fuclzBbpDLa+Dq/Eq8MupiacS6vcB2AWrbvzWinM= + lglKkIEjpBKKWj9KWvA1Cu7gckutFPGmEAR5j3i9qyc= Headers/SDL_filesystem.h hash - 9rIKoCtsAONdgfT/4QKm3a56hV0= + Le59wleiHLWEGHWbLrDma5DSZkc= hash2 - l5nBvMglAIFEWf357KMyQ+E7cr4GqO9XNwevA04+VmQ= + TE5jKDqHkqyMLRZhSCpMTLW9yHzE/ZeXbmHFqDXkcFY= Headers/SDL_gamecontroller.h hash - Y46TpYRoYCHK4qV9HMp76Vj6jB8= + nx1SDQVB8k9aHXVfGToR/xhm2uo= hash2 - 5cmyPcoPpG+9ZJCq4n1GsKirMlwU1NNi0dLGL7qH6qI= + j+3SFxwr3ibI/hbqFvpa7aav1U3vd6b2FkhyRLbM40s= Headers/SDL_gesture.h hash - d80fR6I92r+G26xckkQzTRj/tj4= + fF74yx7VTgDAieAE/D0XyONFjY4= hash2 - /5+tOQWQ9raopqBCExlH9ClAA/fVAfEBIrd/WlpaqIE= + yD3HMyRreSXBWYHkAMmd22eNcsdV9VhJ4FxTUEiWQvI= Headers/SDL_haptic.h hash - aNb86XMA8j7OVT9j3ReBkzfOvzI= + ycHZ4l3vmjoS7jBZJBOSBlhLO4g= hash2 - 8QEdekDVr5cLtobUqsj19TtgOspGlP/2vlVCx1L+xcs= + 52X1YGOz0xLrX18Waufe5+WjkHtXbNyniKy9fHURGSg= Headers/SDL_hints.h hash - wO6x0FskYQ3YXeNo8nC4fUuwVF0= + U7J9j+/eBGfjk21YSfyeH+K+cpI= hash2 - 6V1lCUmwIWOAqq2OQ23J1/VhfbzwDnlQZPWTlhojfa4= + 3NlYRFeJRPTGdcFhTdPEp2rP3/B6Sp3SIQKObx8GEzU= Headers/SDL_joystick.h hash - iMGs3U89FHkp1B8fAL14WyLC4Is= + TTMR54AQZs40QRYs1W782JU+pgw= hash2 - bUyUDarySk37tfBr5tn+rYVIboNQ8aSXAujz55F6HZo= + yzV0egqWQfkvC6A2CLBNIpkRPptTPkev26ElG27sY4k= Headers/SDL_keyboard.h hash - RsaE9DMLq9lFsYokvdaQ8nhIkfY= + Nj8t0jUZXlMkItHDVlWjcw4o6CU= hash2 - tpZGEHU3TKCozcYf4MA9gA5bXNPSxx9rqqBaPttgr+4= + YHCinInDkXh1AzlpQDn/ZRioHFIffFUpPrYOmNW5RaY= Headers/SDL_keycode.h hash - 9nIqgM67nCJUdjV3iiiviT8DFhk= + VKMYjZRw9r7kpQ/YgpvKEMaFACY= hash2 - SpMclG+epmPQibi3fNsQe1lBUxZPJOOu4DfQjpTZYgw= + tfj5XwKmKGZ0t3eBcKB2tzDgpiWFGnWKU09OTPVq9No= Headers/SDL_loadso.h hash - m+OEcfHbykTuEo6P3/y/kuV1xjk= + CTkUCqmoy2bo8e6nbQKTm5CwjxI= hash2 - Yg3OrZpF17uC69TwprPyrpn3+su3YAaaA1hTNXAHxLw= + n3gGxtTXqa1Vh4Ac+AGTUIefz/44y4VMTcQjKawz8Pk= Headers/SDL_log.h hash - HcUUwymYqVSfgz2LdtuUqZSwjUY= + av0s6nKZfP/zuo69K5qS/DkqKT8= hash2 - j4F34jvgNTEcHQQoPbBBugi4RKQLhGM+x4ndXdtDc0E= + rARea0ssP3PWH9hW3GTK54TRajsCVIhOCG3zw6ySDFI= Headers/SDL_main.h hash - 7I0GPDiLKlavuXuoepYsl2mS6CI= + 5YETmzv9nb8mZJFlT560TlSePFg= hash2 - qwXROmpXppMPodetUGE0s/7HHmwfu3taLUeiiu+APk0= + 7yHNFldAJql7/7cAoEGlMB34sPKKWfyrOT9ifG82q48= Headers/SDL_messagebox.h hash - MEB/oCw7dyinbrBmQQqh46/uRVk= + dn9u1yI/5fNacHdloG1LrU5mh9Y= hash2 - DSuDS/nAzfEi2kO06DEpxRLj5V1++p2DYYA9Oou8ewQ= + qxzQ6Ex2HN9vuG+50udOIy1Y/eEVcH46WiW7Nf2EzXw= Headers/SDL_mouse.h hash - I2UksqoB5v6RX64Ddwea9dW0sO0= + ZJhHiglu6xyXlIcPichq+/0Zuyk= hash2 - gFMH6bBzvJCff8F7FMWlP6o6TydFmiXEu0daWp166wk= + MRwS5MXSVj8ik1SdFYclXUqfQctjSgf/a6uwvnXKcr4= Headers/SDL_mutex.h hash - H6Q1bWPDKu2RsALoLzTBzPTrPkk= + WsSNspEm5IlyJ4QCEupe9ru6mbs= hash2 - WKU8g7bVD3KpQEgvXuUGrPcG5hgg+LwQBgzLQCeSVTg= + qfLKc8oERtGbKR9aADvAk08vuIwdVpXT5LXDjkh30pc= Headers/SDL_name.h hash - doLASBj4oiSiP6MW9wQblnyPN1E= + QNIDAjTuNO/ygj4XUbTm7Xs083k= hash2 - M0b8pslMMsWZp1KDVUdqX7ml3DKUVcwiTcfwGbhopvA= + OMk89kJXQu2SU/zq6Ppy58jT8ksykcvtO09/Gg+G/wg= Headers/SDL_opengl.h hash - ZN9vVzyxx542ZCZ4nmASJKJ7qFM= + tao3928+v++g3ksVro2TztU0o2Y= hash2 - dazK6AC8BOZXW9m9761qsuoqe3eJozPIbSc1YEY3UVE= + zAS4WUuGGdXWu9IDkSSsfi40tyvzu9NvdYeqKzzowAo= Headers/SDL_opengl_glext.h @@ -356,22 +356,22 @@ hash - aVEa5N2CHg93ZxdDuKfDtFnCbU8= + 5yI9Ohyz/YeMMIDg907ulQgb64Y= hash2 - 3CmcA5B4ydtkVin3NvNmYVHfgnhJJAVYNVw1YKM0Mko= + 8QecWd6HIgUhSKIaC3OHjL0fChHRb0bz3Pcm31iWNKo= Headers/SDL_opengles2.h hash - yQ5nSugeN94hMSNhsIOmlAstJhY= + TzziT6uivSTIOqwzpwvCga0WbT4= hash2 - 8H2lt37zXZs68UfBlqDGqSJTQ2+Slu7qywggJ2mIosI= + GVonW5KJHQy8P8dyN9jtnsEkw+dB14I0BkJ2kyzDWAI= Headers/SDL_opengles2_gl2.h @@ -422,275 +422,275 @@ hash - q2Uas2PGwUNo30Wiqomvrb03mp4= + a07hNtLEEXOI9JowlmxGrMafaX0= hash2 - fpczDM4z7VLJW6FMvRTygnypORPdk2q89S1kCbS2fpM= + j6M3vN4k05iSK3Uy9ffsTy+BWOSXENibkaY7ePLBKPg= Headers/SDL_platform.h hash - aM0ptLXVxYx4yXLsNYOssy/jx9Y= + AzfeyBVMo7b+r3ooLaPCjMwm/Ek= hash2 - R6MDdJ2ZUd9FGKReGdJE6YyHwqczb99jK9/IDW59AmI= + lMHrLGnuplRAoQYf5FmDF3IposXEg6rVK176gDoU334= Headers/SDL_power.h hash - NqkQCWzmodWGdUFUZmzR9B/TApc= + fSuuKCG0N/bA859vMETqDJcGmxw= hash2 - VkJkbp+5Wd4WYDemJiu8R/emdH4PZSNPweoPmzRkfxM= + MsMC1rgs5LfpJ7MJfFldXATr3RekMHWIPlLFCTVHsFE= Headers/SDL_quit.h hash - eOEJzybg3UBfe83rKNfky9XAVGM= + bSgXjsgzzeSQ8/+gAeHQncKGP48= hash2 - mN/T7PjHVtVce+/m7tIWIH8p8lylLWPuJAkCsbEvjhg= + ZgtHbb41+UtLyVm6AP9lZXaJ8Fp/QJunojzyJyMFJXk= Headers/SDL_rect.h hash - B7oWq3VOxrWbVn0YV8xpvXG6dic= + 4xBsyR5cytlXoENRmY8aOe+QBpA= hash2 - dCsZcEfdmcr1RuOycWAtHnnQs5BWk8lw0Ubnv/aUwG4= + uBZss8y9+JCKbsbxfu+uef8m9VPtLs0NgeZYqQj52rg= Headers/SDL_render.h hash - ATenWUmKg6AEbv2SbCy9JfT8jCw= + SeyflsB8DGAS7KvPh8x2oK8PH0A= hash2 - EYiKPX5wRIcWkCyROlT59wuiDupZ6yp0+YsDWOrhtnQ= + Z84tjQTFYLNznHJq/8giJPorVPCDTP2bHIYmSc7ZLvA= Headers/SDL_revision.h hash - ixjPDg2DQUEDn7ID2l4wMHDUvDk= + PGSSQVK3jtbqU9+3bHhpAtBlYWQ= hash2 - LUUZKxelLmuZXjHwFWFSYH8HA96Px1JVmtuv79n+gYY= + UiWA4q+Hw/4HJRqxv5vK3LvqWFrJc5FnShxo2QJH+Iw= Headers/SDL_rwops.h hash - ULSy/1QoNQhBu3kk75qXo30Wcvs= + BUGupr2coKPXRSCJ3FN6KuPvLc4= hash2 - KewlZ14FJ6CfLjd7EDc1KlVSiUhIt2P9d3p2VEJuUUA= + g/bWwIrUo1mqK7g4vLXyYHpRh+XSjZLLT6TNnC3yJVA= Headers/SDL_scancode.h hash - FAcbPIsuPOYbsldZL4m0AFUeoW4= + A29dZAsRi3ZD3FXMYTURpihTsIc= hash2 - 5VaZC9IfMuNgz3h6OJn9Q/IGB/+cpymxIrjkluCWzOo= + puwtAtPFfkjydl8SWmSe/SCvZFMczwq04xCod0DOjZU= Headers/SDL_sensor.h hash - Be7Gy5/r1i7xekMvnpx2rligsYU= + kCrdfHdJI14S1IvCO0q1ikSQ8Xo= hash2 - E/d0hIQ2nn69Cryv+nT2Hr+JmWa2ETnsBgE/JpJ36uc= + V+LHKc4UpsUT+tXFMwojgNTESr+CvSXE0ygvjgSfTt4= Headers/SDL_shape.h hash - S5Ty+gKktVyifkoYT0K7E48JqdI= + A36EHUyzqEf/tKShU18L2iMCW2I= hash2 - LVwSnfZBuKL1bW2zy4rt0vRPmH2/ZxfmP0xB9pLVEOE= + Ud8Mqn1abe+Y/PChCGi3IsT06VDpE+6P79ZJjODnmkc= Headers/SDL_stdinc.h hash - Z0uzAbGiXidgebOz6idDVTr7qtc= + G6xZCxCCLS2Mg6uKkSpFCkgd46M= hash2 - JMXREkpaKMdzh4IgZzSHyp5vbIaa3IjvgFjfUzDN6Y4= + ie6yM34yeMP4HazsW2Uz11wFfyo6gx7S+h/2+426J68= Headers/SDL_surface.h hash - xCVDDdRmW3XjJfDaMiKm/c9oQlM= + KmHGqv7b4tswXf8ycUgNZ/+vK/A= hash2 - IzrFWzZUTMjqUmCN5fCPOQuJuhE5P0NMUWtqfHJGWz4= + AiIkcUK3qz5MMYzKNHcAl5GXlOARaP+HMmeOTPhCEpQ= Headers/SDL_system.h hash - gfiAZLnsMKtcBY30ygv+FLGYBeE= + 0qO9sBVkTL08UhLrqBelJJhBSsE= hash2 - 8mRRFbV80FDAFMhJcJBBLuMOEzRZlaK9BaFNLvaZdFQ= + 6w1i3t2dswaTQw9584NuLNKx+9iWmo3ROcLjoaYDMMw= Headers/SDL_syswm.h hash - lBCQTJ7UvTA5qYKTiEpsqFTGXHo= + GRnaqOVa/3qcFveLJRDGNmyYYMA= hash2 - NVDqg+40pJZm/xBJTcr2sQFRQrov9a14KBJ07lfbwgs= + HDjiEgukOBzpbKn7mQymmfeUbuFivyBSlaLKZoaRmsM= Headers/SDL_thread.h hash - 6gQ6df2RG9ffNYRQj6PwIE732BE= + Y5XPCuL4lqd9SCsdoXZpE39weBc= hash2 - b7aDhH9W57nyn9u+xXrlA2kJVj91wFAAafUP07nphY0= + qLvle+Ar3yGNkRzhIrScRbek/Hmco7obDK8/oCT33bw= Headers/SDL_timer.h hash - qfzyWhIh36SK6BAcdd50D/MfdGo= + 8kuhmd1/ENq/dqoq9nvN+88+LPA= hash2 - 5Qe92nVkUnHbxgbGwxkyglvVKajhfgVhxPei6dhr4c0= + gIMhzHTwdr/bEzBAvZJkKf5xDAsT/JArngXvaVw5z3o= Headers/SDL_touch.h hash - yyJt6piMAcoFWhFqsHk9mo3MtaI= + exldcx+h41MdM/84k5iaO2MOgkk= hash2 - 9mQ2V937DAO6OjcQFMboFrnJEiqdk+2uHBzdvMYUnd0= + ceYjziGStnm+rvr3ae/RvGPf/LiSE80YgVaj7ooZCfQ= Headers/SDL_types.h hash - oVg7CzABdDKtxCWINHaUvBRbRZ0= + xpionXfbvYAQSbnBNqG6Cju0b0M= hash2 - 8uZym5ly46CZ4VQZCz/Y/cH4THoDS8kGqrvB+Ux/254= + dOjFOKib7+LNGpNOGgztUkUpP17CM/ZVjbX2L4EkvSQ= Headers/SDL_version.h hash - n/L/bdSBJArMDPWwOU5CABfDXtE= + 5QRd22Sj0DHS9tvyzAlW9Zl0iyY= hash2 - of5yxPHtdFdC8JwFB7ULi195Ws4KbiM1l/WjB8Y2Os8= + uuOY3mOYoId2CXEFqF89pKDQcBQ7AEQbtbgOfxS2keE= Headers/SDL_video.h hash - DwvB/tKrFg/8GMK9DWe7RYPVCDo= + rhqJJNgt/txwqknDJNiQ4gPimpc= hash2 - yBnTX5Y53PXTHttQX3YGhklBGQc/uUzL2ntHnjxM4DE= + UtnpjniKS76crjAmXa8i8wczgLQDUxiQoYu0y76BSNE= Headers/SDL_vulkan.h hash - i1vRVTlmtbM2IJt9r8QO8MOL8eI= + 0R0iBIIZHeiqfvyj+3+sbtepfwo= hash2 - EKCF9MU8qtxJHzJRCp0Zk2krWF631/jBU58TFGyfxcw= + ZUl2Z6rj4rI2+mitJQB2d+4hTIuTIzVf0fr7KM9hgKw= Headers/begin_code.h hash - 6RX1yuMtg6N9G2iCtCjjKzPCkuU= + T9a4EEcpi6NKfH4l/BsFqT6BS5o= hash2 - JQ71zTwAp3EzI22aBP3w80YYEcxNBRF8/0DkqO39oDo= + VS34Wm8jXZyzq5vTgdyLBC1qzmlio11OjEG6jfiLeqg= Headers/close_code.h hash - IDKa63p9RAIkSpPXA0mU/dzgBWQ= + HgkA2N1cLNy8wpE/MO+dVUjnY5k= hash2 - oF0I0dcQDvLcuEIgqx9wEQiuqHR5KLoq1zhL/AK5geg= + 291SEvMjO/iklrWgfi+oH6DBTOoABR4OXa8JofDEWoc= Resources/Info.plist hash - R+u/+U4v4MZreoaFKEgSTferTn0= + K7JUofWxGZV+MoLec+znWL//Eew= hash2 - IRZvZMEiRywMETq3zPZTAHg/qtglFprMndUohrhHyFI= + 0/+jwfcLCE7Vwm3+K0aEsipIl7s+bTZ+XXPfcim1dEs=