early-access version 2847
This commit is contained in:
parent
ba74a2373c
commit
05e3c38e7f
498 changed files with 16027 additions and 27028 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2846.
|
This is the source code for early-access 2847.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
50
externals/SDL/.github/workflows/android.yml
vendored
50
externals/SDL/.github/workflows/android.yml
vendored
|
@ -4,57 +4,11 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
android:
|
android:
|
||||||
name: ${{ matrix.platform.name }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
platform:
|
|
||||||
- { name: Android.mk }
|
|
||||||
- { name: CMake, cmake: '-DCMAKE_SYSTEM_PROCESSOR=aarch64 -DANDROID_PLATFORM=android-23 -DCMAKE_SYSTEM_VERSION=23 ' }
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: nttld/setup-ndk@v1
|
- uses: nttld/setup-ndk@v1
|
||||||
id: setup_ndk
|
|
||||||
with:
|
with:
|
||||||
ndk-version: r21e
|
ndk-version: r21e
|
||||||
- name: Build (Android.mk)
|
- name: Build
|
||||||
if: ${{ matrix.platform.name == 'Android.mk' }}
|
run: ./build-scripts/androidbuildlibs.sh
|
||||||
run: |
|
|
||||||
./build-scripts/androidbuildlibs.sh
|
|
||||||
- name: Setup (CMake)
|
|
||||||
if: ${{ matrix.platform.name == 'CMake' }}
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install ninja-build
|
|
||||||
- name: Configure (CMake)
|
|
||||||
if: ${{ matrix.platform.name == 'CMake' }}
|
|
||||||
run: |
|
|
||||||
cmake -B build \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
|
|
||||||
${{ matrix.platform.cmake }} \
|
|
||||||
-DSDL_STATIC_PIC=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=prefix \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-GNinja
|
|
||||||
- name: Build (CMake)
|
|
||||||
if: ${{ matrix.platform.name == 'CMake' }}
|
|
||||||
run: |
|
|
||||||
cmake --build build --config Release --parallel --verbose
|
|
||||||
- name: Install (CMake)
|
|
||||||
if: ${{ matrix.platform.name == 'CMake' }}
|
|
||||||
run: |
|
|
||||||
cmake --install build --config Release
|
|
||||||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
|
||||||
( cd prefix; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
if: ${{ matrix.platform.name == 'CMake' }}
|
|
||||||
run: |
|
|
||||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
|
|
||||||
${{ matrix.platform.cmake }} \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
|
|
25
externals/SDL/.github/workflows/emscripten.yml
vendored
25
externals/SDL/.github/workflows/emscripten.yml
vendored
|
@ -11,27 +11,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: 2.0.27
|
version: 2.0.27
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: emcmake cmake -B build
|
||||||
emcmake cmake -S . -B build \
|
|
||||||
-DSDL_TESTS=ON \
|
|
||||||
-DSDL_INSTALL_TESTS=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=prefix
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build/ --verbose
|
run: cmake --build build/
|
||||||
- name: Run build-time tests
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
export SDL_TESTS_QUICK=1
|
|
||||||
ctest -VV --test-dir build/
|
|
||||||
- name: Install
|
|
||||||
run: |
|
|
||||||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
|
||||||
cmake --install build/
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
run: |
|
|
||||||
emcmake cmake -S cmake/test -B cmake_config_build \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DTEST_SHARED=FALSE \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
|
|
166
externals/SDL/.github/workflows/main.yml
vendored
166
externals/SDL/.github/workflows/main.yml
vendored
|
@ -15,12 +15,15 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686, cc: gcc }
|
- { name: Windows (x64), os: windows-latest, shell: pwsh, flags: -A x64 }
|
||||||
- { name: Windows (mingw64+clang), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64, cc: clang }
|
- { name: Windows (x86), os: windows-latest, shell: pwsh, flags: -A Win32 }
|
||||||
- { name: Linux (CMake), os: ubuntu-20.04, shell: sh, flags: true }
|
- { name: Windows (clang-cl x64), os: windows-latest, shell: pwsh, flags: -T ClangCL -A x64 }
|
||||||
- { name: Linux (autotools), os: ubuntu-20.04, shell: sh, autotools: true }
|
- { name: Windows (clang-cl x86), os: windows-latest, shell: pwsh, flags: -T ClangCL -A Win32 }
|
||||||
- { name: MacOS (CMake), os: macos-latest, shell: sh }
|
- { name: Windows (ARM64), os: windows-latest, shell: pwsh, flags: -A ARM64 }
|
||||||
- { name: MacOS (autotools), os: macos-latest, shell: sh, autotools: true }
|
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686 }
|
||||||
|
- { name: Windows (mingw64), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64 }
|
||||||
|
- { name: Linux, os: ubuntu-20.04, shell: sh, flags: -GNinja }
|
||||||
|
- { name: MacOS, os: macos-latest, shell: sh }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
|
@ -29,30 +32,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
msystem: ${{ matrix.platform.msystem }}
|
msystem: ${{ matrix.platform.msystem }}
|
||||||
install: >-
|
install: >-
|
||||||
${{ matrix.platform.msys-env }}-${{ matrix.platform.cc }}
|
${{ matrix.platform.msys-env }}-gcc
|
||||||
${{ matrix.platform.msys-env }}-cmake
|
${{ matrix.platform.msys-env }}-cmake
|
||||||
${{ matrix.platform.msys-env }}-ninja
|
${{ matrix.platform.msys-env }}-ninja
|
||||||
${{ matrix.platform.msys-env }}-pkg-config
|
${{ matrix.platform.msys-env }}-pkg-config
|
||||||
- name: Configure MSYS2 compiler
|
|
||||||
if: matrix.platform.shell == 'msys2 {0}'
|
|
||||||
run: |
|
|
||||||
if test x${{ matrix.platform.cc}} == xgcc; then
|
|
||||||
echo "CC=gcc" >> $GITHUB_ENV
|
|
||||||
echo "CXX=g++" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
if test x${{ matrix.platform.cc}} == xclang; then
|
|
||||||
echo "CC=clang" >> $GITHUB_ENV
|
|
||||||
echo "CXX=clang++" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Setup Linux dependencies
|
- name: Setup Linux dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install \
|
sudo apt-get install wayland-protocols \
|
||||||
autoconf \
|
|
||||||
gnome-desktop-testing \
|
|
||||||
wayland-protocols \
|
|
||||||
pkg-config \
|
pkg-config \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
libasound2-dev \
|
libasound2-dev \
|
||||||
|
@ -89,132 +78,11 @@ jobs:
|
||||||
git clone --depth 1 https://gitlab.gnome.org/jadahl/libdecor.git --branch 0.1.0
|
git clone --depth 1 https://gitlab.gnome.org/jadahl/libdecor.git --branch 0.1.0
|
||||||
cd libdecor
|
cd libdecor
|
||||||
meson build --buildtype release -Ddemo=false -Ddbus=disabled
|
meson build --buildtype release -Ddemo=false -Ddbus=disabled
|
||||||
ninja -v -C build
|
ninja -C build
|
||||||
sudo meson install -C build
|
sudo meson install -C build
|
||||||
- name: Setup Macos dependencies
|
|
||||||
if: runner.os == 'macOS'
|
|
||||||
run: |
|
|
||||||
brew install \
|
|
||||||
ninja
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Check that versioning is consistent
|
- name: Configure CMake
|
||||||
# We only need to run this once: arbitrarily use the Linux/CMake build
|
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
|
||||||
if: "runner.os == 'Linux' && ! matrix.platform.autotools"
|
- name: Build
|
||||||
run: ./test/versioning.sh
|
run: cmake --build build/
|
||||||
- name: Configure (CMake)
|
|
||||||
if: "! matrix.platform.autotools"
|
|
||||||
run: |
|
|
||||||
cmake -S . -B build -G Ninja \
|
|
||||||
-DSDL_TESTS=ON \
|
|
||||||
-DSDL_INSTALL_TESTS=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=cmake_prefix \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
- name: Build (CMake)
|
|
||||||
if: "! matrix.platform.autotools"
|
|
||||||
run: |
|
|
||||||
cmake --build build/ --config Release --verbose --parallel
|
|
||||||
- name: Run build-time tests (CMake)
|
|
||||||
if: "! matrix.platform.autotools"
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
export SDL_TESTS_QUICK=1
|
|
||||||
ctest -VV --test-dir build/
|
|
||||||
- name: Install (CMake)
|
|
||||||
if: "! matrix.platform.autotools"
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
cmake --install build/ --config Release
|
|
||||||
echo "SDL2_DIR=$(pwd)/cmake_prefix" >> $GITHUB_ENV
|
|
||||||
( cd cmake_prefix; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Configure (Autotools)
|
|
||||||
if: matrix.platform.autotools
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
rm -fr build-autotools
|
|
||||||
mkdir build-autotools
|
|
||||||
./autogen.sh
|
|
||||||
(
|
|
||||||
cd build-autotools
|
|
||||||
${{ github.workspace }}/configure \
|
|
||||||
--prefix=${{ github.workspace }}/autotools_prefix \
|
|
||||||
)
|
|
||||||
if test "${{ runner.os }}" != "macOS" ; then
|
|
||||||
curdir="$(pwd)"
|
|
||||||
multiarch="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
|
|
||||||
(
|
|
||||||
mkdir -p build-autotools/test
|
|
||||||
cd build-autotools/test
|
|
||||||
${{ github.workspace }}/test/configure \
|
|
||||||
--x-includes=/usr/include \
|
|
||||||
--x-libraries="/usr/lib/${multiarch}" \
|
|
||||||
--prefix=${{ github.workspace }}/autotools_prefix \
|
|
||||||
SDL_CFLAGS="-I${curdir}/include" \
|
|
||||||
SDL_LIBS="-L${curdir}/build-autotools/build/.libs -lSDL2" \
|
|
||||||
ac_cv_lib_SDL2_ttf_TTF_Init=no \
|
|
||||||
${NULL+}
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
- name: Build (Autotools)
|
|
||||||
if: matrix.platform.autotools
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
parallel="$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
make -j"${parallel}" -C build-autotools V=1
|
|
||||||
if test "${{ runner.os }}" != "macOS" ; then
|
|
||||||
make -j"${parallel}" -C build-autotools/test V=1
|
|
||||||
fi
|
|
||||||
- name: Run build-time tests (Autotools)
|
|
||||||
if: ${{ matrix.platform.autotools && (runner.os != 'macOS') }}
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
curdir="$(pwd)"
|
|
||||||
parallel="$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
export SDL_TESTS_QUICK=1
|
|
||||||
make -j"${parallel}" -C build-autotools/test check LD_LIBRARY_PATH="${curdir}/build-autotools/build/.libs"
|
|
||||||
- name: Install (Autotools)
|
|
||||||
if: matrix.platform.autotools
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
curdir="$(pwd)"
|
|
||||||
parallel="$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
make -j"${parallel}" -C build-autotools install V=1
|
|
||||||
if test "${{ runner.os }}" != "macOS" ; then
|
|
||||||
make -j"${parallel}" -C build-autotools/test install V=1
|
|
||||||
fi
|
|
||||||
( cd autotools_prefix; find . ) | LC_ALL=C sort -u
|
|
||||||
echo "SDL2_DIR=$(pwd)/autotools_prefix" >> $GITHUB_ENV
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
run: |
|
|
||||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
- name: Distcheck (Autotools)
|
|
||||||
if: matrix.platform.autotools
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
parallel="$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
make -j"${parallel}" -C build-autotools dist V=1
|
|
||||||
# Similar to Automake `make distcheck`: check that the tarball
|
|
||||||
# release is sufficient to do a new build
|
|
||||||
mkdir distcheck
|
|
||||||
tar -C distcheck -zxf build-autotools/SDL2-*.tar.gz
|
|
||||||
( cd distcheck/SDL2-* && ./configure )
|
|
||||||
make -j"${parallel}" -C distcheck/SDL2-*
|
|
||||||
- name: Run installed-tests (Autotools)
|
|
||||||
if: "runner.os == 'Linux' && matrix.platform.autotools"
|
|
||||||
run: |
|
|
||||||
set -eu
|
|
||||||
parallel="$(getconf _NPROCESSORS_ONLN)"
|
|
||||||
sudo make -j"${parallel}" -C build-autotools install
|
|
||||||
sudo make -j"${parallel}" -C build-autotools/test install
|
|
||||||
export SDL_TESTS_QUICK=1
|
|
||||||
# We need to set LD_LIBRARY_PATH because it isn't in the default
|
|
||||||
# linker search path. We don't need to set XDG_DATA_DIRS for
|
|
||||||
# ginsttest-runner, because /usr/local/share *is* in the default
|
|
||||||
# search path for that.
|
|
||||||
env --chdir=/ \
|
|
||||||
LD_LIBRARY_PATH=/usr/local/lib \
|
|
||||||
SDL_AUDIODRIVER=dummy \
|
|
||||||
SDL_VIDEODRIVER=dummy \
|
|
||||||
ginsttest-runner --tap SDL2
|
|
||||||
|
|
26
externals/SDL/.github/workflows/os2.yml
vendored
Executable file
26
externals/SDL/.github/workflows/os2.yml
vendored
Executable file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Build (OS/2)
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
os2:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Cache OpenWatcom
|
||||||
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-openwatcom
|
||||||
|
with:
|
||||||
|
path: ~/openwatcom
|
||||||
|
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||||
|
|
||||||
|
- name: Download OpenWatcom if not cached
|
||||||
|
run: if [ ! -d ~/openwatcom/binl64 ]; then wget --no-verbose 'https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/open-watcom-2_0-c-linux-x64' -O ~/ow.zip && mkdir -p ~/openwatcom && cd ~/openwatcom && unzip ~/ow.zip && chmod -R a+rx ~/openwatcom ; fi
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: WATCOM="$HOME/openwatcom" build-scripts/os2-buildbot.sh
|
||||||
|
shell: bash
|
||||||
|
|
23
externals/SDL/.github/workflows/psp.yaml
vendored
23
externals/SDL/.github/workflows/psp.yaml
vendored
|
@ -13,25 +13,6 @@ jobs:
|
||||||
apk update
|
apk update
|
||||||
apk add cmake gmp mpc1 mpfr4 make
|
apk add cmake gmp mpc1 mpfr4 make
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake -DSDL_TEST=ON
|
||||||
cmake -S . -B build \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \
|
|
||||||
-DSDL_TESTS=ON \
|
|
||||||
-DSDL_INSTALL_TESTS=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=prefix
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --config Release
|
run: cmake --build build
|
||||||
- name: Install
|
|
||||||
run: |
|
|
||||||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
|
||||||
cmake --install build --config Release
|
|
||||||
( cd prefix; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
run: |
|
|
||||||
cmake -S cmake/test -B cmake_config_build \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
|
||||||
-DTEST_SHARED=FALSE \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
|
|
71
externals/SDL/.github/workflows/riscos.yml
vendored
71
externals/SDL/.github/workflows/riscos.yml
vendored
|
@ -3,65 +3,26 @@ name: Build (RISC OS)
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
autotools:
|
||||||
name: ${{ matrix.platform.name }}
|
name: autotools
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Configure
|
||||||
|
run: ./configure --host=arm-unknown-riscos --disable-gcc-atomics
|
||||||
|
- name: Build
|
||||||
|
run: make -j`nproc`
|
||||||
|
|
||||||
strategy:
|
cmake:
|
||||||
fail-fast: false
|
name: CMake
|
||||||
matrix:
|
runs-on: ubuntu-latest
|
||||||
platform:
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
||||||
- { name: autotools, test_args: '-DTEST_SHARED=FALSE' } # FIXME: autotools should build and install shared libraries
|
|
||||||
- { name: CMake }
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: apt-get update && apt-get install -y cmake ninja-build
|
run: apt-get update && apt-get install -y cmake ninja-build
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure (autotools)
|
- name: Configure CMake
|
||||||
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
run: cmake -S. -Bbuild -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake -DRISCOS=ON -DSDL_GCC_ATOMICS=OFF -DCMAKE_BUILD_TYPE=Release
|
||||||
run: |
|
- name: Build
|
||||||
mkdir build_autotools
|
run: cmake --build build
|
||||||
cd build_autotools
|
|
||||||
../configure \
|
|
||||||
--host=arm-unknown-riscos \
|
|
||||||
--disable-gcc-atomics \
|
|
||||||
--prefix=${{ github.workspace }}/prefix_autotools
|
|
||||||
- name: Build (autotools)
|
|
||||||
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
|
||||||
run: make -C build_autotools -j`nproc` V=1
|
|
||||||
- name: Install (autotools)
|
|
||||||
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
|
||||||
run: |
|
|
||||||
echo "SDL2_DIR=${{ github.workspace }}/prefix_autotools" >> $GITHUB_ENV
|
|
||||||
make -C build_autotools install
|
|
||||||
( cd ${{ github.workspace }}/prefix_autotools; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Configure (CMake)
|
|
||||||
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
|
||||||
run: |
|
|
||||||
cmake -S . -B build -G Ninja \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
|
||||||
-DRISCOS=ON \
|
|
||||||
-DSDL_GCC_ATOMICS=OFF \
|
|
||||||
-DSDL_TESTS=ON \
|
|
||||||
-DSDL_INSTALL_TESTS=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/prefix_cmake
|
|
||||||
- name: Build (CMake)
|
|
||||||
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
|
||||||
run: cmake --build build --verbose
|
|
||||||
- name: Install (CMake)
|
|
||||||
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
|
||||||
run: |
|
|
||||||
echo "SDL2_DIR=${{ github.workspace }}/prefix_cmake" >> $GITHUB_ENV
|
|
||||||
cmake --install build/
|
|
||||||
( cd ${{ github.workspace }}/prefix_cmake; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
run: |
|
|
||||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
${{ matrix.platform.test_args }}
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
|
|
25
externals/SDL/.github/workflows/vita.yaml
vendored
25
externals/SDL/.github/workflows/vita.yaml
vendored
|
@ -16,27 +16,8 @@ jobs:
|
||||||
- name: Install CMake and GNU Make
|
- name: Install CMake and GNU Make
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add cmake make ninja
|
apk add cmake make
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake -S . -B build -G Ninja \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
|
|
||||||
-DSDL_TESTS=ON \
|
|
||||||
-DSDL_INSTALL_TESTS=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=prefix
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build --verbose
|
run: cmake --build build
|
||||||
- name: Install CMake
|
|
||||||
run: |
|
|
||||||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
|
||||||
cmake --install build/
|
|
||||||
( cd prefix; find ) | LC_ALL=C sort -u
|
|
||||||
- name: Verify CMake configuration files
|
|
||||||
run: |
|
|
||||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
|
|
||||||
-DTEST_SHARED=FALSE \
|
|
||||||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
cmake --build cmake_config_build --verbose
|
|
||||||
|
|
1
externals/SDL/.gitignore
vendored
1
externals/SDL/.gitignore
vendored
|
@ -22,7 +22,6 @@ buildbot
|
||||||
*.exe
|
*.exe
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
*.res
|
|
||||||
*.lib
|
*.lib
|
||||||
*.a
|
*.a
|
||||||
*.la
|
*.la
|
||||||
|
|
892
externals/SDL/CMakeLists.txt
vendored
892
externals/SDL/CMakeLists.txt
vendored
File diff suppressed because it is too large
Load diff
4
externals/SDL/INSTALL.txt
vendored
4
externals/SDL/INSTALL.txt
vendored
|
@ -8,10 +8,10 @@ To compile and install SDL:
|
||||||
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
||||||
* Run './configure; make; make install'
|
* Run './configure; make; make install'
|
||||||
|
|
||||||
macOS with Xcode:
|
Mac OS X with Xcode:
|
||||||
* Read docs/README-macosx.md
|
* Read docs/README-macosx.md
|
||||||
|
|
||||||
macOS from the command line:
|
Mac OS X from the command line:
|
||||||
* Run './configure; make; make install'
|
* Run './configure; make; make install'
|
||||||
|
|
||||||
Linux and other UNIX systems:
|
Linux and other UNIX systems:
|
||||||
|
|
4
externals/SDL/Makefile.in
vendored
4
externals/SDL/Makefile.in
vendored
|
@ -19,7 +19,6 @@ distfile = $(distdir).tar.gz
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
CXX = @CXX@
|
|
||||||
INCLUDE = @INCLUDE@
|
INCLUDE = @INCLUDE@
|
||||||
CFLAGS = @BUILD_CFLAGS@
|
CFLAGS = @BUILD_CFLAGS@
|
||||||
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
||||||
|
@ -50,7 +49,7 @@ WAYLAND_SCANNER_CODE_MODE = @WAYLAND_SCANNER_CODE_MODE@
|
||||||
|
|
||||||
INSTALL_SDL2_CONFIG = @INSTALL_SDL2_CONFIG@
|
INSTALL_SDL2_CONFIG = @INSTALL_SDL2_CONFIG@
|
||||||
|
|
||||||
SRC_DIST = *.md *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.ac docs include Makefile.* mingw sdl2-config.cmake.in sdl2-config-version.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC VisualC-WinRT Xcode Xcode-iOS wayland-protocols
|
SRC_DIST = *.md *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.ac debian docs include Makefile.* sdl2-config.cmake.in sdl2-config-version.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC VisualC-WinRT Xcode Xcode-iOS wayland-protocols
|
||||||
GEN_DIST = SDL2.spec
|
GEN_DIST = SDL2.spec
|
||||||
|
|
||||||
ifneq ($V,1)
|
ifneq ($V,1)
|
||||||
|
@ -80,7 +79,6 @@ HDRS = \
|
||||||
SDL_filesystem.h \
|
SDL_filesystem.h \
|
||||||
SDL_gamecontroller.h \
|
SDL_gamecontroller.h \
|
||||||
SDL_gesture.h \
|
SDL_gesture.h \
|
||||||
SDL_guid.h \
|
|
||||||
SDL_haptic.h \
|
SDL_haptic.h \
|
||||||
SDL_hidapi.h \
|
SDL_hidapi.h \
|
||||||
SDL_hints.h \
|
SDL_hints.h \
|
||||||
|
|
29
externals/SDL/Makefile.os2
vendored
29
externals/SDL/Makefile.os2
vendored
|
@ -11,10 +11,7 @@
|
||||||
# wmake -f Makefile.os2 HIDAPI=1
|
# wmake -f Makefile.os2 HIDAPI=1
|
||||||
|
|
||||||
LIBNAME = SDL2
|
LIBNAME = SDL2
|
||||||
MAJOR_VERSION = 2
|
VERSION = 2.0.20
|
||||||
MINOR_VERSION = 23
|
|
||||||
MICRO_VERSION = 1
|
|
||||||
VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
|
|
||||||
DESCRIPTION = Simple DirectMedia Layer 2
|
DESCRIPTION = Simple DirectMedia Layer 2
|
||||||
|
|
||||||
LIBICONV=0
|
LIBICONV=0
|
||||||
|
@ -31,13 +28,7 @@ INCPATH+= -Iinclude
|
||||||
LIBM = SDL2libm.lib
|
LIBM = SDL2libm.lib
|
||||||
TLIB = SDL2test.lib
|
TLIB = SDL2test.lib
|
||||||
LIBS = mmpm2.lib $(LIBM)
|
LIBS = mmpm2.lib $(LIBM)
|
||||||
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oeatxhn -ei
|
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
||||||
# Debug options:
|
|
||||||
# - debug messages from OS/2 related code to stdout:
|
|
||||||
#CFLAGS+= -DOS2DEBUG
|
|
||||||
# - debug messages from OS/2 code via SDL_LogDebug():
|
|
||||||
#CFLAGS+= -DOS2DEBUG=2
|
|
||||||
|
|
||||||
# max warnings:
|
# max warnings:
|
||||||
CFLAGS+= -wx
|
CFLAGS+= -wx
|
||||||
# newer OpenWatcom versions enable W303 by default
|
# newer OpenWatcom versions enable W303 by default
|
||||||
|
@ -63,19 +54,21 @@ CFLAGS_DLL+= -DHAVE_LIBUSB_H=1
|
||||||
# building SDL itself (for DECLSPEC):
|
# building SDL itself (for DECLSPEC):
|
||||||
CFLAGS_DLL+= -DBUILD_SDL
|
CFLAGS_DLL+= -DBUILD_SDL
|
||||||
|
|
||||||
CFLAGS_DLL+= -DSDL_BUILD_MAJOR_VERSION=$(MAJOR_VERSION)
|
# Debug options:
|
||||||
CFLAGS_DLL+= -DSDL_BUILD_MINOR_VERSION=$(MINOR_VERSION)
|
# - debug messages from OS/2 related code to stdout:
|
||||||
CFLAGS_DLL+= -DSDL_BUILD_MICRO_VERSION=$(MICRO_VERSION)
|
#CFLAGS+= -DOS2DEBUG
|
||||||
|
# - debug messages from OS/2 code via SDL_LogDebug():
|
||||||
|
#CFLAGS+= -DOS2DEBUG=2
|
||||||
|
|
||||||
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_guid.c SDL_log.c SDL_dataqueue.c SDL_hints.c SDL_list.c
|
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_log.c SDL_dataqueue.c SDL_hints.c
|
||||||
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_memcpy.c SDL_memset.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc32.c
|
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc32.c
|
||||||
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
|
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
|
||||||
SRCS+= SDL_rwops.c SDL_power.c
|
SRCS+= SDL_rwops.c SDL_power.c
|
||||||
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c
|
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c
|
||||||
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c &
|
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c &
|
||||||
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c &
|
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c &
|
||||||
SDL_sensor.c SDL_touch.c
|
SDL_sensor.c SDL_touch.c
|
||||||
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c controller_type.c
|
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c
|
||||||
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c &
|
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c &
|
||||||
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c &
|
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c &
|
||||||
SDL_render_sw.c SDL_rotate.c SDL_triangle.c
|
SDL_render_sw.c SDL_rotate.c SDL_triangle.c
|
||||||
|
@ -147,11 +140,9 @@ SDL_blendpoint.obj: SDL_blendpoint.c
|
||||||
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
SDL_RLEaccel.obj: SDL_RLEaccel.c
|
SDL_RLEaccel.obj: SDL_RLEaccel.c
|
||||||
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
|
||||||
!ifeq HIDAPI 1
|
|
||||||
# c99 mode needed because of structs with flexible array members in libusb.h
|
# c99 mode needed because of structs with flexible array members in libusb.h
|
||||||
SDL_hidapi.obj: SDL_hidapi.c
|
SDL_hidapi.obj: SDL_hidapi.c
|
||||||
wcc386 $(CFLAGS_DLL) -za99 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -za99 -fo=$^@ $<
|
||||||
!endif
|
|
||||||
|
|
||||||
$(LIBICONV_LIB): "src/core/os2/iconv2.lbc"
|
$(LIBICONV_LIB): "src/core/os2/iconv2.lbc"
|
||||||
@echo * Creating: $@
|
@echo * Creating: $@
|
||||||
|
|
5
externals/SDL/Makefile.psp
vendored
5
externals/SDL/Makefile.psp
vendored
|
@ -1,3 +1,6 @@
|
||||||
|
# The threads code require a rather new PSP SDK with SceLwMutexWorkarea:
|
||||||
|
# https://github.com/pspdev/pspsdk/commit/276d9e3ca6fb26479ad050c21431b2a40f518365
|
||||||
|
#
|
||||||
TARGET_LIB = libSDL2.a
|
TARGET_LIB = libSDL2.a
|
||||||
EXTRA_TARGETS = libSDL2main.a
|
EXTRA_TARGETS = libSDL2main.a
|
||||||
OBJS= src/SDL.o \
|
OBJS= src/SDL.o \
|
||||||
|
@ -36,7 +39,7 @@ OBJS= src/SDL.o \
|
||||||
src/joystick/virtual/SDL_virtualjoystick.o \
|
src/joystick/virtual/SDL_virtualjoystick.o \
|
||||||
src/power/SDL_power.o \
|
src/power/SDL_power.o \
|
||||||
src/power/psp/SDL_syspower.o \
|
src/power/psp/SDL_syspower.o \
|
||||||
src/filesystem/dummy/SDL_sysfilesystem.o \
|
src/filesystem/psp/SDL_sysfilesystem.o \
|
||||||
src/locale/SDL_locale.o \
|
src/locale/SDL_locale.o \
|
||||||
src/locale/dummy/SDL_syslocale.o \
|
src/locale/dummy/SDL_syslocale.o \
|
||||||
src/misc/SDL_url.o \
|
src/misc/SDL_url.o \
|
||||||
|
|
10
externals/SDL/SDL2Config.cmake
vendored
10
externals/SDL/SDL2Config.cmake
vendored
|
@ -1,4 +1,12 @@
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
||||||
|
endif()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake")
|
||||||
|
endif()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
|
||||||
|
endif()
|
||||||
|
|
||||||
# on static-only builds create an alias
|
# on static-only builds create an alias
|
||||||
if(NOT TARGET SDL2::SDL2 AND TARGET SDL2::SDL2-static)
|
if(NOT TARGET SDL2::SDL2 AND TARGET SDL2::SDL2-static)
|
||||||
|
|
16
externals/SDL/VisualC-WinRT/SDL-UWP.vcxproj
vendored
16
externals/SDL/VisualC-WinRT/SDL-UWP.vcxproj
vendored
|
@ -45,7 +45,6 @@
|
||||||
<ClInclude Include="..\include\SDL_error.h" />
|
<ClInclude Include="..\include\SDL_error.h" />
|
||||||
<ClInclude Include="..\include\SDL_events.h" />
|
<ClInclude Include="..\include\SDL_events.h" />
|
||||||
<ClInclude Include="..\include\SDL_filesystem.h" />
|
<ClInclude Include="..\include\SDL_filesystem.h" />
|
||||||
<ClInclude Include="..\include\SDL_guid.h" />
|
|
||||||
<ClInclude Include="..\include\SDL_haptic.h" />
|
<ClInclude Include="..\include\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\include\SDL_hints.h" />
|
<ClInclude Include="..\include\SDL_hints.h" />
|
||||||
<ClInclude Include="..\include\SDL_hidapi.h" />
|
<ClInclude Include="..\include\SDL_hidapi.h" />
|
||||||
|
@ -115,7 +114,6 @@
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
||||||
<ClInclude Include="..\src\joystick\controller_type.h" />
|
|
||||||
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
||||||
|
@ -146,8 +144,6 @@
|
||||||
<ClInclude Include="..\src\SDL_fatal.h" />
|
<ClInclude Include="..\src\SDL_fatal.h" />
|
||||||
<ClInclude Include="..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\src\SDL_internal.h" />
|
<ClInclude Include="..\src\SDL_internal.h" />
|
||||||
<ClInclude Include="..\src\SDL_list.h" />
|
|
||||||
<ClInclude Include="..\src\SDL_log_c.h" />
|
|
||||||
<ClInclude Include="..\src\sensor\dummy\SDL_dummysensor.h" />
|
<ClInclude Include="..\src\sensor\dummy\SDL_dummysensor.h" />
|
||||||
<ClInclude Include="..\src\sensor\SDL_sensor_c.h" />
|
<ClInclude Include="..\src\sensor\SDL_sensor_c.h" />
|
||||||
<ClInclude Include="..\src\sensor\SDL_syssensor.h" />
|
<ClInclude Include="..\src\sensor\SDL_syssensor.h" />
|
||||||
|
@ -252,7 +248,6 @@
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
||||||
<ClCompile Include="..\src\hidapi\SDL_hidapi.c" />
|
<ClCompile Include="..\src\hidapi\SDL_hidapi.c" />
|
||||||
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
||||||
<ClCompile Include="..\src\joystick\controller_type.c" />
|
|
||||||
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
||||||
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
||||||
<ClCompile Include="..\src\joystick\virtual\SDL_virtualjoystick.c" />
|
<ClCompile Include="..\src\joystick\virtual\SDL_virtualjoystick.c" />
|
||||||
|
@ -300,9 +295,7 @@
|
||||||
<ClCompile Include="..\src\SDL.c" />
|
<ClCompile Include="..\src\SDL.c" />
|
||||||
<ClCompile Include="..\src\SDL_assert.c" />
|
<ClCompile Include="..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\src\SDL_dataqueue.c" />
|
||||||
<ClCompile Include="..\src\SDL_list.c" />
|
|
||||||
<ClCompile Include="..\src\SDL_error.c" />
|
<ClCompile Include="..\src\SDL_error.c" />
|
||||||
<ClCompile Include="..\src\SDL_guid.c" />
|
|
||||||
<ClCompile Include="..\src\SDL_hints.c" />
|
<ClCompile Include="..\src\SDL_hints.c" />
|
||||||
<ClCompile Include="..\src\SDL_log.c" />
|
<ClCompile Include="..\src\SDL_log.c" />
|
||||||
<ClCompile Include="..\src\sensor\dummy\SDL_dummysensor.c" />
|
<ClCompile Include="..\src\sensor\dummy\SDL_dummysensor.c" />
|
||||||
|
@ -311,8 +304,6 @@
|
||||||
<ClCompile Include="..\src\stdlib\SDL_getenv.c" />
|
<ClCompile Include="..\src\stdlib\SDL_getenv.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_iconv.c" />
|
<ClCompile Include="..\src\stdlib\SDL_iconv.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_malloc.c" />
|
<ClCompile Include="..\src\stdlib\SDL_malloc.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_memcpy.c" />
|
|
||||||
<ClCompile Include="..\src\stdlib\SDL_memset.c" />
|
|
||||||
<ClCompile Include="..\src\stdlib\SDL_qsort.c" />
|
<ClCompile Include="..\src\stdlib\SDL_qsort.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_stdlib.c" />
|
<ClCompile Include="..\src\stdlib\SDL_stdlib.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_string.c" />
|
<ClCompile Include="..\src\stdlib\SDL_string.c" />
|
||||||
|
@ -423,9 +414,10 @@
|
||||||
<AppContainerApplication>true</AppContainerApplication>
|
<AppContainerApplication>true</AppContainerApplication>
|
||||||
<ApplicationType>Windows Store</ApplicationType>
|
<ApplicationType>Windows Store</ApplicationType>
|
||||||
<ApplicationTypeRevision>8.2</ApplicationTypeRevision>
|
<ApplicationTypeRevision>8.2</ApplicationTypeRevision>
|
||||||
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
|
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
|
||||||
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
|
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
|
||||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
|
||||||
|
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
|
|
@ -63,9 +63,6 @@
|
||||||
<ClInclude Include="..\include\SDL_filesystem.h">
|
<ClInclude Include="..\include\SDL_filesystem.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\include\SDL_guid.h">
|
|
||||||
<Filter>Header Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\include\SDL_haptic.h">
|
<ClInclude Include="..\include\SDL_haptic.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -333,9 +330,6 @@
|
||||||
<ClInclude Include="..\src\SDL_internal.h">
|
<ClInclude Include="..\src\SDL_internal.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\SDL_log_c.h">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\src\locale\SDL_syslocale.h">
|
<ClInclude Include="..\src\locale\SDL_syslocale.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -417,9 +411,6 @@
|
||||||
<ClInclude Include="..\src\SDL_dataqueue.h">
|
<ClInclude Include="..\src\SDL_dataqueue.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\SDL_list.h">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h">
|
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -636,9 +627,6 @@
|
||||||
<ClCompile Include="..\src\SDL_error.c">
|
<ClCompile Include="..\src\SDL_error.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\SDL_guid.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\src\SDL_hints.c">
|
<ClCompile Include="..\src\SDL_hints.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -792,9 +780,6 @@
|
||||||
<ClCompile Include="..\src\SDL_dataqueue.c">
|
<ClCompile Include="..\src\SDL_dataqueue.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\SDL_list.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c">
|
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -828,16 +813,10 @@
|
||||||
<ClCompile Include="..\src\misc\SDL_url.c">
|
<ClCompile Include="..\src\misc\SDL_url.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\src\joystick\controller_type.h">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\src\joystick\windows\SDL_windows_gaming_input.c">
|
<ClCompile Include="..\src\joystick\windows\SDL_windows_gaming_input.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\joystick\controller_type.c">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
11
externals/SDL/VisualC/SDL/SDL.vcxproj
vendored
11
externals/SDL/VisualC/SDL/SDL.vcxproj
vendored
|
@ -234,7 +234,6 @@
|
||||||
<ClInclude Include="..\..\include\SDL_filesystem.h" />
|
<ClInclude Include="..\..\include\SDL_filesystem.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_gamecontroller.h" />
|
<ClInclude Include="..\..\include\SDL_gamecontroller.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_gesture.h" />
|
<ClInclude Include="..\..\include\SDL_gesture.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_guid.h" />
|
|
||||||
<ClInclude Include="..\..\include\SDL_haptic.h" />
|
<ClInclude Include="..\..\include\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_hints.h" />
|
<ClInclude Include="..\..\include\SDL_hints.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_hidapi.h" />
|
<ClInclude Include="..\..\include\SDL_hidapi.h" />
|
||||||
|
@ -348,7 +347,6 @@
|
||||||
<ClInclude Include="..\..\src\misc\SDL_sysurl.h" />
|
<ClInclude Include="..\..\src\misc\SDL_sysurl.h" />
|
||||||
<ClInclude Include="..\..\src\power\SDL_syspower.h" />
|
<ClInclude Include="..\..\src\power\SDL_syspower.h" />
|
||||||
<ClInclude Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.h" />
|
<ClInclude Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.h" />
|
||||||
<ClInclude Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.h" />
|
|
||||||
<ClInclude Include="..\..\src\render\direct3d\SDL_shaders_d3d.h" />
|
<ClInclude Include="..\..\src\render\direct3d\SDL_shaders_d3d.h" />
|
||||||
<ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" />
|
<ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" />
|
||||||
<ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" />
|
<ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" />
|
||||||
|
@ -369,11 +367,8 @@
|
||||||
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
||||||
<ClCompile Include="..\..\src\SDL_guid.c" />
|
|
||||||
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_internal.h" />
|
<ClInclude Include="..\..\src\SDL_internal.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_list.h" />
|
|
||||||
<ClInclude Include="..\..\src\SDL_log_c.h" />
|
|
||||||
<ClInclude Include="..\..\src\sensor\dummy\SDL_dummysensor.h" />
|
<ClInclude Include="..\..\src\sensor\dummy\SDL_dummysensor.h" />
|
||||||
<ClInclude Include="..\..\src\sensor\SDL_sensor_c.h" />
|
<ClInclude Include="..\..\src\sensor\SDL_sensor_c.h" />
|
||||||
<ClInclude Include="..\..\src\sensor\SDL_syssensor.h" />
|
<ClInclude Include="..\..\src\sensor\SDL_syssensor.h" />
|
||||||
|
@ -479,7 +474,6 @@
|
||||||
<ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c" />
|
<ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c" />
|
||||||
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
|
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
|
||||||
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c" />
|
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\controller_type.c" />
|
|
||||||
<ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapijoystick.c" />
|
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapijoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_gamecube.c" />
|
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_gamecube.c" />
|
||||||
|
@ -528,8 +522,6 @@
|
||||||
<ClCompile Include="..\..\src\power\SDL_power.c" />
|
<ClCompile Include="..\..\src\power\SDL_power.c" />
|
||||||
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c" />
|
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c" />
|
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c" />
|
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.c" />
|
|
||||||
<ClCompile Include="..\..\src\render\direct3d\SDL_render_d3d.c" />
|
<ClCompile Include="..\..\src\render\direct3d\SDL_render_d3d.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" />
|
<ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d\SDL_shaders_d3d.c" />
|
<ClCompile Include="..\..\src\render\direct3d\SDL_shaders_d3d.c" />
|
||||||
|
@ -551,7 +543,6 @@
|
||||||
<ClCompile Include="..\..\src\SDL.c" />
|
<ClCompile Include="..\..\src\SDL.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_assert.c" />
|
<ClCompile Include="..\..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_list.c" />
|
|
||||||
<ClCompile Include="..\..\src\SDL_error.c" />
|
<ClCompile Include="..\..\src\SDL_error.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_hints.c" />
|
<ClCompile Include="..\..\src\SDL_hints.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_log.c" />
|
<ClCompile Include="..\..\src\SDL_log.c" />
|
||||||
|
@ -562,8 +553,6 @@
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_memcpy.c" />
|
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_memset.c" />
|
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_string.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_string.c" />
|
||||||
|
|
24
externals/SDL/VisualC/SDL/SDL.vcxproj.filters
vendored
24
externals/SDL/VisualC/SDL/SDL.vcxproj.filters
vendored
|
@ -169,9 +169,6 @@
|
||||||
<Filter Include="video\khronos\vulkan">
|
<Filter Include="video\khronos\vulkan">
|
||||||
<UniqueIdentifier>{4755f3a6-49ac-46d6-86be-21f5c21f2197}</UniqueIdentifier>
|
<UniqueIdentifier>{4755f3a6-49ac-46d6-86be-21f5c21f2197}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="render\direct3d12">
|
|
||||||
<UniqueIdentifier>{f48c2b17-1bee-4fec-a7c8-24cf619abe08}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\include\begin_code.h">
|
<ClInclude Include="..\..\include\begin_code.h">
|
||||||
|
@ -234,9 +231,6 @@
|
||||||
<ClInclude Include="..\..\include\SDL_gesture.h">
|
<ClInclude Include="..\..\include\SDL_gesture.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\include\SDL_guid.h">
|
|
||||||
<Filter>API Headers</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\include\SDL_haptic.h">
|
<ClInclude Include="..\..\include\SDL_haptic.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -407,7 +401,6 @@
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_list.h" />
|
|
||||||
<ClInclude Include="..\..\include\SDL_metal.h">
|
<ClInclude Include="..\..\include\SDL_metal.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
@ -831,10 +824,6 @@
|
||||||
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_internal.h" />
|
<ClInclude Include="..\..\src\SDL_internal.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_log_c.h" />
|
|
||||||
<ClInclude Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.h">
|
|
||||||
<Filter>render\direct3d12</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
|
@ -842,9 +831,7 @@
|
||||||
<ClCompile Include="..\..\src\SDL_assert.c" />
|
<ClCompile Include="..\..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_error.c" />
|
<ClCompile Include="..\..\src\SDL_error.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_guid.c" />
|
|
||||||
<ClCompile Include="..\..\src\SDL_hints.c" />
|
<ClCompile Include="..\..\src\SDL_hints.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_list.c" />
|
|
||||||
<ClCompile Include="..\..\src\audio\SDL_audio.c">
|
<ClCompile Include="..\..\src\audio\SDL_audio.c">
|
||||||
<Filter>audio</Filter>
|
<Filter>audio</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -926,9 +913,6 @@
|
||||||
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c">
|
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c">
|
||||||
<Filter>hidapi</Filter>
|
<Filter>hidapi</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\joystick\controller_type.c">
|
|
||||||
<Filter>joystick</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c">
|
<ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c">
|
||||||
<Filter>joystick</Filter>
|
<Filter>joystick</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -1217,7 +1201,7 @@
|
||||||
<ClCompile Include="..\..\src\thread\SDL_thread.c">
|
<ClCompile Include="..\..\src\thread\SDL_thread.c">
|
||||||
<Filter>thread</Filter>
|
<Filter>thread</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\thread\windows\SDL_syscond_cv.c">
|
<ClCompile Include="..\..\src\thread\windows\SDL_syscond_cv.c" >
|
||||||
<Filter>thread\windows</Filter>
|
<Filter>thread\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c">
|
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c">
|
||||||
|
@ -1332,12 +1316,6 @@
|
||||||
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c">
|
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c">
|
||||||
<Filter>power\windows</Filter>
|
<Filter>power\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c">
|
|
||||||
<Filter>render\direct3d12</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.c">
|
|
||||||
<Filter>render\direct3d12</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\src\main\windows\version.rc" />
|
<ResourceCompile Include="..\..\src\main\windows\version.rc" />
|
||||||
|
|
|
@ -271,7 +271,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\controllermap.c" />
|
<ClCompile Include="..\..\..\test\controllermap.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|
|
@ -203,7 +203,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\Test\loopwave.c" />
|
<ClCompile Include="..\..\..\Test\loopwave.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CustomBuild Include="..\..\..\test\sample.wav">
|
<CustomBuild Include="..\..\..\test\sample.wav">
|
||||||
|
|
|
@ -209,7 +209,6 @@
|
||||||
<ClCompile Include="..\..\..\test\testautomation_hints.c" />
|
<ClCompile Include="..\..\..\test\testautomation_hints.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
|
<ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_main.c" />
|
<ClCompile Include="..\..\..\test\testautomation_main.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_math.c" />
|
|
||||||
<ClCompile Include="..\..\..\test\testautomation_mouse.c" />
|
<ClCompile Include="..\..\..\test\testautomation_mouse.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_pixels.c" />
|
<ClCompile Include="..\..\..\test\testautomation_pixels.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_platform.c" />
|
<ClCompile Include="..\..\..\test\testautomation_platform.c" />
|
||||||
|
|
|
@ -271,7 +271,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testgamecontroller.c" />
|
<ClCompile Include="..\..\..\test\testgamecontroller.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|
|
@ -217,7 +217,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testoverlay2.c" />
|
<ClCompile Include="..\..\..\test\testoverlay2.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
<ClCompile Include="..\..\..\test\testyuv_cvt.c" />
|
<ClCompile Include="..\..\..\test\testyuv_cvt.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
|
|
@ -241,7 +241,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testrendertarget.c" />
|
<ClCompile Include="..\..\..\test\testrendertarget.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|
|
@ -241,7 +241,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testscale.c" />
|
<ClCompile Include="..\..\..\test\testscale.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|
|
@ -223,7 +223,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testsprite2.c" />
|
<ClCompile Include="..\..\..\test\testsprite2.c" />
|
||||||
<ClCompile Include="..\..\..\test\testutils.c" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|
78
externals/SDL/WhatsNew.txt
vendored
78
externals/SDL/WhatsNew.txt
vendored
|
@ -1,84 +1,6 @@
|
||||||
|
|
||||||
This is a list of major changes in SDL's version history.
|
This is a list of major changes in SDL's version history.
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
2.24.0:
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
General:
|
|
||||||
* New version numbering scheme, similar to GLib and Flatpak.
|
|
||||||
* An even number in the minor version (second component) indicates
|
|
||||||
a production-ready stable release such as 2.24.0, which would have
|
|
||||||
been 2.0.24 under the old system.
|
|
||||||
* The patchlevel (micro version, third component) indicates a
|
|
||||||
bugfix-only update: for example, 2.24.1 would be a bugfix-only
|
|
||||||
release to fix bugs in 2.24.0, without adding new features.
|
|
||||||
* An odd number in the minor version indicates a prerelease such
|
|
||||||
as 2.23.0. Stable distributions should not use these prereleases.
|
|
||||||
* The patchlevel indicates successive prereleases, for example
|
|
||||||
2.23.1 and 2.23.2 would be prereleases during development of
|
|
||||||
the SDL 2.24.0 stable release.
|
|
||||||
* Added SDL_bsearch() and SDL_utf8strnlen() to the stdlib routines
|
|
||||||
* Added SDL_size_mul_overflow() and SDL_size_add_overflow() for better size overflow protection
|
|
||||||
* Added functions to get the platform dependent name for a joystick or game controller:
|
|
||||||
* SDL_JoystickPathForIndex()
|
|
||||||
* SDL_JoystickPath()
|
|
||||||
* SDL_GameControllerPathForIndex()
|
|
||||||
* SDL_GameControllerPath()
|
|
||||||
* Added SDL_GameControllerGetFirmwareVersion() and SDL_JoystickGetFirmwareVersion(), currently implemented for DualSense(tm) Wireless Controllers using HIDAPI
|
|
||||||
* Added SDL_JoystickAttachVirtualEx() for extended virtual controller support
|
|
||||||
* Added joystick event SDL_JOYBATTERYUPDATED for when battery status changes.
|
|
||||||
* Added SDL_GUIDToString() and SDL_GUIDFromString() to convert between SDL GUID and string
|
|
||||||
* Added SDL_HasLSX() and SDL_HasLASX() to detect LoongArch SIMD support
|
|
||||||
|
|
||||||
Windows:
|
|
||||||
* Added a D3D12 renderer implementation and SDL_RenderGetD3D12Device() to retrieve the D3D12 device associated with it
|
|
||||||
* Added the hint SDL_HINT_WINDOWS_DPI_AWARENESS to set whether the application is DPI-aware. This hint must be set before initializing the video subsystem.
|
|
||||||
* Added the hint SDL_HINT_WINDOWS_DPI_SCALING to control whether the SDL coordinates are in DPI-scaled points or pixels.
|
|
||||||
|
|
||||||
Linux:
|
|
||||||
* Added the hint SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION to control whether to expose a set of emulated modes in addition to the native resolution modes available on Wayland
|
|
||||||
* Added the hint SDL_HINT_LINUX_DIGITAL_HATS to control whether to treat hats as digital rather than checking to see if they may be analog
|
|
||||||
* Added the hint SDL_HINT_LINUX_HAT_DEADZONES to control whether to use deadzones on analog hats
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
2.0.22:
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
General:
|
|
||||||
* Added SDL_RenderGetWindow() to get the window associated with a renderer
|
|
||||||
* Added floating point rectangle functions:
|
|
||||||
* SDL_PointInFRect()
|
|
||||||
* SDL_FRectEmpty()
|
|
||||||
* SDL_FRectEquals()
|
|
||||||
* SDL_FRectEqualsEpsilon()
|
|
||||||
* SDL_HasIntersectionF()
|
|
||||||
* SDL_IntersectFRect()
|
|
||||||
* SDL_UnionFRect()
|
|
||||||
* SDL_EncloseFPoints()
|
|
||||||
* SDL_IntersectFRectAndLine()
|
|
||||||
* Added SDL_IsTextInputShown() which returns whether the IME window is currently shown
|
|
||||||
* Added SDL_ClearComposition() to dismiss the composition window without disabling IME input
|
|
||||||
* Added SDL_TEXTEDITING_EXT event for handling long composition text, and a hint SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to enable it
|
|
||||||
* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the mouse should be constrained to the whole window or the center of the window when relative mode is enabled
|
|
||||||
* The mouse is now automatically captured when mouse buttons are pressed, and the hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
|
|
||||||
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that a foreign window will be used with OpenGL
|
|
||||||
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that a foreign window will be used with Vulkan
|
|
||||||
* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an SDL_QUIT event will be delivered when the last application window is closed
|
|
||||||
* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks
|
|
||||||
|
|
||||||
Windows:
|
|
||||||
* Added support for SDL_BLENDOPERATION_MINIMUM and SDL_BLENDOPERATION_MAXIMUM to the D3D9 renderer
|
|
||||||
|
|
||||||
Linux:
|
|
||||||
* Compiling with Wayland support requires libwayland-client version 1.18.0 or later
|
|
||||||
* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE of SDL windows
|
|
||||||
* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using libdecor with compositors that support xdg-decoration
|
|
||||||
|
|
||||||
Android:
|
|
||||||
* Added SDL_AndroidSendMessage() to send a custom command to the SDL java activity
|
|
||||||
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
2.0.20:
|
2.0.20:
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
4
externals/SDL/Xcode/SDL/Info-Framework.plist
vendored
4
externals/SDL/Xcode/SDL/Info-Framework.plist
vendored
|
@ -19,10 +19,10 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>2.23.1</string>
|
<string>2.0.20</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>SDLX</string>
|
<string>SDLX</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2.23.1</string>
|
<string>2.0.20</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -111,24 +111,6 @@
|
||||||
A1626A582617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A582617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
A1626A592617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A592617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
A1626A5A2617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A5A2617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
A1BB8B6327F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6427F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6527F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6627F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6727F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6827F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6927F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6A27F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6B27F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
|
||||||
A1BB8B6C27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B6D27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B6E27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B6F27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B7027F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B7127F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B7227F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B7327F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A1BB8B7427F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
|
||||||
A7381E961D8B69D600B177DD /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E951D8B69D600B177DD /* CoreAudio.framework */; };
|
A7381E961D8B69D600B177DD /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E951D8B69D600B177DD /* CoreAudio.framework */; };
|
||||||
A7381E971D8B6A0300B177DD /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E931D8B69C300B177DD /* AudioToolbox.framework */; };
|
A7381E971D8B6A0300B177DD /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E931D8B69C300B177DD /* AudioToolbox.framework */; };
|
||||||
A75FCCFD23E25AB700529352 /* SDL_shaders_metal_tvos.h in Headers */ = {isa = PBXBuildFile; fileRef = A7D8A8E323E2514000DCD162 /* SDL_shaders_metal_tvos.h */; };
|
A75FCCFD23E25AB700529352 /* SDL_shaders_metal_tvos.h in Headers */ = {isa = PBXBuildFile; fileRef = A7D8A8E323E2514000DCD162 /* SDL_shaders_metal_tvos.h */; };
|
||||||
|
@ -3382,24 +3364,6 @@
|
||||||
DB31407017554B71006C0E22 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; };
|
DB31407017554B71006C0E22 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; };
|
||||||
DB31407217554B71006C0E22 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; };
|
DB31407217554B71006C0E22 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; };
|
||||||
DB31408D17554D3C006C0E22 /* ForceFeedback.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFA89C106B4BA100758660 /* ForceFeedback.framework */; };
|
DB31408D17554D3C006C0E22 /* ForceFeedback.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFA89C106B4BA100758660 /* ForceFeedback.framework */; };
|
||||||
F3249B1E285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B1F285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B20285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B21285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B22285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B23285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B24285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B25285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B26285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
|
||||||
F3249B27285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B28285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B29285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2A285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2B285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2C285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2D285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2E285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3249B2F285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
|
||||||
F3631C6424884ACF004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F3631C6424884ACF004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F3631C652488534E004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F3631C652488534E004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F376F6192559B29300CFC0BC /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6182559B29300CFC0BC /* OpenGLES.framework */; platformFilter = ios; };
|
F376F6192559B29300CFC0BC /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6182559B29300CFC0BC /* OpenGLES.framework */; platformFilter = ios; };
|
||||||
|
@ -3431,38 +3395,8 @@
|
||||||
F376F7262559B76800CFC0BC /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7252559B76800CFC0BC /* CoreFoundation.framework */; };
|
F376F7262559B76800CFC0BC /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7252559B76800CFC0BC /* CoreFoundation.framework */; };
|
||||||
F376F7282559B77100CFC0BC /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7272559B77100CFC0BC /* CoreAudio.framework */; };
|
F376F7282559B77100CFC0BC /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7272559B77100CFC0BC /* CoreAudio.framework */; };
|
||||||
F376F7332559B79B00CFC0BC /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6DE2559B5BA00CFC0BC /* GameController.framework */; };
|
F376F7332559B79B00CFC0BC /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6DE2559B5BA00CFC0BC /* GameController.framework */; };
|
||||||
F37A8E1A28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
|
||||||
F37A8E1B28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
|
||||||
F37A8E1C28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
|
||||||
F37DC5F325350EBC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
F37DC5F325350EBC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||||
F37DC5F525350ECC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
F37DC5F525350ECC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||||
F3820713284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820714284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820715284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820716284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820717284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820718284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F3820719284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F382071A284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F382071B284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
|
||||||
F382071D284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F382071E284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F382071F284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820720284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820721284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820722284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820723284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820724284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820725284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
|
||||||
F3820727284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F3820728284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F3820729284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F382072A284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
|
||||||
F382072B284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
|
||||||
F382072C284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
|
||||||
F382072D284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F382072E284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F382072F284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
||||||
F38233852738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233852738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F38233862738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233862738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F38233872738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233872738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
@ -3517,13 +3451,13 @@
|
||||||
F395C1A22569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A22569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1A32569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A32569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1A42569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A42569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1B12569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B12569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
||||||
F395C1B22569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B22569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B32569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B32569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B42569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B42569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
||||||
F395C1B52569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B52569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B62569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B62569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B72569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B72569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
||||||
F395C1B82569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B82569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B92569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B92569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1BA2569C6A000942BFF /* SDL_mfijoystick_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F395C1B02569C6A000942BFF /* SDL_mfijoystick_c.h */; };
|
F395C1BA2569C6A000942BFF /* SDL_mfijoystick_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F395C1B02569C6A000942BFF /* SDL_mfijoystick_c.h */; };
|
||||||
|
@ -3640,8 +3574,6 @@
|
||||||
75E09159241EA924004729E1 /* SDL_virtualjoystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_virtualjoystick_c.h; sourceTree = "<group>"; };
|
75E09159241EA924004729E1 /* SDL_virtualjoystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_virtualjoystick_c.h; sourceTree = "<group>"; };
|
||||||
A1626A3D2617006A003F1973 /* SDL_triangle.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_triangle.c; sourceTree = "<group>"; };
|
A1626A3D2617006A003F1973 /* SDL_triangle.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_triangle.c; sourceTree = "<group>"; };
|
||||||
A1626A512617008C003F1973 /* SDL_triangle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_triangle.h; sourceTree = "<group>"; };
|
A1626A512617008C003F1973 /* SDL_triangle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_triangle.h; sourceTree = "<group>"; };
|
||||||
A1BB8B6127F6CF320057CFA8 /* SDL_list.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_list.c; sourceTree = "<group>"; };
|
|
||||||
A1BB8B6227F6CF330057CFA8 /* SDL_list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_list.h; sourceTree = "<group>"; };
|
|
||||||
A7381E931D8B69C300B177DD /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
A7381E931D8B69C300B177DD /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
||||||
A7381E951D8B69D600B177DD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
A7381E951D8B69D600B177DD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
||||||
A75FCEB323E25AB700529352 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
A75FCEB323E25AB700529352 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
@ -4045,8 +3977,6 @@
|
||||||
BECDF6B30761BA81005FE872 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
BECDF6B30761BA81005FE872 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
BECDF6BE0761BA81005FE872 /* SDL2 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SDL2; sourceTree = BUILT_PRODUCTS_DIR; };
|
BECDF6BE0761BA81005FE872 /* SDL2 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SDL2; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
DB31407717554B71006C0E22 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
DB31407717554B71006C0E22 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
F3249B1C285A85FF00DB9B5C /* SDL_memset.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_memset.c; sourceTree = "<group>"; };
|
|
||||||
F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_memcpy.c; sourceTree = "<group>"; };
|
|
||||||
F376F6182559B29300CFC0BC /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk/System/Library/Frameworks/OpenGLES.framework; sourceTree = DEVELOPER_DIR; };
|
F376F6182559B29300CFC0BC /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk/System/Library/Frameworks/OpenGLES.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F61A2559B2AF00CFC0BC /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/iOSSupport/System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
F376F61A2559B2AF00CFC0BC /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/iOSSupport/System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||||
F376F6312559B31D00CFC0BC /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/iOSSupport/System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
F376F6312559B31D00CFC0BC /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/iOSSupport/System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
||||||
|
@ -4061,12 +3991,8 @@
|
||||||
F376F7212559B74900CFC0BC /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7212559B74900CFC0BC /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F7252559B76800CFC0BC /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7252559B76800CFC0BC /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F7272559B77100CFC0BC /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreAudio.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7272559B77100CFC0BC /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreAudio.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F37A8E1928405AA100C38E95 /* CMake */ = {isa = PBXFileReference; lastKnownFileType = folder; path = CMake; sourceTree = "<group>"; };
|
|
||||||
F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = System/Library/Frameworks/CoreHaptics.framework; sourceTree = SDKROOT; };
|
F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = System/Library/Frameworks/CoreHaptics.framework; sourceTree = SDKROOT; };
|
||||||
F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreHaptics.framework; sourceTree = DEVELOPER_DIR; };
|
F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreHaptics.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F3820712284F3609004DD584 /* controller_type.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = controller_type.c; sourceTree = "<group>"; };
|
|
||||||
F382071C284F362F004DD584 /* SDL_guid.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_guid.c; sourceTree = "<group>"; };
|
|
||||||
F3820726284F3643004DD584 /* SDL_guid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_guid.h; sourceTree = "<group>"; };
|
|
||||||
F38233842738EB8600F7F527 /* SDL_hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi.h; sourceTree = "<group>"; };
|
F38233842738EB8600F7F527 /* SDL_hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi.h; sourceTree = "<group>"; };
|
||||||
F382339B2738ED6600F7F527 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS15.0.sdk/System/Library/Frameworks/CoreBluetooth.framework; sourceTree = DEVELOPER_DIR; };
|
F382339B2738ED6600F7F527 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS15.0.sdk/System/Library/Frameworks/CoreBluetooth.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F3950CD7212BC88D00F51292 /* SDL_sensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sensor.h; sourceTree = "<group>"; };
|
F3950CD7212BC88D00F51292 /* SDL_sensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sensor.h; sourceTree = "<group>"; };
|
||||||
|
@ -4256,7 +4182,6 @@
|
||||||
567E2F2017C44C35005F1892 /* SDL_filesystem.h */,
|
567E2F2017C44C35005F1892 /* SDL_filesystem.h */,
|
||||||
A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */,
|
A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */,
|
||||||
AA7557D51595D4D800BBD41B /* SDL_gesture.h */,
|
AA7557D51595D4D800BBD41B /* SDL_gesture.h */,
|
||||||
F3820726284F3643004DD584 /* SDL_guid.h */,
|
|
||||||
AA7557D61595D4D800BBD41B /* SDL_haptic.h */,
|
AA7557D61595D4D800BBD41B /* SDL_haptic.h */,
|
||||||
F38233842738EB8600F7F527 /* SDL_hidapi.h */,
|
F38233842738EB8600F7F527 /* SDL_hidapi.h */,
|
||||||
AA7557D71595D4D800BBD41B /* SDL_hints.h */,
|
AA7557D71595D4D800BBD41B /* SDL_hints.h */,
|
||||||
|
@ -4375,13 +4300,10 @@
|
||||||
A7D8A57023E2513D00DCD162 /* SDL_dataqueue.h */,
|
A7D8A57023E2513D00DCD162 /* SDL_dataqueue.h */,
|
||||||
A7D8A57523E2513D00DCD162 /* SDL_error_c.h */,
|
A7D8A57523E2513D00DCD162 /* SDL_error_c.h */,
|
||||||
A7D8A8BF23E2513F00DCD162 /* SDL_error.c */,
|
A7D8A8BF23E2513F00DCD162 /* SDL_error.c */,
|
||||||
F382071C284F362F004DD584 /* SDL_guid.c */,
|
|
||||||
A7D8A8D123E2514000DCD162 /* SDL_hints_c.h */,
|
A7D8A8D123E2514000DCD162 /* SDL_hints_c.h */,
|
||||||
A7D8A5AB23E2513D00DCD162 /* SDL_hints.c */,
|
A7D8A5AB23E2513D00DCD162 /* SDL_hints.c */,
|
||||||
A7D8A58323E2513D00DCD162 /* SDL_internal.h */,
|
A7D8A58323E2513D00DCD162 /* SDL_internal.h */,
|
||||||
A7D8A5DD23E2513D00DCD162 /* SDL_log.c */,
|
A7D8A5DD23E2513D00DCD162 /* SDL_log.c */,
|
||||||
A1BB8B6127F6CF320057CFA8 /* SDL_list.c */,
|
|
||||||
A1BB8B6227F6CF330057CFA8 /* SDL_list.h */,
|
|
||||||
A7D8A57123E2513D00DCD162 /* SDL.c */,
|
A7D8A57123E2513D00DCD162 /* SDL.c */,
|
||||||
);
|
);
|
||||||
name = "Library Source";
|
name = "Library Source";
|
||||||
|
@ -4873,7 +4795,6 @@
|
||||||
75E09157241EA924004729E1 /* virtual */,
|
75E09157241EA924004729E1 /* virtual */,
|
||||||
A7D8A7AD23E2513E00DCD162 /* SDL_gamecontroller.c */,
|
A7D8A7AD23E2513E00DCD162 /* SDL_gamecontroller.c */,
|
||||||
A7D8A7A923E2513E00DCD162 /* SDL_joystick.c */,
|
A7D8A7A923E2513E00DCD162 /* SDL_joystick.c */,
|
||||||
F3820712284F3609004DD584 /* controller_type.c */,
|
|
||||||
A7D8A7D923E2513E00DCD162 /* controller_type.h */,
|
A7D8A7D923E2513E00DCD162 /* controller_type.h */,
|
||||||
A7D8A79E23E2513E00DCD162 /* SDL_gamecontrollerdb.h */,
|
A7D8A79E23E2513E00DCD162 /* SDL_gamecontrollerdb.h */,
|
||||||
A7D8A7D023E2513E00DCD162 /* SDL_joystick_c.h */,
|
A7D8A7D023E2513E00DCD162 /* SDL_joystick_c.h */,
|
||||||
|
@ -5105,8 +5026,6 @@
|
||||||
A7D8A8D423E2514000DCD162 /* SDL_getenv.c */,
|
A7D8A8D423E2514000DCD162 /* SDL_getenv.c */,
|
||||||
A7D8A8D323E2514000DCD162 /* SDL_iconv.c */,
|
A7D8A8D323E2514000DCD162 /* SDL_iconv.c */,
|
||||||
A7D8A8D923E2514000DCD162 /* SDL_malloc.c */,
|
A7D8A8D923E2514000DCD162 /* SDL_malloc.c */,
|
||||||
F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */,
|
|
||||||
F3249B1C285A85FF00DB9B5C /* SDL_memset.c */,
|
|
||||||
A7D8A8D723E2514000DCD162 /* SDL_qsort.c */,
|
A7D8A8D723E2514000DCD162 /* SDL_qsort.c */,
|
||||||
A7D8A8D823E2514000DCD162 /* SDL_stdlib.c */,
|
A7D8A8D823E2514000DCD162 /* SDL_stdlib.c */,
|
||||||
A7D8A8D523E2514000DCD162 /* SDL_string.c */,
|
A7D8A8D523E2514000DCD162 /* SDL_string.c */,
|
||||||
|
@ -5282,7 +5201,6 @@
|
||||||
F59C710100D5CB5801000001 /* resources */ = {
|
F59C710100D5CB5801000001 /* resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
F37A8E1928405AA100C38E95 /* CMake */,
|
|
||||||
00794D3F09D0C461003FC8A1 /* License.txt */,
|
00794D3F09D0C461003FC8A1 /* License.txt */,
|
||||||
F59C710300D5CB5801000001 /* ReadMe.txt */,
|
F59C710300D5CB5801000001 /* ReadMe.txt */,
|
||||||
);
|
);
|
||||||
|
@ -5309,7 +5227,6 @@
|
||||||
A75FCD0823E25AB700529352 /* SDL_atomic.h in Headers */,
|
A75FCD0823E25AB700529352 /* SDL_atomic.h in Headers */,
|
||||||
A75FCD0923E25AB700529352 /* SDL_rect_c.h in Headers */,
|
A75FCD0923E25AB700529352 /* SDL_rect_c.h in Headers */,
|
||||||
A75FCD0B23E25AB700529352 /* SDL_shaders_metal_osx.h in Headers */,
|
A75FCD0B23E25AB700529352 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
F382072E284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A75FCD0C23E25AB700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
A75FCD0C23E25AB700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A75FCD0D23E25AB700529352 /* SDL_offscreenwindow.h in Headers */,
|
A75FCD0D23E25AB700529352 /* SDL_offscreenwindow.h in Headers */,
|
||||||
A75FCD0E23E25AB700529352 /* SDL_audio.h in Headers */,
|
A75FCD0E23E25AB700529352 /* SDL_audio.h in Headers */,
|
||||||
|
@ -5367,7 +5284,6 @@
|
||||||
A75FCD4523E25AB700529352 /* SDL_gesture_c.h in Headers */,
|
A75FCD4523E25AB700529352 /* SDL_gesture_c.h in Headers */,
|
||||||
A75FCD4623E25AB700529352 /* SDL_shaders_gl.h in Headers */,
|
A75FCD4623E25AB700529352 /* SDL_shaders_gl.h in Headers */,
|
||||||
A75FCD4723E25AB700529352 /* SDL_systhread_c.h in Headers */,
|
A75FCD4723E25AB700529352 /* SDL_systhread_c.h in Headers */,
|
||||||
A1BB8B7327F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A75FCD4823E25AB700529352 /* SDL_keycode.h in Headers */,
|
A75FCD4823E25AB700529352 /* SDL_keycode.h in Headers */,
|
||||||
5616CA63252BB35F005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA63252BB35F005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
A75FCD4A23E25AB700529352 /* SDL_cocoakeyboard.h in Headers */,
|
A75FCD4A23E25AB700529352 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
|
@ -5539,7 +5455,6 @@
|
||||||
A75FCEC523E25AC700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
A75FCEC523E25AC700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A75FCEC623E25AC700529352 /* SDL_offscreenwindow.h in Headers */,
|
A75FCEC623E25AC700529352 /* SDL_offscreenwindow.h in Headers */,
|
||||||
A75FCEC723E25AC700529352 /* SDL_audio.h in Headers */,
|
A75FCEC723E25AC700529352 /* SDL_audio.h in Headers */,
|
||||||
F382072F284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A75FCEC823E25AC700529352 /* SDL_coremotionsensor.h in Headers */,
|
A75FCEC823E25AC700529352 /* SDL_coremotionsensor.h in Headers */,
|
||||||
A75FCEC923E25AC700529352 /* SDL_uikitview.h in Headers */,
|
A75FCEC923E25AC700529352 /* SDL_uikitview.h in Headers */,
|
||||||
A75FCECA23E25AC700529352 /* SDL_bits.h in Headers */,
|
A75FCECA23E25AC700529352 /* SDL_bits.h in Headers */,
|
||||||
|
@ -5594,7 +5509,6 @@
|
||||||
A75FCEFE23E25AC700529352 /* SDL_gesture_c.h in Headers */,
|
A75FCEFE23E25AC700529352 /* SDL_gesture_c.h in Headers */,
|
||||||
A75FCEFF23E25AC700529352 /* SDL_shaders_gl.h in Headers */,
|
A75FCEFF23E25AC700529352 /* SDL_shaders_gl.h in Headers */,
|
||||||
A75FCF0023E25AC700529352 /* SDL_systhread_c.h in Headers */,
|
A75FCF0023E25AC700529352 /* SDL_systhread_c.h in Headers */,
|
||||||
A1BB8B7427F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A75FCF0123E25AC700529352 /* SDL_keycode.h in Headers */,
|
A75FCF0123E25AC700529352 /* SDL_keycode.h in Headers */,
|
||||||
5616CA66252BB361005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA66252BB361005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
A75FCF0323E25AC700529352 /* SDL_cocoakeyboard.h in Headers */,
|
A75FCF0323E25AC700529352 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
|
@ -5793,7 +5707,6 @@
|
||||||
A769B0C623E259AE00872273 /* SDL_windowevents_c.h in Headers */,
|
A769B0C623E259AE00872273 /* SDL_windowevents_c.h in Headers */,
|
||||||
A769B0C823E259AE00872273 /* SDL_cocoavideo.h in Headers */,
|
A769B0C823E259AE00872273 /* SDL_cocoavideo.h in Headers */,
|
||||||
5605721C2473688D00B46B66 /* SDL_syslocale.h in Headers */,
|
5605721C2473688D00B46B66 /* SDL_syslocale.h in Headers */,
|
||||||
A1BB8B7127F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A769B0CA23E259AE00872273 /* SDL_uikitevents.h in Headers */,
|
A769B0CA23E259AE00872273 /* SDL_uikitevents.h in Headers */,
|
||||||
A769B0CB23E259AE00872273 /* SDL_gesture_c.h in Headers */,
|
A769B0CB23E259AE00872273 /* SDL_gesture_c.h in Headers */,
|
||||||
A769B0CC23E259AE00872273 /* SDL_shaders_gl.h in Headers */,
|
A769B0CC23E259AE00872273 /* SDL_shaders_gl.h in Headers */,
|
||||||
|
@ -5889,7 +5802,6 @@
|
||||||
A769B14623E259AE00872273 /* SDL_syspower.h in Headers */,
|
A769B14623E259AE00872273 /* SDL_syspower.h in Headers */,
|
||||||
A769B14723E259AE00872273 /* vulkan_macos.h in Headers */,
|
A769B14723E259AE00872273 /* vulkan_macos.h in Headers */,
|
||||||
A769B14823E259AE00872273 /* vulkan_xcb.h in Headers */,
|
A769B14823E259AE00872273 /* vulkan_xcb.h in Headers */,
|
||||||
F382072C284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A769B14923E259AE00872273 /* vulkan_ios.h in Headers */,
|
A769B14923E259AE00872273 /* vulkan_ios.h in Headers */,
|
||||||
A769B14A23E259AE00872273 /* SDL_internal.h in Headers */,
|
A769B14A23E259AE00872273 /* SDL_internal.h in Headers */,
|
||||||
A769B14E23E259AE00872273 /* vulkan.h in Headers */,
|
A769B14E23E259AE00872273 /* vulkan.h in Headers */,
|
||||||
|
@ -5932,7 +5844,6 @@
|
||||||
A7D8BA0E23E2514400DCD162 /* SDL_blendpoint.h in Headers */,
|
A7D8BA0E23E2514400DCD162 /* SDL_blendpoint.h in Headers */,
|
||||||
A7D8B3B723E2514200DCD162 /* SDL_blit.h in Headers */,
|
A7D8B3B723E2514200DCD162 /* SDL_blit.h in Headers */,
|
||||||
A7D8B2BB23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BB23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
F3820728284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A7D8B39923E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39923E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
A7D8ADED23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADED23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
A7D88A2123E2437C00DCD162 /* SDL_clipboard.h in Headers */,
|
A7D88A2123E2437C00DCD162 /* SDL_clipboard.h in Headers */,
|
||||||
|
@ -6044,7 +5955,6 @@
|
||||||
A7D8A98E23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98E23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7423E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7423E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA5023E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA5023E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
A1BB8B6D27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A7D8B98D23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98D23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99C23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99C23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A223E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A223E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
|
@ -6165,7 +6075,6 @@
|
||||||
A7D8B3B823E2514200DCD162 /* SDL_blit.h in Headers */,
|
A7D8B3B823E2514200DCD162 /* SDL_blit.h in Headers */,
|
||||||
A7D8B2BC23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BC23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
A7D8B39A23E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39A23E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
F3820729284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A7D8ADEE23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADEE23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
A7D88BD823E24BED00DCD162 /* SDL_clipboard.h in Headers */,
|
A7D88BD823E24BED00DCD162 /* SDL_clipboard.h in Headers */,
|
||||||
A7D8BB7123E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
A7D8BB7123E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
||||||
|
@ -6276,7 +6185,6 @@
|
||||||
A7D8A98F23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98F23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7523E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7523E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA5123E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA5123E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
A1BB8B6E27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A7D8B98E23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98E23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99D23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99D23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A323E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A323E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
|
@ -6424,7 +6332,6 @@
|
||||||
A7D8BBAF23E2514500DCD162 /* SDL_windowevents_c.h in Headers */,
|
A7D8BBAF23E2514500DCD162 /* SDL_windowevents_c.h in Headers */,
|
||||||
A7D8AF0423E2514100DCD162 /* SDL_cocoavideo.h in Headers */,
|
A7D8AF0423E2514100DCD162 /* SDL_cocoavideo.h in Headers */,
|
||||||
5605721A2473688C00B46B66 /* SDL_syslocale.h in Headers */,
|
5605721A2473688C00B46B66 /* SDL_syslocale.h in Headers */,
|
||||||
A1BB8B7027F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A7D8ACC123E2514100DCD162 /* SDL_uikitevents.h in Headers */,
|
A7D8ACC123E2514100DCD162 /* SDL_uikitevents.h in Headers */,
|
||||||
A7D8BB3D23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
A7D8BB3D23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
||||||
A7D8BA7723E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7723E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
|
@ -6520,7 +6427,6 @@
|
||||||
A7D8B61523E2514300DCD162 /* SDL_syspower.h in Headers */,
|
A7D8B61523E2514300DCD162 /* SDL_syspower.h in Headers */,
|
||||||
A7D8B28823E2514200DCD162 /* vulkan_macos.h in Headers */,
|
A7D8B28823E2514200DCD162 /* vulkan_macos.h in Headers */,
|
||||||
A7D8B29423E2514200DCD162 /* vulkan_xcb.h in Headers */,
|
A7D8B29423E2514200DCD162 /* vulkan_xcb.h in Headers */,
|
||||||
F382072B284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A7D8B2A623E2514200DCD162 /* vulkan_ios.h in Headers */,
|
A7D8B2A623E2514200DCD162 /* vulkan_ios.h in Headers */,
|
||||||
A7D8A99D23E2514000DCD162 /* SDL_internal.h in Headers */,
|
A7D8A99D23E2514000DCD162 /* SDL_internal.h in Headers */,
|
||||||
A7D8B26423E2514200DCD162 /* vulkan.h in Headers */,
|
A7D8B26423E2514200DCD162 /* vulkan.h in Headers */,
|
||||||
|
@ -6565,7 +6471,6 @@
|
||||||
A7D8B2BA23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BA23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
A7D8B39823E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39823E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
A7D8ADEC23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADEC23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
F3820727284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
AA7558061595D4D800BBD41B /* SDL_clipboard.h in Headers */,
|
AA7558061595D4D800BBD41B /* SDL_clipboard.h in Headers */,
|
||||||
A7D8BB6F23E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
A7D8BB6F23E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
||||||
A7D8AECA23E2514100DCD162 /* SDL_cocoaclipboard.h in Headers */,
|
A7D8AECA23E2514100DCD162 /* SDL_cocoaclipboard.h in Headers */,
|
||||||
|
@ -6675,7 +6580,6 @@
|
||||||
A7D8A98D23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98D23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7323E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7323E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA4F23E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA4F23E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
A1BB8B6C27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A7D8B98C23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98C23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99B23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99B23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A123E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A123E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
|
@ -6892,7 +6796,6 @@
|
||||||
A7D8B29F23E2514200DCD162 /* vulkan_xlib.h in Headers */,
|
A7D8B29F23E2514200DCD162 /* vulkan_xlib.h in Headers */,
|
||||||
A7D8B25D23E2514200DCD162 /* vulkan_vi.h in Headers */,
|
A7D8B25D23E2514200DCD162 /* vulkan_vi.h in Headers */,
|
||||||
A7D8B29923E2514200DCD162 /* vulkan_mir.h in Headers */,
|
A7D8B29923E2514200DCD162 /* vulkan_mir.h in Headers */,
|
||||||
A1BB8B6F27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
A7D8BB4E23E2514500DCD162 /* default_cursor.h in Headers */,
|
A7D8BB4E23E2514500DCD162 /* default_cursor.h in Headers */,
|
||||||
A7D8B9FE23E2514400DCD162 /* SDL_render_sw_c.h in Headers */,
|
A7D8B9FE23E2514400DCD162 /* SDL_render_sw_c.h in Headers */,
|
||||||
A7D8BBED23E2574800DCD162 /* SDL_uikitappdelegate.h in Headers */,
|
A7D8BBED23E2574800DCD162 /* SDL_uikitappdelegate.h in Headers */,
|
||||||
|
@ -6929,7 +6832,6 @@
|
||||||
A7D8AF1523E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
|
A7D8AF1523E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
|
||||||
A7D8B25723E2514200DCD162 /* vk_icd.h in Headers */,
|
A7D8B25723E2514200DCD162 /* vk_icd.h in Headers */,
|
||||||
A7D8ABE823E2514100DCD162 /* SDL_nullframebuffer_c.h in Headers */,
|
A7D8ABE823E2514100DCD162 /* SDL_nullframebuffer_c.h in Headers */,
|
||||||
F382072A284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A7D8AB1F23E2514100DCD162 /* SDL_dynapi_procs.h in Headers */,
|
A7D8AB1F23E2514100DCD162 /* SDL_dynapi_procs.h in Headers */,
|
||||||
A7D8B27523E2514200DCD162 /* vulkan_fuchsia.h in Headers */,
|
A7D8B27523E2514200DCD162 /* vulkan_fuchsia.h in Headers */,
|
||||||
5616CA57252BB35C005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA57252BB35C005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
|
@ -6961,7 +6863,6 @@
|
||||||
A7D8AC0823E2514100DCD162 /* SDL_rect_c.h in Headers */,
|
A7D8AC0823E2514100DCD162 /* SDL_rect_c.h in Headers */,
|
||||||
A7D8B9A023E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B9A023E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B99123E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B99123E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
F382072D284F3643004DD584 /* SDL_guid.h in Headers */,
|
|
||||||
A7D8AB8A23E2514100DCD162 /* SDL_offscreenwindow.h in Headers */,
|
A7D8AB8A23E2514100DCD162 /* SDL_offscreenwindow.h in Headers */,
|
||||||
DB313FCC17554B71006C0E22 /* SDL_audio.h in Headers */,
|
DB313FCC17554B71006C0E22 /* SDL_audio.h in Headers */,
|
||||||
A7D8A97423E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
|
A7D8A97423E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
|
||||||
|
@ -7017,7 +6918,6 @@
|
||||||
A7D8BB3E23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
A7D8BB3E23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
||||||
A7D8BA7823E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7823E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8B42D23E2514300DCD162 /* SDL_systhread_c.h in Headers */,
|
A7D8B42D23E2514300DCD162 /* SDL_systhread_c.h in Headers */,
|
||||||
A1BB8B7227F6CF330057CFA8 /* SDL_list.h in Headers */,
|
|
||||||
DB313FDB17554B71006C0E22 /* SDL_keycode.h in Headers */,
|
DB313FDB17554B71006C0E22 /* SDL_keycode.h in Headers */,
|
||||||
A7D8AE9323E2514100DCD162 /* SDL_cocoakeyboard.h in Headers */,
|
A7D8AE9323E2514100DCD162 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
A7D8ACE623E2514100DCD162 /* SDL_uikitvulkan.h in Headers */,
|
A7D8ACE623E2514100DCD162 /* SDL_uikitvulkan.h in Headers */,
|
||||||
|
@ -7241,7 +7141,6 @@
|
||||||
A7D88ABF23E2437C00DCD162 /* Sources */,
|
A7D88ABF23E2437C00DCD162 /* Sources */,
|
||||||
A7D88B4623E2437C00DCD162 /* Frameworks */,
|
A7D88B4623E2437C00DCD162 /* Frameworks */,
|
||||||
A75FDB9F23E4CAFA00529352 /* Embed Frameworks */,
|
A75FDB9F23E4CAFA00529352 /* Embed Frameworks */,
|
||||||
F3ED8107281DB8E600C33C5B /* Convert SDL includes to SDL Framework includes */,
|
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -7263,7 +7162,6 @@
|
||||||
A7D88C7823E24BED00DCD162 /* Sources */,
|
A7D88C7823E24BED00DCD162 /* Sources */,
|
||||||
A7D88D0423E24BED00DCD162 /* Frameworks */,
|
A7D88D0423E24BED00DCD162 /* Frameworks */,
|
||||||
A75FDBA223E4CAFF00529352 /* Embed Frameworks */,
|
A75FDBA223E4CAFF00529352 /* Embed Frameworks */,
|
||||||
F3ED8108281DB8F200C33C5B /* Convert SDL includes to SDL Framework includes */,
|
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -7305,7 +7203,6 @@
|
||||||
BECDF62C0761BA81005FE872 /* Sources */,
|
BECDF62C0761BA81005FE872 /* Sources */,
|
||||||
BECDF6680761BA81005FE872 /* Frameworks */,
|
BECDF6680761BA81005FE872 /* Frameworks */,
|
||||||
A75FDB9C23E4CAEF00529352 /* Embed Frameworks */,
|
A75FDB9C23E4CAEF00529352 /* Embed Frameworks */,
|
||||||
F3ED8106281DB8A500C33C5B /* Convert SDL includes to SDL Framework includes */,
|
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
|
@ -7416,7 +7313,6 @@
|
||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
F37A8E1B28405AA100C38E95 /* CMake in Resources */,
|
|
||||||
A75FDBBA23E4CBC700529352 /* ReadMe.txt in Resources */,
|
A75FDBBA23E4CBC700529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBB923E4CBC700529352 /* License.txt in Resources */,
|
A75FDBB923E4CBC700529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
|
@ -7426,7 +7322,6 @@
|
||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
F37A8E1C28405AA100C38E95 /* CMake in Resources */,
|
|
||||||
A75FDBBC23E4CBC800529352 /* ReadMe.txt in Resources */,
|
A75FDBBC23E4CBC800529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBBB23E4CBC800529352 /* License.txt in Resources */,
|
A75FDBBB23E4CBC800529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
|
@ -7436,7 +7331,6 @@
|
||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
F37A8E1A28405AA100C38E95 /* CMake in Resources */,
|
|
||||||
A75FDBB823E4CBC700529352 /* ReadMe.txt in Resources */,
|
A75FDBB823E4CBC700529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBB723E4CBC700529352 /* License.txt in Resources */,
|
A75FDBB723E4CBC700529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
|
@ -7499,60 +7393,6 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
|
shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
|
||||||
};
|
};
|
||||||
F3ED8106281DB8A500C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Convert SDL includes to SDL Framework includes";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
|
||||||
};
|
|
||||||
F3ED8107281DB8E600C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Convert SDL includes to SDL Framework includes";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
|
||||||
};
|
|
||||||
F3ED8108281DB8F200C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Convert SDL includes to SDL Framework includes";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
@ -7619,12 +7459,10 @@
|
||||||
A75FCE2023E25AB700529352 /* SDL_haptic.c in Sources */,
|
A75FCE2023E25AB700529352 /* SDL_haptic.c in Sources */,
|
||||||
A75FCE2123E25AB700529352 /* SDL_uikitvulkan.m in Sources */,
|
A75FCE2123E25AB700529352 /* SDL_uikitvulkan.m in Sources */,
|
||||||
F3984CD725BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD725BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
F382071A284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
75E09161241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
75E09161241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
||||||
A75FCE2323E25AB700529352 /* SDL_cocoametalview.m in Sources */,
|
A75FCE2323E25AB700529352 /* SDL_cocoametalview.m in Sources */,
|
||||||
A75FCE2423E25AB700529352 /* SDL_audiotypecvt.c in Sources */,
|
A75FCE2423E25AB700529352 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A75FCE2523E25AB700529352 /* SDL_uikitevents.m in Sources */,
|
A75FCE2523E25AB700529352 /* SDL_uikitevents.m in Sources */,
|
||||||
F3820724284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A75FCE2623E25AB700529352 /* SDL_uikitmodes.m in Sources */,
|
A75FCE2623E25AB700529352 /* SDL_uikitmodes.m in Sources */,
|
||||||
A75FCE2723E25AB700529352 /* SDL_blit_N.c in Sources */,
|
A75FCE2723E25AB700529352 /* SDL_blit_N.c in Sources */,
|
||||||
A75FCE2823E25AB700529352 /* SDL_dropevents.c in Sources */,
|
A75FCE2823E25AB700529352 /* SDL_dropevents.c in Sources */,
|
||||||
|
@ -7668,7 +7506,6 @@
|
||||||
A75FCE5023E25AB700529352 /* SDL_syspower.m in Sources */,
|
A75FCE5023E25AB700529352 /* SDL_syspower.m in Sources */,
|
||||||
A75FCE5123E25AB700529352 /* e_log10.c in Sources */,
|
A75FCE5123E25AB700529352 /* e_log10.c in Sources */,
|
||||||
A75FCE5223E25AB700529352 /* SDL_uikitopenglview.m in Sources */,
|
A75FCE5223E25AB700529352 /* SDL_uikitopenglview.m in Sources */,
|
||||||
F3249B2E285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A75FCE5323E25AB700529352 /* SDL_mixer.c in Sources */,
|
A75FCE5323E25AB700529352 /* SDL_mixer.c in Sources */,
|
||||||
5616CA64252BB35F005D5928 /* SDL_url.c in Sources */,
|
5616CA64252BB35F005D5928 /* SDL_url.c in Sources */,
|
||||||
A75FCE5423E25AB700529352 /* SDL_events.c in Sources */,
|
A75FCE5423E25AB700529352 /* SDL_events.c in Sources */,
|
||||||
|
@ -7717,13 +7554,11 @@
|
||||||
A75FCE8423E25AB700529352 /* e_exp.c in Sources */,
|
A75FCE8423E25AB700529352 /* e_exp.c in Sources */,
|
||||||
A75FCE8523E25AB700529352 /* SDL_quit.c in Sources */,
|
A75FCE8523E25AB700529352 /* SDL_quit.c in Sources */,
|
||||||
A75FCE8623E25AB700529352 /* SDL_cocoawindow.m in Sources */,
|
A75FCE8623E25AB700529352 /* SDL_cocoawindow.m in Sources */,
|
||||||
A1BB8B6A27F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A75FCE8723E25AB700529352 /* SDL_sysmutex.c in Sources */,
|
A75FCE8723E25AB700529352 /* SDL_sysmutex.c in Sources */,
|
||||||
A75FCE8823E25AB700529352 /* SDL_syshaptic.c in Sources */,
|
A75FCE8823E25AB700529352 /* SDL_syshaptic.c in Sources */,
|
||||||
F3F07D61269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D61269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A75FCE8923E25AB700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
A75FCE8923E25AB700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A75FCE8A23E25AB700529352 /* SDL_video.c in Sources */,
|
A75FCE8A23E25AB700529352 /* SDL_video.c in Sources */,
|
||||||
F3249B25285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A75FCE8B23E25AB700529352 /* SDL_offscreenopengl.c in Sources */,
|
A75FCE8B23E25AB700529352 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A75FCE8C23E25AB700529352 /* SDL_uikitmetalview.m in Sources */,
|
A75FCE8C23E25AB700529352 /* SDL_uikitmetalview.m in Sources */,
|
||||||
A75FCE8D23E25AB700529352 /* SDL_steamcontroller.c in Sources */,
|
A75FCE8D23E25AB700529352 /* SDL_steamcontroller.c in Sources */,
|
||||||
|
@ -7811,12 +7646,10 @@
|
||||||
A75FCFD923E25AC700529352 /* SDL_haptic.c in Sources */,
|
A75FCFD923E25AC700529352 /* SDL_haptic.c in Sources */,
|
||||||
A75FCFDA23E25AC700529352 /* SDL_uikitvulkan.m in Sources */,
|
A75FCFDA23E25AC700529352 /* SDL_uikitvulkan.m in Sources */,
|
||||||
F3984CD825BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD825BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
F382071B284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
75E09162241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
75E09162241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
||||||
A75FCFDC23E25AC700529352 /* SDL_cocoametalview.m in Sources */,
|
A75FCFDC23E25AC700529352 /* SDL_cocoametalview.m in Sources */,
|
||||||
A75FCFDD23E25AC700529352 /* SDL_audiotypecvt.c in Sources */,
|
A75FCFDD23E25AC700529352 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A75FCFDE23E25AC700529352 /* SDL_uikitevents.m in Sources */,
|
A75FCFDE23E25AC700529352 /* SDL_uikitevents.m in Sources */,
|
||||||
F3820725284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A75FCFDF23E25AC700529352 /* SDL_uikitmodes.m in Sources */,
|
A75FCFDF23E25AC700529352 /* SDL_uikitmodes.m in Sources */,
|
||||||
A75FCFE023E25AC700529352 /* SDL_blit_N.c in Sources */,
|
A75FCFE023E25AC700529352 /* SDL_blit_N.c in Sources */,
|
||||||
A75FCFE123E25AC700529352 /* SDL_dropevents.c in Sources */,
|
A75FCFE123E25AC700529352 /* SDL_dropevents.c in Sources */,
|
||||||
|
@ -7860,7 +7693,6 @@
|
||||||
A75FD00923E25AC700529352 /* SDL_syspower.m in Sources */,
|
A75FD00923E25AC700529352 /* SDL_syspower.m in Sources */,
|
||||||
A75FD00A23E25AC700529352 /* e_log10.c in Sources */,
|
A75FD00A23E25AC700529352 /* e_log10.c in Sources */,
|
||||||
A75FD00B23E25AC700529352 /* SDL_uikitopenglview.m in Sources */,
|
A75FD00B23E25AC700529352 /* SDL_uikitopenglview.m in Sources */,
|
||||||
F3249B2F285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A75FD00C23E25AC700529352 /* SDL_mixer.c in Sources */,
|
A75FD00C23E25AC700529352 /* SDL_mixer.c in Sources */,
|
||||||
5616CA67252BB361005D5928 /* SDL_url.c in Sources */,
|
5616CA67252BB361005D5928 /* SDL_url.c in Sources */,
|
||||||
A75FD00D23E25AC700529352 /* SDL_events.c in Sources */,
|
A75FD00D23E25AC700529352 /* SDL_events.c in Sources */,
|
||||||
|
@ -7909,13 +7741,11 @@
|
||||||
A75FD03D23E25AC700529352 /* e_exp.c in Sources */,
|
A75FD03D23E25AC700529352 /* e_exp.c in Sources */,
|
||||||
A75FD03E23E25AC700529352 /* SDL_quit.c in Sources */,
|
A75FD03E23E25AC700529352 /* SDL_quit.c in Sources */,
|
||||||
A75FD03F23E25AC700529352 /* SDL_cocoawindow.m in Sources */,
|
A75FD03F23E25AC700529352 /* SDL_cocoawindow.m in Sources */,
|
||||||
A1BB8B6B27F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A75FD04023E25AC700529352 /* SDL_sysmutex.c in Sources */,
|
A75FD04023E25AC700529352 /* SDL_sysmutex.c in Sources */,
|
||||||
A75FD04123E25AC700529352 /* SDL_syshaptic.c in Sources */,
|
A75FD04123E25AC700529352 /* SDL_syshaptic.c in Sources */,
|
||||||
F3F07D62269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D62269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A75FD04223E25AC700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
A75FD04223E25AC700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A75FD04323E25AC700529352 /* SDL_video.c in Sources */,
|
A75FD04323E25AC700529352 /* SDL_video.c in Sources */,
|
||||||
F3249B26285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A75FD04423E25AC700529352 /* SDL_offscreenopengl.c in Sources */,
|
A75FD04423E25AC700529352 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A75FD04523E25AC700529352 /* SDL_uikitmetalview.m in Sources */,
|
A75FD04523E25AC700529352 /* SDL_uikitmetalview.m in Sources */,
|
||||||
A75FD04623E25AC700529352 /* SDL_steamcontroller.c in Sources */,
|
A75FD04623E25AC700529352 /* SDL_steamcontroller.c in Sources */,
|
||||||
|
@ -8014,7 +7844,6 @@
|
||||||
A769B1B823E259AE00872273 /* e_log.c in Sources */,
|
A769B1B823E259AE00872273 /* e_log.c in Sources */,
|
||||||
A769B1B923E259AE00872273 /* SDL_cocoamessagebox.m in Sources */,
|
A769B1B923E259AE00872273 /* SDL_cocoamessagebox.m in Sources */,
|
||||||
A769B1BA23E259AE00872273 /* SDL_blendfillrect.c in Sources */,
|
A769B1BA23E259AE00872273 /* SDL_blendfillrect.c in Sources */,
|
||||||
F3820722284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A769B1BB23E259AE00872273 /* SDL_uikitvideo.m in Sources */,
|
A769B1BB23E259AE00872273 /* SDL_uikitvideo.m in Sources */,
|
||||||
A769B1BC23E259AE00872273 /* SDL_cocoashape.m in Sources */,
|
A769B1BC23E259AE00872273 /* SDL_cocoashape.m in Sources */,
|
||||||
A769B1BD23E259AE00872273 /* SDL_cocoamouse.m in Sources */,
|
A769B1BD23E259AE00872273 /* SDL_cocoamouse.m in Sources */,
|
||||||
|
@ -8041,7 +7870,6 @@
|
||||||
A769B1D523E259AE00872273 /* SDL_render.c in Sources */,
|
A769B1D523E259AE00872273 /* SDL_render.c in Sources */,
|
||||||
A769B1D623E259AE00872273 /* SDL_stretch.c in Sources */,
|
A769B1D623E259AE00872273 /* SDL_stretch.c in Sources */,
|
||||||
A769B1D723E259AE00872273 /* s_floor.c in Sources */,
|
A769B1D723E259AE00872273 /* s_floor.c in Sources */,
|
||||||
F3249B23285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A769B1D823E259AE00872273 /* SDL_blit_copy.c in Sources */,
|
A769B1D823E259AE00872273 /* SDL_blit_copy.c in Sources */,
|
||||||
A769B1D923E259AE00872273 /* e_fmod.c in Sources */,
|
A769B1D923E259AE00872273 /* e_fmod.c in Sources */,
|
||||||
A769B1DA23E259AE00872273 /* SDL_syspower.m in Sources */,
|
A769B1DA23E259AE00872273 /* SDL_syspower.m in Sources */,
|
||||||
|
@ -8087,7 +7915,6 @@
|
||||||
F3984CD525BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD525BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A769B20523E259AE00872273 /* SDL_strtokr.c in Sources */,
|
A769B20523E259AE00872273 /* SDL_strtokr.c in Sources */,
|
||||||
5605720B2473687A00B46B66 /* SDL_syslocale.m in Sources */,
|
5605720B2473687A00B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3820718284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A769B20623E259AE00872273 /* SDL_clipboardevents.c in Sources */,
|
A769B20623E259AE00872273 /* SDL_clipboardevents.c in Sources */,
|
||||||
A769B20823E259AE00872273 /* k_cos.c in Sources */,
|
A769B20823E259AE00872273 /* k_cos.c in Sources */,
|
||||||
A769B20923E259AE00872273 /* SDL_hidapijoystick.c in Sources */,
|
A769B20923E259AE00872273 /* SDL_hidapijoystick.c in Sources */,
|
||||||
|
@ -8100,11 +7927,9 @@
|
||||||
A769B20F23E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
A769B20F23E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
||||||
A769B21023E259AE00872273 /* e_exp.c in Sources */,
|
A769B21023E259AE00872273 /* e_exp.c in Sources */,
|
||||||
F395C1A12569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
F395C1A12569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
||||||
A1BB8B6827F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A769B21123E259AE00872273 /* SDL_quit.c in Sources */,
|
A769B21123E259AE00872273 /* SDL_quit.c in Sources */,
|
||||||
A769B21223E259AE00872273 /* SDL_cocoawindow.m in Sources */,
|
A769B21223E259AE00872273 /* SDL_cocoawindow.m in Sources */,
|
||||||
A769B21323E259AE00872273 /* SDL_sysmutex.c in Sources */,
|
A769B21323E259AE00872273 /* SDL_sysmutex.c in Sources */,
|
||||||
F3249B2C285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A769B21423E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
A769B21423E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
||||||
A769B21523E259AE00872273 /* SDL_rwopsbundlesupport.m in Sources */,
|
A769B21523E259AE00872273 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A769B21623E259AE00872273 /* SDL_video.c in Sources */,
|
A769B21623E259AE00872273 /* SDL_video.c in Sources */,
|
||||||
|
@ -8196,12 +8021,10 @@
|
||||||
A7D8AF2523E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2523E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86123E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86123E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
F3984CD125BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD125BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
F3820714284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8AC5823E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5823E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
A7D8ACB823E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACB823E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3323E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3323E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB7C23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7C23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
F382071E284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8BACE23E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BACE23E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
A7D8BA8C23E2514400DCD162 /* s_sin.c in Sources */,
|
A7D8BA8C23E2514400DCD162 /* s_sin.c in Sources */,
|
||||||
A7D8B5E823E2514300DCD162 /* SDL_power.c in Sources */,
|
A7D8B5E823E2514300DCD162 /* SDL_power.c in Sources */,
|
||||||
|
@ -8245,7 +8068,6 @@
|
||||||
A7D8AC7023E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
A7D8AC7023E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
||||||
A7D8B76523E2514300DCD162 /* SDL_mixer.c in Sources */,
|
A7D8B76523E2514300DCD162 /* SDL_mixer.c in Sources */,
|
||||||
A7D8BB5823E2514500DCD162 /* SDL_events.c in Sources */,
|
A7D8BB5823E2514500DCD162 /* SDL_events.c in Sources */,
|
||||||
F3249B28285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8ADE723E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
A7D8ADE723E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
||||||
A7D8BB0A23E2514500DCD162 /* k_tan.c in Sources */,
|
A7D8BB0A23E2514500DCD162 /* k_tan.c in Sources */,
|
||||||
A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
||||||
|
@ -8294,13 +8116,11 @@
|
||||||
A7D8B43B23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43B23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
A7D8AAB123E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB123E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CA23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CA23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A1BB8B6427F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8AC1023E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1023E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
560572062473687700B46B66 /* SDL_syslocale.m in Sources */,
|
560572062473687700B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A7D8AB5623E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
A7D8AB5623E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A7D8ACC423E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
A7D8ACC423E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
||||||
F3249B1F285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8BA5C23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
A7D8BA5C23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
||||||
A7D8B14123E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
A7D8B14123E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
||||||
5605720F2473688000B46B66 /* SDL_locale.c in Sources */,
|
5605720F2473688000B46B66 /* SDL_locale.c in Sources */,
|
||||||
|
@ -8388,12 +8208,10 @@
|
||||||
A7D8AF2623E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2623E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86223E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86223E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
F3984CD225BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD225BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
F3820715284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8AC5923E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5923E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
A7D8ACB923E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACB923E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3423E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3423E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB7D23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7D23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
F382071F284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8BACF23E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BACF23E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
A7D8BA8D23E2514400DCD162 /* s_sin.c in Sources */,
|
A7D8BA8D23E2514400DCD162 /* s_sin.c in Sources */,
|
||||||
A7D8B5E923E2514300DCD162 /* SDL_power.c in Sources */,
|
A7D8B5E923E2514300DCD162 /* SDL_power.c in Sources */,
|
||||||
|
@ -8437,7 +8255,6 @@
|
||||||
A7D8AC7123E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
A7D8AC7123E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
||||||
A7D8B76623E2514300DCD162 /* SDL_mixer.c in Sources */,
|
A7D8B76623E2514300DCD162 /* SDL_mixer.c in Sources */,
|
||||||
A7D8BB5923E2514500DCD162 /* SDL_events.c in Sources */,
|
A7D8BB5923E2514500DCD162 /* SDL_events.c in Sources */,
|
||||||
F3249B29285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8ADE823E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
A7D8ADE823E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
||||||
A7D8BB0B23E2514500DCD162 /* k_tan.c in Sources */,
|
A7D8BB0B23E2514500DCD162 /* k_tan.c in Sources */,
|
||||||
A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
||||||
|
@ -8486,13 +8303,11 @@
|
||||||
A7D8B43C23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43C23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
A7D8AAB223E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB223E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CB23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CB23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A1BB8B6527F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8AC1123E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1123E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
560572072473687800B46B66 /* SDL_syslocale.m in Sources */,
|
560572072473687800B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A7D8AB5723E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
A7D8AB5723E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A7D8ACC523E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
A7D8ACC523E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
||||||
F3249B20285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8BA5D23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
A7D8BA5D23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
||||||
A7D8B14223E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
A7D8B14223E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
||||||
560572102473688000B46B66 /* SDL_locale.c in Sources */,
|
560572102473688000B46B66 /* SDL_locale.c in Sources */,
|
||||||
|
@ -8591,7 +8406,6 @@
|
||||||
A7D8BAF523E2514500DCD162 /* e_log.c in Sources */,
|
A7D8BAF523E2514500DCD162 /* e_log.c in Sources */,
|
||||||
A7D8AED423E2514100DCD162 /* SDL_cocoamessagebox.m in Sources */,
|
A7D8AED423E2514100DCD162 /* SDL_cocoamessagebox.m in Sources */,
|
||||||
A7D8BA2F23E2514400DCD162 /* SDL_blendfillrect.c in Sources */,
|
A7D8BA2F23E2514400DCD162 /* SDL_blendfillrect.c in Sources */,
|
||||||
F3820721284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8ACDF23E2514100DCD162 /* SDL_uikitvideo.m in Sources */,
|
A7D8ACDF23E2514100DCD162 /* SDL_uikitvideo.m in Sources */,
|
||||||
A7D8AEE623E2514100DCD162 /* SDL_cocoashape.m in Sources */,
|
A7D8AEE623E2514100DCD162 /* SDL_cocoashape.m in Sources */,
|
||||||
A7D8AEBC23E2514100DCD162 /* SDL_cocoamouse.m in Sources */,
|
A7D8AEBC23E2514100DCD162 /* SDL_cocoamouse.m in Sources */,
|
||||||
|
@ -8618,7 +8432,6 @@
|
||||||
A7D8B97E23E2514400DCD162 /* SDL_render.c in Sources */,
|
A7D8B97E23E2514400DCD162 /* SDL_render.c in Sources */,
|
||||||
A7D8ABD723E2514100DCD162 /* SDL_stretch.c in Sources */,
|
A7D8ABD723E2514100DCD162 /* SDL_stretch.c in Sources */,
|
||||||
A7D8BB0123E2514500DCD162 /* s_floor.c in Sources */,
|
A7D8BB0123E2514500DCD162 /* s_floor.c in Sources */,
|
||||||
F3249B22285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8AC3D23E2514100DCD162 /* SDL_blit_copy.c in Sources */,
|
A7D8AC3D23E2514100DCD162 /* SDL_blit_copy.c in Sources */,
|
||||||
A7D8BAE323E2514500DCD162 /* e_fmod.c in Sources */,
|
A7D8BAE323E2514500DCD162 /* e_fmod.c in Sources */,
|
||||||
A7D8B5D323E2514300DCD162 /* SDL_syspower.m in Sources */,
|
A7D8B5D323E2514300DCD162 /* SDL_syspower.m in Sources */,
|
||||||
|
@ -8664,7 +8477,6 @@
|
||||||
F3984CD425BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD425BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A7D8B96623E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96623E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
560572092473687900B46B66 /* SDL_syslocale.m in Sources */,
|
560572092473687900B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3820717284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8BB7923E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7923E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BAB923E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB923E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A7D8B54923E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54923E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
|
@ -8677,11 +8489,9 @@
|
||||||
A7D8AADE23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADE23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8BAE923E2514500DCD162 /* e_exp.c in Sources */,
|
A7D8BAE923E2514500DCD162 /* e_exp.c in Sources */,
|
||||||
F395C1A02569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
F395C1A02569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
||||||
A1BB8B6727F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8BB8523E2514500DCD162 /* SDL_quit.c in Sources */,
|
A7D8BB8523E2514500DCD162 /* SDL_quit.c in Sources */,
|
||||||
A7D8AEAA23E2514100DCD162 /* SDL_cocoawindow.m in Sources */,
|
A7D8AEAA23E2514100DCD162 /* SDL_cocoawindow.m in Sources */,
|
||||||
A7D8B43E23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43E23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
F3249B2B285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8AAB423E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB423E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CD23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CD23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A7D8AC1323E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1323E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
|
@ -8734,7 +8544,6 @@
|
||||||
A7D8BBE323E2574800DCD162 /* SDL_uikitvideo.m in Sources */,
|
A7D8BBE323E2574800DCD162 /* SDL_uikitvideo.m in Sources */,
|
||||||
5616CA4E252BB2A6005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA4E252BB2A6005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
A7D8A97523E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
A7D8A97523E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
||||||
F382071D284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8BB8D23E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB8D23E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A1626A3E2617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A3E2617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
A7D8B3F223E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F223E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
|
@ -8776,7 +8585,6 @@
|
||||||
F3984CD025BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD025BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A7D8AAB623E2514100DCD162 /* SDL_haptic.c in Sources */,
|
A7D8AAB623E2514100DCD162 /* SDL_haptic.c in Sources */,
|
||||||
A7D8AF2423E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2423E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
F3249B1E285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8B86023E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86023E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8BBC523E2561500DCD162 /* SDL_steamcontroller.c in Sources */,
|
A7D8BBC523E2561500DCD162 /* SDL_steamcontroller.c in Sources */,
|
||||||
A7D8AD3223E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3223E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
|
@ -8847,7 +8655,6 @@
|
||||||
A7D8B4DC23E2514300DCD162 /* SDL_joystick.c in Sources */,
|
A7D8B4DC23E2514300DCD162 /* SDL_joystick.c in Sources */,
|
||||||
A7D8BA4923E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4923E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC2D23E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC2D23E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
F3249B27285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8B54B23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B54B23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
A7D8AD2323E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2323E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
F3A4909E2554D38600E92A8B /* SDL_hidapi_ps5.c in Sources */,
|
F3A4909E2554D38600E92A8B /* SDL_hidapi_ps5.c in Sources */,
|
||||||
|
@ -8858,13 +8665,11 @@
|
||||||
A7D8B55123E2514300DCD162 /* SDL_hidapi_switch.c in Sources */,
|
A7D8B55123E2514300DCD162 /* SDL_hidapi_switch.c in Sources */,
|
||||||
A7D8B96223E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96223E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7523E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7523E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A1BB8B6327F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8BAB523E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB523E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A7D8B54523E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54523E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97423E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97423E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8B8C623E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8C623E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B61D23E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B61D23E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
F3820713284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8AB8B23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB8B23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
A7D8B42E23E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B42E23E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADA23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADA23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
|
@ -8924,7 +8729,6 @@
|
||||||
A7D8A97823E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
A7D8A97823E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
||||||
A7D8BB9023E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB9023E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A7D8B3F523E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F523E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
F3820720284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8B56023E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
A7D8B56023E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
||||||
A1626A412617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A412617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
5616CA59252BB35C005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA59252BB35C005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
|
@ -8966,7 +8770,6 @@
|
||||||
A7D8AF2723E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2723E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86323E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86323E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8AD3523E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3523E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
F3249B21285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8BB7E23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7E23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
A7D8BBFA23E2574800DCD162 /* SDL_uikitopengles.m in Sources */,
|
A7D8BBFA23E2574800DCD162 /* SDL_uikitopengles.m in Sources */,
|
||||||
A7D8BAD023E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BAD023E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
|
@ -9037,7 +8840,6 @@
|
||||||
A7D8BA4C23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4C23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC3023E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC3023E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
A7D8B54E23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B54E23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
F3249B2A285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8AD2623E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2623E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
A7D8BB6C23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
A7D8BB6C23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
||||||
A7D8ACEA23E2514100DCD162 /* SDL_rect.c in Sources */,
|
A7D8ACEA23E2514100DCD162 /* SDL_rect.c in Sources */,
|
||||||
|
@ -9048,13 +8850,11 @@
|
||||||
A7D8B96523E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96523E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7823E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7823E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BAB823E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB823E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A1BB8B6627F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8B54823E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54823E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97723E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97723E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8BBF023E2574800DCD162 /* SDL_uikitclipboard.m in Sources */,
|
A7D8BBF023E2574800DCD162 /* SDL_uikitclipboard.m in Sources */,
|
||||||
A7D8B8C923E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8C923E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B62023E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B62023E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
F3820716284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8AB8E23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB8E23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
A7D8B43123E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B43123E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADD23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADD23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
|
@ -9114,7 +8914,6 @@
|
||||||
A7D8BB9223E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB9223E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A7D8AC5623E2514100DCD162 /* SDL_uikitmessagebox.m in Sources */,
|
A7D8AC5623E2514100DCD162 /* SDL_uikitmessagebox.m in Sources */,
|
||||||
A7D8B3F723E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F723E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
F3820723284F362F004DD584 /* SDL_guid.c in Sources */,
|
|
||||||
A7D8B56223E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
A7D8B56223E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
||||||
A1626A442617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A442617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
5616CA62252BB35E005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA62252BB35E005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
|
@ -9156,7 +8955,6 @@
|
||||||
A7D8AF2923E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2923E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86523E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86523E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8AC5C23E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5C23E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
F3249B24285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
|
||||||
A7D8ACBC23E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACBC23E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3723E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3723E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB8023E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB8023E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
|
@ -9227,7 +9025,6 @@
|
||||||
A7D8B4E123E2514300DCD162 /* SDL_joystick.c in Sources */,
|
A7D8B4E123E2514300DCD162 /* SDL_joystick.c in Sources */,
|
||||||
A7D8BA4E23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4E23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC3223E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC3223E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
F3249B2D285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
|
||||||
A7D8B55023E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B55023E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
A7D8AD2823E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2823E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
A7D8BB6E23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
A7D8BB6E23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
||||||
|
@ -9238,13 +9035,11 @@
|
||||||
A7D8B96723E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96723E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7A23E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7A23E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BABA23E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BABA23E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A1BB8B6927F6CF330057CFA8 /* SDL_list.c in Sources */,
|
|
||||||
A7D8B54A23E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54A23E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97923E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97923E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8B8CB23E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8CB23E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B62223E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B62223E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
A7D8AB9023E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB9023E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
F3820719284F3609004DD584 /* controller_type.c in Sources */,
|
|
||||||
A7D8B43323E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B43323E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADF23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADF23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8BAEA23E2514500DCD162 /* e_exp.c in Sources */,
|
A7D8BAEA23E2514500DCD162 /* e_exp.c in Sources */,
|
||||||
|
@ -9296,7 +9091,6 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
CLANG_WARN_COMMA = YES;
|
CLANG_WARN_COMMA = YES;
|
||||||
|
@ -9317,7 +9111,7 @@
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DEPLOYMENT_POSTPROCESSING = YES;
|
DEPLOYMENT_POSTPROCESSING = YES;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
||||||
DYLIB_CURRENT_VERSION = 2302.0.0;
|
DYLIB_CURRENT_VERSION = 19.2.0;
|
||||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
GCC_ALTIVEC_EXTENSIONS = YES;
|
GCC_ALTIVEC_EXTENSIONS = YES;
|
||||||
|
@ -9346,7 +9140,7 @@
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
STRIP_STYLE = "non-global";
|
STRIP_STYLE = "non-global";
|
||||||
|
@ -9382,7 +9176,6 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
CLANG_WARN_COMMA = YES;
|
CLANG_WARN_COMMA = YES;
|
||||||
|
@ -9402,7 +9195,7 @@
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
||||||
DYLIB_CURRENT_VERSION = 2302.0.0;
|
DYLIB_CURRENT_VERSION = 19.2.0;
|
||||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
|
@ -9431,7 +9224,7 @@
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
|
@ -9594,7 +9387,6 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
CLANG_LINK_OBJC_RUNTIME = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = GLES_SILENCE_DEPRECATION;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
||||||
|
@ -9606,7 +9398,6 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
CLANG_LINK_OBJC_RUNTIME = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = GLES_SILENCE_DEPRECATION;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
||||||
|
|
|
@ -21,18 +21,6 @@ You may alternatively install it in <Your home directory>/Library/Frameworks
|
||||||
if your access privileges are not high enough.
|
if your access privileges are not high enough.
|
||||||
|
|
||||||
|
|
||||||
Use in CMake projects:
|
|
||||||
SDL2.framework can be used in CMake projects using the following pattern:
|
|
||||||
```
|
|
||||||
find_package(SDL2 REQUIRED COMPONENTS SDL2)
|
|
||||||
add_executable(my_game ${MY_SOURCES})
|
|
||||||
target_link_libraries(my_game PRIVATE SDL2::SDL2)
|
|
||||||
```
|
|
||||||
If SDL2.framework is installed in a non-standard location,
|
|
||||||
please refer to the following link for ways to configure CMake:
|
|
||||||
https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
|
|
||||||
|
|
||||||
|
|
||||||
Additional References:
|
Additional References:
|
||||||
|
|
||||||
- Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are
|
- Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are
|
||||||
|
|
|
@ -4041,7 +4041,6 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
||||||
"$(HOME)/Library/Frameworks",
|
"$(HOME)/Library/Frameworks",
|
||||||
|
@ -4049,7 +4048,7 @@
|
||||||
);
|
);
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -4169,7 +4168,6 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
||||||
"$(HOME)/Library/Frameworks",
|
"$(HOME)/Library/Frameworks",
|
||||||
|
@ -4177,7 +4175,7 @@
|
||||||
);
|
);
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,6 +30,6 @@
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.7</string>
|
<string>10.6</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
2
externals/SDL/acinclude/libtool.m4
vendored
2
externals/SDL/acinclude/libtool.m4
vendored
|
@ -1068,7 +1068,7 @@ _LT_EOF
|
||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*)
|
darwin*)
|
||||||
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
case ${MACOSX_DEPLOYMENT_TARGET},$host in
|
||||||
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -63,112 +63,6 @@ import java.util.Locale;
|
||||||
*/
|
*/
|
||||||
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
||||||
private static final String TAG = "SDL";
|
private static final String TAG = "SDL";
|
||||||
/*
|
|
||||||
// Display InputType.SOURCE/CLASS of events and devices
|
|
||||||
//
|
|
||||||
// SDLActivity.debugSource(device.getSources(), "device[" + device.getName() + "]");
|
|
||||||
// SDLActivity.debugSource(event.getSource(), "event");
|
|
||||||
public static void debugSource(int sources, String prefix) {
|
|
||||||
int s = sources;
|
|
||||||
int s_copy = sources;
|
|
||||||
String cls = "";
|
|
||||||
String src = "";
|
|
||||||
int tst = 0;
|
|
||||||
int FLAG_TAINTED = 0x80000000;
|
|
||||||
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_BUTTON) != 0) cls += " BUTTON";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) cls += " JOYSTICK";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_POINTER) != 0) cls += " POINTER";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_POSITION) != 0) cls += " POSITION";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) cls += " TRACKBALL";
|
|
||||||
|
|
||||||
|
|
||||||
int s2 = s_copy & ~InputDevice.SOURCE_ANY; // keep class bits
|
|
||||||
s2 &= ~( InputDevice.SOURCE_CLASS_BUTTON
|
|
||||||
| InputDevice.SOURCE_CLASS_JOYSTICK
|
|
||||||
| InputDevice.SOURCE_CLASS_POINTER
|
|
||||||
| InputDevice.SOURCE_CLASS_POSITION
|
|
||||||
| InputDevice.SOURCE_CLASS_TRACKBALL);
|
|
||||||
|
|
||||||
if (s2 != 0) cls += "Some_Unkown";
|
|
||||||
|
|
||||||
s2 = s_copy & InputDevice.SOURCE_ANY; // keep source only, no class;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
|
||||||
tst = InputDevice.SOURCE_BLUETOOTH_STYLUS;
|
|
||||||
if ((s & tst) == tst) src += " BLUETOOTH_STYLUS";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_DPAD;
|
|
||||||
if ((s & tst) == tst) src += " DPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_GAMEPAD;
|
|
||||||
if ((s & tst) == tst) src += " GAMEPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
||||||
tst = InputDevice.SOURCE_HDMI;
|
|
||||||
if ((s & tst) == tst) src += " HDMI";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_JOYSTICK;
|
|
||||||
if ((s & tst) == tst) src += " JOYSTICK";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_KEYBOARD;
|
|
||||||
if ((s & tst) == tst) src += " KEYBOARD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_MOUSE;
|
|
||||||
if ((s & tst) == tst) src += " MOUSE";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= 26) {
|
|
||||||
tst = InputDevice.SOURCE_MOUSE_RELATIVE;
|
|
||||||
if ((s & tst) == tst) src += " MOUSE_RELATIVE";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_ROTARY_ENCODER;
|
|
||||||
if ((s & tst) == tst) src += " ROTARY_ENCODER";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
tst = InputDevice.SOURCE_STYLUS;
|
|
||||||
if ((s & tst) == tst) src += " STYLUS";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TOUCHPAD;
|
|
||||||
if ((s & tst) == tst) src += " TOUCHPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TOUCHSCREEN;
|
|
||||||
if ((s & tst) == tst) src += " TOUCHSCREEN";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
|
|
||||||
tst = InputDevice.SOURCE_TOUCH_NAVIGATION;
|
|
||||||
if ((s & tst) == tst) src += " TOUCH_NAVIGATION";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TRACKBALL;
|
|
||||||
if ((s & tst) == tst) src += " TRACKBALL";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_ANY;
|
|
||||||
if ((s & tst) == tst) src += " ANY";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (s == FLAG_TAINTED) src += " FLAG_TAINTED";
|
|
||||||
s2 &= ~FLAG_TAINTED;
|
|
||||||
|
|
||||||
if (s2 != 0) src += " Some_Unkown";
|
|
||||||
|
|
||||||
Log.v(TAG, prefix + "int=" + s_copy + " CLASS={" + cls + " } source(s):" + src);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
public static boolean mIsResumedCalled, mHasFocus;
|
public static boolean mIsResumedCalled, mHasFocus;
|
||||||
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
||||||
|
@ -1310,21 +1204,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||||
|
|
||||||
for (int id : ids) {
|
for (int id : ids) {
|
||||||
InputDevice device = InputDevice.getDevice(id);
|
InputDevice device = InputDevice.getDevice(id);
|
||||||
/* Allow SOURCE_TOUCHSCREEN and also Virtual InputDevices because they can send TOUCHSCREEN events */
|
if (device != null && (device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) != 0) {
|
||||||
if (device != null && ((device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) == InputDevice.SOURCE_TOUCHSCREEN
|
nativeAddTouch(device.getId(), device.getName());
|
||||||
|| device.isVirtual())) {
|
|
||||||
|
|
||||||
int touchDevId = device.getId();
|
|
||||||
/*
|
|
||||||
* Prevent id to be -1, since it's used in SDL internal for synthetic events
|
|
||||||
* Appears when using Android emulator, eg:
|
|
||||||
* adb shell input mouse tap 100 100
|
|
||||||
* adb shell input touchscreen tap 100 100
|
|
||||||
*/
|
|
||||||
if (touchDevId < 0) {
|
|
||||||
touchDevId -= 1;
|
|
||||||
}
|
|
||||||
nativeAddTouch(touchDevId, device.getName());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2014,7 +1895,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_KEYBOARD) == InputDevice.SOURCE_KEYBOARD) {
|
if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {
|
||||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||||
if (SDLActivity.isTextInputEvent(event)) {
|
if (SDLActivity.isTextInputEvent(event)) {
|
||||||
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||||
|
@ -2027,7 +1908,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_MOUSE) == InputDevice.SOURCE_MOUSE) {
|
if ((source & InputDevice.SOURCE_MOUSE) != 0) {
|
||||||
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
||||||
// they are ignored here because sending them as mouse input to SDL is messy
|
// they are ignored here because sending them as mouse input to SDL is messy
|
||||||
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
||||||
|
|
|
@ -255,6 +255,7 @@ class SDLJoystickHandler_API16 extends SDLJoystickHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean handleMotionEvent(MotionEvent event) {
|
public boolean handleMotionEvent(MotionEvent event) {
|
||||||
|
if ((event.getSource() & InputDevice.SOURCE_JOYSTICK) != 0) {
|
||||||
int actionPointerIndex = event.getActionIndex();
|
int actionPointerIndex = event.getActionIndex();
|
||||||
int action = event.getActionMasked();
|
int action = event.getActionMasked();
|
||||||
if (action == MotionEvent.ACTION_MOVE) {
|
if (action == MotionEvent.ACTION_MOVE) {
|
||||||
|
@ -273,6 +274,7 @@ class SDLJoystickHandler_API16 extends SDLJoystickHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,7 +319,6 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
||||||
KeyEvent.KEYCODE_BUTTON_X,
|
KeyEvent.KEYCODE_BUTTON_X,
|
||||||
KeyEvent.KEYCODE_BUTTON_Y,
|
KeyEvent.KEYCODE_BUTTON_Y,
|
||||||
KeyEvent.KEYCODE_BACK,
|
KeyEvent.KEYCODE_BACK,
|
||||||
KeyEvent.KEYCODE_MENU,
|
|
||||||
KeyEvent.KEYCODE_BUTTON_MODE,
|
KeyEvent.KEYCODE_BUTTON_MODE,
|
||||||
KeyEvent.KEYCODE_BUTTON_START,
|
KeyEvent.KEYCODE_BUTTON_START,
|
||||||
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
||||||
|
@ -359,7 +360,6 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
||||||
(1 << 2), // X -> X
|
(1 << 2), // X -> X
|
||||||
(1 << 3), // Y -> Y
|
(1 << 3), // Y -> Y
|
||||||
(1 << 4), // BACK -> BACK
|
(1 << 4), // BACK -> BACK
|
||||||
(1 << 6), // MENU -> START
|
|
||||||
(1 << 5), // MODE -> GUIDE
|
(1 << 5), // MODE -> GUIDE
|
||||||
(1 << 6), // START -> START
|
(1 << 6), // START -> START
|
||||||
(1 << 7), // THUMBL -> LEFTSTICK
|
(1 << 7), // THUMBL -> LEFTSTICK
|
||||||
|
@ -560,6 +560,8 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
|
case InputDevice.SOURCE_GAMEPAD:
|
||||||
|
case InputDevice.SOURCE_DPAD:
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
|
@ -689,6 +691,8 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 {
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
|
case InputDevice.SOURCE_GAMEPAD:
|
||||||
|
case InputDevice.SOURCE_DPAD:
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
|
|
|
@ -35,10 +35,6 @@ android {
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
applicationVariants.all { variant ->
|
|
||||||
tasks["merge${variant.name.capitalize()}Assets"]
|
|
||||||
.dependsOn("externalNativeBuild${variant.name.capitalize()}")
|
|
||||||
}
|
|
||||||
if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) {
|
if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) {
|
||||||
sourceSets.main {
|
sourceSets.main {
|
||||||
jniLibs.srcDir 'libs'
|
jniLibs.srcDir 'libs'
|
||||||
|
|
|
@ -13,6 +13,6 @@ LOCAL_SRC_FILES := YourSourceHere.c
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := SDL2
|
LOCAL_SHARED_LIBRARIES := SDL2
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid
|
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
|
@ -63,112 +63,6 @@ import java.util.Locale;
|
||||||
*/
|
*/
|
||||||
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
||||||
private static final String TAG = "SDL";
|
private static final String TAG = "SDL";
|
||||||
/*
|
|
||||||
// Display InputType.SOURCE/CLASS of events and devices
|
|
||||||
//
|
|
||||||
// SDLActivity.debugSource(device.getSources(), "device[" + device.getName() + "]");
|
|
||||||
// SDLActivity.debugSource(event.getSource(), "event");
|
|
||||||
public static void debugSource(int sources, String prefix) {
|
|
||||||
int s = sources;
|
|
||||||
int s_copy = sources;
|
|
||||||
String cls = "";
|
|
||||||
String src = "";
|
|
||||||
int tst = 0;
|
|
||||||
int FLAG_TAINTED = 0x80000000;
|
|
||||||
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_BUTTON) != 0) cls += " BUTTON";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) cls += " JOYSTICK";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_POINTER) != 0) cls += " POINTER";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_POSITION) != 0) cls += " POSITION";
|
|
||||||
if ((s & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) cls += " TRACKBALL";
|
|
||||||
|
|
||||||
|
|
||||||
int s2 = s_copy & ~InputDevice.SOURCE_ANY; // keep class bits
|
|
||||||
s2 &= ~( InputDevice.SOURCE_CLASS_BUTTON
|
|
||||||
| InputDevice.SOURCE_CLASS_JOYSTICK
|
|
||||||
| InputDevice.SOURCE_CLASS_POINTER
|
|
||||||
| InputDevice.SOURCE_CLASS_POSITION
|
|
||||||
| InputDevice.SOURCE_CLASS_TRACKBALL);
|
|
||||||
|
|
||||||
if (s2 != 0) cls += "Some_Unkown";
|
|
||||||
|
|
||||||
s2 = s_copy & InputDevice.SOURCE_ANY; // keep source only, no class;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
|
||||||
tst = InputDevice.SOURCE_BLUETOOTH_STYLUS;
|
|
||||||
if ((s & tst) == tst) src += " BLUETOOTH_STYLUS";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_DPAD;
|
|
||||||
if ((s & tst) == tst) src += " DPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_GAMEPAD;
|
|
||||||
if ((s & tst) == tst) src += " GAMEPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
||||||
tst = InputDevice.SOURCE_HDMI;
|
|
||||||
if ((s & tst) == tst) src += " HDMI";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_JOYSTICK;
|
|
||||||
if ((s & tst) == tst) src += " JOYSTICK";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_KEYBOARD;
|
|
||||||
if ((s & tst) == tst) src += " KEYBOARD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_MOUSE;
|
|
||||||
if ((s & tst) == tst) src += " MOUSE";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= 26) {
|
|
||||||
tst = InputDevice.SOURCE_MOUSE_RELATIVE;
|
|
||||||
if ((s & tst) == tst) src += " MOUSE_RELATIVE";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_ROTARY_ENCODER;
|
|
||||||
if ((s & tst) == tst) src += " ROTARY_ENCODER";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
tst = InputDevice.SOURCE_STYLUS;
|
|
||||||
if ((s & tst) == tst) src += " STYLUS";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TOUCHPAD;
|
|
||||||
if ((s & tst) == tst) src += " TOUCHPAD";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TOUCHSCREEN;
|
|
||||||
if ((s & tst) == tst) src += " TOUCHSCREEN";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
|
|
||||||
tst = InputDevice.SOURCE_TOUCH_NAVIGATION;
|
|
||||||
if ((s & tst) == tst) src += " TOUCH_NAVIGATION";
|
|
||||||
s2 &= ~tst;
|
|
||||||
}
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_TRACKBALL;
|
|
||||||
if ((s & tst) == tst) src += " TRACKBALL";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
tst = InputDevice.SOURCE_ANY;
|
|
||||||
if ((s & tst) == tst) src += " ANY";
|
|
||||||
s2 &= ~tst;
|
|
||||||
|
|
||||||
if (s == FLAG_TAINTED) src += " FLAG_TAINTED";
|
|
||||||
s2 &= ~FLAG_TAINTED;
|
|
||||||
|
|
||||||
if (s2 != 0) src += " Some_Unkown";
|
|
||||||
|
|
||||||
Log.v(TAG, prefix + "int=" + s_copy + " CLASS={" + cls + " } source(s):" + src);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
public static boolean mIsResumedCalled, mHasFocus;
|
public static boolean mIsResumedCalled, mHasFocus;
|
||||||
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
||||||
|
@ -1310,21 +1204,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||||
|
|
||||||
for (int id : ids) {
|
for (int id : ids) {
|
||||||
InputDevice device = InputDevice.getDevice(id);
|
InputDevice device = InputDevice.getDevice(id);
|
||||||
/* Allow SOURCE_TOUCHSCREEN and also Virtual InputDevices because they can send TOUCHSCREEN events */
|
if (device != null && (device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) != 0) {
|
||||||
if (device != null && ((device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) == InputDevice.SOURCE_TOUCHSCREEN
|
nativeAddTouch(device.getId(), device.getName());
|
||||||
|| device.isVirtual())) {
|
|
||||||
|
|
||||||
int touchDevId = device.getId();
|
|
||||||
/*
|
|
||||||
* Prevent id to be -1, since it's used in SDL internal for synthetic events
|
|
||||||
* Appears when using Android emulator, eg:
|
|
||||||
* adb shell input mouse tap 100 100
|
|
||||||
* adb shell input touchscreen tap 100 100
|
|
||||||
*/
|
|
||||||
if (touchDevId < 0) {
|
|
||||||
touchDevId -= 1;
|
|
||||||
}
|
|
||||||
nativeAddTouch(touchDevId, device.getName());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2014,7 +1895,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_KEYBOARD) == InputDevice.SOURCE_KEYBOARD) {
|
if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {
|
||||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||||
if (SDLActivity.isTextInputEvent(event)) {
|
if (SDLActivity.isTextInputEvent(event)) {
|
||||||
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||||
|
@ -2027,7 +1908,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_MOUSE) == InputDevice.SOURCE_MOUSE) {
|
if ((source & InputDevice.SOURCE_MOUSE) != 0) {
|
||||||
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
||||||
// they are ignored here because sending them as mouse input to SDL is messy
|
// they are ignored here because sending them as mouse input to SDL is messy
|
||||||
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
||||||
|
|
|
@ -255,6 +255,7 @@ class SDLJoystickHandler_API16 extends SDLJoystickHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean handleMotionEvent(MotionEvent event) {
|
public boolean handleMotionEvent(MotionEvent event) {
|
||||||
|
if ((event.getSource() & InputDevice.SOURCE_JOYSTICK) != 0) {
|
||||||
int actionPointerIndex = event.getActionIndex();
|
int actionPointerIndex = event.getActionIndex();
|
||||||
int action = event.getActionMasked();
|
int action = event.getActionMasked();
|
||||||
if (action == MotionEvent.ACTION_MOVE) {
|
if (action == MotionEvent.ACTION_MOVE) {
|
||||||
|
@ -273,6 +274,7 @@ class SDLJoystickHandler_API16 extends SDLJoystickHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,7 +319,6 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
||||||
KeyEvent.KEYCODE_BUTTON_X,
|
KeyEvent.KEYCODE_BUTTON_X,
|
||||||
KeyEvent.KEYCODE_BUTTON_Y,
|
KeyEvent.KEYCODE_BUTTON_Y,
|
||||||
KeyEvent.KEYCODE_BACK,
|
KeyEvent.KEYCODE_BACK,
|
||||||
KeyEvent.KEYCODE_MENU,
|
|
||||||
KeyEvent.KEYCODE_BUTTON_MODE,
|
KeyEvent.KEYCODE_BUTTON_MODE,
|
||||||
KeyEvent.KEYCODE_BUTTON_START,
|
KeyEvent.KEYCODE_BUTTON_START,
|
||||||
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
||||||
|
@ -359,7 +360,6 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
||||||
(1 << 2), // X -> X
|
(1 << 2), // X -> X
|
||||||
(1 << 3), // Y -> Y
|
(1 << 3), // Y -> Y
|
||||||
(1 << 4), // BACK -> BACK
|
(1 << 4), // BACK -> BACK
|
||||||
(1 << 6), // MENU -> START
|
|
||||||
(1 << 5), // MODE -> GUIDE
|
(1 << 5), // MODE -> GUIDE
|
||||||
(1 << 6), // START -> START
|
(1 << 6), // START -> START
|
||||||
(1 << 7), // THUMBL -> LEFTSTICK
|
(1 << 7), // THUMBL -> LEFTSTICK
|
||||||
|
@ -560,6 +560,8 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
|
case InputDevice.SOURCE_GAMEPAD:
|
||||||
|
case InputDevice.SOURCE_DPAD:
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
|
@ -689,6 +691,8 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 {
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
|
case InputDevice.SOURCE_GAMEPAD:
|
||||||
|
case InputDevice.SOURCE_DPAD:
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
|
|
8
externals/SDL/autogen.sh
vendored
8
externals/SDL/autogen.sh
vendored
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "Generating build information using autoconf"
|
echo "Generating build information using autoconf"
|
||||||
echo "This may take a while ..."
|
echo "This may take a while ..."
|
||||||
|
|
||||||
|
@ -12,7 +10,11 @@ cd "$srcdir"
|
||||||
# Regenerate configuration files
|
# Regenerate configuration files
|
||||||
cat acinclude/* >aclocal.m4
|
cat acinclude/* >aclocal.m4
|
||||||
|
|
||||||
"${AUTOCONF:-autoconf}"
|
if test "$AUTOCONF"x = x; then
|
||||||
|
AUTOCONF=autoconf
|
||||||
|
fi
|
||||||
|
|
||||||
|
$AUTOCONF || exit 1
|
||||||
rm aclocal.m4
|
rm aclocal.m4
|
||||||
rm -rf autom4te.cache
|
rm -rf autom4te.cache
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,8 @@ lib=
|
||||||
ndk_args=
|
ndk_args=
|
||||||
|
|
||||||
# Allow an external caller to specify locations.
|
# Allow an external caller to specify locations.
|
||||||
for arg in $*; do
|
for arg in $*
|
||||||
|
do
|
||||||
if [ "${arg:0:8}" == "NDK_OUT=" ]; then
|
if [ "${arg:0:8}" == "NDK_OUT=" ]; then
|
||||||
obj=${arg#NDK_OUT=}
|
obj=${arg#NDK_OUT=}
|
||||||
elif [ "${arg:0:13}" == "NDK_LIBS_OUT=" ]; then
|
elif [ "${arg:0:13}" == "NDK_LIBS_OUT=" ]; then
|
||||||
|
|
6
externals/SDL/build-scripts/clang++-fat.sh
vendored
6
externals/SDL/build-scripts/clang++-fat.sh
vendored
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.7 \
|
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.6 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|
8
externals/SDL/build-scripts/clang-fat.sh
vendored
8
externals/SDL/build-scripts/clang-fat.sh
vendored
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.7 \
|
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.6 \
|
||||||
-DMAC_OS_X_VERSION_MIN_REQUIRED=1070 \
|
-DMAC_OS_X_VERSION_MIN_REQUIRED=1060 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|
37
externals/SDL/build-scripts/config.guess
vendored
37
externals/SDL/build-scripts/config.guess
vendored
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2022-05-25'
|
timestamp='2022-01-03'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -929,9 +929,6 @@ EOF
|
||||||
i*:PW*:*)
|
i*:PW*:*)
|
||||||
GUESS=$UNAME_MACHINE-pc-pw32
|
GUESS=$UNAME_MACHINE-pc-pw32
|
||||||
;;
|
;;
|
||||||
*:SerenityOS:*:*)
|
|
||||||
GUESS=$UNAME_MACHINE-pc-serenity
|
|
||||||
;;
|
|
||||||
*:Interix*:*)
|
*:Interix*:*)
|
||||||
case $UNAME_MACHINE in
|
case $UNAME_MACHINE in
|
||||||
x86)
|
x86)
|
||||||
|
@ -1151,27 +1148,16 @@ EOF
|
||||||
;;
|
;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
set_cc_for_build
|
set_cc_for_build
|
||||||
CPU=$UNAME_MACHINE
|
|
||||||
LIBCABI=$LIBC
|
LIBCABI=$LIBC
|
||||||
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
||||||
ABI=64
|
if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
|
||||||
sed 's/^ //' << EOF > "$dummy.c"
|
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||||
#ifdef __i386__
|
grep IS_X32 >/dev/null
|
||||||
ABI=x86
|
then
|
||||||
#else
|
LIBCABI=${LIBC}x32
|
||||||
#ifdef __ILP32__
|
|
||||||
ABI=x32
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
EOF
|
|
||||||
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
|
||||||
eval "$cc_set_abi"
|
|
||||||
case $ABI in
|
|
||||||
x86) CPU=i686 ;;
|
|
||||||
x32) LIBCABI=${LIBC}x32 ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
GUESS=$CPU-pc-linux-$LIBCABI
|
fi
|
||||||
|
GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
|
||||||
;;
|
;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa*:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
|
@ -1378,11 +1364,8 @@ EOF
|
||||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
GUESS=i586-pc-haiku
|
GUESS=i586-pc-haiku
|
||||||
;;
|
;;
|
||||||
ppc:Haiku:*:*) # Haiku running on Apple PowerPC
|
x86_64:Haiku:*:*)
|
||||||
GUESS=powerpc-apple-haiku
|
GUESS=x86_64-unknown-haiku
|
||||||
;;
|
|
||||||
*:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
|
|
||||||
GUESS=$UNAME_MACHINE-unknown-haiku
|
|
||||||
;;
|
;;
|
||||||
SX-4:SUPER-UX:*:*)
|
SX-4:SUPER-UX:*:*)
|
||||||
GUESS=sx4-nec-superux$UNAME_RELEASE
|
GUESS=sx4-nec-superux$UNAME_RELEASE
|
||||||
|
|
12
externals/SDL/build-scripts/fnsince.pl
vendored
12
externals/SDL/build-scripts/fnsince.pl
vendored
|
@ -46,15 +46,9 @@ my @releases = sort {
|
||||||
|
|
||||||
# this happens to work for how SDL versions things at the moment.
|
# this happens to work for how SDL versions things at the moment.
|
||||||
my $current_release = $releases[-1];
|
my $current_release = $releases[-1];
|
||||||
my $next_release;
|
my @current_release_segments = split /\./, $current_release;
|
||||||
|
@current_release_segments[2] = '' . ($current_release_segments[2] + 2);
|
||||||
if ($current_release eq '2.0.22') { # Hack for our jump from 2.0.22 to 2.24.0...
|
my $next_release = join('.', @current_release_segments);
|
||||||
$next_release = '2.24.0';
|
|
||||||
} else {
|
|
||||||
my @current_release_segments = split /\./, $current_release;
|
|
||||||
@current_release_segments[1] = '' . ($current_release_segments[1] + 2);
|
|
||||||
$next_release = join('.', @current_release_segments);
|
|
||||||
}
|
|
||||||
|
|
||||||
#print("\n\nSORTED\n");
|
#print("\n\nSORTED\n");
|
||||||
#foreach (@releases) {
|
#foreach (@releases) {
|
||||||
|
|
16
externals/SDL/build-scripts/ltmain.sh
vendored
16
externals/SDL/build-scripts/ltmain.sh
vendored
|
@ -7081,20 +7081,8 @@ func_mode_link ()
|
||||||
prev=xcompiler
|
prev=xcompiler
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
# Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
|
|
||||||
-pthread)
|
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
||||||
case $host in
|
|
||||||
*solaris2*) ;;
|
|
||||||
*)
|
|
||||||
case "$new_inherited_linker_flags " in
|
|
||||||
*" $arg "*) ;;
|
|
||||||
* ) func_append new_inherited_linker_flags " $arg" ;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
-mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
|
|
||||||
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
||||||
func_append compiler_flags " $arg"
|
func_append compiler_flags " $arg"
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
|
|
5
externals/SDL/build-scripts/os2-buildbot.sh
vendored
5
externals/SDL/build-scripts/os2-buildbot.sh
vendored
|
@ -12,7 +12,6 @@ if [ -z "$WATCOM" ]; then
|
||||||
echo "This is often something like '/usr/local/share/watcom'" 1>&2
|
echo "This is often something like '/usr/local/share/watcom'" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH="$WATCOM/binl:$PATH"
|
export PATH="$WATCOM/binl:$PATH"
|
||||||
|
|
||||||
ZIPFILE="$1"
|
ZIPFILE="$1"
|
||||||
|
@ -31,8 +30,8 @@ rm -f $ZIPFILE
|
||||||
wmake -f Makefile.os2
|
wmake -f Makefile.os2
|
||||||
rm -rf $ZIPDIR
|
rm -rf $ZIPDIR
|
||||||
mkdir -p $ZIPDIR
|
mkdir -p $ZIPDIR
|
||||||
chmod a+r SDL2.lib SDL2.dll
|
chmod 644 SDL2.dll SDL2.lib SDL2test.lib
|
||||||
mv SDL2.lib SDL2.dll $ZIPDIR/
|
mv SDL2.dll SDL2.lib SDL2test.lib $ZIPDIR/
|
||||||
cp -R include $ZIPDIR/
|
cp -R include $ZIPDIR/
|
||||||
zip -9r "buildbot/$ZIPFILE" $ZIPDIR
|
zip -9r "buildbot/$ZIPFILE" $ZIPDIR
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
find . -type f -exec grep -Il "Copyright" {} \; \
|
find . -type f -exec grep -Il "Copyright" {} \; \
|
||||||
| grep -v \.git \
|
| grep -v \.git \
|
||||||
| while read file; do \
|
| while read file; \
|
||||||
|
do \
|
||||||
LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
|
LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
|
||||||
done
|
done
|
||||||
|
|
163
externals/SDL/build-scripts/wikiheaders.pl
vendored
163
externals/SDL/build-scripts/wikiheaders.pl
vendored
|
@ -4,27 +4,10 @@ use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
use Text::Wrap;
|
use Text::Wrap;
|
||||||
|
|
||||||
$Text::Wrap::huge = 'overflow';
|
|
||||||
|
|
||||||
my $projectfullname = 'Simple Directmedia Layer';
|
|
||||||
my $projectshortname = 'SDL';
|
|
||||||
my $wikisubdir = '';
|
|
||||||
my $incsubdir = 'include';
|
|
||||||
my $apiprefixregex = undef;
|
|
||||||
my $versionfname = 'include/SDL_version.h';
|
|
||||||
my $versionmajorregex = '\A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z';
|
|
||||||
my $versionminorregex = '\A\#define\s+SDL_MINOR_VERSION\s+(\d+)\Z';
|
|
||||||
my $versionpatchregex = '\A\#define\s+SDL_PATCHLEVEL\s+(\d+)\Z';
|
|
||||||
my $mainincludefname = 'SDL.h';
|
|
||||||
my $selectheaderregex = '\ASDL.*?\.h\Z';
|
|
||||||
my $projecturl = 'https://libsdl.org/';
|
|
||||||
my $wikiurl = 'https://wiki.libsdl.org';
|
|
||||||
my $bugreporturl = 'https://github.com/libsdl-org/sdlwiki/issues/new';
|
|
||||||
my $srcpath = undef;
|
my $srcpath = undef;
|
||||||
my $wikipath = undef;
|
my $wikipath = undef;
|
||||||
my $warn_about_missing = 0;
|
my $warn_about_missing = 0;
|
||||||
my $copy_direction = 0;
|
my $copy_direction = 0;
|
||||||
my $optionsfname = undef;
|
|
||||||
|
|
||||||
foreach (@ARGV) {
|
foreach (@ARGV) {
|
||||||
$warn_about_missing = 1, next if $_ eq '--warn-about-missing';
|
$warn_about_missing = 1, next if $_ eq '--warn-about-missing';
|
||||||
|
@ -32,73 +15,14 @@ foreach (@ARGV) {
|
||||||
$copy_direction = 1, next if $_ eq '--copy-to-header';
|
$copy_direction = 1, next if $_ eq '--copy-to-header';
|
||||||
$copy_direction = -1, next if $_ eq '--copy-to-wiki';
|
$copy_direction = -1, next if $_ eq '--copy-to-wiki';
|
||||||
$copy_direction = -2, next if $_ eq '--copy-to-manpages';
|
$copy_direction = -2, next if $_ eq '--copy-to-manpages';
|
||||||
if (/\A--options=(.*)\Z/) {
|
|
||||||
$optionsfname = $1;
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
$srcpath = $_, next if not defined $srcpath;
|
$srcpath = $_, next if not defined $srcpath;
|
||||||
$wikipath = $_, next if not defined $wikipath;
|
$wikipath = $_, next if not defined $wikipath;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $default_optionsfname = '.wikiheaders-options';
|
|
||||||
$default_optionsfname = "$srcpath/$default_optionsfname" if defined $srcpath;
|
|
||||||
|
|
||||||
if ((not defined $optionsfname) && (-f $default_optionsfname)) {
|
|
||||||
$optionsfname = $default_optionsfname;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (defined $optionsfname) {
|
|
||||||
open OPTIONS, '<', $optionsfname or die("Failed to open options file '$optionsfname': $!\n");
|
|
||||||
while (<OPTIONS>) {
|
|
||||||
chomp;
|
|
||||||
if (/\A(.*?)\=(.*)\Z/) {
|
|
||||||
my $key = $1;
|
|
||||||
my $val = $2;
|
|
||||||
$key =~ s/\A\s+//;
|
|
||||||
$key =~ s/\s+\Z//;
|
|
||||||
$val =~ s/\A\s+//;
|
|
||||||
$val =~ s/\s+\Z//;
|
|
||||||
$warn_about_missing = int($val), next if $key eq 'warn_about_missing';
|
|
||||||
$srcpath = $val, next if $key eq 'srcpath';
|
|
||||||
$wikipath = $val, next if $key eq 'wikipath';
|
|
||||||
$apiprefixregex = $val, next if $key eq 'apiprefixregex';
|
|
||||||
$projectfullname = $val, next if $key eq 'projectfullname';
|
|
||||||
$projectshortname = $val, next if $key eq 'projectshortname';
|
|
||||||
$wikisubdir = $val, next if $key eq 'wikisubdir';
|
|
||||||
$incsubdir = $val, next if $key eq 'incsubdir';
|
|
||||||
$versionmajorregex = $val, next if $key eq 'versionmajorregex';
|
|
||||||
$versionminorregex = $val, next if $key eq 'versionminorregex';
|
|
||||||
$versionpatchregex = $val, next if $key eq 'versionpatchregex';
|
|
||||||
$versionfname = $val, next if $key eq 'versionfname';
|
|
||||||
$mainincludefname = $val, next if $key eq 'mainincludefname';
|
|
||||||
$selectheaderregex = $val, next if $key eq 'selectheaderregex';
|
|
||||||
$projecturl = $val, next if $key eq 'projecturl';
|
|
||||||
$wikiurl = $val, next if $key eq 'wikiurl';
|
|
||||||
$bugreporturl = $val, next if $key eq 'bugreporturl';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
close(OPTIONS);
|
|
||||||
}
|
|
||||||
|
|
||||||
my $wordwrap_mode = 'mediawiki';
|
my $wordwrap_mode = 'mediawiki';
|
||||||
sub wordwrap_atom { # don't call this directly.
|
sub wordwrap_atom { # don't call this directly.
|
||||||
my $str = shift;
|
my $str = shift;
|
||||||
my $retval = '';
|
return fill('', '', $str);
|
||||||
|
|
||||||
# wordwrap but leave links intact, even if they overflow.
|
|
||||||
if ($wordwrap_mode eq 'mediawiki') {
|
|
||||||
while ($str =~ s/(.*?)\s*(\[https?\:\/\/.*?\s+.*?\])\s*//ms) {
|
|
||||||
$retval .= fill('', '', $1); # wrap it.
|
|
||||||
$retval .= "\n$2\n"; # don't wrap it.
|
|
||||||
}
|
|
||||||
} elsif ($wordwrap_mode eq 'md') {
|
|
||||||
while ($str =~ s/(.*?)\s*(\[.*?\]\(https?\:\/\/.*?\))\s*//ms) {
|
|
||||||
$retval .= fill('', '', $1); # wrap it.
|
|
||||||
$retval .= "\n$2\n"; # don't wrap it.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $retval . fill('', '', $str);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub wordwrap_with_bullet_indent { # don't call this directly.
|
sub wordwrap_with_bullet_indent { # don't call this directly.
|
||||||
|
@ -218,23 +142,16 @@ sub wikify_chunk {
|
||||||
while ($str =~ s/\A(.*?)\`(.*?)\`//ms) {
|
while ($str =~ s/\A(.*?)\`(.*?)\`//ms) {
|
||||||
my $codeblock = $2;
|
my $codeblock = $2;
|
||||||
$codedstr .= wikify_chunk($wikitype, $1, undef, undef);
|
$codedstr .= wikify_chunk($wikitype, $1, undef, undef);
|
||||||
if (defined $apiprefixregex) {
|
# Convert obvious SDL things to wikilinks, even inside `code` blocks.
|
||||||
# Convert obvious API things to wikilinks, even inside `code` blocks.
|
$codeblock =~ s/\b(SDL_[a-zA-Z0-9_]+)/[[$1]]/gms;
|
||||||
$codeblock =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[[$1]]/gms;
|
|
||||||
}
|
|
||||||
$codedstr .= "<code>$codeblock</code>";
|
$codedstr .= "<code>$codeblock</code>";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Convert obvious API things to wikilinks.
|
# Convert obvious SDL things to wikilinks.
|
||||||
if (defined $apiprefixregex) {
|
$str =~ s/\b(SDL_[a-zA-Z0-9_]+)/[[$1]]/gms;
|
||||||
$str =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[[$1]]/gms;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Make some Markdown things into MediaWiki...
|
# Make some Markdown things into MediaWiki...
|
||||||
|
|
||||||
# links
|
|
||||||
$str =~ s/\[(.*?)\]\((https?\:\/\/.*?)\)/\[$2 $1\]/g;
|
|
||||||
|
|
||||||
# bold+italic
|
# bold+italic
|
||||||
$str =~ s/\*\*\*(.*?)\*\*\*/'''''$1'''''/gms;
|
$str =~ s/\*\*\*(.*?)\*\*\*/'''''$1'''''/gms;
|
||||||
|
|
||||||
|
@ -253,10 +170,8 @@ sub wikify_chunk {
|
||||||
$str .= "<syntaxhighlight lang='$codelang'>$code<\/syntaxhighlight>";
|
$str .= "<syntaxhighlight lang='$codelang'>$code<\/syntaxhighlight>";
|
||||||
}
|
}
|
||||||
} elsif ($wikitype eq 'md') {
|
} elsif ($wikitype eq 'md') {
|
||||||
# Convert obvious API things to wikilinks.
|
# Convert obvious SDL things to wikilinks.
|
||||||
if (defined $apiprefixregex) {
|
$str =~ s/\b(SDL_[a-zA-Z0-9_]+)/[$1]($1)/gms;
|
||||||
$str =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[$1]($1)/gms;
|
|
||||||
}
|
|
||||||
if (defined $code) {
|
if (defined $code) {
|
||||||
$str .= "```$codelang$code```";
|
$str .= "```$codelang$code```";
|
||||||
}
|
}
|
||||||
|
@ -301,13 +216,7 @@ sub dewikify_chunk {
|
||||||
# Doxygen supports Markdown (and it just simply looks better than MediaWiki
|
# Doxygen supports Markdown (and it just simply looks better than MediaWiki
|
||||||
# when looking at the raw headers), so do some conversions here as necessary.
|
# when looking at the raw headers), so do some conversions here as necessary.
|
||||||
|
|
||||||
# Dump obvious wikilinks.
|
$str =~ s/\[\[(SDL_[a-zA-Z0-9_]+)\]\]/$1/gms; # Dump obvious wikilinks.
|
||||||
if (defined $apiprefixregex) {
|
|
||||||
$str =~ s/\[\[($apiprefixregex[a-zA-Z0-9_]+)\]\]/$1/gms;
|
|
||||||
}
|
|
||||||
|
|
||||||
# links
|
|
||||||
$str =~ s/\[(https?\:\/\/.*?)\s+(.*?)\]/\[$2\]\($1\)/g;
|
|
||||||
|
|
||||||
# <code></code> is also popular. :/
|
# <code></code> is also popular. :/
|
||||||
$str =~ s/\<code>(.*?)<\/code>/`$1`/gms;
|
$str =~ s/\<code>(.*?)<\/code>/`$1`/gms;
|
||||||
|
@ -331,13 +240,7 @@ sub dewikify_chunk {
|
||||||
} elsif ($dewikify_mode eq 'manpage') {
|
} elsif ($dewikify_mode eq 'manpage') {
|
||||||
$str =~ s/\./\\[char46]/gms; # make sure these can't become control codes.
|
$str =~ s/\./\\[char46]/gms; # make sure these can't become control codes.
|
||||||
if ($wikitype eq 'mediawiki') {
|
if ($wikitype eq 'mediawiki') {
|
||||||
# Dump obvious wikilinks.
|
$str =~ s/\s*\[\[(SDL_[a-zA-Z0-9_]+)\]\]\s*/\n.BR $1\n/gms; # Dump obvious wikilinks.
|
||||||
if (defined $apiprefixregex) {
|
|
||||||
$str =~ s/\s*\[\[($apiprefixregex[a-zA-Z0-9_]+)\]\]\s*/\n.BR $1\n/gms;
|
|
||||||
}
|
|
||||||
|
|
||||||
# links
|
|
||||||
$str =~ s/\[(https?\:\/\/.*?)\s+(.*?)\]/\n.URL "$1" "$2"\n/g;
|
|
||||||
|
|
||||||
# <code></code> is also popular. :/
|
# <code></code> is also popular. :/
|
||||||
$str =~ s/\s*\<code>(.*?)<\/code>\s*/\n.BR $1\n/gms;
|
$str =~ s/\s*\<code>(.*?)<\/code>\s*/\n.BR $1\n/gms;
|
||||||
|
@ -433,13 +336,11 @@ my %headerfuncslocation = (); # $headerfuncslocation{"SDL_OpenAudio"} -> name
|
||||||
my %headerfuncschunk = (); # $headerfuncschunk{"SDL_OpenAudio"} -> offset in array in %headers that should be replaced for this function.
|
my %headerfuncschunk = (); # $headerfuncschunk{"SDL_OpenAudio"} -> offset in array in %headers that should be replaced for this function.
|
||||||
my %headerfuncshasdoxygen = (); # $headerfuncschunk{"SDL_OpenAudio"} -> 1 if there was no existing doxygen for this function.
|
my %headerfuncshasdoxygen = (); # $headerfuncschunk{"SDL_OpenAudio"} -> 1 if there was no existing doxygen for this function.
|
||||||
|
|
||||||
my $incpath = "$srcpath";
|
my $incpath = "$srcpath/include";
|
||||||
$incpath .= "/$incsubdir" if $incsubdir ne '';
|
|
||||||
|
|
||||||
opendir(DH, $incpath) or die("Can't opendir '$incpath': $!\n");
|
opendir(DH, $incpath) or die("Can't opendir '$incpath': $!\n");
|
||||||
while (readdir(DH)) {
|
while (readdir(DH)) {
|
||||||
my $dent = $_;
|
my $dent = $_;
|
||||||
next if not $dent =~ /$selectheaderregex/; # just selected headers.
|
next if not $dent =~ /\ASDL.*?\.h\Z/; # just SDL*.h headers.
|
||||||
open(FH, '<', "$incpath/$dent") or die("Can't open '$incpath/$dent': $!\n");
|
open(FH, '<', "$incpath/$dent") or die("Can't open '$incpath/$dent': $!\n");
|
||||||
|
|
||||||
my @contents = ();
|
my @contents = ();
|
||||||
|
@ -589,7 +490,7 @@ opendir(DH, $wikipath) or die("Can't opendir '$wikipath': $!\n");
|
||||||
while (readdir(DH)) {
|
while (readdir(DH)) {
|
||||||
my $dent = $_;
|
my $dent = $_;
|
||||||
my $type = '';
|
my $type = '';
|
||||||
if ($dent =~ /\.(md|mediawiki)\Z/) {
|
if ($dent =~ /\ASDL.*?\.(md|mediawiki)\Z/) {
|
||||||
$type = $1;
|
$type = $1;
|
||||||
} else {
|
} else {
|
||||||
next; # only dealing with wiki pages.
|
next; # only dealing with wiki pages.
|
||||||
|
@ -817,7 +718,6 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
foreach (@desclines) {
|
foreach (@desclines) {
|
||||||
s/\A(\:|\* )//;
|
s/\A(\:|\* )//;
|
||||||
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
||||||
s/\A\/*//;
|
|
||||||
$str .= "\\sa $_\n";
|
$str .= "\\sa $_\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1026,7 +926,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
if ($wikitype eq 'mediawiki') {
|
if ($wikitype eq 'mediawiki') {
|
||||||
$sections{'Related Functions'} .= ":[[$sa]]\n";
|
$sections{'Related Functions'} .= ":[[$sa]]\n";
|
||||||
} elsif ($wikitype eq 'md') {
|
} elsif ($wikitype eq 'md') {
|
||||||
$sections{'Related Functions'} .= "* [$sa]($sa)\n";
|
$sections{'Related Functions'} .= "* [$sa](/$sa)\n";
|
||||||
} else { die("Expected wikitype '$wikitype'\n"); }
|
} else { die("Expected wikitype '$wikitype'\n"); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1176,23 +1076,22 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
my $gitrev = `cd "$srcpath" ; git rev-list HEAD~..`;
|
my $gitrev = `cd "$srcpath" ; git rev-list HEAD~..`;
|
||||||
chomp($gitrev);
|
chomp($gitrev);
|
||||||
|
|
||||||
# !!! FIXME
|
open(FH, '<', "$srcpath/include/SDL_version.h") or die("Can't open '$srcpath/include/SDL_version.h': $!\n");
|
||||||
open(FH, '<', "$srcpath/$versionfname") or die("Can't open '$srcpath/$versionfname': $!\n");
|
|
||||||
my $majorver = 0;
|
my $majorver = 0;
|
||||||
my $minorver = 0;
|
my $minorver = 0;
|
||||||
my $patchver = 0;
|
my $patchver = 0;
|
||||||
while (<FH>) {
|
while (<FH>) {
|
||||||
chomp;
|
chomp;
|
||||||
if (/$versionmajorregex/) {
|
if (/\A\#define SDL_MAJOR_VERSION\s+(\d+)\Z/) {
|
||||||
$majorver = int($1);
|
$majorver = int($1);
|
||||||
} elsif (/$versionminorregex/) {
|
} elsif (/\A\#define SDL_MINOR_VERSION\s+(\d+)\Z/) {
|
||||||
$minorver = int($1);
|
$minorver = int($1);
|
||||||
} elsif (/$versionpatchregex/) {
|
} elsif (/\A\#define SDL_PATCHLEVEL\s+(\d+)\Z/) {
|
||||||
$patchver = int($1);
|
$patchver = int($1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(FH);
|
close(FH);
|
||||||
my $fullversion = "$majorver.$minorver.$patchver";
|
my $sdlversion = "$majorver.$minorver.$patchver";
|
||||||
|
|
||||||
foreach (keys %headerfuncs) {
|
foreach (keys %headerfuncs) {
|
||||||
my $fn = $_;
|
my $fn = $_;
|
||||||
|
@ -1227,24 +1126,17 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
$str .= ".\\\" This manpage content is licensed under Creative Commons\n";
|
$str .= ".\\\" This manpage content is licensed under Creative Commons\n";
|
||||||
$str .= ".\\\" Attribution 4.0 International (CC BY 4.0)\n";
|
$str .= ".\\\" Attribution 4.0 International (CC BY 4.0)\n";
|
||||||
$str .= ".\\\" https://creativecommons.org/licenses/by/4.0/\n";
|
$str .= ".\\\" https://creativecommons.org/licenses/by/4.0/\n";
|
||||||
$str .= ".\\\" This manpage was generated from ${projectshortname}'s wiki page for $fn:\n";
|
$str .= ".\\\" This manpage was generated from SDL's wiki page for $fn:\n";
|
||||||
$str .= ".\\\" $wikiurl/$fn\n";
|
$str .= ".\\\" https://wiki.libsdl.org/$fn\n";
|
||||||
$str .= ".\\\" Generated with SDL/build-scripts/wikiheaders.pl\n";
|
$str .= ".\\\" Generated with SDL/build-scripts/wikiheaders.pl\n";
|
||||||
$str .= ".\\\" revision $gitrev\n" if $gitrev ne '';
|
$str .= ".\\\" revision $gitrev\n" if $gitrev ne '';
|
||||||
$str .= ".\\\" Please report issues in this manpage's content at:\n";
|
$str .= ".\\\" Please report issues in this manpage's content at:\n";
|
||||||
$str .= ".\\\" $bugreporturl\n";
|
$str .= ".\\\" https://github.com/libsdl-org/sdlwiki/issues/new?title=Feedback%20on%20page%20$fn\n";
|
||||||
$str .= ".\\\" Please report issues in the generation of this manpage from the wiki at:\n";
|
$str .= ".\\\" Please report issues in the generation of this manpage from the wiki at:\n";
|
||||||
$str .= ".\\\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20$fn\n";
|
$str .= ".\\\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20$fn\n";
|
||||||
$str .= ".\\\" $projectshortname can be found at $projecturl\n";
|
$str .= ".\\\" SDL can be found at https://libsdl.org/\n";
|
||||||
|
|
||||||
# Define a .URL macro. The "www.tmac" thing decides if we're using GNU roff (which has a .URL macro already), and if so, overrides the macro we just created.
|
$str .= ".TH $fn 3 \"SDL $sdlversion\" \"Simple Directmedia Layer\" \"SDL$majorver FUNCTIONS\"\n";
|
||||||
# This wizadry is from https://web.archive.org/web/20060102165607/http://people.debian.org/~branden/talks/wtfm/wtfm.pdf
|
|
||||||
$str .= ".de URL\n";
|
|
||||||
$str .= '\\$2 \(laURL: \\$1 \(ra\\$3' . "\n";
|
|
||||||
$str .= "..\n";
|
|
||||||
$str .= '.if \n[.g] .mso www.tmac' . "\n";
|
|
||||||
|
|
||||||
$str .= ".TH $fn 3 \"$projectshortname $fullversion\" \"$projectfullname\" \"$projectshortname$majorver FUNCTIONS\"\n";
|
|
||||||
$str .= ".SH NAME\n";
|
$str .= ".SH NAME\n";
|
||||||
|
|
||||||
$str .= "$fn";
|
$str .= "$fn";
|
||||||
|
@ -1253,7 +1145,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
|
|
||||||
$str .= ".SH SYNOPSIS\n";
|
$str .= ".SH SYNOPSIS\n";
|
||||||
$str .= ".nf\n";
|
$str .= ".nf\n";
|
||||||
$str .= ".B #include \\(dq$mainincludefname\\(dq\n";
|
$str .= ".B #include \\(dqSDL.h\\(dq\n";
|
||||||
$str .= ".PP\n";
|
$str .= ".PP\n";
|
||||||
|
|
||||||
my @decllines = split /\n/, $decl;
|
my @decllines = split /\n/, $decl;
|
||||||
|
@ -1324,7 +1216,6 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
foreach (@desclines) {
|
foreach (@desclines) {
|
||||||
s/\A(\:|\* )//;
|
s/\A(\:|\* )//;
|
||||||
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
||||||
s/\A\/*//;
|
|
||||||
s/\A\.BR\s+//; # dewikify added this, but we want to handle it.
|
s/\A\.BR\s+//; # dewikify added this, but we want to handle it.
|
||||||
s/\A\s+//;
|
s/\A\s+//;
|
||||||
s/\s+\Z//;
|
s/\s+\Z//;
|
||||||
|
@ -1343,14 +1234,14 @@ if ($copy_direction == 1) { # --copy-to-headers
|
||||||
$str .= ".UE\n";
|
$str .= ".UE\n";
|
||||||
$str .= ".PP\n";
|
$str .= ".PP\n";
|
||||||
$str .= "This manpage was generated from\n";
|
$str .= "This manpage was generated from\n";
|
||||||
$str .= ".UR $wikiurl/$fn\n";
|
$str .= ".UR https://wiki.libsdl.org/$fn\n";
|
||||||
$str .= "${projectshortname}'s wiki\n";
|
$str .= "SDL's wiki\n";
|
||||||
$str .= ".UE\n";
|
$str .= ".UE\n";
|
||||||
$str .= "using SDL/build-scripts/wikiheaders.pl";
|
$str .= "using SDL/build-scripts/wikiheaders.pl";
|
||||||
$str .= " revision $gitrev" if $gitrev ne '';
|
$str .= " revision $gitrev" if $gitrev ne '';
|
||||||
$str .= ".\n";
|
$str .= ".\n";
|
||||||
$str .= "Please report issues in this manpage at\n";
|
$str .= "Please report issues in this manpage at\n";
|
||||||
$str .= ".UR $bugreporturl\n";
|
$str .= ".UR https://github.com/libsdl-org/sdlwiki/issues/new\n";
|
||||||
$str .= "our bugtracker!\n";
|
$str .= "our bugtracker!\n";
|
||||||
$str .= ".UE\n";
|
$str .= ".UE\n";
|
||||||
}
|
}
|
||||||
|
|
2
externals/SDL/build-scripts/winrtbuild.ps1
vendored
2
externals/SDL/build-scripts/winrtbuild.ps1
vendored
|
@ -39,7 +39,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Base version of SDL, used for packaging purposes
|
# Base version of SDL, used for packaging purposes
|
||||||
$SDLVersion = "2.23.1"
|
$SDLVersion = "2.0.20"
|
||||||
|
|
||||||
# Gets the .bat file that sets up an MSBuild environment, given one of
|
# Gets the .bat file that sets up an MSBuild environment, given one of
|
||||||
# Visual Studio's, "PlatformToolset"s.
|
# Visual Studio's, "PlatformToolset"s.
|
||||||
|
|
15
externals/SDL/cmake/macros.cmake
vendored
15
externals/SDL/cmake/macros.cmake
vendored
|
@ -17,8 +17,8 @@ macro(SET_OPTION _NAME _DESC)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(DEP_OPTION _NAME _DESC _DEFLT _DEPTEST _FAILDFLT)
|
macro(DEP_OPTION _NAME _DESC _DEFLT _DEPTEST _FAILDFLT)
|
||||||
add_to_alloptions("${_NAME}")
|
add_to_alloptions(${_NAME})
|
||||||
cmake_dependent_option("${_NAME}" "${_DESC}" "${_DEFLT}" "${_DEPTEST}" "${_FAILDFLT}")
|
cmake_dependent_option(${_NAME} ${_DESC} ${_DEFLT} ${_DEPTEST} ${_FAILDFLT})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(OPTION_STRING _NAME _DESC _VALUE)
|
macro(OPTION_STRING _NAME _DESC _VALUE)
|
||||||
|
@ -92,19 +92,12 @@ macro(LISTTOSTRREV _LIST _OUTPUT)
|
||||||
endforeach()
|
endforeach()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
macro(CHECK_OBJC_SOURCE_COMPILES SOURCE VAR)
|
||||||
macro(CHECK_OBJC_SOURCE_COMPILES SOURCE VAR)
|
|
||||||
set(PREV_REQUIRED_DEFS "${CMAKE_REQUIRED_DEFINITIONS}")
|
set(PREV_REQUIRED_DEFS "${CMAKE_REQUIRED_DEFINITIONS}")
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS "-x objective-c ${PREV_REQUIRED_DEFS}")
|
set(CMAKE_REQUIRED_DEFINITIONS "-x objective-c ${PREV_REQUIRED_DEFS}")
|
||||||
CHECK_C_SOURCE_COMPILES(${SOURCE} ${VAR})
|
CHECK_C_SOURCE_COMPILES(${SOURCE} ${VAR})
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS "${PREV_REQUIRED_DEFS}")
|
set(CMAKE_REQUIRED_DEFINITIONS "${PREV_REQUIRED_DEFS}")
|
||||||
endmacro()
|
endmacro()
|
||||||
else()
|
|
||||||
include(CheckOBJCSourceCompiles)
|
|
||||||
if (APPLE)
|
|
||||||
enable_language(OBJC)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
||||||
macro(target_link_directories _TARGET _SCOPE)
|
macro(target_link_directories _TARGET _SCOPE)
|
||||||
|
|
164
externals/SDL/cmake/sdlchecks.cmake
vendored
164
externals/SDL/cmake/sdlchecks.cmake
vendored
|
@ -48,7 +48,6 @@ macro(CheckDLOPEN)
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
void *handle = dlopen(\"\", RTLD_NOW);
|
void *handle = dlopen(\"\", RTLD_NOW);
|
||||||
const char *loaderror = (char *) dlerror();
|
const char *loaderror = (char *) dlerror();
|
||||||
return 0;
|
|
||||||
}" HAVE_DLOPEN)
|
}" HAVE_DLOPEN)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
set(CMAKE_REQUIRED_LIBRARIES)
|
||||||
endif()
|
endif()
|
||||||
|
@ -58,7 +57,8 @@ macro(CheckO_CLOEXEC)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
int flag = O_CLOEXEC;
|
int flag = O_CLOEXEC;
|
||||||
int main(int argc, char **argv) { return 0; }" HAVE_O_CLOEXEC)
|
int main(void) {
|
||||||
|
}" HAVE_O_CLOEXEC)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# Requires:
|
# Requires:
|
||||||
|
@ -68,12 +68,12 @@ macro(CheckOSS)
|
||||||
set(OSS_HEADER_FILE "sys/soundcard.h")
|
set(OSS_HEADER_FILE "sys/soundcard.h")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <sys/soundcard.h>
|
#include <sys/soundcard.h>
|
||||||
int main(int argc, char **argv) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }" OSS_FOUND)
|
int main() { int arg = SNDCTL_DSP_SETFRAGMENT; }" OSS_FOUND)
|
||||||
if(NOT OSS_FOUND)
|
if(NOT OSS_FOUND)
|
||||||
set(OSS_HEADER_FILE "soundcard.h")
|
set(OSS_HEADER_FILE "soundcard.h")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <soundcard.h>
|
#include <soundcard.h>
|
||||||
int main(int argc, char **argv) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }" OSS_FOUND)
|
int main() { int arg = SNDCTL_DSP_SETFRAGMENT; }" OSS_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OSS_FOUND)
|
if(OSS_FOUND)
|
||||||
|
@ -83,7 +83,7 @@ macro(CheckOSS)
|
||||||
set(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1)
|
set(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1)
|
||||||
endif()
|
endif()
|
||||||
set(SDL_AUDIO_DRIVER_OSS 1)
|
set(SDL_AUDIO_DRIVER_OSS 1)
|
||||||
list(APPEND SOURCE_FILES ${OSS_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${OSS_SOURCES})
|
||||||
if(NETBSD OR OPENBSD)
|
if(NETBSD OR OPENBSD)
|
||||||
list(APPEND EXTRA_LIBS ossaudio)
|
list(APPEND EXTRA_LIBS ossaudio)
|
||||||
endif()
|
endif()
|
||||||
|
@ -106,13 +106,13 @@ macro(CheckALSA)
|
||||||
if(HAVE_LIBASOUND)
|
if(HAVE_LIBASOUND)
|
||||||
set(HAVE_ALSA TRUE)
|
set(HAVE_ALSA TRUE)
|
||||||
file(GLOB ALSA_SOURCES ${SDL2_SOURCE_DIR}/src/audio/alsa/*.c)
|
file(GLOB ALSA_SOURCES ${SDL2_SOURCE_DIR}/src/audio/alsa/*.c)
|
||||||
list(APPEND SOURCE_FILES ${ALSA_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${ALSA_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ALSA 1)
|
set(SDL_AUDIO_DRIVER_ALSA 1)
|
||||||
if(SDL_ALSA_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ALSA_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ALSA loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ALSA loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_ALSA_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("asound")
|
FindLibraryAndSONAME("asound")
|
||||||
if(SDL_ALSA_SHARED AND ASOUND_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_ALSA_DYNAMIC "\"${ASOUND_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ALSA_DYNAMIC "\"${ASOUND_LIB_SONAME}\"")
|
||||||
set(HAVE_ALSA_SHARED TRUE)
|
set(HAVE_ALSA_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -134,14 +134,14 @@ macro(CheckPipewire)
|
||||||
if(PKG_PIPEWIRE_FOUND)
|
if(PKG_PIPEWIRE_FOUND)
|
||||||
set(HAVE_PIPEWIRE TRUE)
|
set(HAVE_PIPEWIRE TRUE)
|
||||||
file(GLOB PIPEWIRE_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pipewire/*.c)
|
file(GLOB PIPEWIRE_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pipewire/*.c)
|
||||||
list(APPEND SOURCE_FILES ${PIPEWIRE_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${PIPEWIRE_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_PIPEWIRE 1)
|
set(SDL_AUDIO_DRIVER_PIPEWIRE 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_PIPEWIRE_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_PIPEWIRE_CFLAGS})
|
||||||
if(SDL_PIPEWIRE_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_PIPEWIRE_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic Pipewire loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic Pipewire loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_PIPEWIRE_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("pipewire-0.3")
|
FindLibraryAndSONAME("pipewire-0.3")
|
||||||
if(SDL_PIPEWIRE_SHARED AND PIPEWIRE_0.3_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC "\"${PIPEWIRE_0.3_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC "\"${PIPEWIRE_0.3_LIB_SONAME}\"")
|
||||||
set(HAVE_PIPEWIRE_SHARED TRUE)
|
set(HAVE_PIPEWIRE_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -163,18 +163,18 @@ macro(CheckPulseAudio)
|
||||||
if(PKG_PULSEAUDIO_FOUND)
|
if(PKG_PULSEAUDIO_FOUND)
|
||||||
set(HAVE_PULSEAUDIO TRUE)
|
set(HAVE_PULSEAUDIO TRUE)
|
||||||
file(GLOB PULSEAUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pulseaudio/*.c)
|
file(GLOB PULSEAUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pulseaudio/*.c)
|
||||||
list(APPEND SOURCE_FILES ${PULSEAUDIO_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${PULSEAUDIO_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_PULSEAUDIO 1)
|
set(SDL_AUDIO_DRIVER_PULSEAUDIO 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_PULSEAUDIO_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_PULSEAUDIO_CFLAGS})
|
||||||
if(SDL_PULSEAUDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_PULSEAUDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic PulseAudio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic PulseAudio loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_PULSEAUDIO_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("pulse-simple")
|
FindLibraryAndSONAME("pulse-simple")
|
||||||
if(SDL_PULSEAUDIO_SHARED AND PULSE_SIMPLE_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "\"${PULSE_SIMPLE_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "\"${PULSE_SIMPLE_LIB_SONAME}\"")
|
||||||
set(HAVE_PULSEAUDIO_SHARED TRUE)
|
set(HAVE_PULSEAUDIO_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LDFLAGS ${PKG_PULSEAUDIO_LDFLAGS})
|
list(APPEND EXTRA_LDFLAGS ${PKG_sPULSEAUDIO_LDFLAGS})
|
||||||
endif()
|
endif()
|
||||||
set(HAVE_SDL_AUDIO TRUE)
|
set(HAVE_SDL_AUDIO TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
@ -192,14 +192,14 @@ macro(CheckJACK)
|
||||||
if(PKG_JACK_FOUND)
|
if(PKG_JACK_FOUND)
|
||||||
set(HAVE_JACK TRUE)
|
set(HAVE_JACK TRUE)
|
||||||
file(GLOB JACK_SOURCES ${SDL2_SOURCE_DIR}/src/audio/jack/*.c)
|
file(GLOB JACK_SOURCES ${SDL2_SOURCE_DIR}/src/audio/jack/*.c)
|
||||||
list(APPEND SOURCE_FILES ${JACK_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${JACK_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_JACK 1)
|
set(SDL_AUDIO_DRIVER_JACK 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_JACK_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_JACK_CFLAGS})
|
||||||
if(SDL_JACK_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_JACK_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic JACK audio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic JACK audio loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_JACK_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("jack")
|
FindLibraryAndSONAME("jack")
|
||||||
if(SDL_JACK_SHARED AND JACK_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_JACK_DYNAMIC "\"${JACK_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_JACK_DYNAMIC "\"${JACK_LIB_SONAME}\"")
|
||||||
set(HAVE_JACK_SHARED TRUE)
|
set(HAVE_JACK_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -221,14 +221,14 @@ macro(CheckESD)
|
||||||
if(PKG_ESD_FOUND)
|
if(PKG_ESD_FOUND)
|
||||||
set(HAVE_ESD TRUE)
|
set(HAVE_ESD TRUE)
|
||||||
file(GLOB ESD_SOURCES ${SDL2_SOURCE_DIR}/src/audio/esd/*.c)
|
file(GLOB ESD_SOURCES ${SDL2_SOURCE_DIR}/src/audio/esd/*.c)
|
||||||
list(APPEND SOURCE_FILES ${ESD_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${ESD_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ESD 1)
|
set(SDL_AUDIO_DRIVER_ESD 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_ESD_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_ESD_CFLAGS})
|
||||||
if(SDL_ESD_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ESD_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ESD loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ESD loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_ESD_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME(esd)
|
FindLibraryAndSONAME(esd)
|
||||||
if(SDL_ESD_SHARED AND ESD_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_ESD_DYNAMIC "\"${ESD_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ESD_DYNAMIC "\"${ESD_LIB_SONAME}\"")
|
||||||
set(HAVE_ESD_SHARED TRUE)
|
set(HAVE_ESD_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -254,15 +254,15 @@ macro(CheckARTS)
|
||||||
execute_process(CMD_ARTSLIBS ${ARTS_CONFIG} --libs
|
execute_process(CMD_ARTSLIBS ${ARTS_CONFIG} --libs
|
||||||
OUTPUT_VARIABLE ARTS_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_VARIABLE ARTS_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
file(GLOB ARTS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/arts/*.c)
|
file(GLOB ARTS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/arts/*.c)
|
||||||
list(APPEND SOURCE_FILES ${ARTS_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${ARTS_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ARTS 1)
|
set(SDL_AUDIO_DRIVER_ARTS 1)
|
||||||
set(HAVE_ARTS TRUE)
|
set(HAVE_ARTS TRUE)
|
||||||
if(SDL_ARTS_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ARTS_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ARTS loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ARTS loading")
|
||||||
endif()
|
endif()
|
||||||
FindLibraryAndSONAME(artsc)
|
if(SDL_ARTS_SHARED AND HAVE_SDL_LOADSO)
|
||||||
if(SDL_ARTS_SHARED AND ARTSC_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
# TODO
|
# TODO
|
||||||
|
FindLibraryAndSONAME(artsc)
|
||||||
set(SDL_AUDIO_DRIVER_ARTS_DYNAMIC "\"${ARTSC_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ARTS_DYNAMIC "\"${ARTSC_LIB_SONAME}\"")
|
||||||
set(HAVE_ARTS_SHARED TRUE)
|
set(HAVE_ARTS_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -286,13 +286,13 @@ macro(CheckNAS)
|
||||||
if(HAVE_NAS_H AND D_NAS_LIB)
|
if(HAVE_NAS_H AND D_NAS_LIB)
|
||||||
set(HAVE_NAS TRUE)
|
set(HAVE_NAS TRUE)
|
||||||
file(GLOB NAS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/nas/*.c)
|
file(GLOB NAS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/nas/*.c)
|
||||||
list(APPEND SOURCE_FILES ${NAS_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${NAS_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_NAS 1)
|
set(SDL_AUDIO_DRIVER_NAS 1)
|
||||||
if(SDL_NAS_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_NAS_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic NAS loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic NAS loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_NAS_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("audio")
|
FindLibraryAndSONAME("audio")
|
||||||
if(SDL_NAS_SHARED AND AUDIO_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_NAS_DYNAMIC "\"${AUDIO_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_NAS_DYNAMIC "\"${AUDIO_LIB_SONAME}\"")
|
||||||
set(HAVE_NAS_SHARED TRUE)
|
set(HAVE_NAS_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -316,13 +316,13 @@ macro(CheckSNDIO)
|
||||||
if(HAVE_SNDIO_H AND D_SNDIO_LIB)
|
if(HAVE_SNDIO_H AND D_SNDIO_LIB)
|
||||||
set(HAVE_SNDIO TRUE)
|
set(HAVE_SNDIO TRUE)
|
||||||
file(GLOB SNDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/sndio/*.c)
|
file(GLOB SNDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/sndio/*.c)
|
||||||
list(APPEND SOURCE_FILES ${SNDIO_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${SNDIO_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_SNDIO 1)
|
set(SDL_AUDIO_DRIVER_SNDIO 1)
|
||||||
if(SDL_SNDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_SNDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic sndio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic sndio loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_SNDIO_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("sndio")
|
FindLibraryAndSONAME("sndio")
|
||||||
if(SDL_SNDIO_SHARED AND SNDIO_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "\"${SNDIO_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "\"${SNDIO_LIB_SONAME}\"")
|
||||||
set(HAVE_SNDIO_SHARED TRUE)
|
set(HAVE_SNDIO_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -344,14 +344,14 @@ macro(CheckFusionSound)
|
||||||
if(PKG_FUSIONSOUND_FOUND)
|
if(PKG_FUSIONSOUND_FOUND)
|
||||||
set(HAVE_FUSIONSOUND TRUE)
|
set(HAVE_FUSIONSOUND TRUE)
|
||||||
file(GLOB FUSIONSOUND_SOURCES ${SDL2_SOURCE_DIR}/src/audio/fusionsound/*.c)
|
file(GLOB FUSIONSOUND_SOURCES ${SDL2_SOURCE_DIR}/src/audio/fusionsound/*.c)
|
||||||
list(APPEND SOURCE_FILES ${FUSIONSOUND_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${FUSIONSOUND_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_FUSIONSOUND 1)
|
set(SDL_AUDIO_DRIVER_FUSIONSOUND 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_FUSIONSOUND_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_FUSIONSOUND_CFLAGS})
|
||||||
if(FUSIONSOUND_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(FUSIONSOUND_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic FusionSound loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic FusionSound loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(FUSIONSOUND_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("fusionsound")
|
FindLibraryAndSONAME("fusionsound")
|
||||||
if(FUSIONSOUND_SHARED AND FUSIONSOUND_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "\"${FUSIONSOUND_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "\"${FUSIONSOUND_LIB_SONAME}\"")
|
||||||
set(HAVE_FUSIONSOUND_SHARED TRUE)
|
set(HAVE_FUSIONSOUND_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -375,8 +375,8 @@ macro(CheckLibSampleRate)
|
||||||
if(SDL_LIBSAMPLERATE_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_LIBSAMPLERATE_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic libsamplerate loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic libsamplerate loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_LIBSAMPLERATE_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("samplerate")
|
FindLibraryAndSONAME("samplerate")
|
||||||
if(SDL_LIBSAMPLERATE_SHARED AND SAMPLERATE_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_LIBSAMPLERATE_DYNAMIC "\"${SAMPLERATE_LIB_SONAME}\"")
|
set(SDL_LIBSAMPLERATE_DYNAMIC "\"${SAMPLERATE_LIB_SONAME}\"")
|
||||||
set(HAVE_LIBSAMPLERATE_SHARED TRUE)
|
set(HAVE_LIBSAMPLERATE_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -393,7 +393,7 @@ endmacro()
|
||||||
# - HAVE_SDL_LOADSO opt
|
# - HAVE_SDL_LOADSO opt
|
||||||
macro(CheckX11)
|
macro(CheckX11)
|
||||||
if(SDL_X11)
|
if(SDL_X11)
|
||||||
foreach(_LIB X11 Xext Xcursor Xi Xfixes Xrandr Xrender Xss)
|
foreach(_LIB X11 Xext Xcursor Xinerama Xi Xfixes Xrandr Xrender Xss Xxf86vm)
|
||||||
FindLibraryAndSONAME("${_LIB}")
|
FindLibraryAndSONAME("${_LIB}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
@ -415,6 +415,7 @@ macro(CheckX11)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_include_file(X11/Xcursor/Xcursor.h HAVE_XCURSOR_H)
|
check_include_file(X11/Xcursor/Xcursor.h HAVE_XCURSOR_H)
|
||||||
|
check_include_file(X11/extensions/Xinerama.h HAVE_XINERAMA_H)
|
||||||
check_include_file(X11/extensions/XInput2.h HAVE_XINPUT2_H)
|
check_include_file(X11/extensions/XInput2.h HAVE_XINPUT2_H)
|
||||||
check_include_file(X11/extensions/Xrandr.h HAVE_XRANDR_H)
|
check_include_file(X11/extensions/Xrandr.h HAVE_XRANDR_H)
|
||||||
check_include_file(X11/extensions/Xfixes.h HAVE_XFIXES_H_)
|
check_include_file(X11/extensions/Xfixes.h HAVE_XFIXES_H_)
|
||||||
|
@ -422,6 +423,7 @@ macro(CheckX11)
|
||||||
check_include_file(X11/extensions/scrnsaver.h HAVE_XSS_H)
|
check_include_file(X11/extensions/scrnsaver.h HAVE_XSS_H)
|
||||||
check_include_file(X11/extensions/shape.h HAVE_XSHAPE_H)
|
check_include_file(X11/extensions/shape.h HAVE_XSHAPE_H)
|
||||||
check_include_files("X11/Xlib.h;X11/extensions/Xdbe.h" HAVE_XDBE_H)
|
check_include_files("X11/Xlib.h;X11/extensions/Xdbe.h" HAVE_XDBE_H)
|
||||||
|
check_include_files("X11/Xlib.h;X11/extensions/xf86vmode.h" HAVE_XF86VM_H)
|
||||||
check_include_files("X11/Xlib.h;X11/Xproto.h;X11/extensions/Xext.h" HAVE_XEXT_H)
|
check_include_files("X11/Xlib.h;X11/Xproto.h;X11/extensions/Xext.h" HAVE_XEXT_H)
|
||||||
|
|
||||||
if(X11_LIB)
|
if(X11_LIB)
|
||||||
|
@ -433,7 +435,7 @@ macro(CheckX11)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB X11_SOURCES ${SDL2_SOURCE_DIR}/src/video/x11/*.c)
|
file(GLOB X11_SOURCES ${SDL2_SOURCE_DIR}/src/video/x11/*.c)
|
||||||
list(APPEND SOURCE_FILES ${X11_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${X11_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_X11 1)
|
set(SDL_VIDEO_DRIVER_X11 1)
|
||||||
|
|
||||||
# !!! FIXME: why is this disabled for Apple?
|
# !!! FIXME: why is this disabled for Apple?
|
||||||
|
@ -459,14 +461,12 @@ macro(CheckX11)
|
||||||
else()
|
else()
|
||||||
set(HAVE_X11_SHARED TRUE)
|
set(HAVE_X11_SHARED TRUE)
|
||||||
endif()
|
endif()
|
||||||
if(HAVE_X11_SHARED AND X11_LIB AND XEXT_LIB)
|
if(HAVE_X11_SHARED)
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC "\"${X11_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC "\"${X11_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "\"${XEXT_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "\"${XEXT_LIB_SONAME}\"")
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
||||||
endif()
|
endif()
|
||||||
else()
|
|
||||||
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${X11_LIB} ${X11_LIB})
|
set(CMAKE_REQUIRED_LIBRARIES ${X11_LIB} ${X11_LIB})
|
||||||
|
@ -479,8 +479,7 @@ macro(CheckX11)
|
||||||
XGenericEventCookie *cookie = &event.xcookie;
|
XGenericEventCookie *cookie = &event.xcookie;
|
||||||
XNextEvent(display, &event);
|
XNextEvent(display, &event);
|
||||||
XGetEventData(display, cookie);
|
XGetEventData(display, cookie);
|
||||||
XFreeEventData(display, cookie);
|
XFreeEventData(display, cookie); }" HAVE_XGENERICEVENT)
|
||||||
return 0; }" HAVE_XGENERICEVENT)
|
|
||||||
if(HAVE_XGENERICEVENT)
|
if(HAVE_XGENERICEVENT)
|
||||||
set(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1)
|
set(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1)
|
||||||
endif()
|
endif()
|
||||||
|
@ -502,6 +501,16 @@ macro(CheckX11)
|
||||||
set(SDL_VIDEO_DRIVER_X11_XDBE 1)
|
set(SDL_VIDEO_DRIVER_X11_XDBE 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(SDL_X11_XINERAMA AND HAVE_XINERAMA_H)
|
||||||
|
set(HAVE_X11_XINERAMA TRUE)
|
||||||
|
if(HAVE_X11_SHARED AND XINERAMA_LIB)
|
||||||
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "\"${XINERAMA_LIB_SONAME}\"")
|
||||||
|
else()
|
||||||
|
list(APPEND EXTRA_LIBS ${XINERAMA_LIB})
|
||||||
|
endif()
|
||||||
|
set(SDL_VIDEO_DRIVER_X11_XINERAMA 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(SDL_X11_XINPUT AND HAVE_XINPUT2_H)
|
if(SDL_X11_XINPUT AND HAVE_XINPUT2_H)
|
||||||
set(HAVE_X11_XINPUT TRUE)
|
set(HAVE_X11_XINPUT TRUE)
|
||||||
if(HAVE_X11_SHARED AND XI_LIB)
|
if(HAVE_X11_SHARED AND XI_LIB)
|
||||||
|
@ -518,10 +527,11 @@ macro(CheckX11)
|
||||||
#include <X11/extensions/XInput2.h>
|
#include <X11/extensions/XInput2.h>
|
||||||
int event_type = XI_TouchBegin;
|
int event_type = XI_TouchBegin;
|
||||||
XITouchClassInfo *t;
|
XITouchClassInfo *t;
|
||||||
Status XIAllowTouchEvents(Display *a,int b,unsigned int c,Window d,int f) {
|
Status XIAllowTouchEvents(Display *a,int b,unsigned int c,Window d,int f)
|
||||||
|
{
|
||||||
return (Status)0;
|
return (Status)0;
|
||||||
}
|
}
|
||||||
int main(int argc, char **argv) { return 0; }" HAVE_XINPUT2_MULTITOUCH)
|
int main(int argc, char **argv) {}" HAVE_XINPUT2_MULTITOUCH)
|
||||||
if(HAVE_XINPUT2_MULTITOUCH)
|
if(HAVE_XINPUT2_MULTITOUCH)
|
||||||
set(SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1)
|
set(SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1)
|
||||||
endif()
|
endif()
|
||||||
|
@ -535,7 +545,7 @@ macro(CheckX11)
|
||||||
#include <X11/extensions/XInput2.h>
|
#include <X11/extensions/XInput2.h>
|
||||||
#include <X11/extensions/Xfixes.h>
|
#include <X11/extensions/Xfixes.h>
|
||||||
BarrierEventID b;
|
BarrierEventID b;
|
||||||
int main(int argc, char **argv) { return 0; }" HAVE_XFIXES_H)
|
int main(void) { }" HAVE_XFIXES_H)
|
||||||
endif()
|
endif()
|
||||||
if(SDL_X11_XFIXES AND HAVE_XFIXES_H AND HAVE_XINPUT2_H)
|
if(SDL_X11_XFIXES AND HAVE_XFIXES_H AND HAVE_XINPUT2_H)
|
||||||
if(HAVE_X11_SHARED AND XFIXES_LIB)
|
if(HAVE_X11_SHARED AND XFIXES_LIB)
|
||||||
|
@ -572,6 +582,16 @@ macro(CheckX11)
|
||||||
set(HAVE_X11_XSHAPE TRUE)
|
set(HAVE_X11_XSHAPE TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(SDL_X11_XVM AND HAVE_XF86VM_H)
|
||||||
|
if(HAVE_X11_SHARED AND XXF86VM_LIB)
|
||||||
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "\"${XXF86VM_LIB_SONAME}\"")
|
||||||
|
else()
|
||||||
|
list(APPEND EXTRA_LIBS ${XXF86VM_LIB})
|
||||||
|
endif()
|
||||||
|
set(SDL_VIDEO_DRIVER_X11_XVIDMODE 1)
|
||||||
|
set(HAVE_X11_XVM TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
set(CMAKE_REQUIRED_LIBRARIES)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -599,7 +619,7 @@ macro(WaylandProtocolGen _SCANNER _CODE_MODE _XML _PROTL)
|
||||||
ARGS "${_CODE_MODE}" "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
ARGS "${_CODE_MODE}" "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND SOURCE_FILES "${_WAYLAND_PROT_C_CODE}")
|
set(SOURCE_FILES ${SOURCE_FILES} "${_WAYLAND_PROT_C_CODE}")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# Requires:
|
# Requires:
|
||||||
|
@ -610,7 +630,7 @@ endmacro()
|
||||||
# - HAVE_SDL_LOADSO opt
|
# - HAVE_SDL_LOADSO opt
|
||||||
macro(CheckWayland)
|
macro(CheckWayland)
|
||||||
if(SDL_WAYLAND)
|
if(SDL_WAYLAND)
|
||||||
pkg_check_modules(WAYLAND "wayland-client>=1.18" wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
|
pkg_check_modules(WAYLAND wayland-client wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
|
||||||
|
|
||||||
if(WAYLAND_FOUND)
|
if(WAYLAND_FOUND)
|
||||||
find_program(WAYLAND_SCANNER NAMES wayland-scanner REQUIRED)
|
find_program(WAYLAND_SCANNER NAMES wayland-scanner REQUIRED)
|
||||||
|
@ -642,7 +662,7 @@ macro(CheckWayland)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB WAYLAND_SOURCES ${SDL2_SOURCE_DIR}/src/video/wayland/*.c)
|
file(GLOB WAYLAND_SOURCES ${SDL2_SOURCE_DIR}/src/video/wayland/*.c)
|
||||||
list(APPEND SOURCE_FILES ${WAYLAND_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${WAYLAND_SOURCES})
|
||||||
|
|
||||||
# We have to generate some protocol interface code for some unstable Wayland features.
|
# We have to generate some protocol interface code for some unstable Wayland features.
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols")
|
||||||
|
@ -662,18 +682,18 @@ macro(CheckWayland)
|
||||||
if(SDL_WAYLAND_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_WAYLAND_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic Wayland loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic Wayland loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_WAYLAND_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME(wayland-client)
|
FindLibraryAndSONAME(wayland-client)
|
||||||
FindLibraryAndSONAME(wayland-egl)
|
FindLibraryAndSONAME(wayland-egl)
|
||||||
FindLibraryAndSONAME(wayland-cursor)
|
FindLibraryAndSONAME(wayland-cursor)
|
||||||
FindLibraryAndSONAME(xkbcommon)
|
FindLibraryAndSONAME(xkbcommon)
|
||||||
if(SDL_WAYLAND_SHARED AND WAYLAND_CLIENT_LIB AND WAYLAND_EGL_LIB AND WAYLAND_CURSOR_LIB AND XKBCOMMON_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "\"${WAYLAND_CLIENT_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "\"${WAYLAND_CLIENT_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "\"${WAYLAND_EGL_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "\"${WAYLAND_EGL_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "\"${WAYLAND_CURSOR_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "\"${WAYLAND_CURSOR_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "\"${XKBCOMMON_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "\"${XKBCOMMON_LIB_SONAME}\"")
|
||||||
set(HAVE_WAYLAND_SHARED TRUE)
|
set(HAVE_WAYLAND_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LIBS ${WAYLAND_LIBRARIES})
|
set(EXTRA_LIBS ${WAYLAND_LIBRARIES} ${EXTRA_LIBS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_WAYLAND_LIBDECOR)
|
if(SDL_WAYLAND_LIBDECOR)
|
||||||
|
@ -686,12 +706,12 @@ macro(CheckWayland)
|
||||||
if(SDL_WAYLAND_LIBDECOR_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_WAYLAND_LIBDECOR_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic libdecor loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic libdecor loading")
|
||||||
endif()
|
endif()
|
||||||
FindLibraryAndSONAME(decor-0)
|
if(SDL_WAYLAND_LIBDECOR_SHARED AND HAVE_SDL_LOADSO)
|
||||||
if(SDL_WAYLAND_LIBDECOR_SHARED AND DECOR_0_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(HAVE_LIBDECOR_SHARED TRUE)
|
set(HAVE_LIBDECOR_SHARED TRUE)
|
||||||
|
FindLibraryAndSONAME(decor-0)
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\"${DECOR_0_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\"${DECOR_0_LIB_SONAME}\"")
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LIBS ${LIBDECOR_LIBRARIES})
|
set(EXTRA_LIBS ${LIBDECOR_LIBRARIES} ${EXTRA_LIBS})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -711,7 +731,8 @@ macro(CheckCOCOA)
|
||||||
endif()
|
endif()
|
||||||
if(HAVE_COCOA)
|
if(HAVE_COCOA)
|
||||||
file(GLOB COCOA_SOURCES ${SDL2_SOURCE_DIR}/src/video/cocoa/*.m)
|
file(GLOB COCOA_SOURCES ${SDL2_SOURCE_DIR}/src/video/cocoa/*.m)
|
||||||
list(APPEND SOURCE_FILES ${COCOA_SOURCES})
|
set_source_files_properties(${COCOA_SOURCES} PROPERTIES LANGUAGE C)
|
||||||
|
set(SOURCE_FILES ${SOURCE_FILES} ${COCOA_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_COCOA 1)
|
set(SDL_VIDEO_DRIVER_COCOA 1)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
@ -729,16 +750,15 @@ macro(CheckDirectFB)
|
||||||
if(PKG_DIRECTFB_FOUND)
|
if(PKG_DIRECTFB_FOUND)
|
||||||
set(HAVE_DIRECTFB TRUE)
|
set(HAVE_DIRECTFB TRUE)
|
||||||
file(GLOB DIRECTFB_SOURCES ${SDL2_SOURCE_DIR}/src/video/directfb/*.c)
|
file(GLOB DIRECTFB_SOURCES ${SDL2_SOURCE_DIR}/src/video/directfb/*.c)
|
||||||
list(APPEND SOURCE_FILES ${DIRECTFB_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${DIRECTFB_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_DIRECTFB 1)
|
set(SDL_VIDEO_DRIVER_DIRECTFB 1)
|
||||||
set(SDL_VIDEO_RENDER_DIRECTFB 1)
|
set(SDL_VIDEO_RENDER_DIRECTFB 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
||||||
list(APPEND SDL_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
|
||||||
if(SDL_DIRECTFB_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_DIRECTFB_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")
|
||||||
endif()
|
endif()
|
||||||
|
if(SDL_DIRECTFB_SHARED AND HAVE_SDL_LOADSO)
|
||||||
FindLibraryAndSONAME("directfb")
|
FindLibraryAndSONAME("directfb")
|
||||||
if(SDL_DIRECTFB_SHARED AND DIRECTFB_LIB AND HAVE_SDL_LOADSO)
|
|
||||||
set(SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "\"${DIRECTFB_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "\"${DIRECTFB_LIB_SONAME}\"")
|
||||||
set(HAVE_DIRECTFB_SHARED TRUE)
|
set(HAVE_DIRECTFB_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -755,26 +775,24 @@ macro(CheckVivante)
|
||||||
if(SDL_VIVANTE)
|
if(SDL_VIVANTE)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <gc_vdk.h>
|
#include <gc_vdk.h>
|
||||||
int main(int argc, char** argv) { return 0; }" HAVE_VIVANTE_VDK)
|
int main(int argc, char** argv) {}" HAVE_VIVANTE_VDK)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define LINUX
|
#define LINUX
|
||||||
#define EGL_API_FB
|
#define EGL_API_FB
|
||||||
#include <EGL/eglvivante.h>
|
#include <EGL/eglvivante.h>
|
||||||
int main(int argc, char** argv) { return 0; }" HAVE_VIVANTE_EGL_FB)
|
int main(int argc, char** argv) {}" HAVE_VIVANTE_EGL_FB)
|
||||||
if(HAVE_VIVANTE_VDK OR HAVE_VIVANTE_EGL_FB)
|
if(HAVE_VIVANTE_VDK OR HAVE_VIVANTE_EGL_FB)
|
||||||
set(HAVE_VIVANTE TRUE)
|
set(HAVE_VIVANTE TRUE)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB VIVANTE_SOURCES ${SDL2_SOURCE_DIR}/src/video/vivante/*.c)
|
file(GLOB VIVANTE_SOURCES ${SDL2_SOURCE_DIR}/src/video/vivante/*.c)
|
||||||
list(APPEND SOURCE_FILES ${VIVANTE_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${VIVANTE_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_VIVANTE 1)
|
set(SDL_VIDEO_DRIVER_VIVANTE 1)
|
||||||
if(HAVE_VIVANTE_VDK)
|
if(HAVE_VIVANTE_VDK)
|
||||||
set(SDL_VIDEO_DRIVER_VIVANTE_VDK 1)
|
set(SDL_VIDEO_DRIVER_VIVANTE_VDK 1)
|
||||||
find_library(VIVANTE_LIBRARY REQUIRED NAMES VIVANTE vivante drm_vivante)
|
list(APPEND EXTRA_LIBS VDK VIVANTE)
|
||||||
find_library(VIVANTE_VDK_LIBRARY VDK REQUIRED)
|
|
||||||
list(APPEND EXTRA_LIBS ${VIVANTE_LIBRARY} ${VIVANTE_VDK_LIBRARY})
|
|
||||||
else()
|
else()
|
||||||
list(APPEND SDL_CFLAGS -DLINUX -DEGL_API_FB)
|
set(SDL_CFLAGS "${SDL_CFLAGS} -DLINUX -DEGL_API_FB")
|
||||||
list(APPEND EXTRA_LIBS EGL)
|
list(APPEND EXTRA_LIBS EGL)
|
||||||
endif(HAVE_VIVANTE_VDK)
|
endif(HAVE_VIVANTE_VDK)
|
||||||
endif()
|
endif()
|
||||||
|
@ -787,7 +805,7 @@ macro(CheckGLX)
|
||||||
if(SDL_OPENGL)
|
if(SDL_OPENGL)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
int main(int argc, char** argv) { return 0; }" HAVE_OPENGL_GLX)
|
int main(int argc, char** argv) {}" HAVE_OPENGL_GLX)
|
||||||
if(HAVE_OPENGL_GLX)
|
if(HAVE_OPENGL_GLX)
|
||||||
set(SDL_VIDEO_OPENGL_GLX 1)
|
set(SDL_VIDEO_OPENGL_GLX 1)
|
||||||
endif()
|
endif()
|
||||||
|
@ -799,14 +817,15 @@ endmacro()
|
||||||
macro(CheckEGL)
|
macro(CheckEGL)
|
||||||
if (SDL_OPENGL OR SDL_OPENGLES)
|
if (SDL_OPENGL OR SDL_OPENGLES)
|
||||||
pkg_check_modules(EGL egl)
|
pkg_check_modules(EGL egl)
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} ${EGL_CFLAGS}")
|
string(REPLACE "-D_THREAD_SAFE;" "-D_THREAD_SAFE=1;" EGL_CFLAGS "${EGL_CFLAGS}")
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${EGL_CFLAGS}")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define EGL_API_FB
|
#define EGL_API_FB
|
||||||
#define MESA_EGL_NO_X11_HEADERS
|
#define MESA_EGL_NO_X11_HEADERS
|
||||||
#define EGL_NO_X11
|
#define EGL_NO_X11
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
int main (int argc, char** argv) { return 0; }" HAVE_OPENGL_EGL)
|
int main (int argc, char** argv) {}" HAVE_OPENGL_EGL)
|
||||||
if(HAVE_OPENGL_EGL)
|
if(HAVE_OPENGL_EGL)
|
||||||
set(SDL_VIDEO_OPENGL_EGL 1)
|
set(SDL_VIDEO_OPENGL_EGL 1)
|
||||||
endif()
|
endif()
|
||||||
|
@ -820,7 +839,7 @@ macro(CheckOpenGL)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
int main(int argc, char** argv) { return 0; }" HAVE_OPENGL)
|
int main(int argc, char** argv) {}" HAVE_OPENGL)
|
||||||
if(HAVE_OPENGL)
|
if(HAVE_OPENGL)
|
||||||
set(SDL_VIDEO_OPENGL 1)
|
set(SDL_VIDEO_OPENGL 1)
|
||||||
set(SDL_VIDEO_RENDER_OGL 1)
|
set(SDL_VIDEO_RENDER_OGL 1)
|
||||||
|
@ -835,7 +854,7 @@ macro(CheckOpenGLES)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GLES/gl.h>
|
#include <GLES/gl.h>
|
||||||
#include <GLES/glext.h>
|
#include <GLES/glext.h>
|
||||||
int main (int argc, char** argv) { return 0; }" HAVE_OPENGLES_V1)
|
int main (int argc, char** argv) {}" HAVE_OPENGLES_V1)
|
||||||
if(HAVE_OPENGLES_V1)
|
if(HAVE_OPENGLES_V1)
|
||||||
set(HAVE_OPENGLES TRUE)
|
set(HAVE_OPENGLES TRUE)
|
||||||
set(SDL_VIDEO_OPENGL_ES 1)
|
set(SDL_VIDEO_OPENGL_ES 1)
|
||||||
|
@ -844,7 +863,7 @@ macro(CheckOpenGLES)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GLES2/gl2.h>
|
#include <GLES2/gl2.h>
|
||||||
#include <GLES2/gl2ext.h>
|
#include <GLES2/gl2ext.h>
|
||||||
int main (int argc, char** argv) { return 0; }" HAVE_OPENGLES_V2)
|
int main (int argc, char** argv) {}" HAVE_OPENGLES_V2)
|
||||||
if(HAVE_OPENGLES_V2)
|
if(HAVE_OPENGLES_V2)
|
||||||
set(HAVE_OPENGLES TRUE)
|
set(HAVE_OPENGLES TRUE)
|
||||||
set(SDL_VIDEO_OPENGL_ES2 1)
|
set(SDL_VIDEO_OPENGL_ES2 1)
|
||||||
|
@ -922,7 +941,8 @@ macro(CheckPTHREAD)
|
||||||
set(SDL_THREAD_PTHREAD 1)
|
set(SDL_THREAD_PTHREAD 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PTHREAD_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PTHREAD_CFLAGS})
|
||||||
list(APPEND EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
list(APPEND EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
||||||
list(APPEND SDL_CFLAGS ${PTHREAD_CFLAGS})
|
set(SDL_CFLAGS "${SDL_CFLAGS} ${PTHREAD_CFLAGS}")
|
||||||
|
list(APPEND SDL_LIBS ${PTHREAD_LDFLAGS})
|
||||||
|
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
|
@ -1127,7 +1147,7 @@ macro(CheckUSBHID)
|
||||||
endif()
|
endif()
|
||||||
set(SDL_JOYSTICK_USBHID 1)
|
set(SDL_JOYSTICK_USBHID 1)
|
||||||
file(GLOB BSD_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/bsd/*.c)
|
file(GLOB BSD_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/bsd/*.c)
|
||||||
list(APPEND SOURCE_FILES ${BSD_JOYSTICK_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${BSD_JOYSTICK_SOURCES})
|
||||||
list(APPEND EXTRA_CFLAGS ${USB_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${USB_CFLAGS})
|
||||||
list(APPEND EXTRA_LIBS ${USB_LIBS})
|
list(APPEND EXTRA_LIBS ${USB_LIBS})
|
||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
|
@ -1150,14 +1170,10 @@ macro(CheckHIDAPI)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
||||||
if(HIDAPI_ONLY_LIBUSB)
|
if(HIDAPI_ONLY_LIBUSB)
|
||||||
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
||||||
elseif(OS2)
|
|
||||||
set(SDL_LIBUSB_DYNAMIC "\"usb100.dll\"")
|
|
||||||
else()
|
else()
|
||||||
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
||||||
FindLibraryAndSONAME("usb-1.0")
|
FindLibraryAndSONAME("usb-1.0")
|
||||||
if(USB_1.0_LIB)
|
set(SDL_LIBUSB_DYNAMIC "\"${USB_LIB_SONAME}\"")
|
||||||
set(SDL_LIBUSB_DYNAMIC "\"${USB_1.0_LIB_SONAME}\"")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
@ -1168,10 +1184,10 @@ macro(CheckHIDAPI)
|
||||||
|
|
||||||
if(HAVE_HIDAPI)
|
if(HAVE_HIDAPI)
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
list(APPEND SOURCE_FILES ${SDL2_SOURCE_DIR}/src/hidapi/android/hid.cpp)
|
set(SOURCE_FILES ${SOURCE_FILES} ${SDL2_SOURCE_DIR}/src/hidapi/android/hid.cpp)
|
||||||
endif()
|
endif()
|
||||||
if(IOS OR TVOS)
|
if(IOS OR TVOS)
|
||||||
list(APPEND SOURCE_FILES ${SDL2_SOURCE_DIR}/src/hidapi/ios/hid.m)
|
set(SOURCE_FILES ${SOURCE_FILES} ${SDL2_SOURCE_DIR}/src/hidapi/ios/hid.m)
|
||||||
set(SDL_FRAMEWORK_COREBLUETOOTH 1)
|
set(SDL_FRAMEWORK_COREBLUETOOTH 1)
|
||||||
endif()
|
endif()
|
||||||
set(HAVE_SDL_HIDAPI TRUE)
|
set(HAVE_SDL_HIDAPI TRUE)
|
||||||
|
@ -1181,7 +1197,7 @@ macro(CheckHIDAPI)
|
||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
set(HAVE_HIDAPI_JOYSTICK TRUE)
|
set(HAVE_HIDAPI_JOYSTICK TRUE)
|
||||||
file(GLOB HIDAPI_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/hidapi/*.c)
|
file(GLOB HIDAPI_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/hidapi/*.c)
|
||||||
list(APPEND SOURCE_FILES ${HIDAPI_JOYSTICK_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${HIDAPI_JOYSTICK_SOURCES})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
@ -1217,7 +1233,7 @@ macro(CheckRPI)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
set(SDL_VIDEO_DRIVER_RPI 1)
|
set(SDL_VIDEO_DRIVER_RPI 1)
|
||||||
file(GLOB VIDEO_RPI_SOURCES ${SDL2_SOURCE_DIR}/src/video/raspberry/*.c)
|
file(GLOB VIDEO_RPI_SOURCES ${SDL2_SOURCE_DIR}/src/video/raspberry/*.c)
|
||||||
list(APPEND SOURCE_FILES ${VIDEO_RPI_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${VIDEO_RPI_SOURCES})
|
||||||
list(APPEND EXTRA_LIBS ${VIDEO_RPI_LIBRARIES})
|
list(APPEND EXTRA_LIBS ${VIDEO_RPI_LIBRARIES})
|
||||||
# !!! FIXME: shouldn't be using CMAKE_C_FLAGS, right?
|
# !!! FIXME: shouldn't be using CMAKE_C_FLAGS, right?
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VIDEO_RPI_INCLUDE_FLAGS} ${VIDEO_RPI_LIBRARY_FLAGS}")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VIDEO_RPI_INCLUDE_FLAGS} ${VIDEO_RPI_LIBRARY_FLAGS}")
|
||||||
|
@ -1244,7 +1260,7 @@ macro(CheckKMSDRM)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB KMSDRM_SOURCES ${SDL2_SOURCE_DIR}/src/video/kmsdrm/*.c)
|
file(GLOB KMSDRM_SOURCES ${SDL2_SOURCE_DIR}/src/video/kmsdrm/*.c)
|
||||||
list(APPEND SOURCE_FILES ${KMSDRM_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${KMSDRM_SOURCES})
|
||||||
|
|
||||||
list(APPEND EXTRA_CFLAGS ${KMSDRM_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${KMSDRM_CFLAGS})
|
||||||
|
|
||||||
|
@ -1260,7 +1276,7 @@ macro(CheckKMSDRM)
|
||||||
set(SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM "\"${GBM_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM "\"${GBM_LIB_SONAME}\"")
|
||||||
set(HAVE_KMSDRM_SHARED TRUE)
|
set(HAVE_KMSDRM_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LIBS ${KMSDRM_LIBRARIES})
|
set(EXTRA_LIBS ${KMSDRM_LIBRARIES} ${EXTRA_LIBS})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
12599
externals/SDL/configure
vendored
12599
externals/SDL/configure
vendored
File diff suppressed because it is too large
Load diff
437
externals/SDL/configure.ac
vendored
437
externals/SDL/configure.ac
vendored
|
@ -10,21 +10,23 @@ dnl Save the CFLAGS to see whether they were passed in or generated
|
||||||
orig_CFLAGS="$CFLAGS"
|
orig_CFLAGS="$CFLAGS"
|
||||||
|
|
||||||
dnl Set various version strings - taken gratefully from the GTk sources
|
dnl Set various version strings - taken gratefully from the GTk sources
|
||||||
# See docs/release_checklist.md
|
#
|
||||||
|
# Making releases:
|
||||||
|
# Edit include/SDL_version.h and change the version, then:
|
||||||
|
# SDL_MICRO_VERSION += 1;
|
||||||
|
# SDL_INTERFACE_AGE += 1;
|
||||||
|
# SDL_BINARY_AGE += 1;
|
||||||
|
# if any functions have been added, set SDL_INTERFACE_AGE to 0.
|
||||||
|
# if backwards compatibility has been broken,
|
||||||
|
# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
|
||||||
|
#
|
||||||
SDL_MAJOR_VERSION=2
|
SDL_MAJOR_VERSION=2
|
||||||
SDL_MINOR_VERSION=23
|
SDL_MINOR_VERSION=0
|
||||||
SDL_MICRO_VERSION=1
|
SDL_MICRO_VERSION=20
|
||||||
|
SDL_INTERFACE_AGE=2
|
||||||
|
SDL_BINARY_AGE=20
|
||||||
SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
|
SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
|
||||||
|
|
||||||
SDL_BINARY_AGE=`expr $SDL_MINOR_VERSION \* 100 + $SDL_MICRO_VERSION`
|
|
||||||
AS_CASE(["$SDL_MINOR_VERSION"],
|
|
||||||
[*@<:@02468@:>@],
|
|
||||||
dnl Stable branch, 2.24.1 -> libSDL2-2.0.so.0.2400.1
|
|
||||||
[SDL_INTERFACE_AGE="$SDL_MICRO_VERSION"],
|
|
||||||
[*],
|
|
||||||
dnl Development branch, 2.23.1 -> libSDL2-2.0.so.0.2301.0
|
|
||||||
[SDL_INTERFACE_AGE=0])
|
|
||||||
|
|
||||||
AC_SUBST(SDL_MAJOR_VERSION)
|
AC_SUBST(SDL_MAJOR_VERSION)
|
||||||
AC_SUBST(SDL_MINOR_VERSION)
|
AC_SUBST(SDL_MINOR_VERSION)
|
||||||
AC_SUBST(SDL_MICRO_VERSION)
|
AC_SUBST(SDL_MICRO_VERSION)
|
||||||
|
@ -36,17 +38,10 @@ AC_SUBST(SDL_VERSION)
|
||||||
LT_INIT([win32-dll])
|
LT_INIT([win32-dll])
|
||||||
LT_LANG([Windows Resource])
|
LT_LANG([Windows Resource])
|
||||||
|
|
||||||
# For historical reasons, the library name redundantly includes the major
|
LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION
|
||||||
# version twice: libSDL2-2.0.so.0.
|
LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE`
|
||||||
# TODO: in SDL 3, stop using -release, which will simplify it to libSDL3.so.0
|
|
||||||
LT_RELEASE=2.0
|
|
||||||
# Increment this if there is an incompatible change - but if that happens,
|
|
||||||
# we should rename the library from SDL2 to SDL3, at which point this would
|
|
||||||
# reset to 0 anyway.
|
|
||||||
LT_MAJOR=0
|
|
||||||
LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE`
|
|
||||||
LT_CURRENT=`expr $LT_MAJOR + $LT_AGE`
|
|
||||||
LT_REVISION=$SDL_INTERFACE_AGE
|
LT_REVISION=$SDL_INTERFACE_AGE
|
||||||
|
LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE`
|
||||||
m4_pattern_allow([^LT_])
|
m4_pattern_allow([^LT_])
|
||||||
|
|
||||||
AC_SUBST(LT_RELEASE)
|
AC_SUBST(LT_RELEASE)
|
||||||
|
@ -60,14 +55,10 @@ dnl AC_CANONICAL_HOST
|
||||||
dnl Check for tools
|
dnl Check for tools
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AC_PROG_EGREP
|
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
dnl 64-bit file offsets if possible unless --disable-largefile is specified
|
|
||||||
AC_SYS_LARGEFILE
|
|
||||||
|
|
||||||
dnl Make sure that srcdir is a full pathname
|
dnl Make sure that srcdir is a full pathname
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-mingw*)
|
*-*-mingw*)
|
||||||
|
@ -227,10 +218,6 @@ case "$enable_assertions" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MAJOR_VERSION], $SDL_MAJOR_VERSION, [ ])
|
|
||||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MINOR_VERSION], $SDL_MINOR_VERSION, [ ])
|
|
||||||
AC_DEFINE_UNQUOTED([SDL_BUILD_MICRO_VERSION], $SDL_MICRO_VERSION, [ ])
|
|
||||||
|
|
||||||
dnl See whether we can use gcc style dependency tracking
|
dnl See whether we can use gcc style dependency tracking
|
||||||
AC_ARG_ENABLE(dependency-tracking,
|
AC_ARG_ENABLE(dependency-tracking,
|
||||||
[AS_HELP_STRING([--enable-dependency-tracking],
|
[AS_HELP_STRING([--enable-dependency-tracking],
|
||||||
|
@ -254,9 +241,10 @@ fi
|
||||||
AC_MSG_CHECKING(for linker option --no-undefined)
|
AC_MSG_CHECKING(for linker option --no-undefined)
|
||||||
have_no_undefined=no
|
have_no_undefined=no
|
||||||
case "$host" in
|
case "$host" in
|
||||||
dnl Skip this on platforms where it is just simply busted.
|
dnl Skip this on platforms where it is just simply busted.
|
||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
save_LDFLAGS="$LDFLAGS"
|
save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
|
LDFLAGS="$LDFLAGS -Wl,--no-undefined"
|
||||||
|
@ -321,20 +309,25 @@ AC_ARG_ENABLE(libc,
|
||||||
if test x$enable_libc = xyes; then
|
if test x$enable_libc = xyes; then
|
||||||
AC_DEFINE(HAVE_LIBC, 1, [ ])
|
AC_DEFINE(HAVE_LIBC, 1, [ ])
|
||||||
|
|
||||||
dnl Check for C library headers
|
dnl Check for C library headers
|
||||||
dnl AC_CHECK_INCLUDES_DEFAULT is an autoconf-2.7x thing where AC_HEADER_STDC is deprecated.
|
AC_HEADER_STDC
|
||||||
m4_ifdef([AC_CHECK_INCLUDES_DEFAULT], [AC_CHECK_INCLUDES_DEFAULT], [AC_HEADER_STDC])
|
|
||||||
AC_CHECK_HEADERS(sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h wchar.h inttypes.h stdint.h limits.h ctype.h math.h float.h iconv.h signal.h)
|
AC_CHECK_HEADERS(sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h wchar.h inttypes.h stdint.h limits.h ctype.h math.h float.h iconv.h signal.h)
|
||||||
|
|
||||||
dnl Check for typedefs, structures, etc.
|
dnl Check for typedefs, structures, etc.
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
|
||||||
dnl Check for defines
|
dnl Check for defines
|
||||||
AC_CHECK_DEFINE(M_PI, math.h)
|
AC_CHECK_DEFINE(M_PI, math.h)
|
||||||
|
|
||||||
|
dnl Checks for library functions.
|
||||||
|
case "$host" in
|
||||||
|
*-*-cygwin* | *-*-mingw*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
dnl Checks for library functions.
|
|
||||||
AC_FUNC_MEMCMP
|
AC_FUNC_MEMCMP
|
||||||
if test x$ac_cv_func_memcmp_working = xyes; then
|
if test x$ac_cv_func_memcmp_working = xyes; then
|
||||||
AC_DEFINE(HAVE_MEMCMP, 1, [ ])
|
AC_DEFINE(HAVE_MEMCMP, 1, [ ])
|
||||||
|
@ -351,7 +344,7 @@ dnl Checks for library functions.
|
||||||
AC_DEFINE(HAVE_MPROTECT, 1, [ ])
|
AC_DEFINE(HAVE_MPROTECT, 1, [ ])
|
||||||
],[]),
|
],[]),
|
||||||
)
|
)
|
||||||
AC_CHECK_FUNCS(malloc calloc realloc free getenv setenv putenv unsetenv bsearch qsort abs bcopy memset memcpy memmove wcslen wcslcpy wcslcat _wcsdup wcsdup wcsstr wcscmp wcsncmp wcscasecmp _wcsicmp wcsncasecmp _wcsnicmp strlen strlcpy strlcat _strrev _strupr _strlwr index rindex strchr strrchr strstr strtok_r itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp vsscanf vsnprintf fopen64 fseeko fseeko64 sigaction setjmp nanosleep sysconf sysctlbyname getauxval elf_aux_info poll _Exit)
|
AC_CHECK_FUNCS(malloc calloc realloc free getenv setenv putenv unsetenv qsort abs bcopy memset memcpy memmove wcslen wcslcpy wcslcat _wcsdup wcsdup wcsstr wcscmp wcsncmp wcscasecmp _wcsicmp wcsncasecmp _wcsnicmp strlen strlcpy strlcat _strrev _strupr _strlwr index rindex strchr strrchr strstr strtok_r itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp vsscanf vsnprintf fopen64 fseeko fseeko64 sigaction setjmp nanosleep sysconf sysctlbyname getauxval elf_aux_info poll _Exit)
|
||||||
|
|
||||||
AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
|
AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
|
||||||
AC_CHECK_FUNCS(acos acosf asin asinf atan atanf atan2 atan2f ceil ceilf copysign copysignf cos cosf exp expf fabs fabsf floor floorf trunc truncf fmod fmodf log logf log10 log10f lround lroundf pow powf round roundf scalbn scalbnf sin sinf sqrt sqrtf tan tanf)
|
AC_CHECK_FUNCS(acos acosf asin asinf atan atanf atan2 atan2f ceil ceilf copysign copysignf cos cosf exp expf fabs fabsf floor floorf trunc truncf fmod fmodf log logf log10 log10f lround lroundf pow powf round roundf scalbn scalbnf sin sinf sqrt sqrtf tan tanf)
|
||||||
|
@ -361,7 +354,7 @@ dnl Checks for library functions.
|
||||||
|
|
||||||
AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE([HAVE_SA_SIGACTION], 1, [ ])], ,[#include <signal.h>])
|
AC_CHECK_MEMBER(struct sigaction.sa_sigaction,[AC_DEFINE([HAVE_SA_SIGACTION], 1, [ ])], ,[#include <signal.h>])
|
||||||
|
|
||||||
dnl Check for additional non-standard headers
|
dnl Check for additional non-standard headers
|
||||||
AC_CHECK_HEADERS(libunwind.h)
|
AC_CHECK_HEADERS(libunwind.h)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -429,18 +422,9 @@ SOURCES="$SOURCES $srcdir/src/locale/*.c"
|
||||||
|
|
||||||
dnl Enable/disable various subsystems of the SDL library
|
dnl Enable/disable various subsystems of the SDL library
|
||||||
|
|
||||||
case "$host" in
|
|
||||||
*-*-emscripten*)
|
|
||||||
default_atomic=no
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
default_atomic=yes
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(atomic,
|
AC_ARG_ENABLE(atomic,
|
||||||
[AS_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [default=yes]])],
|
[AS_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [default=yes]])],
|
||||||
, enable_atomic=$default_atomic)
|
, enable_atomic=yes)
|
||||||
if test x$enable_atomic != xyes; then
|
if test x$enable_atomic != xyes; then
|
||||||
AC_DEFINE(SDL_ATOMIC_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_ATOMIC_DISABLED, 1, [ ])
|
||||||
else
|
else
|
||||||
|
@ -550,22 +534,6 @@ if test x$enable_file != xyes; then
|
||||||
else
|
else
|
||||||
SUMMARY_modules="${SUMMARY_modules} file"
|
SUMMARY_modules="${SUMMARY_modules} file"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(misc,
|
|
||||||
[AS_HELP_STRING([--enable-misc], [Enable the misc subsystem [default=yes]])],
|
|
||||||
, enable_misc=yes)
|
|
||||||
if test x$enable_misc != xyes; then
|
|
||||||
AC_DEFINE(SDL_MISC_DISABLED, 1, [ ])
|
|
||||||
else
|
|
||||||
SUMMARY_modules="${SUMMARY_modules} misc"
|
|
||||||
fi
|
|
||||||
AC_ARG_ENABLE(locale,
|
|
||||||
[AS_HELP_STRING([--enable-locale], [Enable the locale subsystem [default=yes]])],
|
|
||||||
, enable_locale=yes)
|
|
||||||
if test x$enable_locale != xyes; then
|
|
||||||
AC_DEFINE(SDL_LOCALE_DISABLED, 1, [ ])
|
|
||||||
else
|
|
||||||
SUMMARY_modules="${SUMMARY_modules} locale"
|
|
||||||
fi
|
|
||||||
AC_ARG_ENABLE(loadso,
|
AC_ARG_ENABLE(loadso,
|
||||||
[AS_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [default=yes]])],
|
[AS_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [default=yes]])],
|
||||||
, enable_loadso=yes)
|
, enable_loadso=yes)
|
||||||
|
@ -588,6 +556,8 @@ AC_ARG_ENABLE(assembly,
|
||||||
if test x$enable_assembly = xyes; then
|
if test x$enable_assembly = xyes; then
|
||||||
SUMMARY_modules="${SUMMARY_modules} assembly"
|
SUMMARY_modules="${SUMMARY_modules} assembly"
|
||||||
|
|
||||||
|
AC_DEFINE(SDL_ASSEMBLY_ROUTINES, 1, [ ])
|
||||||
|
|
||||||
# Make sure that we don't generate floating point code that would
|
# Make sure that we don't generate floating point code that would
|
||||||
# cause illegal instruction exceptions on older processors
|
# cause illegal instruction exceptions on older processors
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
@ -612,7 +582,7 @@ if test x$enable_assembly = xyes; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check for various instruction support
|
dnl Check for various instruction support
|
||||||
AC_ARG_ENABLE(mmx,
|
AC_ARG_ENABLE(mmx,
|
||||||
[AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [default=yes]])],
|
[AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [default=yes]])],
|
||||||
, enable_mmx=yes)
|
, enable_mmx=yes)
|
||||||
|
@ -856,70 +826,6 @@ dnl Check for various instruction support
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(lsx,
|
|
||||||
[AS_HELP_STRING([--enable-lsx], [use LSX assembly routines [default=yes]])],
|
|
||||||
, enable_lsx=yes)
|
|
||||||
if test x$enable_lsx = xyes; then
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
have_gcc_lsx=no
|
|
||||||
AC_MSG_CHECKING(for GCC -mlsx option)
|
|
||||||
lsx_CFLAGS="-mlsx"
|
|
||||||
CFLAGS="$save_CFLAGS $lsx_CFLAGS"
|
|
||||||
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
#ifndef __loongarch_sx
|
|
||||||
#error Assembler CPP flag not enabled
|
|
||||||
#endif
|
|
||||||
]], [])], [have_gcc_lsx=yes], [])
|
|
||||||
AC_MSG_RESULT($have_gcc_lsx)
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
if test x$have_gcc_lsx = xyes; then
|
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $lsx_CFLAGS"
|
|
||||||
SUMMARY_math="${SUMMARY_math} lsx"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for lsxintrin.h)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lsxintrin.h>]])],
|
|
||||||
[have_lsxintrin_h_hdr=yes],[have_lsxintrin_h_hdr=no])
|
|
||||||
AC_MSG_RESULT($have_lsxintrin_h_hdr)
|
|
||||||
if test x$have_lsxintrin_h_hdr = xyes; then
|
|
||||||
AC_DEFINE(HAVE_LSXINTRIN_H, 1, [ ])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(lasx,
|
|
||||||
[AS_HELP_STRING([--enable-lasx], [use LASX assembly routines [default=yes]])],
|
|
||||||
, enable_LASX=yes)
|
|
||||||
if test x$enable_LASX = xyes; then
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
have_gcc_lasx=no
|
|
||||||
AC_MSG_CHECKING(for GCC -mlasx option)
|
|
||||||
lasx_CFLAGS="-mlasx"
|
|
||||||
CFLAGS="$save_CFLAGS $lasx_CFLAGS"
|
|
||||||
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
#ifndef __loongarch_asx
|
|
||||||
#error Assembler CPP flag not enabled
|
|
||||||
#endif
|
|
||||||
]], [])], [have_gcc_lasx=yes], [])
|
|
||||||
AC_MSG_RESULT($have_gcc_lasx)
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
if test x$have_gcc_lasx = xyes; then
|
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $lasx_CFLAGS"
|
|
||||||
SUMMARY_math="${SUMMARY_math} lasx"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for lasxintrin.h)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lasxintrin.h>]])],
|
|
||||||
[have_lasxintrin_h_hdr=yes],[have_lasxintrin_h_hdr=no])
|
|
||||||
AC_MSG_RESULT($have_lasxintrin_h_hdr)
|
|
||||||
if test x$have_lasxintrin_h_hdr = xyes; then
|
|
||||||
AC_DEFINE(HAVE_LASXINTRIN_H, 1, [ ])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl See if the OSS audio interface is supported
|
dnl See if the OSS audio interface is supported
|
||||||
CheckOSS()
|
CheckOSS()
|
||||||
{
|
{
|
||||||
|
@ -1374,7 +1280,6 @@ CheckDiskAudio()
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_DISK, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_DISK, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
|
||||||
SUMMARY_audio="${SUMMARY_audio} disk"
|
SUMMARY_audio="${SUMMARY_audio} disk"
|
||||||
have_audio=yes
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1388,7 +1293,6 @@ CheckDummyAudio()
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
|
||||||
SUMMARY_audio="${SUMMARY_audio} dummy"
|
SUMMARY_audio="${SUMMARY_audio} dummy"
|
||||||
have_audio=yes
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1499,26 +1403,6 @@ CheckNEON()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
dnl See if clang's -fobjc-arc supported.
|
|
||||||
dnl Reference: https://github.com/libsdl-org/SDL/pull/5632
|
|
||||||
CheckObjectiveCARC()
|
|
||||||
{
|
|
||||||
AC_MSG_CHECKING(for clang -fobjc-arc option)
|
|
||||||
have_clang_objc_arc=no
|
|
||||||
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
CFLAGS="$save_CFLAGS -fobjc-arc"
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
int x = 0;
|
|
||||||
]],[])], [have_clang_objc_arc=yes],[])
|
|
||||||
AC_MSG_RESULT($have_clang_objc_arc)
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
if test x$have_clang_objc_arc = xyes; then
|
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fobjc-arc"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
dnl See if GCC's -fvisibility=hidden is supported (gcc4 and later, usually).
|
dnl See if GCC's -fvisibility=hidden is supported (gcc4 and later, usually).
|
||||||
dnl Details of this flag are here: http://gcc.gnu.org/wiki/Visibility
|
dnl Details of this flag are here: http://gcc.gnu.org/wiki/Visibility
|
||||||
CheckVisibilityHidden()
|
CheckVisibilityHidden()
|
||||||
|
@ -1620,7 +1504,7 @@ CheckWarnAll()
|
||||||
if test x$have_gcc_Wall = xyes; then
|
if test x$have_gcc_Wall = xyes; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
|
||||||
|
|
||||||
dnl Haiku headers use multicharacter constants all over the place. Ignore these warnings when using -Wall.
|
dnl Haiku headers use multicharacter constants all over the place. Ignore these warnings when using -Wall.
|
||||||
AC_MSG_CHECKING(for necessary GCC -Wno-multichar option)
|
AC_MSG_CHECKING(for necessary GCC -Wno-multichar option)
|
||||||
need_gcc_Wno_multichar=no
|
need_gcc_Wno_multichar=no
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
@ -1651,7 +1535,7 @@ CheckWayland()
|
||||||
video_wayland=no
|
video_wayland=no
|
||||||
if test x$video_opengl_egl = xyes && \
|
if test x$video_opengl_egl = xyes && \
|
||||||
test x$video_opengles_v2 = xyes; then
|
test x$video_opengles_v2 = xyes; then
|
||||||
if $PKG_CONFIG --exists 'wayland-client >= 1.18' wayland-scanner wayland-egl wayland-cursor egl 'xkbcommon >= 0.5.0'; then
|
if $PKG_CONFIG --exists wayland-client wayland-scanner wayland-egl wayland-cursor egl 'xkbcommon >= 0.5.0'; then
|
||||||
WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client wayland-egl wayland-cursor xkbcommon`
|
WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client wayland-egl wayland-cursor xkbcommon`
|
||||||
WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client wayland-egl wayland-cursor xkbcommon`
|
WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client wayland-egl wayland-cursor xkbcommon`
|
||||||
WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
|
WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
|
||||||
|
@ -1682,7 +1566,7 @@ dnl FIXME: Do BSD and OS X need special cases?
|
||||||
wayland_client_lib=[`find_lib "libwayland-client.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_client_lib=[`find_lib "libwayland-client.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
wayland_egl_lib=[`find_lib "libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_egl_lib=[`find_lib "libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
if test x$wayland_egl_lib = x; then
|
if test x$wayland_egl_lib = x; then
|
||||||
# This works in Ubuntu 13.10, maybe others
|
dnl This works in Ubuntu 13.10, maybe others
|
||||||
wayland_egl_lib=[`find_lib "mesa-egl/libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_egl_lib=[`find_lib "mesa-egl/libwayland-egl.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
fi
|
fi
|
||||||
wayland_cursor_lib=[`find_lib "libwayland-cursor.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
wayland_cursor_lib=[`find_lib "libwayland-cursor.so.*" "$WAYLAND_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
@ -1722,31 +1606,39 @@ dnl FIXME: Do BSD and OS X need special cases?
|
||||||
|
|
||||||
dnl See if libdecor is available
|
dnl See if libdecor is available
|
||||||
AC_ARG_ENABLE(libdecor,
|
AC_ARG_ENABLE(libdecor,
|
||||||
[AS_HELP_STRING([--enable-libdecor], [use libdecor for Wayland client-side decorations [default=yes]])],, enable_libdecor=yes)
|
[AS_HELP_STRING([--enable-libdecor], [use libdecor for Wayland client-side decorations [default=yes]])],
|
||||||
|
, enable_libdecor=yes)
|
||||||
if test x$enable_libdecor = xyes; then
|
if test x$enable_libdecor = xyes; then
|
||||||
PKG_CHECK_MODULES([DECOR], [libdecor-0], video_libdecor=yes, video_libdecor=no)
|
AC_MSG_CHECKING(for libdecor support)
|
||||||
|
AS_IF([$PKG_CONFIG --exists libdecor-0],
|
||||||
|
[video_libdecor=yes],
|
||||||
|
[video_libdecor=no])
|
||||||
|
AC_MSG_RESULT($video_libdecor)
|
||||||
if test x$video_libdecor = xyes; then
|
if test x$video_libdecor = xyes; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $DECOR_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS `$PKG_CONFIG --cflags libdecor-0`"
|
||||||
AC_DEFINE(HAVE_LIBDECOR_H, 1, [ ])
|
AC_DEFINE(HAVE_LIBDECOR_H, 1, [ ])
|
||||||
|
|
||||||
AC_ARG_ENABLE(libdecor-shared,
|
AC_ARG_ENABLE(libdecor-shared,
|
||||||
[AS_HELP_STRING([--enable-libdecor-shared], [dynamically load libdecor [default=yes]])],, enable_libdecor_shared=yes)
|
[AS_HELP_STRING([--enable-libdecor-shared], [dynamically load libdecor [default=yes]])],
|
||||||
|
, enable_libdecor_shared=yes)
|
||||||
decor_lib=[`find_lib "libdecor-0.so.*" "$DECOR_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
|
||||||
|
|
||||||
if test x$enable_wayland_shared != xyes; then
|
if test x$enable_wayland_shared != xyes; then
|
||||||
enable_libdecor_shared=no
|
enable_libdecor_shared=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
decor_lib=[`find_lib "libdecor-0.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
if test x$have_loadso != xyes && \
|
if test x$have_loadso != xyes && \
|
||||||
test x$enable_libdecor_shared = xyes; then
|
test x$enable_libdecor_shared = xyes; then
|
||||||
AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic libdecor loading])
|
AC_MSG_WARN([You must have SDL_LoadObject() support for dynamic libdecor loading])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$have_loadso = xyes && \
|
if test x$have_loadso = xyes && \
|
||||||
test x$enable_libdecor_shared = xyes && test x$decor_lib != x; then
|
test x$enable_libdecor_shared = xyes && test x$decor_lib != x; then
|
||||||
echo "-- dynamic libdecor -> $decor_lib"
|
echo "-- dynamic libdecor -> $decor_lib"
|
||||||
AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR, "$decor_lib", [ ])
|
AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR, "$decor_lib", [ ])
|
||||||
else
|
else
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $DECOR_LIBS"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS `$PKG_CONFIG --libs libdecor-0`"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1774,10 +1666,8 @@ CheckNativeClient()
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/nacl/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/nacl/*.c"
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/nacl/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/nacl/*.c"
|
||||||
SUMMARY_audio="${SUMMARY_audio} nacl"
|
SUMMARY_audio="${SUMMARY_audio} nacl"
|
||||||
have_audio=yes
|
|
||||||
SOURCES="$SOURCES $srcdir/src/video/nacl/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/nacl/*.c"
|
||||||
SUMMARY_video="${SUMMARY_video} nacl opengles2"
|
SUMMARY_video="${SUMMARY_video} nacl opengles2"
|
||||||
have_video=yes
|
|
||||||
],[])
|
],[])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1827,7 +1717,6 @@ CheckRPI()
|
||||||
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_RPI, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_RPI, 1, [ ])
|
||||||
SUMMARY_video="${SUMMARY_video} rpi"
|
SUMMARY_video="${SUMMARY_video} rpi"
|
||||||
have_video=yes
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -1864,31 +1753,37 @@ CheckX11()
|
||||||
x11_lib='/opt/X11/lib/libX11.6.dylib'
|
x11_lib='/opt/X11/lib/libX11.6.dylib'
|
||||||
x11ext_lib='/opt/X11/lib/libXext.6.dylib'
|
x11ext_lib='/opt/X11/lib/libXext.6.dylib'
|
||||||
xcursor_lib='/opt/X11/lib/libXcursor.1.dylib'
|
xcursor_lib='/opt/X11/lib/libXcursor.1.dylib'
|
||||||
|
xinerama_lib='/opt/X11/lib/libXinerama.1.dylib'
|
||||||
xinput_lib='/opt/X11/lib/libXi.6.dylib'
|
xinput_lib='/opt/X11/lib/libXi.6.dylib'
|
||||||
xfixes_lib='/opt/X11/lib/libXfixes.3.dylib'
|
xfixes_lib='/opt/X11/lib/libXfixes.3.dylib'
|
||||||
xrandr_lib='/opt/X11/lib/libXrandr.2.dylib'
|
xrandr_lib='/opt/X11/lib/libXrandr.2.dylib'
|
||||||
xrender_lib='/opt/X11/lib/libXrender.1.dylib'
|
xrender_lib='/opt/X11/lib/libXrender.1.dylib'
|
||||||
xss_lib='/opt/X11/lib/libXss.1.dylib'
|
xss_lib='/opt/X11/lib/libXss.1.dylib'
|
||||||
|
xvidmode_lib='/opt/X11/lib/libXxf86vm.1.dylib'
|
||||||
;;
|
;;
|
||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
x11_lib='libX11.so'
|
x11_lib='libX11.so'
|
||||||
x11ext_lib='libXext.so'
|
x11ext_lib='libXext.so'
|
||||||
xcursor_lib='libXcursor.so'
|
xcursor_lib='libXcursor.so'
|
||||||
|
xinerama_lib='libXinerama.so'
|
||||||
xinput_lib='libXi.so'
|
xinput_lib='libXi.so'
|
||||||
xfixes_lib='libXfixes.so'
|
xfixes_lib='libXfixes.so'
|
||||||
xrandr_lib='libXrandr.so'
|
xrandr_lib='libXrandr.so'
|
||||||
xrender_lib='libXrender.so'
|
xrender_lib='libXrender.so'
|
||||||
xss_lib='libXss.so'
|
xss_lib='libXss.so'
|
||||||
|
xvidmode_lib='libXxf86vm.so'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
x11_lib=[`find_lib "libX11.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
x11ext_lib=[`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
x11ext_lib=[`find_lib "libXext.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xcursor_lib=[`find_lib "libXcursor.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xcursor_lib=[`find_lib "libXcursor.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
xinerama_lib=[`find_lib "libXinerama.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xinput_lib=[`find_lib "libXi.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xinput_lib=[`find_lib "libXi.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xfixes_lib=[`find_lib "libXfixes.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xfixes_lib=[`find_lib "libXfixes.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xrandr_lib=[`find_lib "libXrandr.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xrandr_lib=[`find_lib "libXrandr.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xrender_lib=[`find_lib "libXrender.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xrender_lib=[`find_lib "libXrender.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
xss_lib=[`find_lib "libXss.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
xss_lib=[`find_lib "libXss.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
xvidmode_lib=[`find_lib "libXxf86vm.so.*" "$X_LIBS -L/usr/X11/$base_libdir -L/usr/X11R6/$base_libdir" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -1939,6 +1834,7 @@ CheckX11()
|
||||||
fi
|
fi
|
||||||
have_video=yes
|
have_video=yes
|
||||||
|
|
||||||
|
dnl AC_CHECK_LIB(X11, XGetEventData, AC_DEFINE(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS, 1, [Have XGenericEvent]))
|
||||||
AC_MSG_CHECKING([for XGenericEvent])
|
AC_MSG_CHECKING([for XGenericEvent])
|
||||||
have_XGenericEvent=no
|
have_XGenericEvent=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -2000,6 +1896,34 @@ XFreeEventData(display, cookie);
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xdbe"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xdbe"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
AC_ARG_ENABLE(video-x11-xinerama,
|
||||||
|
[AS_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [default=yes]])],
|
||||||
|
, enable_video_x11_xinerama=yes)
|
||||||
|
if test x$enable_video_x11_xinerama = xyes; then
|
||||||
|
definitely_enable_video_x11_xinerama=no
|
||||||
|
AC_CHECK_HEADER(X11/extensions/Xinerama.h,
|
||||||
|
have_xinerama_h_hdr=yes,
|
||||||
|
have_xinerama_h_hdr=no,
|
||||||
|
[#include <X11/Xlib.h>
|
||||||
|
])
|
||||||
|
if test x$have_xinerama_h_hdr = xyes; then
|
||||||
|
if test x$enable_x11_shared = xyes && test x$xinerama_lib != x ; then
|
||||||
|
echo "-- dynamic libXinerama -> $xinerama_lib"
|
||||||
|
AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA, "$xinerama_lib", [ ])
|
||||||
|
definitely_enable_video_x11_xinerama=yes
|
||||||
|
else
|
||||||
|
AC_CHECK_LIB(Xinerama, XineramaQueryExtension, have_xinerama_lib=yes)
|
||||||
|
if test x$have_xinerama_lib = xyes ; then
|
||||||
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lXinerama"
|
||||||
|
definitely_enable_video_x11_xinerama=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$definitely_enable_video_x11_xinerama = xyes; then
|
||||||
|
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA, 1, [ ])
|
||||||
|
SUMMARY_video_x11="${SUMMARY_video_x11} xinerama"
|
||||||
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xinput,
|
AC_ARG_ENABLE(video-x11-xinput,
|
||||||
[AS_HELP_STRING([--enable-video-x11-xinput], [enable X11 XInput extension for manymouse, tablets, etc [default=yes]])],
|
[AS_HELP_STRING([--enable-video-x11-xinput], [enable X11 XInput extension for manymouse, tablets, etc [default=yes]])],
|
||||||
, enable_video_x11_xinput=yes)
|
, enable_video_x11_xinput=yes)
|
||||||
|
@ -2081,7 +2005,7 @@ XITouchClassInfo *t;
|
||||||
[AS_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [default=yes]])],
|
[AS_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [default=yes]])],
|
||||||
, enable_video_x11_xrandr=yes)
|
, enable_video_x11_xrandr=yes)
|
||||||
if test x$enable_video_x11_xrandr = xyes; then
|
if test x$enable_video_x11_xrandr = xyes; then
|
||||||
dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that as a test.
|
dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that as a test.
|
||||||
definitely_enable_video_x11_xrandr=no
|
definitely_enable_video_x11_xrandr=no
|
||||||
have_xrandr_h_hdr=no
|
have_xrandr_h_hdr=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -2149,6 +2073,34 @@ dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xshape"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xshape"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
AC_ARG_ENABLE(video-x11-vm,
|
||||||
|
[AS_HELP_STRING([--enable-video-x11-vm], [use X11 VM extension for fullscreen [default=yes]])],
|
||||||
|
, enable_video_x11_vm=yes)
|
||||||
|
if test x$enable_video_x11_vm = xyes; then
|
||||||
|
definitely_enable_video_x11_vm=no
|
||||||
|
AC_CHECK_HEADER(X11/extensions/xf86vmode.h,
|
||||||
|
have_vm_h_hdr=yes,
|
||||||
|
have_vm_h_hdr=no,
|
||||||
|
[#include <X11/Xlib.h>
|
||||||
|
])
|
||||||
|
if test x$have_vm_h_hdr = xyes; then
|
||||||
|
if test x$enable_x11_shared = xyes && test x$xvidmode_lib != x ; then
|
||||||
|
echo "-- dynamic libXxf86vm -> $xvidmode_lib"
|
||||||
|
AC_DEFINE_UNQUOTED(SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE, "$xvidmode_lib", [ ])
|
||||||
|
definitely_enable_video_x11_vm=yes
|
||||||
|
else
|
||||||
|
AC_CHECK_LIB(Xxf86vm, XF86VidModeQueryVersion, have_vm_lib=yes)
|
||||||
|
if test x$have_vm_lib = xyes ; then
|
||||||
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lXxf86vm"
|
||||||
|
definitely_enable_video_x11_vm=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$definitely_enable_video_x11_vm = xyes; then
|
||||||
|
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XVIDMODE, 1, [ ])
|
||||||
|
SUMMARY_video_x11="${SUMMARY_video_x11} xvidmode"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test x$have_x != xyes; then
|
if test x$have_x != xyes; then
|
||||||
|
@ -2215,7 +2167,7 @@ CheckCOCOA()
|
||||||
, enable_video_cocoa=yes)
|
, enable_video_cocoa=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
dnl Work around that we don't have Objective-C support in autoconf
|
dnl Work around that we don't have Objective-C support in autoconf
|
||||||
CFLAGS="$CFLAGS -x objective-c"
|
CFLAGS="$CFLAGS -x objective-c"
|
||||||
AC_MSG_CHECKING(for Cocoa framework)
|
AC_MSG_CHECKING(for Cocoa framework)
|
||||||
have_cocoa=no
|
have_cocoa=no
|
||||||
|
@ -2243,7 +2195,7 @@ CheckMETAL()
|
||||||
, enable_render_metal=yes)
|
, enable_render_metal=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_metal = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_metal = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
dnl Work around that we don't have Objective-C support in autoconf
|
dnl Work around that we don't have Objective-C support in autoconf
|
||||||
CFLAGS="$CFLAGS -x objective-c"
|
CFLAGS="$CFLAGS -x objective-c"
|
||||||
AC_MSG_CHECKING(for Metal framework)
|
AC_MSG_CHECKING(for Metal framework)
|
||||||
have_metal=no
|
have_metal=no
|
||||||
|
@ -2667,7 +2619,7 @@ CheckVulkan()
|
||||||
;;
|
;;
|
||||||
*-*-darwin*)
|
*-*-darwin*)
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
dnl Work around that we don't have Objective-C support in autoconf
|
dnl Work around that we don't have Objective-C support in autoconf
|
||||||
CFLAGS="$CFLAGS -x objective-c"
|
CFLAGS="$CFLAGS -x objective-c"
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
#include <Cocoa/Cocoa.h>
|
#include <Cocoa/Cocoa.h>
|
||||||
|
@ -2702,7 +2654,7 @@ dnl Work around that we don't have Objective-C support in autoconf
|
||||||
dnl See if we can use the new unified event interface in Linux 2.4
|
dnl See if we can use the new unified event interface in Linux 2.4
|
||||||
CheckInputEvents()
|
CheckInputEvents()
|
||||||
{
|
{
|
||||||
dnl Check for Linux 2.4 unified input event interface support
|
dnl Check for Linux 2.4 unified input event interface support
|
||||||
AC_MSG_CHECKING(for Linux 2.4 unified input interface)
|
AC_MSG_CHECKING(for Linux 2.4 unified input interface)
|
||||||
use_input_events=no
|
use_input_events=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -2722,6 +2674,7 @@ dnl Check for Linux 2.4 unified input event interface support
|
||||||
dnl See if we can use the kernel kd.h header
|
dnl See if we can use the kernel kd.h header
|
||||||
CheckInputKD()
|
CheckInputKD()
|
||||||
{
|
{
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Linux kd.h)
|
AC_MSG_CHECKING(for Linux kd.h)
|
||||||
use_input_kd=no
|
use_input_kd=no
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -2923,7 +2876,7 @@ CheckJoystickMFI()
|
||||||
if test x$enable_joystick_mfi = xyes; then
|
if test x$enable_joystick_mfi = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
save_LDFLAGS="$LDFLAGS"
|
save_LDFLAGS="$LDFLAGS"
|
||||||
dnl Work around that we don't have Objective-C support in autoconf
|
dnl Work around that we don't have Objective-C support in autoconf
|
||||||
CFLAGS="$CFLAGS -x objective-c -fobjc-weak"
|
CFLAGS="$CFLAGS -x objective-c -fobjc-weak"
|
||||||
LDFLAGS="$LDFLAGS -Wl,-weak_framework,CoreHaptics -Wl,-weak_framework,GameController"
|
LDFLAGS="$LDFLAGS -Wl,-weak_framework,CoreHaptics -Wl,-weak_framework,GameController"
|
||||||
AC_MSG_CHECKING(for GameController framework)
|
AC_MSG_CHECKING(for GameController framework)
|
||||||
|
@ -2955,15 +2908,15 @@ dnl Work around that we don't have Objective-C support in autoconf
|
||||||
dnl See what type of thread model to use on Linux and Solaris
|
dnl See what type of thread model to use on Linux and Solaris
|
||||||
CheckPTHREAD()
|
CheckPTHREAD()
|
||||||
{
|
{
|
||||||
dnl Check for pthread support
|
dnl Check for pthread support
|
||||||
|
|
||||||
dnl Emscripten pthreads work, but you need to have a non-pthread fallback build
|
dnl Emscripten pthreads work, but you need to have a non-pthread fallback build
|
||||||
dnl for systems without support. It's not currently enough to not use
|
dnl for systems without support. It's not currently enough to not use
|
||||||
dnl pthread functions in a pthread-build; it won't start up on unsupported
|
dnl pthread functions in a pthread-build; it won't start up on unsupported
|
||||||
dnl browsers. As such, you have to explicitly enable it on Emscripten builds
|
dnl browsers. As such, you have to explicitly enable it on Emscripten builds
|
||||||
dnl for the time being. This default with change to ON once this becomes
|
dnl for the time being. This default with change to ON once this becomes
|
||||||
dnl commonly supported in browsers or the Emscripten teams makes a single
|
dnl commonly supported in browsers or the Emscripten teams makes a single
|
||||||
dnl binary work everywhere.
|
dnl binary work everywhere.
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-emscripten*)
|
*-*-emscripten*)
|
||||||
|
@ -2977,7 +2930,7 @@ dnl binary work everywhere.
|
||||||
AC_ARG_ENABLE(pthreads,
|
AC_ARG_ENABLE(pthreads,
|
||||||
[AS_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [default=maybe]])],
|
[AS_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [default=maybe]])],
|
||||||
, enable_pthreads=maybe)
|
, enable_pthreads=maybe)
|
||||||
dnl This is used on Linux for glibc binary compatibility (Doh!)
|
dnl This is used on Linux for glibc binary compatibility (Doh!)
|
||||||
AC_ARG_ENABLE(pthread-sem,
|
AC_ARG_ENABLE(pthread-sem,
|
||||||
[AS_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [default=maybe]])],
|
[AS_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [default=maybe]])],
|
||||||
, enable_pthread_sem=maybe)
|
, enable_pthread_sem=maybe)
|
||||||
|
@ -3232,16 +3185,6 @@ CheckWINDOWS()
|
||||||
|
|
||||||
# This fixes Windows stack alignment with newer GCC
|
# This fixes Windows stack alignment with newer GCC
|
||||||
CheckStackBoundary
|
CheckStackBoundary
|
||||||
|
|
||||||
# headers needed elsewhere
|
|
||||||
AC_CHECK_HEADER(tpcshrd.h,have_tpcshrd_h=yes)
|
|
||||||
if test x$have_tpcshrd_h = xyes; then
|
|
||||||
AC_DEFINE(HAVE_TPCSHRD_H, 1, [ ])
|
|
||||||
fi
|
|
||||||
AC_CHECK_HEADER(roapi.h,have_roapi_h=yes)
|
|
||||||
if test x$have_roapi_h = xyes; then
|
|
||||||
AC_DEFINE(HAVE_ROAPI_H, 1, [ ])
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dnl Determine whether the compiler can produce OS/2 executables
|
dnl Determine whether the compiler can produce OS/2 executables
|
||||||
|
@ -3268,17 +3211,6 @@ CheckDIRECTX()
|
||||||
if test x$enable_directx = xyes; then
|
if test x$enable_directx = xyes; then
|
||||||
AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
|
AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
|
||||||
AC_CHECK_HEADER(d3d11_1.h, have_d3d11=yes)
|
AC_CHECK_HEADER(d3d11_1.h, have_d3d11=yes)
|
||||||
AC_MSG_CHECKING(for d3d12 Windows SDK version)
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
||||||
#include <winsdkver.h>
|
|
||||||
#include <sdkddkver.h>
|
|
||||||
#include <d3d12.h>
|
|
||||||
ID3D12Device1 *device;
|
|
||||||
#if WDK_NTDDI_VERSION <= 0x0A000008
|
|
||||||
asdf
|
|
||||||
#endif
|
|
||||||
]])], [have_d3d12=yes],[have_d3d12=no])
|
|
||||||
AC_MSG_RESULT($have_d3d12)
|
|
||||||
AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
|
AC_CHECK_HEADER(ddraw.h, have_ddraw=yes)
|
||||||
AC_CHECK_HEADER(dsound.h, have_dsound=yes)
|
AC_CHECK_HEADER(dsound.h, have_dsound=yes)
|
||||||
AC_CHECK_HEADER(dinput.h, have_dinput=yes)
|
AC_CHECK_HEADER(dinput.h, have_dinput=yes)
|
||||||
|
@ -3711,7 +3643,6 @@ case "$host" in
|
||||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_ANDROID, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_ANDROID, 1, [ ])
|
||||||
SUMMARY_video="${SUMMARY_video} android"
|
SUMMARY_video="${SUMMARY_video} android"
|
||||||
have_video=yes
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-linux*) ARCH=linux ;;
|
*-*-linux*) ARCH=linux ;;
|
||||||
|
@ -3793,16 +3724,12 @@ case "$host" in
|
||||||
CheckRPATH
|
CheckRPATH
|
||||||
CheckVivanteVideo
|
CheckVivanteVideo
|
||||||
|
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/unix/*.c"
|
SOURCES="$SOURCES $srcdir/src/misc/unix/*.c"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Set up files for the locale library
|
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
|
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
|
@ -3980,16 +3907,12 @@ case "$host" in
|
||||||
|
|
||||||
# Set up the core platform files
|
# Set up the core platform files
|
||||||
SOURCES="$SOURCES $srcdir/src/core/windows/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/windows/*.c"
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/windows/*.c"
|
SOURCES="$SOURCES $srcdir/src/misc/windows/*.c"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Use the Windows locale APIs.
|
# Use the Windows locale APIs.
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/windows/*.c"
|
SOURCES="$SOURCES $srcdir/src/locale/windows/*.c"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_WINDOWS, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_WINDOWS, 1, [ ])
|
||||||
|
@ -4006,10 +3929,6 @@ case "$host" in
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_D3D11, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_D3D11, 1, [ ])
|
||||||
SUMMARY_video="${SUMMARY_video} d3d11"
|
SUMMARY_video="${SUMMARY_video} d3d11"
|
||||||
fi
|
fi
|
||||||
if test x$enable_render_d3d = xyes -a x$have_d3d12 = xyes; then
|
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_D3D12, 1, [ ])
|
|
||||||
SUMMARY_video="${SUMMARY_video} d3d12"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
|
@ -4058,6 +3977,10 @@ case "$host" in
|
||||||
have_haptic=yes
|
have_haptic=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
AC_CHECK_HEADER(tpcshrd.h,have_tpcshrd_h=yes)
|
||||||
|
if test x$have_tpcshrd_h = xyes; then
|
||||||
|
AC_DEFINE(HAVE_TPCSHRD_H, 1, [ ])
|
||||||
|
fi
|
||||||
# Set up files for the sensor library
|
# Set up files for the sensor library
|
||||||
AC_CHECK_HEADER(sensorsapi.h,have_winsensors=yes,have_winsensors=no)
|
AC_CHECK_HEADER(sensorsapi.h,have_winsensors=yes,have_winsensors=no)
|
||||||
if test x$have_winsensors = xyes; then
|
if test x$have_winsensors = xyes; then
|
||||||
|
@ -4122,12 +4045,14 @@ case "$host" in
|
||||||
SDL_LIBS="-lcygwin $SDL_LIBS"
|
SDL_LIBS="-lcygwin $SDL_LIBS"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
|
||||||
|
dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
*-*-beos*)
|
*-*-beos*)
|
||||||
AC_MSG_ERROR([
|
AC_MSG_ERROR([
|
||||||
*** BeOS support has been removed as of SDL 2.0.2.
|
*** BeOS support has been removed as of SDL 2.0.2.
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-haiku*)
|
*-*-haiku*)
|
||||||
ARCH=haiku
|
ARCH=haiku
|
||||||
ac_default_prefix=/boot/system
|
ac_default_prefix=/boot/system
|
||||||
|
@ -4172,16 +4097,14 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
SOURCES="$SOURCES $srcdir/src/filesystem/haiku/*.cc"
|
SOURCES="$SOURCES $srcdir/src/filesystem/haiku/*.cc"
|
||||||
have_filesystem=yes
|
have_filesystem=yes
|
||||||
fi
|
fi
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/haiku/*.cc"
|
SOURCES="$SOURCES $srcdir/src/misc/haiku/*.cc"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Set up files for the locale library
|
# Set up files for the locale library
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/haiku/*.cc"
|
SOURCES="$SOURCES $srcdir/src/locale/haiku/*.cc"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# The Haiku platform requires special setup.
|
# The Haiku platform requires special setup.
|
||||||
SOURCES="$srcdir/src/main/haiku/*.cc $SOURCES"
|
SOURCES="$srcdir/src/main/haiku/*.cc $SOURCES"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
|
||||||
|
@ -4201,16 +4124,13 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
CheckVulkan
|
CheckVulkan
|
||||||
CheckPTHREAD
|
CheckPTHREAD
|
||||||
|
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/ios/*.m"
|
SOURCES="$SOURCES $srcdir/src/misc/ios/*.m"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Set up files for the locale library
|
# Set up files for the locale library
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/macosx/*.m"
|
SOURCES="$SOURCES $srcdir/src/locale/macosx/*.m"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
||||||
|
@ -4271,8 +4191,6 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES, 1, [ ])
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_OGL_ES2, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
SOURCES="$SOURCES $srcdir/src/video/uikit/*.m"
|
||||||
SUMMARY_video="${SUMMARY_video} uikit"
|
|
||||||
have_video=yes
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm -liconv -lobjc"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AVFoundation"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,AudioToolbox"
|
||||||
|
@ -4299,7 +4217,6 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_CARBON"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_CARBON"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_OSX"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -DTARGET_API_MAC_OSX"
|
||||||
|
|
||||||
CheckObjectiveCARC
|
|
||||||
CheckVisibilityHidden
|
CheckVisibilityHidden
|
||||||
CheckDeclarationAfterStatement
|
CheckDeclarationAfterStatement
|
||||||
CheckDummyVideo
|
CheckDummyVideo
|
||||||
|
@ -4319,16 +4236,13 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
CheckPTHREAD
|
CheckPTHREAD
|
||||||
CheckHIDAPI
|
CheckHIDAPI
|
||||||
|
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/macosx/*.m"
|
SOURCES="$SOURCES $srcdir/src/misc/macosx/*.m"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Set up files for the locale library
|
# Set up files for the locale library
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/macosx/*.m"
|
SOURCES="$SOURCES $srcdir/src/locale/macosx/*.m"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO, 1, [ ])
|
||||||
|
@ -4436,12 +4350,6 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
CheckClockGettime
|
CheckClockGettime
|
||||||
CheckEmscriptenGLES
|
CheckEmscriptenGLES
|
||||||
|
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/emscripten/*.c"
|
|
||||||
have_misc=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set up files for the power library
|
# Set up files for the power library
|
||||||
if test x$enable_power = xyes; then
|
if test x$enable_power = xyes; then
|
||||||
AC_DEFINE(SDL_POWER_EMSCRIPTEN, 1, [ ])
|
AC_DEFINE(SDL_POWER_EMSCRIPTEN, 1, [ ])
|
||||||
|
@ -4449,7 +4357,7 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
have_power=yes
|
have_power=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set up files for the joystick library
|
# Set up files for the power library
|
||||||
if test x$enable_joystick = xyes; then
|
if test x$enable_joystick = xyes; then
|
||||||
AC_DEFINE(SDL_JOYSTICK_EMSCRIPTEN, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_EMSCRIPTEN, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/joystick/emscripten/*.c"
|
SOURCES="$SOURCES $srcdir/src/joystick/emscripten/*.c"
|
||||||
|
@ -4469,10 +4377,8 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
have_timers=yes
|
have_timers=yes
|
||||||
fi
|
fi
|
||||||
# Set up files for the locale library
|
# Set up files for the locale library
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/emscripten/*.c"
|
SOURCES="$SOURCES $srcdir/src/locale/emscripten/*.c"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*-*-riscos*)
|
*-*-riscos*)
|
||||||
ARCH=riscos
|
ARCH=riscos
|
||||||
|
@ -4488,11 +4394,9 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
CheckPTHREAD
|
CheckPTHREAD
|
||||||
CheckClockGettime
|
CheckClockGettime
|
||||||
|
|
||||||
# Set up files for the misc library
|
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/riscos/*.c"
|
SOURCES="$SOURCES $srcdir/src/misc/riscos/*.c"
|
||||||
have_misc=yes
|
have_misc=yes
|
||||||
fi
|
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_RISCOS, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_RISCOS, 1, [ ])
|
||||||
|
@ -4539,10 +4443,8 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
|
SOURCES="$SOURCES $srcdir/src/core/os2/geniconv/*.c"
|
||||||
fi
|
fi
|
||||||
# Use the Unix locale APIs.
|
# Use the Unix locale APIs.
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
|
SOURCES="$SOURCES $srcdir/src/locale/unix/*.c"
|
||||||
have_locale=yes
|
have_locale=yes
|
||||||
fi
|
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_OS2, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_OS2, 1, [ ])
|
||||||
|
@ -4618,28 +4520,10 @@ AC_SUBST([INSTALL_SDL2_CONFIG], [$enable_sdl2_config])
|
||||||
|
|
||||||
# Verify that we have all the platform specific files we need
|
# Verify that we have all the platform specific files we need
|
||||||
|
|
||||||
if test x$have_audio != xyes; then
|
|
||||||
if test x$enable_audio = xyes; then
|
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
|
||||||
fi
|
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
|
|
||||||
fi
|
|
||||||
if test x$have_video != xyes; then
|
|
||||||
if test x$enable_video = xyes; then
|
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY, 1, [ ])
|
|
||||||
fi
|
|
||||||
SOURCES="$SOURCES $srcdir/src/video/dummy/*.c"
|
|
||||||
fi
|
|
||||||
if test x$have_misc != xyes; then
|
if test x$have_misc != xyes; then
|
||||||
if test x$enable_misc = xyes; then
|
|
||||||
AC_DEFINE(SDL_MISC_DUMMY, 1, [ ])
|
|
||||||
fi
|
|
||||||
SOURCES="$SOURCES $srcdir/src/misc/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/misc/dummy/*.c"
|
||||||
fi
|
fi
|
||||||
if test x$have_locale != xyes; then
|
if test x$have_locale != xyes; then
|
||||||
if test x$enable_locale = xyes; then
|
|
||||||
AC_DEFINE(SDL_LOCALE_DUMMY, 1, [ ])
|
|
||||||
fi
|
|
||||||
SOURCES="$SOURCES $srcdir/src/locale/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/locale/dummy/*.c"
|
||||||
fi
|
fi
|
||||||
if test x$have_joystick != xyes; then
|
if test x$have_joystick != xyes; then
|
||||||
|
@ -4668,19 +4552,19 @@ if test x$have_threads != xyes; then
|
||||||
fi
|
fi
|
||||||
if test x$have_timers != xyes; then
|
if test x$have_timers != xyes; then
|
||||||
if test x$enable_timers = xyes; then
|
if test x$enable_timers = xyes; then
|
||||||
AC_DEFINE(SDL_TIMER_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_TIMERS_DISABLED, 1, [ ])
|
||||||
fi
|
fi
|
||||||
SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/timer/dummy/*.c"
|
||||||
fi
|
fi
|
||||||
if test x$have_filesystem != xyes; then
|
if test x$have_filesystem != xyes; then
|
||||||
if test x$enable_filesystem = xyes; then
|
if test x$enable_filesystem = xyes; then
|
||||||
AC_DEFINE(SDL_FILESYSTEM_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_FILESYSTEM_DISABLED, 1, [ ])
|
||||||
fi
|
fi
|
||||||
SOURCES="$SOURCES $srcdir/src/filesystem/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/filesystem/dummy/*.c"
|
||||||
fi
|
fi
|
||||||
if test x$have_loadso != xyes; then
|
if test x$have_loadso != xyes; then
|
||||||
if test x$enable_loadso = xyes; then
|
if test x$enable_loadso = xyes; then
|
||||||
AC_DEFINE(SDL_LOADSO_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_LOADSO_DISABLED, 1, [ ])
|
||||||
fi
|
fi
|
||||||
SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
|
SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
|
||||||
fi
|
fi
|
||||||
|
@ -4772,17 +4656,6 @@ fi
|
||||||
|
|
||||||
SDL_STATIC_LIBS="$EXTRA_LDFLAGS"
|
SDL_STATIC_LIBS="$EXTRA_LDFLAGS"
|
||||||
|
|
||||||
dnl Calculate the location of the prefix, relative to the cmake folder
|
|
||||||
eval pkg_prefix=$prefix
|
|
||||||
eval pkg_cmakedir=$libdir/cmake/SDL2
|
|
||||||
cmake_prefix_relpath="$(echo -n "$pkg_cmakedir" | sed -E "s#^$pkg_prefix##" | sed -E "s#[A-Za-z0-9_ .-]+#..#g" )"
|
|
||||||
AC_SUBST([cmake_prefix_relpath])
|
|
||||||
|
|
||||||
dnl Calculate the location of the prefix, relative to bindir
|
|
||||||
eval pkg_bindir=$bindir
|
|
||||||
bin_prefix_relpath="$(echo -n "pkg_bindir" | sed -E "s#^$pkg_prefix##" | sed -E "s#[A-Za-z0-9_ .-]+#..#g" )"
|
|
||||||
AC_SUBST([bin_prefix_relpath])
|
|
||||||
|
|
||||||
dnl Expand the cflags and libraries needed by apps using SDL
|
dnl Expand the cflags and libraries needed by apps using SDL
|
||||||
AC_SUBST(SDL_CFLAGS)
|
AC_SUBST(SDL_CFLAGS)
|
||||||
AC_SUBST(SDL_LIBS)
|
AC_SUBST(SDL_LIBS)
|
||||||
|
|
6
externals/SDL/debian/changelog
vendored
6
externals/SDL/debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
libsdl2 (2.0.20) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Updated SDL to version 2.0.20
|
||||||
|
|
||||||
|
-- Sam Lantinga <slouken@libsdl.org> Fri, 7 Jan 2022 18:24:41 -0800
|
||||||
|
|
||||||
libsdl2 (2.0.19) UNRELEASED; urgency=low
|
libsdl2 (2.0.19) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Updated SDL to version 2.0.19
|
* Updated SDL to version 2.0.19
|
||||||
|
|
12
externals/SDL/debian/copyright
vendored
12
externals/SDL/debian/copyright
vendored
|
@ -4,7 +4,7 @@ Upstream-Contact: Sam Lantinga <slouken@libsdl.org>
|
||||||
Source: http://www.libsdl.org/
|
Source: http://www.libsdl.org/
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright: 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
License: zlib/libpng
|
License: zlib/libpng
|
||||||
|
|
||||||
Files: src/libm/*
|
Files: src/libm/*
|
||||||
|
@ -12,7 +12,7 @@ Copyright: 1993 by Sun Microsystems, Inc. All rights reserved.
|
||||||
License: SunPro
|
License: SunPro
|
||||||
|
|
||||||
Files: src/main/windows/SDL_windows_main.c
|
Files: src/main/windows/SDL_windows_main.c
|
||||||
Copyright: 2021 Sam Lantinga
|
Copyright: 2022 Sam Lantinga
|
||||||
License: PublicDomain_Sam_Lantinga
|
License: PublicDomain_Sam_Lantinga
|
||||||
Comment: SDL_main.c, placed in the public domain by Sam Lantinga 4/13/98
|
Comment: SDL_main.c, placed in the public domain by Sam Lantinga 4/13/98
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ Copyright: 1995 Erik Corry
|
||||||
License: BrownUn_UnCalifornia_ErikCorry
|
License: BrownUn_UnCalifornia_ErikCorry
|
||||||
|
|
||||||
Files: src/test/SDL_test_md5.c
|
Files: src/test/SDL_test_md5.c
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright: 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
1990 RSA Data Security, Inc.
|
1990 RSA Data Security, Inc.
|
||||||
License: zlib/libpng and RSA_Data_Security
|
License: zlib/libpng and RSA_Data_Security
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@ Copyright: 1994-2003 The XFree86 Project, Inc.
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
|
|
||||||
Files: test/testhaptic.c
|
Files: test/testhaptic.c
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright: 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
2008 Edgar Simo Serra
|
2008 Edgar Simo Serra
|
||||||
License: BSD_3_clause
|
License: BSD_3_clause
|
||||||
|
|
||||||
Files: test/testrumble.c
|
Files: test/testrumble.c
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright: 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
2011 Edgar Simo Serra
|
2011 Edgar Simo Serra
|
||||||
License: BSD_3_clause
|
License: BSD_3_clause
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ License: BSD_3_clause
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
Comment:
|
Comment:
|
||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
.
|
.
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
|
3
externals/SDL/docs/README-android.md
vendored
3
externals/SDL/docs/README-android.md
vendored
|
@ -206,9 +206,6 @@ You should not use the SDL renderer API while the app going in background:
|
||||||
after you read this message, GL context gets backed-up and you should not
|
after you read this message, GL context gets backed-up and you should not
|
||||||
use the SDL renderer API.
|
use the SDL renderer API.
|
||||||
|
|
||||||
When this event is received, you have to set the render target to NULL, if you're using it.
|
|
||||||
(eg call SDL_SetRenderTarget(renderer, NULL))
|
|
||||||
|
|
||||||
- SDL_APP_DIDENTERFOREGROUND:
|
- SDL_APP_DIDENTERFOREGROUND:
|
||||||
GL context is restored, and the SDL renderer API is available (unless you
|
GL context is restored, and the SDL renderer API is available (unless you
|
||||||
receive SDL_RENDER_DEVICE_RESET).
|
receive SDL_RENDER_DEVICE_RESET).
|
||||||
|
|
2
externals/SDL/docs/README-cmake.md
vendored
2
externals/SDL/docs/README-cmake.md
vendored
|
@ -73,7 +73,7 @@ To use, set the following CMake variables when running CMake's configuration sta
|
||||||
|
|
||||||
- for iOS-Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
|
- for iOS-Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
|
||||||
|
|
||||||
`cmake ~/sdl -DSDL_TESTS=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64`
|
`cmake ~/sdl -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64`
|
||||||
|
|
||||||
- for tvOS-Simulator, using the latest, installed SDK:
|
- for tvOS-Simulator, using the latest, installed SDK:
|
||||||
|
|
||||||
|
|
42
externals/SDL/docs/README-directfb.md
vendored
42
externals/SDL/docs/README-directfb.md
vendored
|
@ -15,34 +15,29 @@ What you need:
|
||||||
* Kernel-Framebuffer support: required: vesafb, radeonfb ....
|
* Kernel-Framebuffer support: required: vesafb, radeonfb ....
|
||||||
* Mesa 7.0.x - optional for OpenGL
|
* Mesa 7.0.x - optional for OpenGL
|
||||||
|
|
||||||
The `/etc/directfbrc` file should contain the following lines to make
|
/etc/directfbrc
|
||||||
your joystick work and avoid crashes:
|
|
||||||
|
|
||||||
```
|
This file should contain the following lines to make
|
||||||
|
your joystick work and avoid crashes:
|
||||||
|
------------------------
|
||||||
disable-module=joystick
|
disable-module=joystick
|
||||||
disable-module=cle266
|
disable-module=cle266
|
||||||
disable-module=cyber5k
|
disable-module=cyber5k
|
||||||
no-linux-input-grab
|
no-linux-input-grab
|
||||||
```
|
------------------------
|
||||||
|
|
||||||
To disable to use x11 backend when DISPLAY variable is found use
|
To disable to use x11 backend when DISPLAY variable is found use
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_DIRECTFB_X11_CHECK=0
|
export SDL_DIRECTFB_X11_CHECK=0
|
||||||
```
|
|
||||||
|
|
||||||
To disable the use of linux input devices, i.e. multimice/multikeyboard support,
|
To disable the use of linux input devices, i.e. multimice/multikeyboard support,
|
||||||
use
|
use
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_DIRECTFB_LINUX_INPUT=0
|
export SDL_DIRECTFB_LINUX_INPUT=0
|
||||||
```
|
|
||||||
|
|
||||||
To use hardware accelerated YUV-overlays for YUV-textures, use:
|
To use hardware accelerated YUV-overlays for YUV-textures, use:
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_DIRECTFB_YUV_DIRECT=1
|
export SDL_DIRECTFB_YUV_DIRECT=1
|
||||||
```
|
|
||||||
|
|
||||||
This is disabled by default. It will only support one
|
This is disabled by default. It will only support one
|
||||||
YUV texture, namely the first. Every other YUV texture will be
|
YUV texture, namely the first. Every other YUV texture will be
|
||||||
|
@ -50,9 +45,7 @@ rendered in software.
|
||||||
|
|
||||||
In addition, you may use (directfb-1.2.x)
|
In addition, you may use (directfb-1.2.x)
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_DIRECTFB_YUV_UNDERLAY=1
|
export SDL_DIRECTFB_YUV_UNDERLAY=1
|
||||||
```
|
|
||||||
|
|
||||||
to make the YUV texture an underlay. This will make the cursor to
|
to make the YUV texture an underlay. This will make the cursor to
|
||||||
be shown.
|
be shown.
|
||||||
|
@ -61,18 +54,14 @@ Simple Window Manager
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
The driver has support for a very, very basic window manager you may
|
The driver has support for a very, very basic window manager you may
|
||||||
want to use when running with `wm=default`. Use
|
want to use when running with "wm=default". Use
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_DIRECTFB_WM=1
|
export SDL_DIRECTFB_WM=1
|
||||||
```
|
|
||||||
|
|
||||||
to enable basic window borders. In order to have the window title rendered,
|
to enable basic window borders. In order to have the window title rendered,
|
||||||
you need to have the following font installed:
|
you need to have the following font installed:
|
||||||
|
|
||||||
```
|
|
||||||
/usr/share/fonts/truetype/freefont/FreeSans.ttf
|
/usr/share/fonts/truetype/freefont/FreeSans.ttf
|
||||||
```
|
|
||||||
|
|
||||||
OpenGL Support
|
OpenGL Support
|
||||||
==============
|
==============
|
||||||
|
@ -82,25 +71,21 @@ works at least on all directfb supported platforms.
|
||||||
|
|
||||||
As of this writing 20100802 you need to pull Mesa from git and do the following:
|
As of this writing 20100802 you need to pull Mesa from git and do the following:
|
||||||
|
|
||||||
```
|
------------------------
|
||||||
git clone git://anongit.freedesktop.org/git/mesa/mesa
|
git clone git://anongit.freedesktop.org/git/mesa/mesa
|
||||||
cd mesa
|
cd mesa
|
||||||
git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a
|
git checkout 2c9fdaf7292423c157fc79b5ce43f0f199dd753a
|
||||||
```
|
------------------------
|
||||||
|
|
||||||
Edit `configs/linux-directfb` so that the Directories-section looks like this:
|
Edit configs/linux-directfb so that the Directories-section looks like
|
||||||
|
------------------------
|
||||||
```
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu
|
SRC_DIRS = mesa glu
|
||||||
GLU_DIRS = sgi
|
GLU_DIRS = sgi
|
||||||
DRIVER_DIRS = directfb
|
DRIVER_DIRS = directfb
|
||||||
PROGRAM_DIRS =
|
PROGRAM_DIRS =
|
||||||
```
|
------------------------
|
||||||
|
|
||||||
Then do the following:
|
|
||||||
|
|
||||||
```
|
|
||||||
make linux-directfb
|
make linux-directfb
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -110,14 +95,13 @@ sudo make install INSTALL_DIR=/usr/local/dfb_GL
|
||||||
cd src/mesa/drivers/directfb
|
cd src/mesa/drivers/directfb
|
||||||
make
|
make
|
||||||
sudo make install INSTALL_DIR=/usr/local/dfb_GL
|
sudo make install INSTALL_DIR=/usr/local/dfb_GL
|
||||||
```
|
------------------------
|
||||||
|
|
||||||
To run the SDL - testprograms:
|
To run the SDL - testprograms:
|
||||||
|
|
||||||
```
|
|
||||||
export SDL_VIDEODRIVER=directfb
|
export SDL_VIDEODRIVER=directfb
|
||||||
export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
|
export LD_LIBRARY_PATH=/usr/local/dfb_GL/lib
|
||||||
export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
|
export LD_PRELOAD=/usr/local/dfb_GL/libGL.so.7
|
||||||
|
|
||||||
./testgl
|
./testgl
|
||||||
```
|
|
||||||
|
|
17
externals/SDL/docs/README-linux.md
vendored
17
externals/SDL/docs/README-linux.md
vendored
|
@ -3,8 +3,8 @@ Linux
|
||||||
|
|
||||||
By default SDL will only link against glibc, the rest of the features will be
|
By default SDL will only link against glibc, the rest of the features will be
|
||||||
enabled dynamically at runtime depending on the available features on the target
|
enabled dynamically at runtime depending on the available features on the target
|
||||||
system. So, for example if you built SDL with XRandR support and the target
|
system. So, for example if you built SDL with Xinerama support and the target
|
||||||
system does not have the XRandR libraries installed, it will be disabled
|
system does not have the Xinerama libraries installed, it will be disabled
|
||||||
at runtime, and you won't get a missing library error, at least with the
|
at runtime, and you won't get a missing library error, at least with the
|
||||||
default configuration parameters.
|
default configuration parameters.
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ Ubuntu 20.04, all available features enabled:
|
||||||
sudo apt-get install build-essential git make cmake autoconf automake \
|
sudo apt-get install build-essential git make cmake autoconf automake \
|
||||||
libtool pkg-config libasound2-dev libpulse-dev libaudio-dev libjack-dev \
|
libtool pkg-config libasound2-dev libpulse-dev libaudio-dev libjack-dev \
|
||||||
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev \
|
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev \
|
||||||
libxss-dev libgl1-mesa-dev libdbus-1-dev \
|
libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libdbus-1-dev \
|
||||||
libudev-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev \
|
libudev-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev \
|
||||||
fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev \
|
fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev \
|
||||||
libxkbcommon-dev libdrm-dev libgbm-dev
|
libxkbcommon-dev libdrm-dev libgbm-dev
|
||||||
|
@ -27,11 +27,12 @@ Fedora 35, all available features enabled:
|
||||||
sudo yum install gcc git-core make cmake autoconf automake libtool \
|
sudo yum install gcc git-core make cmake autoconf automake libtool \
|
||||||
alsa-lib-devel pulseaudio-libs-devel nas-devel pipewire-devel \
|
alsa-lib-devel pulseaudio-libs-devel nas-devel pipewire-devel \
|
||||||
libX11-devel libXext-devel libXrandr-devel libXcursor-devel libXfixes-devel \
|
libX11-devel libXext-devel libXrandr-devel libXcursor-devel libXfixes-devel \
|
||||||
libXi-devel libXScrnSaver-devel dbus-devel ibus-devel fcitx-devel \
|
libXi-devel libXinerama-devel libXxf86vm-devel libXScrnSaver-devel \
|
||||||
systemd-devel mesa-libGL-devel libxkbcommon-devel mesa-libGLES-devel \
|
dbus-devel ibus-devel fcitx-devel systemd-devel mesa-libGL-devel \
|
||||||
mesa-libEGL-devel vulkan-devel wayland-devel wayland-protocols-devel \
|
libxkbcommon-devel mesa-libGLES-devel mesa-libEGL-devel vulkan-devel \
|
||||||
libdrm-devel mesa-libgbm-devel libusb-devel libdecor-devel \
|
wayland-devel wayland-protocols-devel libdrm-devel mesa-libgbm-devel \
|
||||||
libsamplerate-devel pipewire-jack-audio-connection-kit-devel \
|
libusb-devel pipewire-jack-audio-connection-kit-devel libdecor-devel \
|
||||||
|
libsamplerate-devel
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
- This includes all the audio targets except arts and esd, because Ubuntu
|
- This includes all the audio targets except arts and esd, because Ubuntu
|
||||||
|
|
11
externals/SDL/docs/README-macos.md
vendored
11
externals/SDL/docs/README-macos.md
vendored
|
@ -43,14 +43,15 @@ make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
This script builds SDL with 10.7 ABI compatibility on 64-bit Intel and 11.0
|
This script builds SDL with 10.6 ABI compatibility on 64-bit Intel and 11.0
|
||||||
ABI compatibility on ARM64 architectures. For best compatibility you
|
ABI compatibility on ARM64 architectures. For best compatibility you
|
||||||
should compile your application the same way.
|
should compile your application the same way.
|
||||||
|
|
||||||
Please note that building SDL requires at least Xcode 4.6 and the 10.7 SDK.
|
Please note that building SDL requires at least Xcode 4.6 and the 10.7 SDK
|
||||||
PowerPC support for macOS has been officially dropped as of SDL 2.0.2.
|
(even if you target back to 10.6 systems). PowerPC support for Mac OS X has
|
||||||
32-bit Intel and macOS 10.6 runtime support has been officially dropped as
|
been officially dropped as of SDL 2.0.2. 32-bit Intel, using an older Xcode
|
||||||
of SDL 2.24.0.
|
release, is still supported at the time of this writing, but current Xcode
|
||||||
|
releases no longer support it, and eventually neither will SDL.
|
||||||
|
|
||||||
To use the library once it's built, you essential have two possibilities:
|
To use the library once it's built, you essential have two possibilities:
|
||||||
use the traditional autoconf/automake/make method, or use Xcode.
|
use the traditional autoconf/automake/make method, or use Xcode.
|
||||||
|
|
43
externals/SDL/docs/README-psp.md
vendored
43
externals/SDL/docs/README-psp.md
vendored
|
@ -1,36 +1,31 @@
|
||||||
PSP
|
PSP
|
||||||
======
|
======
|
||||||
SDL2 port for the Sony PSP contributed by:
|
SDL port for the Sony PSP contributed by
|
||||||
- Captian Lex
|
Captian Lex
|
||||||
- Francisco Javier Trujillo Mata
|
|
||||||
- Wouter Wijsman
|
|
||||||
|
|
||||||
|
|
||||||
Credit to
|
Credit to
|
||||||
Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP
|
Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP
|
||||||
Geecko for his PSP GU lib "Glib2d"
|
Geecko for his PSP GU lib "Glib2d"
|
||||||
|
|
||||||
## Building
|
Building
|
||||||
To build SDL2 library for the PSP, make sure you have the latest PSPDev status and run:
|
--------
|
||||||
```bash
|
To build SDL2 library for the PSP, make sure psp-config is in the path and run:
|
||||||
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake
|
make -f Makefile.psp
|
||||||
cmake --build build
|
|
||||||
cmake --install build
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Getting PSP Dev
|
Getting PSP toolchain
|
||||||
[Installing PSP Dev](https://github.com/pspdev/pspdev)
|
---------------------
|
||||||
|
https://github.com/pspdev/psptoolchain
|
||||||
|
|
||||||
## Running on PPSSPP Emulator
|
Running on PPSSPP Emulator
|
||||||
[PPSSPP](https://github.com/hrydgard/ppsspp)
|
--------------------------
|
||||||
|
https://github.com/hrydgard/ppsspp
|
||||||
|
( https://github.com/hrydgard/ppsspp/wiki/Build-instructions )
|
||||||
|
|
||||||
[Build Instructions](https://github.com/hrydgard/ppsspp/wiki/Build-instructions)
|
Compiling an HelloWorld
|
||||||
|
-----------------------
|
||||||
|
https://psp-dev.org/doku.php?id=tutorial:hello_world
|
||||||
|
|
||||||
|
To Do
|
||||||
## Compiling a HelloWorld
|
------
|
||||||
[PSP Hello World](https://psp-dev.org/doku.php?id=tutorial:hello_world)
|
PSP Screen Keyboard
|
||||||
|
|
||||||
## To Do
|
|
||||||
- PSP Screen Keyboard
|
|
||||||
- Dialogs
|
|
||||||
|
|
2
externals/SDL/docs/README-raspberrypi.md
vendored
2
externals/SDL/docs/README-raspberrypi.md
vendored
|
@ -63,7 +63,7 @@ Now, before chrooting into the ARM sysroot, you'll need to apply a workaround,
|
||||||
edit $SYSROOT/etc/ld.so.preload and comment out all lines in it.
|
edit $SYSROOT/etc/ld.so.preload and comment out all lines in it.
|
||||||
|
|
||||||
sudo chroot $SYSROOT
|
sudo chroot $SYSROOT
|
||||||
apt-get install libudev-dev libasound2-dev libdbus-1-dev libraspberrypi0 libraspberrypi-bin libraspberrypi-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxss-dev
|
apt-get install libudev-dev libasound2-dev libdbus-1-dev libraspberrypi0 libraspberrypi-bin libraspberrypi-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev
|
||||||
exit
|
exit
|
||||||
sudo umount $SYSROOT/dev
|
sudo umount $SYSROOT/dev
|
||||||
sudo umount $SYSROOT/proc
|
sudo umount $SYSROOT/proc
|
||||||
|
|
2
externals/SDL/docs/README-visualc.md
vendored
2
externals/SDL/docs/README-visualc.md
vendored
|
@ -1,7 +1,7 @@
|
||||||
Using SDL with Microsoft Visual C++
|
Using SDL with Microsoft Visual C++
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
### by Lion Kimbro with additions by James Turk
|
### by [Lion Kimbro](mailto:snowlion@sprynet.com) with additions by [James Turk](mailto:james@conceptofzero.net)
|
||||||
|
|
||||||
You can either use the precompiled libraries from the [SDL](https://www.libsdl.org/download.php) web site, or you can build SDL
|
You can either use the precompiled libraries from the [SDL](https://www.libsdl.org/download.php) web site, or you can build SDL
|
||||||
yourself.
|
yourself.
|
||||||
|
|
5
externals/SDL/docs/README-vita.md
vendored
5
externals/SDL/docs/README-vita.md
vendored
|
@ -3,7 +3,7 @@ PS Vita
|
||||||
SDL port for the Sony Playstation Vita and Sony Playstation TV
|
SDL port for the Sony Playstation Vita and Sony Playstation TV
|
||||||
|
|
||||||
Credit to
|
Credit to
|
||||||
* xerpi, cpasjuste and rsn8887 for initial (vita2d) port
|
* xerpi and rsn8887 for initial (vita2d) port
|
||||||
* vitasdk/dolcesdk devs
|
* vitasdk/dolcesdk devs
|
||||||
* CBPS discord (Namely Graphene and SonicMastr)
|
* CBPS discord (Namely Graphene and SonicMastr)
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@ Notes
|
||||||
* gles1/gles2 support and renderers are disabled by default and can be enabled by configuring with `-DVIDEO_VITA_PVR=ON`
|
* gles1/gles2 support and renderers are disabled by default and can be enabled by configuring with `-DVIDEO_VITA_PVR=ON`
|
||||||
These renderers support 720p and 1080i resolutions. These can be specified with:
|
These renderers support 720p and 1080i resolutions. These can be specified with:
|
||||||
`SDL_setenv("VITA_RESOLUTION", "720", 1);` and `SDL_setenv("VITA_RESOLUTION", "1080", 1);`
|
`SDL_setenv("VITA_RESOLUTION", "720", 1);` and `SDL_setenv("VITA_RESOLUTION", "1080", 1);`
|
||||||
* Desktop GL 1.X and 2.X support and renderers are also disabled by default and also can be enabled with `-DVIDEO_VITA_PVR=ON` as long as gl4es4vita is present in your SDK.
|
|
||||||
They support the same resolutions as the gles1/gles2 backends and require specifying `SDL_setenv("VITA_PVR_OGL", "1", 1);`
|
|
||||||
anytime before video subsystem initialization.
|
|
||||||
* gles2 support via PIB is disabled by default and can be enabled by configuring with `-DVIDEO_VITA_PIB=ON`
|
* gles2 support via PIB is disabled by default and can be enabled by configuring with `-DVIDEO_VITA_PIB=ON`
|
||||||
* By default SDL emits mouse events for touch events on every touchscreen.
|
* By default SDL emits mouse events for touch events on every touchscreen.
|
||||||
Vita has two touchscreens, so it's recommended to use `SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");` and handle touch events instead.
|
Vita has two touchscreens, so it's recommended to use `SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");` and handle touch events instead.
|
||||||
|
|
59
externals/SDL/docs/README-windows.md
vendored
59
externals/SDL/docs/README-windows.md
vendored
|
@ -1,58 +1,45 @@
|
||||||
# Windows
|
Windows
|
||||||
|
================================================================================
|
||||||
|
|
||||||
## LLVM and Intel C++ compiler support
|
================================================================================
|
||||||
|
OpenGL ES 2.x support
|
||||||
SDL will build with the Visual Studio project files with LLVM-based compilers, such as the Intel oneAPI C++
|
================================================================================
|
||||||
compiler, but you'll have to manually add the "-msse3" command line option
|
|
||||||
to at least the SDL_audiocvt.c source file, and possibly others. This may
|
|
||||||
not be necessary if you build SDL with CMake instead of the included Visual
|
|
||||||
Studio solution.
|
|
||||||
|
|
||||||
Details are here: https://github.com/libsdl-org/SDL/issues/5186
|
|
||||||
|
|
||||||
|
|
||||||
## OpenGL ES 2.x support
|
|
||||||
|
|
||||||
SDL has support for OpenGL ES 2.x under Windows via two alternative
|
SDL has support for OpenGL ES 2.x under Windows via two alternative
|
||||||
implementations.
|
implementations.
|
||||||
|
|
||||||
The most straightforward method consists in running your app in a system with
|
The most straightforward method consists in running your app in a system with
|
||||||
a graphic card paired with a relatively recent (as of November of 2013) driver
|
a graphic card paired with a relatively recent (as of November of 2013) driver
|
||||||
which supports the WGL_EXT_create_context_es2_profile extension. Vendors known
|
which supports the WGL_EXT_create_context_es2_profile extension. Vendors known
|
||||||
to ship said extension on Windows currently include nVidia and Intel.
|
to ship said extension on Windows currently include nVidia and Intel.
|
||||||
|
|
||||||
The other method involves using the
|
The other method involves using the ANGLE library (https://code.google.com/p/angleproject/)
|
||||||
[ANGLE library](https://code.google.com/p/angleproject/). If an OpenGL ES 2.x
|
If an OpenGL ES 2.x context is requested and no WGL_EXT_create_context_es2_profile
|
||||||
context is requested and no WGL_EXT_create_context_es2_profile extension is
|
extension is found, SDL will try to load the libEGL.dll library provided by
|
||||||
found, SDL will try to load the libEGL.dll library provided by ANGLE.
|
ANGLE.
|
||||||
|
|
||||||
To obtain the ANGLE binaries, you can either compile from source from
|
To obtain the ANGLE binaries, you can either compile from source from
|
||||||
https://chromium.googlesource.com/angle/angle or copy the relevant binaries
|
https://chromium.googlesource.com/angle/angle or copy the relevant binaries from
|
||||||
from a recent Chrome/Chromium install for Windows. The files you need are:
|
a recent Chrome/Chromium install for Windows. The files you need are:
|
||||||
|
|
||||||
- libEGL.dll
|
* libEGL.dll
|
||||||
- libGLESv2.dll
|
* libGLESv2.dll
|
||||||
- d3dcompiler_46.dll (supports Windows Vista or later, better shader
|
* d3dcompiler_46.dll (supports Windows Vista or later, better shader compiler)
|
||||||
compiler) *or* d3dcompiler_43.dll (supports Windows XP or later)
|
or...
|
||||||
|
* d3dcompiler_43.dll (supports Windows XP or later)
|
||||||
|
|
||||||
If you compile ANGLE from source, you can configure it so it does not need the
|
If you compile ANGLE from source, you can configure it so it does not need the
|
||||||
d3dcompiler_* DLL at all (for details on this, see their documentation).
|
d3dcompiler_* DLL at all (for details on this, see their documentation).
|
||||||
However, by default SDL will try to preload the d3dcompiler_46.dll to
|
However, by default SDL will try to preload the d3dcompiler_46.dll to
|
||||||
comply with ANGLE's requirements. If you wish SDL to preload
|
comply with ANGLE's requirements. If you wish SDL to preload d3dcompiler_43.dll (to
|
||||||
d3dcompiler_43.dll (to support Windows XP) or to skip this step at all, you
|
support Windows XP) or to skip this step at all, you can use the
|
||||||
can use the SDL_HINT_VIDEO_WIN_D3DCOMPILER hint (see SDL_hints.h for more
|
SDL_HINT_VIDEO_WIN_D3DCOMPILER hint (see SDL_hints.h for more details).
|
||||||
details).
|
|
||||||
|
|
||||||
Known Bugs:
|
Known Bugs:
|
||||||
|
|
||||||
- SDL_GL_SetSwapInterval is currently a no op when using ANGLE. It appears
|
* SDL_GL_SetSwapInterval is currently a no op when using ANGLE. It appears
|
||||||
that there's a bug in the library which prevents the window contents from
|
that there's a bug in the library which prevents the window contents from
|
||||||
refreshing if this is set to anything other than the default value.
|
refreshing if this is set to anything other than the default value.
|
||||||
|
|
||||||
## Vulkan Surface Support
|
Vulkan Surface Support
|
||||||
|
==============
|
||||||
Support for creating Vulkan surfaces is configured on by default. To disable
|
|
||||||
it change the value of `SDL_VIDEO_VULKAN` to 0 in `SDL_config_windows.h`. You
|
|
||||||
must install the [Vulkan SDK](https://www.lunarg.com/vulkan-sdk/) in order to
|
|
||||||
use Vulkan graphics in your application.
|
|
||||||
|
|
||||||
|
Support for creating Vulkan surfaces is configured on by default. To disable it change the value of `SDL_VIDEO_VULKAN` to 0 in `SDL_config_windows.h`. You must install the [Vulkan SDK](https://www.lunarg.com/vulkan-sdk/) in order to use Vulkan graphics in your application.
|
||||||
|
|
7
externals/SDL/docs/README.md
vendored
7
externals/SDL/docs/README.md
vendored
|
@ -14,7 +14,7 @@ hardware via OpenGL and Direct3D. It is used by video playback software,
|
||||||
emulators, and popular games including Valve's award winning catalog
|
emulators, and popular games including Valve's award winning catalog
|
||||||
and many Humble Bundle games.
|
and many Humble Bundle games.
|
||||||
|
|
||||||
SDL officially supports Windows, macOS, Linux, iOS, and Android.
|
SDL officially supports Windows, Mac OS X, Linux, iOS, and Android.
|
||||||
Support for other platforms may be found in the source code.
|
Support for other platforms may be found in the source code.
|
||||||
|
|
||||||
SDL is written in C, works natively with C++, and there are bindings
|
SDL is written in C, works natively with C++, and there are bindings
|
||||||
|
@ -38,22 +38,19 @@ More documentation and FAQs are available online at [the wiki](http://wiki.libsd
|
||||||
- [Git](README-git.md)
|
- [Git](README-git.md)
|
||||||
- [iOS](README-ios.md)
|
- [iOS](README-ios.md)
|
||||||
- [Linux](README-linux.md)
|
- [Linux](README-linux.md)
|
||||||
- [macOS](README-macos.md)
|
- [OS X](README-macosx.md)
|
||||||
- [OS/2](README-os2.md)
|
- [OS/2](README-os2.md)
|
||||||
- [Native Client](README-nacl.md)
|
- [Native Client](README-nacl.md)
|
||||||
- [Pandora](README-pandora.md)
|
- [Pandora](README-pandora.md)
|
||||||
- [Supported Platforms](README-platforms.md)
|
- [Supported Platforms](README-platforms.md)
|
||||||
- [Porting information](README-porting.md)
|
- [Porting information](README-porting.md)
|
||||||
- [PSP](README-psp.md)
|
- [PSP](README-psp.md)
|
||||||
- [PS2](README-ps2.md)
|
|
||||||
- [Raspberry Pi](README-raspberrypi.md)
|
- [Raspberry Pi](README-raspberrypi.md)
|
||||||
- [Touch](README-touch.md)
|
- [Touch](README-touch.md)
|
||||||
- [Versions](README-versions.md)
|
|
||||||
- [WinCE](README-wince.md)
|
- [WinCE](README-wince.md)
|
||||||
- [Windows](README-windows.md)
|
- [Windows](README-windows.md)
|
||||||
- [WinRT](README-winrt.md)
|
- [WinRT](README-winrt.md)
|
||||||
- [PSVita](README-vita.md)
|
- [PSVita](README-vita.md)
|
||||||
- [Nokia N-Gage](README-ngage.md)
|
|
||||||
|
|
||||||
If you need help with the library, or just want to discuss SDL related
|
If you need help with the library, or just want to discuss SDL related
|
||||||
issues, you can join the [SDL Discourse](https://discourse.libsdl.org/),
|
issues, you can join the [SDL Discourse](https://discourse.libsdl.org/),
|
||||||
|
|
1
externals/SDL/docs/doxyfile
vendored
1
externals/SDL/docs/doxyfile
vendored
|
@ -640,7 +640,6 @@ EXCLUDE = ../include/SDL_opengles2_gl2ext.h \
|
||||||
../include/SDL_opengles.h \
|
../include/SDL_opengles.h \
|
||||||
../include/SDL_opengl.h \
|
../include/SDL_opengl.h \
|
||||||
../include/SDL_egl.h \
|
../include/SDL_egl.h \
|
||||||
./release_checklist.md \
|
|
||||||
|
|
||||||
|
|
||||||
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
|
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
|
||||||
|
|
4
externals/SDL/include/SDL_assert.h
vendored
4
externals/SDL/include/SDL_assert.h
vendored
|
@ -22,7 +22,7 @@
|
||||||
#ifndef SDL_assert_h_
|
#ifndef SDL_assert_h_
|
||||||
#define SDL_assert_h_
|
#define SDL_assert_h_
|
||||||
|
|
||||||
#include "SDL_stdinc.h"
|
#include "SDL_config.h"
|
||||||
|
|
||||||
#include "begin_code.h"
|
#include "begin_code.h"
|
||||||
/* Set up for C function definitions, even when using C++ */
|
/* Set up for C function definitions, even when using C++ */
|
||||||
|
@ -51,8 +51,6 @@ assert can have unique static variables associated with it.
|
||||||
/* Don't include intrin.h here because it contains C++ code */
|
/* Don't include intrin.h here because it contains C++ code */
|
||||||
extern void __cdecl __debugbreak(void);
|
extern void __cdecl __debugbreak(void);
|
||||||
#define SDL_TriggerBreakpoint() __debugbreak()
|
#define SDL_TriggerBreakpoint() __debugbreak()
|
||||||
#elif _SDL_HAS_BUILTIN(__builtin_debugtrap)
|
|
||||||
#define SDL_TriggerBreakpoint() __builtin_debugtrap()
|
|
||||||
#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
|
#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
|
||||||
#define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
|
#define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
|
||||||
#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */
|
#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */
|
||||||
|
|
5
externals/SDL/include/SDL_audio.h
vendored
5
externals/SDL/include/SDL_audio.h
vendored
|
@ -500,7 +500,9 @@ extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,
|
||||||
* hardware.
|
* hardware.
|
||||||
*
|
*
|
||||||
* `spec` will be filled with the sample rate, sample format, and channel
|
* `spec` will be filled with the sample rate, sample format, and channel
|
||||||
* count.
|
* count. All other values in the structure are filled with 0. When the
|
||||||
|
* supported struct members are 0, SDL was unable to get the property from the
|
||||||
|
* backend.
|
||||||
*
|
*
|
||||||
* \param index the index of the audio device; valid values range from 0 to
|
* \param index the index of the audio device; valid values range from 0 to
|
||||||
* SDL_GetNumAudioDevices() - 1
|
* SDL_GetNumAudioDevices() - 1
|
||||||
|
@ -584,7 +586,6 @@ extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,
|
||||||
* - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`
|
* - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`
|
||||||
* - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`
|
* - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`
|
||||||
* - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`
|
* - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`
|
||||||
* - `SDL_AUDIO_ALLOW_SAMPLES_CHANGE`
|
|
||||||
* - `SDL_AUDIO_ALLOW_ANY_CHANGE`
|
* - `SDL_AUDIO_ALLOW_ANY_CHANGE`
|
||||||
*
|
*
|
||||||
* These flags specify how SDL should behave when a device cannot offer a
|
* These flags specify how SDL should behave when a device cannot offer a
|
||||||
|
|
10
externals/SDL/include/SDL_blendmode.h
vendored
10
externals/SDL/include/SDL_blendmode.h
vendored
|
@ -67,8 +67,9 @@ typedef enum
|
||||||
SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */
|
SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */
|
||||||
SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
|
SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
|
||||||
SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
|
SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
|
||||||
SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D9, D3D11 */
|
SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D11 */
|
||||||
SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D9, D3D11 */
|
SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D11 */
|
||||||
|
|
||||||
} SDL_BlendOperation;
|
} SDL_BlendOperation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -86,6 +87,7 @@ typedef enum
|
||||||
SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
|
SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
|
||||||
SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */
|
SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */
|
||||||
SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
|
SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
|
||||||
|
|
||||||
} SDL_BlendFactor;
|
} SDL_BlendFactor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -133,10 +135,10 @@ typedef enum
|
||||||
* SDL 2.0.6. All renderers support the four blend modes listed in the
|
* SDL 2.0.6. All renderers support the four blend modes listed in the
|
||||||
* SDL_BlendMode enumeration.
|
* SDL_BlendMode enumeration.
|
||||||
*
|
*
|
||||||
* - **direct3d**: Supports all operations with all factors. However, some
|
* - **direct3d**: Supports `SDL_BLENDOPERATION_ADD` with all factors.
|
||||||
|
* - **direct3d11**: Supports all operations with all factors. However, some
|
||||||
* factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and
|
* factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and
|
||||||
* `SDL_BLENDOPERATION_MAXIMUM`.
|
* `SDL_BLENDOPERATION_MAXIMUM`.
|
||||||
* - **direct3d11**: Same as Direct3D 9.
|
|
||||||
* - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all
|
* - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all
|
||||||
* factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL
|
* factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL
|
||||||
* 2.0.6.
|
* 2.0.6.
|
||||||
|
|
4
externals/SDL/include/SDL_config.h
vendored
4
externals/SDL/include/SDL_config.h
vendored
|
@ -39,12 +39,12 @@
|
||||||
#include "SDL_config_iphoneos.h"
|
#include "SDL_config_iphoneos.h"
|
||||||
#elif defined(__ANDROID__)
|
#elif defined(__ANDROID__)
|
||||||
#include "SDL_config_android.h"
|
#include "SDL_config_android.h"
|
||||||
|
#elif defined(__PSP__)
|
||||||
|
#include "SDL_config_psp.h"
|
||||||
#elif defined(__OS2__)
|
#elif defined(__OS2__)
|
||||||
#include "SDL_config_os2.h"
|
#include "SDL_config_os2.h"
|
||||||
#elif defined(__EMSCRIPTEN__)
|
#elif defined(__EMSCRIPTEN__)
|
||||||
#include "SDL_config_emscripten.h"
|
#include "SDL_config_emscripten.h"
|
||||||
#elif defined(__NGAGE__)
|
|
||||||
#include "SDL_config_ngage.h"
|
|
||||||
#else
|
#else
|
||||||
/* This is a minimal configuration just to get SDL running on new platforms. */
|
/* This is a minimal configuration just to get SDL running on new platforms. */
|
||||||
#include "SDL_config_minimal.h"
|
#include "SDL_config_minimal.h"
|
||||||
|
|
23
externals/SDL/include/SDL_config.h.cmake
vendored
23
externals/SDL/include/SDL_config.h.cmake
vendored
|
@ -88,7 +88,6 @@
|
||||||
#cmakedefine HAVE_UNSETENV 1
|
#cmakedefine HAVE_UNSETENV 1
|
||||||
#endif
|
#endif
|
||||||
#cmakedefine HAVE_QSORT 1
|
#cmakedefine HAVE_QSORT 1
|
||||||
#cmakedefine HAVE_BSEARCH 1
|
|
||||||
#cmakedefine HAVE_ABS 1
|
#cmakedefine HAVE_ABS 1
|
||||||
#cmakedefine HAVE_BCOPY 1
|
#cmakedefine HAVE_BCOPY 1
|
||||||
#cmakedefine HAVE_MEMSET 1
|
#cmakedefine HAVE_MEMSET 1
|
||||||
|
@ -243,7 +242,6 @@
|
||||||
|
|
||||||
#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
|
#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
|
||||||
#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
|
#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@
|
||||||
#cmakedefine HAVE_D3D12_H @HAVE_D3D12_H@
|
|
||||||
#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
|
#cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@
|
||||||
#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
|
#cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@
|
||||||
#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
|
#cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@
|
||||||
|
@ -255,15 +253,12 @@
|
||||||
#cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
|
#cmakedefine HAVE_AUDIOCLIENT_H @HAVE_AUDIOCLIENT_H@
|
||||||
#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
|
#cmakedefine HAVE_TPCSHRD_H @HAVE_TPCSHRD_H@
|
||||||
#cmakedefine HAVE_SENSORSAPI_H @HAVE_SENSORSAPI_H@
|
#cmakedefine HAVE_SENSORSAPI_H @HAVE_SENSORSAPI_H@
|
||||||
#cmakedefine HAVE_ROAPI_H @HAVE_ROAPI_H@
|
|
||||||
|
|
||||||
#cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@
|
#cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@
|
||||||
#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
|
#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
|
||||||
|
|
||||||
/* SDL internal assertion support */
|
/* SDL internal assertion support */
|
||||||
#if @SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED@
|
|
||||||
#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
|
#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Allow disabling of core subsystems */
|
/* Allow disabling of core subsystems */
|
||||||
#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
|
#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
|
||||||
|
@ -282,8 +277,6 @@
|
||||||
#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
|
#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
|
||||||
#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
|
#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
|
||||||
#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
|
#cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@
|
||||||
#cmakedefine SDL_LOCALE_DISABLED @SDL_LOCALE_DISABLED@
|
|
||||||
#cmakedefine SDL_MISC_DISABLED @SDL_MISC_DISABLED@
|
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
|
#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
|
||||||
|
@ -378,7 +371,6 @@
|
||||||
#cmakedefine SDL_THREAD_OS2 @SDL_THREAD_OS2@
|
#cmakedefine SDL_THREAD_OS2 @SDL_THREAD_OS2@
|
||||||
#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
|
#cmakedefine SDL_THREAD_VITA @SDL_THREAD_VITA@
|
||||||
#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
|
#cmakedefine SDL_THREAD_PSP @SDL_THREAD_PSP@
|
||||||
#cmakedefine SDL_THREAD_PS2 @SDL_THREAD_PS2@
|
|
||||||
|
|
||||||
/* Enable various timer systems */
|
/* Enable various timer systems */
|
||||||
#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
|
#cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@
|
||||||
|
@ -388,7 +380,6 @@
|
||||||
#cmakedefine SDL_TIMER_OS2 @SDL_TIMER_OS2@
|
#cmakedefine SDL_TIMER_OS2 @SDL_TIMER_OS2@
|
||||||
#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
|
#cmakedefine SDL_TIMER_VITA @SDL_TIMER_VITA@
|
||||||
#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
|
#cmakedefine SDL_TIMER_PSP @SDL_TIMER_PSP@
|
||||||
#cmakedefine SDL_TIMER_PS2 @SDL_TIMER_PS2@
|
|
||||||
|
|
||||||
/* Enable various video drivers */
|
/* Enable various video drivers */
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
|
#cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@
|
||||||
|
@ -426,25 +417,28 @@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
|
||||||
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES @SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES @SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
|
||||||
|
#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE @SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@
|
||||||
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XINERAMA @SDL_VIDEO_DRIVER_X11_XINERAMA@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XFIXES @SDL_VIDEO_DRIVER_X11_XFIXES@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
|
||||||
|
#cmakedefine SDL_VIDEO_DRIVER_X11_XVIDMODE @SDL_VIDEO_DRIVER_X11_XVIDMODE@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
|
#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
|
||||||
#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
|
#cmakedefine SDL_VIDEO_DRIVER_VITA @SDL_VIDEO_DRIVER_VITA@
|
||||||
|
|
||||||
#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
|
#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
|
#cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_D3D12 @SDL_VIDEO_RENDER_D3D12@
|
|
||||||
#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
|
#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
|
#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
|
#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
|
||||||
|
@ -496,15 +490,9 @@
|
||||||
#cmakedefine SDL_FILESYSTEM_OS2 @SDL_FILESYSTEM_OS2@
|
#cmakedefine SDL_FILESYSTEM_OS2 @SDL_FILESYSTEM_OS2@
|
||||||
#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
|
#cmakedefine SDL_FILESYSTEM_VITA @SDL_FILESYSTEM_VITA@
|
||||||
#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
|
#cmakedefine SDL_FILESYSTEM_PSP @SDL_FILESYSTEM_PSP@
|
||||||
#cmakedefine SDL_FILESYSTEM_PS2 @SDL_FILESYSTEM_PS2@
|
|
||||||
|
|
||||||
/* Enable misc subsystem */
|
|
||||||
#cmakedefine SDL_MISC_DUMMY @SDL_MISC_DUMMY@
|
|
||||||
|
|
||||||
/* Enable locale subsystem */
|
|
||||||
#cmakedefine SDL_LOCALE_DUMMY @SDL_LOCALE_DUMMY@
|
|
||||||
|
|
||||||
/* Enable assembly routines */
|
/* Enable assembly routines */
|
||||||
|
#cmakedefine SDL_ASSEMBLY_ROUTINES @SDL_ASSEMBLY_ROUTINES@
|
||||||
#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
|
#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
|
||||||
#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
|
#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
|
||||||
#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
|
#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
|
||||||
|
@ -524,7 +512,6 @@
|
||||||
|
|
||||||
#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
|
#cmakedefine SDL_VIDEO_VITA_PIB @SDL_VIDEO_VITA_PIB@
|
||||||
#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
|
#cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@
|
||||||
#cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@
|
|
||||||
|
|
||||||
#if !defined(__WIN32__) && !defined(__WINRT__)
|
#if !defined(__WIN32__) && !defined(__WINRT__)
|
||||||
# if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
|
# if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
|
||||||
|
|
25
externals/SDL/include/SDL_config.h.in
vendored
25
externals/SDL/include/SDL_config.h.in
vendored
|
@ -92,7 +92,6 @@
|
||||||
#undef HAVE_UNSETENV
|
#undef HAVE_UNSETENV
|
||||||
#endif
|
#endif
|
||||||
#undef HAVE_QSORT
|
#undef HAVE_QSORT
|
||||||
#undef HAVE_BSEARCH
|
|
||||||
#undef HAVE_ABS
|
#undef HAVE_ABS
|
||||||
#undef HAVE_BCOPY
|
#undef HAVE_BCOPY
|
||||||
#undef HAVE_MEMSET
|
#undef HAVE_MEMSET
|
||||||
|
@ -229,8 +228,6 @@
|
||||||
#undef HAVE_LIBUDEV_H
|
#undef HAVE_LIBUDEV_H
|
||||||
#undef HAVE_LIBSAMPLERATE_H
|
#undef HAVE_LIBSAMPLERATE_H
|
||||||
#undef HAVE_LIBDECOR_H
|
#undef HAVE_LIBDECOR_H
|
||||||
#undef HAVE_LSXINTRIN_H
|
|
||||||
#undef HAVE_LASXINTRIN_H
|
|
||||||
|
|
||||||
#undef HAVE_DDRAW_H
|
#undef HAVE_DDRAW_H
|
||||||
#undef HAVE_DINPUT_H
|
#undef HAVE_DINPUT_H
|
||||||
|
@ -245,7 +242,6 @@
|
||||||
#undef HAVE_AUDIOCLIENT_H
|
#undef HAVE_AUDIOCLIENT_H
|
||||||
#undef HAVE_TPCSHRD_H
|
#undef HAVE_TPCSHRD_H
|
||||||
#undef HAVE_SENSORSAPI_H
|
#undef HAVE_SENSORSAPI_H
|
||||||
#undef HAVE_ROAPI_H
|
|
||||||
|
|
||||||
/* SDL internal assertion support */
|
/* SDL internal assertion support */
|
||||||
#undef SDL_DEFAULT_ASSERT_LEVEL
|
#undef SDL_DEFAULT_ASSERT_LEVEL
|
||||||
|
@ -267,8 +263,6 @@
|
||||||
#undef SDL_VIDEO_DISABLED
|
#undef SDL_VIDEO_DISABLED
|
||||||
#undef SDL_POWER_DISABLED
|
#undef SDL_POWER_DISABLED
|
||||||
#undef SDL_FILESYSTEM_DISABLED
|
#undef SDL_FILESYSTEM_DISABLED
|
||||||
#undef SDL_LOCALE_DISABLED
|
|
||||||
#undef SDL_MISC_DISABLED
|
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#undef SDL_AUDIO_DRIVER_AAUDIO
|
#undef SDL_AUDIO_DRIVER_AAUDIO
|
||||||
|
@ -390,18 +384,22 @@
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
|
||||||
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
|
||||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
|
||||||
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XCURSOR
|
#undef SDL_VIDEO_DRIVER_X11_XCURSOR
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XDBE
|
#undef SDL_VIDEO_DRIVER_X11_XDBE
|
||||||
|
#undef SDL_VIDEO_DRIVER_X11_XINERAMA
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XINPUT2
|
#undef SDL_VIDEO_DRIVER_X11_XINPUT2
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
|
#undef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XFIXES
|
#undef SDL_VIDEO_DRIVER_X11_XFIXES
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XRANDR
|
#undef SDL_VIDEO_DRIVER_X11_XRANDR
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
|
#undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XSHAPE
|
#undef SDL_VIDEO_DRIVER_X11_XSHAPE
|
||||||
|
#undef SDL_VIDEO_DRIVER_X11_XVIDMODE
|
||||||
#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
|
#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
|
||||||
#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
||||||
#undef SDL_VIDEO_DRIVER_NACL
|
#undef SDL_VIDEO_DRIVER_NACL
|
||||||
|
@ -413,7 +411,6 @@
|
||||||
|
|
||||||
#undef SDL_VIDEO_RENDER_D3D
|
#undef SDL_VIDEO_RENDER_D3D
|
||||||
#undef SDL_VIDEO_RENDER_D3D11
|
#undef SDL_VIDEO_RENDER_D3D11
|
||||||
#undef SDL_VIDEO_RENDER_D3D12
|
|
||||||
#undef SDL_VIDEO_RENDER_OGL
|
#undef SDL_VIDEO_RENDER_OGL
|
||||||
#undef SDL_VIDEO_RENDER_OGL_ES
|
#undef SDL_VIDEO_RENDER_OGL_ES
|
||||||
#undef SDL_VIDEO_RENDER_OGL_ES2
|
#undef SDL_VIDEO_RENDER_OGL_ES2
|
||||||
|
@ -448,27 +445,19 @@
|
||||||
#undef SDL_POWER_HARDWIRED
|
#undef SDL_POWER_HARDWIRED
|
||||||
|
|
||||||
/* Enable system filesystem support */
|
/* Enable system filesystem support */
|
||||||
#undef SDL_FILESYSTEM_ANDROID
|
|
||||||
#undef SDL_FILESYSTEM_HAIKU
|
#undef SDL_FILESYSTEM_HAIKU
|
||||||
#undef SDL_FILESYSTEM_COCOA
|
#undef SDL_FILESYSTEM_COCOA
|
||||||
#undef SDL_FILESYSTEM_DUMMY
|
#undef SDL_FILESYSTEM_DUMMY
|
||||||
#undef SDL_FILESYSTEM_RISCOS
|
|
||||||
#undef SDL_FILESYSTEM_UNIX
|
#undef SDL_FILESYSTEM_UNIX
|
||||||
#undef SDL_FILESYSTEM_WINDOWS
|
#undef SDL_FILESYSTEM_WINDOWS
|
||||||
#undef SDL_FILESYSTEM_NACL
|
#undef SDL_FILESYSTEM_NACL
|
||||||
|
#undef SDL_FILESYSTEM_ANDROID
|
||||||
#undef SDL_FILESYSTEM_EMSCRIPTEN
|
#undef SDL_FILESYSTEM_EMSCRIPTEN
|
||||||
#undef SDL_FILESYSTEM_OS2
|
#undef SDL_FILESYSTEM_OS2
|
||||||
#undef SDL_FILESYSTEM_VITA
|
#undef SDL_FILESYSTEM_RISCOS
|
||||||
#undef SDL_FILESYSTEM_PSP
|
|
||||||
#undef SDL_FILESYSTEM_PS2
|
|
||||||
|
|
||||||
/* Enable misc subsystem */
|
|
||||||
#undef SDL_MISC_DUMMY
|
|
||||||
|
|
||||||
/* Enable locale subsystem */
|
|
||||||
#undef SDL_LOCALE_DUMMY
|
|
||||||
|
|
||||||
/* Enable assembly routines */
|
/* Enable assembly routines */
|
||||||
|
#undef SDL_ASSEMBLY_ROUTINES
|
||||||
#undef SDL_ALTIVEC_BLITTERS
|
#undef SDL_ALTIVEC_BLITTERS
|
||||||
#undef SDL_ARM_SIMD_BLITTERS
|
#undef SDL_ARM_SIMD_BLITTERS
|
||||||
#undef SDL_ARM_NEON_BLITTERS
|
#undef SDL_ARM_NEON_BLITTERS
|
||||||
|
|
1
externals/SDL/include/SDL_config_android.h
vendored
1
externals/SDL/include/SDL_config_android.h
vendored
|
@ -60,7 +60,6 @@
|
||||||
#define HAVE_SETENV 1
|
#define HAVE_SETENV 1
|
||||||
#define HAVE_UNSETENV 1
|
#define HAVE_UNSETENV 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
|
|
@ -69,7 +69,6 @@
|
||||||
#define HAVE_PUTENV 1
|
#define HAVE_PUTENV 1
|
||||||
#define HAVE_UNSETENV 1
|
#define HAVE_UNSETENV 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
@ -186,7 +185,6 @@
|
||||||
/* Enable various threading systems */
|
/* Enable various threading systems */
|
||||||
#ifdef __EMSCRIPTEN_PTHREADS__
|
#ifdef __EMSCRIPTEN_PTHREADS__
|
||||||
#define SDL_THREAD_PTHREAD 1
|
#define SDL_THREAD_PTHREAD 1
|
||||||
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enable various timer systems */
|
/* Enable various timer systems */
|
||||||
|
|
1
externals/SDL/include/SDL_config_iphoneos.h
vendored
1
externals/SDL/include/SDL_config_iphoneos.h
vendored
|
@ -60,7 +60,6 @@
|
||||||
#define HAVE_SETENV 1
|
#define HAVE_SETENV 1
|
||||||
#define HAVE_UNSETENV 1
|
#define HAVE_UNSETENV 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
|
6
externals/SDL/include/SDL_config_macosx.h
vendored
6
externals/SDL/include/SDL_config_macosx.h
vendored
|
@ -63,7 +63,6 @@
|
||||||
#define HAVE_PUTENV 1
|
#define HAVE_PUTENV 1
|
||||||
#define HAVE_UNSETENV 1
|
#define HAVE_UNSETENV 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
@ -186,13 +185,17 @@
|
||||||
#undef SDL_VIDEO_DRIVER_X11
|
#undef SDL_VIDEO_DRIVER_X11
|
||||||
#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/opt/X11/lib/libX11.6.dylib"
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/opt/X11/lib/libX11.6.dylib"
|
||||||
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/opt/X11/lib/libXext.6.dylib"
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/opt/X11/lib/libXext.6.dylib"
|
||||||
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/opt/X11/lib/libXinerama.1.dylib"
|
||||||
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/opt/X11/lib/libXi.6.dylib"
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/opt/X11/lib/libXi.6.dylib"
|
||||||
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/opt/X11/lib/libXrandr.2.dylib"
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/opt/X11/lib/libXrandr.2.dylib"
|
||||||
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/opt/X11/lib/libXss.1.dylib"
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/opt/X11/lib/libXss.1.dylib"
|
||||||
|
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/opt/X11/lib/libXxf86vm.1.dylib"
|
||||||
#define SDL_VIDEO_DRIVER_X11_XDBE 1
|
#define SDL_VIDEO_DRIVER_X11_XDBE 1
|
||||||
|
#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
|
||||||
#define SDL_VIDEO_DRIVER_X11_XRANDR 1
|
#define SDL_VIDEO_DRIVER_X11_XRANDR 1
|
||||||
#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
|
#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
|
||||||
#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
|
#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
|
||||||
|
#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
|
||||||
#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
|
#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
|
||||||
|
|
||||||
#ifdef MAC_OS_X_VERSION_10_8
|
#ifdef MAC_OS_X_VERSION_10_8
|
||||||
|
@ -269,6 +272,7 @@
|
||||||
#define SDL_FILESYSTEM_COCOA 1
|
#define SDL_FILESYSTEM_COCOA 1
|
||||||
|
|
||||||
/* Enable assembly routines */
|
/* Enable assembly routines */
|
||||||
|
#define SDL_ASSEMBLY_ROUTINES 1
|
||||||
#ifdef __ppc__
|
#ifdef __ppc__
|
||||||
#define SDL_ALTIVEC_BLITTERS 1
|
#define SDL_ALTIVEC_BLITTERS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
7
externals/SDL/include/SDL_config_os2.h
vendored
7
externals/SDL/include/SDL_config_os2.h
vendored
|
@ -56,6 +56,9 @@
|
||||||
#define SDL_TIMER_OS2 1
|
#define SDL_TIMER_OS2 1
|
||||||
#define SDL_FILESYSTEM_OS2 1
|
#define SDL_FILESYSTEM_OS2 1
|
||||||
|
|
||||||
|
/* Enable assembly routines */
|
||||||
|
#define SDL_ASSEMBLY_ROUTINES 1
|
||||||
|
|
||||||
/* use libsamplerate for audio rate conversion. */
|
/* use libsamplerate for audio rate conversion. */
|
||||||
/*#define HAVE_LIBSAMPLERATE_H 1 */
|
/*#define HAVE_LIBSAMPLERATE_H 1 */
|
||||||
|
|
||||||
|
@ -102,11 +105,7 @@
|
||||||
#define HAVE_GETENV 1
|
#define HAVE_GETENV 1
|
||||||
#define HAVE_SETENV 1
|
#define HAVE_SETENV 1
|
||||||
#define HAVE_PUTENV 1
|
#define HAVE_PUTENV 1
|
||||||
/* OpenWatcom requires specific calling conventions for qsort and bsearch */
|
|
||||||
#ifndef __WATCOMC__
|
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#endif
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
|
1
externals/SDL/include/SDL_config_pandora.h
vendored
1
externals/SDL/include/SDL_config_pandora.h
vendored
|
@ -65,7 +65,6 @@
|
||||||
#define HAVE_PUTENV 1
|
#define HAVE_PUTENV 1
|
||||||
#define HAVE_UNSETENV 1
|
#define HAVE_UNSETENV 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_BCOPY 1
|
#define HAVE_BCOPY 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
|
|
9
externals/SDL/include/SDL_config_psp.h
vendored
9
externals/SDL/include/SDL_config_psp.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
Simple DirectMedia Layer
|
Simple DirectMedia Layer
|
||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
@ -25,8 +25,6 @@
|
||||||
|
|
||||||
#include "SDL_platform.h"
|
#include "SDL_platform.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
|
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -152,8 +150,8 @@
|
||||||
|
|
||||||
#define SDL_POWER_PSP 1
|
#define SDL_POWER_PSP 1
|
||||||
|
|
||||||
/* !!! FIXME: what does PSP do for filesystem stuff? */
|
/* Enable the PSP filesystem support (src/filesystem/psp/\*.c) */
|
||||||
#define SDL_FILESYSTEM_DUMMY 1
|
#define SDL_FILESYSTEM_PSP 1
|
||||||
|
|
||||||
/* PSP doesn't have haptic device (src/haptic/dummy/\*.c) */
|
/* PSP doesn't have haptic device (src/haptic/dummy/\*.c) */
|
||||||
#define SDL_HAPTIC_DISABLED 1
|
#define SDL_HAPTIC_DISABLED 1
|
||||||
|
@ -164,5 +162,4 @@
|
||||||
/* PSP can't load shared object (src/loadso/dummy/\*.c) */
|
/* PSP can't load shared object (src/loadso/dummy/\*.c) */
|
||||||
#define SDL_LOADSO_DISABLED 1
|
#define SDL_LOADSO_DISABLED 1
|
||||||
|
|
||||||
|
|
||||||
#endif /* SDL_config_psp_h_ */
|
#endif /* SDL_config_psp_h_ */
|
||||||
|
|
83
externals/SDL/include/SDL_config_windows.h
vendored
83
externals/SDL/include/SDL_config_windows.h
vendored
|
@ -38,18 +38,6 @@
|
||||||
#include <winsdkver.h>
|
#include <winsdkver.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* sdkddkver.h defines more specific SDK version numbers. This is needed because older versions of the
|
|
||||||
* Windows 10 SDK have broken declarations for the C API for DirectX 12. */
|
|
||||||
#if !defined(HAVE_SDKDDKVER_H) && defined(__has_include)
|
|
||||||
#if __has_include(<sdkddkver.h>)
|
|
||||||
#define HAVE_SDKDDKVER_H 1
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SDKDDKVER_H
|
|
||||||
#include <sdkddkver.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This is a set of defines to configure the SDL features */
|
/* This is a set of defines to configure the SDL features */
|
||||||
|
|
||||||
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
|
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
|
||||||
|
@ -102,14 +90,9 @@ typedef unsigned int uintptr_t;
|
||||||
# define SIZEOF_VOIDP 4
|
# define SIZEOF_VOIDP 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __clang__
|
|
||||||
# define HAVE_GCC_ATOMICS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define HAVE_DDRAW_H 1
|
#define HAVE_DDRAW_H 1
|
||||||
#define HAVE_DINPUT_H 1
|
#define HAVE_DINPUT_H 1
|
||||||
#define HAVE_DSOUND_H 1
|
#define HAVE_DSOUND_H 1
|
||||||
#ifndef __WATCOMC__
|
|
||||||
#define HAVE_DXGI_H 1
|
#define HAVE_DXGI_H 1
|
||||||
#define HAVE_XINPUT_H 1
|
#define HAVE_XINPUT_H 1
|
||||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
|
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
|
||||||
|
@ -117,16 +100,11 @@ typedef unsigned int uintptr_t;
|
||||||
#endif
|
#endif
|
||||||
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
|
#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
|
||||||
#define HAVE_D3D11_H 1
|
#define HAVE_D3D11_H 1
|
||||||
#define HAVE_ROAPI_H 1
|
|
||||||
#endif
|
|
||||||
#if defined(WDK_NTDDI_VERSION) && WDK_NTDDI_VERSION > 0x0A000008 /* 10.0.19041.0 */
|
|
||||||
#define HAVE_D3D12_H 1
|
|
||||||
#endif
|
#endif
|
||||||
#define HAVE_MMDEVICEAPI_H 1
|
#define HAVE_MMDEVICEAPI_H 1
|
||||||
#define HAVE_AUDIOCLIENT_H 1
|
#define HAVE_AUDIOCLIENT_H 1
|
||||||
#define HAVE_TPCSHRD_H 1
|
#define HAVE_TPCSHRD_H 1
|
||||||
#define HAVE_SENSORSAPI_H 1
|
#define HAVE_SENSORSAPI_H 1
|
||||||
#endif
|
|
||||||
#if (defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)) && (defined(_MSC_VER) && _MSC_VER >= 1600)
|
#if (defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)) && (defined(_MSC_VER) && _MSC_VER >= 1600)
|
||||||
#define HAVE_IMMINTRIN_H 1
|
#define HAVE_IMMINTRIN_H 1
|
||||||
#elif defined(__has_include) && (defined(__i386__) || defined(__x86_64))
|
#elif defined(__has_include) && (defined(__i386__) || defined(__x86_64))
|
||||||
|
@ -153,11 +131,7 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE_REALLOC 1
|
#define HAVE_REALLOC 1
|
||||||
#define HAVE_FREE 1
|
#define HAVE_FREE 1
|
||||||
#define HAVE_ALLOCA 1
|
#define HAVE_ALLOCA 1
|
||||||
/* OpenWatcom requires specific calling conventions for qsort and bsearch */
|
|
||||||
#ifndef __WATCOMC__
|
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#endif
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
#define HAVE_MEMCPY 1
|
#define HAVE_MEMCPY 1
|
||||||
|
@ -188,40 +162,37 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE__WCSNICMP 1
|
#define HAVE__WCSNICMP 1
|
||||||
#define HAVE__WCSDUP 1
|
#define HAVE__WCSDUP 1
|
||||||
#define HAVE_ACOS 1
|
#define HAVE_ACOS 1
|
||||||
#define HAVE_ASIN 1
|
|
||||||
#define HAVE_ATAN 1
|
|
||||||
#define HAVE_ATAN2 1
|
|
||||||
#define HAVE_CEIL 1
|
|
||||||
#define HAVE_COS 1
|
|
||||||
#define HAVE_EXP 1
|
|
||||||
#define HAVE_FABS 1
|
|
||||||
#define HAVE_FLOOR 1
|
|
||||||
#define HAVE_FMOD 1
|
|
||||||
#define HAVE_LOG 1
|
|
||||||
#define HAVE_LOG10 1
|
|
||||||
#define HAVE_POW 1
|
|
||||||
#define HAVE_SIN 1
|
|
||||||
#define HAVE_SQRT 1
|
|
||||||
#define HAVE_TAN 1
|
|
||||||
#ifndef __WATCOMC__
|
|
||||||
#define HAVE_ACOSF 1
|
#define HAVE_ACOSF 1
|
||||||
|
#define HAVE_ASIN 1
|
||||||
#define HAVE_ASINF 1
|
#define HAVE_ASINF 1
|
||||||
|
#define HAVE_ATAN 1
|
||||||
#define HAVE_ATANF 1
|
#define HAVE_ATANF 1
|
||||||
|
#define HAVE_ATAN2 1
|
||||||
#define HAVE_ATAN2F 1
|
#define HAVE_ATAN2F 1
|
||||||
#define HAVE_CEILF 1
|
#define HAVE_CEILF 1
|
||||||
#define HAVE__COPYSIGN 1
|
#define HAVE__COPYSIGN 1
|
||||||
|
#define HAVE_COS 1
|
||||||
#define HAVE_COSF 1
|
#define HAVE_COSF 1
|
||||||
|
#define HAVE_EXP 1
|
||||||
#define HAVE_EXPF 1
|
#define HAVE_EXPF 1
|
||||||
|
#define HAVE_FABS 1
|
||||||
#define HAVE_FABSF 1
|
#define HAVE_FABSF 1
|
||||||
|
#define HAVE_FLOOR 1
|
||||||
#define HAVE_FLOORF 1
|
#define HAVE_FLOORF 1
|
||||||
|
#define HAVE_FMOD 1
|
||||||
#define HAVE_FMODF 1
|
#define HAVE_FMODF 1
|
||||||
|
#define HAVE_LOG 1
|
||||||
#define HAVE_LOGF 1
|
#define HAVE_LOGF 1
|
||||||
|
#define HAVE_LOG10 1
|
||||||
#define HAVE_LOG10F 1
|
#define HAVE_LOG10F 1
|
||||||
|
#define HAVE_POW 1
|
||||||
#define HAVE_POWF 1
|
#define HAVE_POWF 1
|
||||||
|
#define HAVE_SIN 1
|
||||||
#define HAVE_SINF 1
|
#define HAVE_SINF 1
|
||||||
|
#define HAVE_SQRT 1
|
||||||
#define HAVE_SQRTF 1
|
#define HAVE_SQRTF 1
|
||||||
|
#define HAVE_TAN 1
|
||||||
#define HAVE_TANF 1
|
#define HAVE_TANF 1
|
||||||
#endif
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
/* These functions were added with the VC++ 2013 C runtime library */
|
/* These functions were added with the VC++ 2013 C runtime library */
|
||||||
#if _MSC_VER >= 1800
|
#if _MSC_VER >= 1800
|
||||||
|
@ -241,18 +212,8 @@ typedef unsigned int uintptr_t;
|
||||||
#if _MSC_VER >= 1400
|
#if _MSC_VER >= 1400
|
||||||
#define HAVE__FSEEKI64 1
|
#define HAVE__FSEEKI64 1
|
||||||
#endif
|
#endif
|
||||||
#ifdef _USE_MATH_DEFINES
|
|
||||||
#define HAVE_M_PI 1
|
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__WATCOMC__)
|
#if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)
|
||||||
#define HAVE__FSEEKI64 1
|
|
||||||
#define HAVE_STRTOLL 1
|
|
||||||
#define HAVE_STRTOULL 1
|
|
||||||
#define HAVE_VSSCANF 1
|
|
||||||
#define HAVE_ROUND 1
|
|
||||||
#define HAVE_SCALBN 1
|
|
||||||
#define HAVE_TRUNC 1
|
|
||||||
#else
|
|
||||||
#define HAVE_M_PI 1
|
#define HAVE_M_PI 1
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
@ -261,9 +222,7 @@ typedef unsigned int uintptr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#if defined(HAVE_MMDEVICEAPI_H) && defined(HAVE_AUDIOCLIENT_H)
|
|
||||||
#define SDL_AUDIO_DRIVER_WASAPI 1
|
#define SDL_AUDIO_DRIVER_WASAPI 1
|
||||||
#endif
|
|
||||||
#define SDL_AUDIO_DRIVER_DSOUND 1
|
#define SDL_AUDIO_DRIVER_DSOUND 1
|
||||||
#define SDL_AUDIO_DRIVER_WINMM 1
|
#define SDL_AUDIO_DRIVER_WINMM 1
|
||||||
#define SDL_AUDIO_DRIVER_DISK 1
|
#define SDL_AUDIO_DRIVER_DISK 1
|
||||||
|
@ -284,11 +243,7 @@ typedef unsigned int uintptr_t;
|
||||||
#define SDL_HAPTIC_XINPUT 1
|
#define SDL_HAPTIC_XINPUT 1
|
||||||
|
|
||||||
/* Enable the sensor driver */
|
/* Enable the sensor driver */
|
||||||
#ifdef HAVE_SENSORSAPI_H
|
|
||||||
#define SDL_SENSOR_WINDOWS 1
|
#define SDL_SENSOR_WINDOWS 1
|
||||||
#else
|
|
||||||
#define SDL_SENSOR_DUMMY 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable various shared object loading systems */
|
/* Enable various shared object loading systems */
|
||||||
#define SDL_LOADSO_WINDOWS 1
|
#define SDL_LOADSO_WINDOWS 1
|
||||||
|
@ -310,9 +265,6 @@ typedef unsigned int uintptr_t;
|
||||||
#if !defined(SDL_VIDEO_RENDER_D3D11) && defined(HAVE_D3D11_H)
|
#if !defined(SDL_VIDEO_RENDER_D3D11) && defined(HAVE_D3D11_H)
|
||||||
#define SDL_VIDEO_RENDER_D3D11 1
|
#define SDL_VIDEO_RENDER_D3D11 1
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SDL_VIDEO_RENDER_D3D12) && defined(HAVE_D3D12_H)
|
|
||||||
#define SDL_VIDEO_RENDER_D3D12 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable OpenGL support */
|
/* Enable OpenGL support */
|
||||||
#ifndef SDL_VIDEO_OPENGL
|
#ifndef SDL_VIDEO_OPENGL
|
||||||
|
@ -343,6 +295,11 @@ typedef unsigned int uintptr_t;
|
||||||
/* Enable filesystem support */
|
/* Enable filesystem support */
|
||||||
#define SDL_FILESYSTEM_WINDOWS 1
|
#define SDL_FILESYSTEM_WINDOWS 1
|
||||||
|
|
||||||
|
/* Enable assembly routines (Win64 doesn't have inline asm) */
|
||||||
|
#ifndef _WIN64
|
||||||
|
#define SDL_ASSEMBLY_ROUTINES 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* SDL_config_windows_h_ */
|
#endif /* SDL_config_windows_h_ */
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
15
externals/SDL/include/SDL_config_winrt.h
vendored
15
externals/SDL/include/SDL_config_winrt.h
vendored
|
@ -92,10 +92,6 @@ typedef unsigned int uintptr_t;
|
||||||
# define SIZEOF_VOIDP 4
|
# define SIZEOF_VOIDP 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __clang__
|
|
||||||
# define HAVE_GCC_ATOMICS 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Useful headers */
|
/* Useful headers */
|
||||||
#define HAVE_DXGI_H 1
|
#define HAVE_DXGI_H 1
|
||||||
#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
|
#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
|
||||||
|
@ -123,7 +119,6 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE_FREE 1
|
#define HAVE_FREE 1
|
||||||
#define HAVE_ALLOCA 1
|
#define HAVE_ALLOCA 1
|
||||||
#define HAVE_QSORT 1
|
#define HAVE_QSORT 1
|
||||||
#define HAVE_BSEARCH 1
|
|
||||||
#define HAVE_ABS 1
|
#define HAVE_ABS 1
|
||||||
#define HAVE_MEMSET 1
|
#define HAVE_MEMSET 1
|
||||||
#define HAVE_MEMCPY 1
|
#define HAVE_MEMCPY 1
|
||||||
|
@ -196,8 +191,6 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE_TRUNCF 1
|
#define HAVE_TRUNCF 1
|
||||||
#define HAVE__FSEEKI64 1
|
#define HAVE__FSEEKI64 1
|
||||||
|
|
||||||
#define HAVE_ROAPI_H 1
|
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#define SDL_AUDIO_DRIVER_WASAPI 1
|
#define SDL_AUDIO_DRIVER_WASAPI 1
|
||||||
#define SDL_AUDIO_DRIVER_DISK 1
|
#define SDL_AUDIO_DRIVER_DISK 1
|
||||||
|
@ -250,9 +243,6 @@ typedef unsigned int uintptr_t;
|
||||||
/* Enable appropriate renderer(s) */
|
/* Enable appropriate renderer(s) */
|
||||||
#define SDL_VIDEO_RENDER_D3D11 1
|
#define SDL_VIDEO_RENDER_D3D11 1
|
||||||
|
|
||||||
/* Disable D3D12 as it's not implemented for WinRT */
|
|
||||||
#define SDL_VIDEO_RENDER_D3D12 0
|
|
||||||
|
|
||||||
#if SDL_VIDEO_OPENGL_ES2
|
#if SDL_VIDEO_OPENGL_ES2
|
||||||
#define SDL_VIDEO_RENDER_OGL_ES2 1
|
#define SDL_VIDEO_RENDER_OGL_ES2 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -260,4 +250,9 @@ typedef unsigned int uintptr_t;
|
||||||
/* Enable system power support */
|
/* Enable system power support */
|
||||||
#define SDL_POWER_WINRT 1
|
#define SDL_POWER_WINRT 1
|
||||||
|
|
||||||
|
/* Enable assembly routines (Win64 doesn't have inline asm) */
|
||||||
|
#ifndef _WIN64
|
||||||
|
#define SDL_ASSEMBLY_ROUTINES 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* SDL_config_winrt_h_ */
|
#endif /* SDL_config_winrt_h_ */
|
||||||
|
|
2
externals/SDL/include/SDL_config_wiz.h
vendored
2
externals/SDL/include/SDL_config_wiz.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
Simple DirectMedia Layer
|
Simple DirectMedia Layer
|
||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
|
38
externals/SDL/include/SDL_cpuinfo.h
vendored
38
externals/SDL/include/SDL_cpuinfo.h
vendored
|
@ -98,14 +98,6 @@ _m_prefetch(void *__P)
|
||||||
#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
|
#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
|
||||||
#include <mm3dnow.h>
|
#include <mm3dnow.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__loongarch_sx) && !defined(SDL_DISABLE_LSX_H)
|
|
||||||
#include <lsxintrin.h>
|
|
||||||
#define __LSX__
|
|
||||||
#endif
|
|
||||||
#if defined(__loongarch_asx) && !defined(SDL_DISABLE_LASX_H)
|
|
||||||
#include <lasxintrin.h>
|
|
||||||
#define __LASX__
|
|
||||||
#endif
|
|
||||||
#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
|
#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
#else
|
#else
|
||||||
|
@ -441,32 +433,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
|
||||||
|
|
||||||
/**
|
|
||||||
* Determine whether the CPU has LSX (LOONGARCH SIMD) features.
|
|
||||||
*
|
|
||||||
* This always returns false on CPUs that aren't using LOONGARCH instruction
|
|
||||||
* sets.
|
|
||||||
*
|
|
||||||
* \returns SDL_TRUE if the CPU has LOONGARCH LSX features or SDL_FALSE if
|
|
||||||
* not.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasLSX(void);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Determine whether the CPU has LASX (LOONGARCH SIMD) features.
|
|
||||||
*
|
|
||||||
* This always returns false on CPUs that aren't using LOONGARCH instruction
|
|
||||||
* sets.
|
|
||||||
*
|
|
||||||
* \returns SDL_TRUE if the CPU has LOONGARCH LASX features or SDL_FALSE if
|
|
||||||
* not.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasLASX(void);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the amount of RAM configured in the system.
|
* Get the amount of RAM configured in the system.
|
||||||
*
|
*
|
||||||
|
@ -528,7 +494,7 @@ extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void);
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 2.0.10.
|
* \since This function is available since SDL 2.0.10.
|
||||||
*
|
*
|
||||||
* \sa SDL_SIMDGetAlignment
|
* \sa SDL_SIMDAlignment
|
||||||
* \sa SDL_SIMDRealloc
|
* \sa SDL_SIMDRealloc
|
||||||
* \sa SDL_SIMDFree
|
* \sa SDL_SIMDFree
|
||||||
*/
|
*/
|
||||||
|
@ -552,7 +518,7 @@ extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len);
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 2.0.14.
|
* \since This function is available since SDL 2.0.14.
|
||||||
*
|
*
|
||||||
* \sa SDL_SIMDGetAlignment
|
* \sa SDL_SIMDAlignment
|
||||||
* \sa SDL_SIMDAlloc
|
* \sa SDL_SIMDAlloc
|
||||||
* \sa SDL_SIMDFree
|
* \sa SDL_SIMDFree
|
||||||
*/
|
*/
|
||||||
|
|
31
externals/SDL/include/SDL_endian.h
vendored
31
externals/SDL/include/SDL_endian.h
vendored
|
@ -65,15 +65,6 @@ _m_prefetch(void *__P)
|
||||||
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
#define SDL_BYTEORDER BYTE_ORDER
|
#define SDL_BYTEORDER BYTE_ORDER
|
||||||
/* predefs from newer gcc and clang versions: */
|
|
||||||
#elif defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__BYTE_ORDER__)
|
|
||||||
#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
|
|
||||||
#define SDL_BYTEORDER SDL_LIL_ENDIAN
|
|
||||||
#elif (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
|
|
||||||
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
|
||||||
#else
|
|
||||||
#error Unsupported endianness
|
|
||||||
#endif /**/
|
|
||||||
#else
|
#else
|
||||||
#if defined(__hppa__) || \
|
#if defined(__hppa__) || \
|
||||||
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
||||||
|
@ -87,28 +78,6 @@ _m_prefetch(void *__P)
|
||||||
#endif /* __linux__ */
|
#endif /* __linux__ */
|
||||||
#endif /* !SDL_BYTEORDER */
|
#endif /* !SDL_BYTEORDER */
|
||||||
|
|
||||||
#ifndef SDL_FLOATWORDORDER /* Not defined in SDL_config.h? */
|
|
||||||
/* predefs from newer gcc versions: */
|
|
||||||
#if defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__FLOAT_WORD_ORDER__)
|
|
||||||
#if (__FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__)
|
|
||||||
#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
|
|
||||||
#elif (__FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__)
|
|
||||||
#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
|
|
||||||
#else
|
|
||||||
#error Unsupported endianness
|
|
||||||
#endif /**/
|
|
||||||
#elif defined(__MAVERICK__)
|
|
||||||
/* For Maverick, float words are always little-endian. */
|
|
||||||
#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
|
|
||||||
#elif (defined(__arm__) || defined(__thumb__)) && !defined(__VFP_FP__) && !defined(__ARM_EABI__)
|
|
||||||
/* For FPA, float words are always big-endian. */
|
|
||||||
#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
|
|
||||||
#else
|
|
||||||
/* By default, assume that floats words follow the memory system mode. */
|
|
||||||
#define SDL_FLOATWORDORDER SDL_BYTEORDER
|
|
||||||
#endif /* __FLOAT_WORD_ORDER__ */
|
|
||||||
#endif /* !SDL_FLOATWORDORDER */
|
|
||||||
|
|
||||||
|
|
||||||
#include "begin_code.h"
|
#include "begin_code.h"
|
||||||
/* Set up for C function definitions, even when using C++ */
|
/* Set up for C function definitions, even when using C++ */
|
||||||
|
|
27
externals/SDL/include/SDL_events.h
vendored
27
externals/SDL/include/SDL_events.h
vendored
|
@ -102,7 +102,6 @@ typedef enum
|
||||||
SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an
|
SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an
|
||||||
input language or keyboard layout change.
|
input language or keyboard layout change.
|
||||||
*/
|
*/
|
||||||
SDL_TEXTEDITING_EXT, /**< Extended keyboard text editing (composition) */
|
|
||||||
|
|
||||||
/* Mouse events */
|
/* Mouse events */
|
||||||
SDL_MOUSEMOTION = 0x400, /**< Mouse moved */
|
SDL_MOUSEMOTION = 0x400, /**< Mouse moved */
|
||||||
|
@ -118,7 +117,6 @@ typedef enum
|
||||||
SDL_JOYBUTTONUP, /**< Joystick button released */
|
SDL_JOYBUTTONUP, /**< Joystick button released */
|
||||||
SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */
|
SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */
|
||||||
SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */
|
SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */
|
||||||
SDL_JOYBATTERYUPDATED, /**< Joystick battery level change */
|
|
||||||
|
|
||||||
/* Game controller events */
|
/* Game controller events */
|
||||||
SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */
|
SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */
|
||||||
|
@ -245,19 +243,6 @@ typedef struct SDL_TextEditingEvent
|
||||||
Sint32 length; /**< The length of selected editing text */
|
Sint32 length; /**< The length of selected editing text */
|
||||||
} SDL_TextEditingEvent;
|
} SDL_TextEditingEvent;
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Extended keyboard text editing event structure (event.editExt.*) when text would be
|
|
||||||
* truncated if stored in the text buffer SDL_TextEditingEvent
|
|
||||||
*/
|
|
||||||
typedef struct SDL_TextEditingExtEvent
|
|
||||||
{
|
|
||||||
Uint32 type; /**< ::SDL_TEXTEDITING_EXT */
|
|
||||||
Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
|
|
||||||
Uint32 windowID; /**< The window with keyboard focus, if any */
|
|
||||||
char* text; /**< The editing text, which should be freed with SDL_free(), and will not be NULL */
|
|
||||||
Sint32 start; /**< The start cursor of selected editing text */
|
|
||||||
Sint32 length; /**< The length of selected editing text */
|
|
||||||
} SDL_TextEditingExtEvent;
|
|
||||||
|
|
||||||
#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
|
#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
|
||||||
/**
|
/**
|
||||||
|
@ -396,16 +381,6 @@ typedef struct SDL_JoyDeviceEvent
|
||||||
Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
|
Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
|
||||||
} SDL_JoyDeviceEvent;
|
} SDL_JoyDeviceEvent;
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Joysick battery level change event structure (event.jbattery.*)
|
|
||||||
*/
|
|
||||||
typedef struct SDL_JoyBatteryEvent
|
|
||||||
{
|
|
||||||
Uint32 type; /**< ::SDL_JOYBATTERYUPDATED */
|
|
||||||
Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
|
|
||||||
SDL_JoystickID which; /**< The joystick instance id */
|
|
||||||
SDL_JoystickPowerLevel level; /**< The joystick battery level */
|
|
||||||
} SDL_JoyBatteryEvent;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Game controller axis motion event structure (event.caxis.*)
|
* \brief Game controller axis motion event structure (event.caxis.*)
|
||||||
|
@ -626,7 +601,6 @@ typedef union SDL_Event
|
||||||
SDL_WindowEvent window; /**< Window event data */
|
SDL_WindowEvent window; /**< Window event data */
|
||||||
SDL_KeyboardEvent key; /**< Keyboard event data */
|
SDL_KeyboardEvent key; /**< Keyboard event data */
|
||||||
SDL_TextEditingEvent edit; /**< Text editing event data */
|
SDL_TextEditingEvent edit; /**< Text editing event data */
|
||||||
SDL_TextEditingExtEvent editExt; /**< Extended text editing event data */
|
|
||||||
SDL_TextInputEvent text; /**< Text input event data */
|
SDL_TextInputEvent text; /**< Text input event data */
|
||||||
SDL_MouseMotionEvent motion; /**< Mouse motion event data */
|
SDL_MouseMotionEvent motion; /**< Mouse motion event data */
|
||||||
SDL_MouseButtonEvent button; /**< Mouse button event data */
|
SDL_MouseButtonEvent button; /**< Mouse button event data */
|
||||||
|
@ -636,7 +610,6 @@ typedef union SDL_Event
|
||||||
SDL_JoyHatEvent jhat; /**< Joystick hat event data */
|
SDL_JoyHatEvent jhat; /**< Joystick hat event data */
|
||||||
SDL_JoyButtonEvent jbutton; /**< Joystick button event data */
|
SDL_JoyButtonEvent jbutton; /**< Joystick button event data */
|
||||||
SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */
|
SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */
|
||||||
SDL_JoyBatteryEvent jbattery; /**< Joystick battery event data */
|
|
||||||
SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */
|
SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */
|
||||||
SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */
|
SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */
|
||||||
SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */
|
SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */
|
||||||
|
|
53
externals/SDL/include/SDL_gamecontroller.h
vendored
53
externals/SDL/include/SDL_gamecontroller.h
vendored
|
@ -289,25 +289,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
|
extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implementation dependent path for the game controller.
|
|
||||||
*
|
|
||||||
* This function can be called before any controllers are opened.
|
|
||||||
*
|
|
||||||
* `joystick_index` is the same as the `device_index` passed to
|
|
||||||
* SDL_JoystickOpen().
|
|
||||||
*
|
|
||||||
* \param joystick_index the device_index of a device, from zero to
|
|
||||||
* SDL_NumJoysticks()-1
|
|
||||||
* \returns the implementation-dependent path for the game controller, or NULL
|
|
||||||
* if there is no path or the index is invalid.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*
|
|
||||||
* \sa SDL_GameControllerPath
|
|
||||||
*/
|
|
||||||
extern DECLSPEC const char *SDLCALL SDL_GameControllerPathForIndex(int joystick_index);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the type of a game controller.
|
* Get the type of a game controller.
|
||||||
*
|
*
|
||||||
|
@ -405,23 +386,6 @@ extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromPlayerIndex(in
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
|
extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implementation-dependent path for an opened game controller.
|
|
||||||
*
|
|
||||||
* This is the same path as returned by SDL_GameControllerNameForIndex(), but
|
|
||||||
* it takes a controller identifier instead of the (unstable) device index.
|
|
||||||
*
|
|
||||||
* \param gamecontroller a game controller identifier previously returned by
|
|
||||||
* SDL_GameControllerOpen()
|
|
||||||
* \returns the implementation dependent path for the game controller, or NULL
|
|
||||||
* if there is no path or the identifier passed is invalid.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*
|
|
||||||
* \sa SDL_GameControllerPathForIndex
|
|
||||||
*/
|
|
||||||
extern DECLSPEC const char *SDLCALL SDL_GameControllerPath(SDL_GameController *gamecontroller);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the type of this currently opened controller
|
* Get the type of this currently opened controller
|
||||||
*
|
*
|
||||||
|
@ -493,18 +457,6 @@ extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController *
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);
|
extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the firmware version of an opened controller, if available.
|
|
||||||
*
|
|
||||||
* If the firmware version isn't available this function returns 0.
|
|
||||||
*
|
|
||||||
* \param gamecontroller the game controller object to query.
|
|
||||||
* \return the controller firmware version, or zero if unavailable.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetFirmwareVersion(SDL_GameController *gamecontroller);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the serial number of an opened controller, if available.
|
* Get the serial number of an opened controller, if available.
|
||||||
*
|
*
|
||||||
|
@ -917,9 +869,8 @@ extern DECLSPEC int SDLCALL SDL_GameControllerRumble(SDL_GameController *gamecon
|
||||||
* calling it with 0 intensity stops any rumbling.
|
* calling it with 0 intensity stops any rumbling.
|
||||||
*
|
*
|
||||||
* Note that this is rumbling of the _triggers_ and not the game controller as
|
* Note that this is rumbling of the _triggers_ and not the game controller as
|
||||||
* a whole. This is currently only supported on Xbox One controllers. If you
|
* a whole. The first controller to offer this feature was the PlayStation 5's
|
||||||
* want the (more common) whole-controller rumble, use
|
* DualShock 5.
|
||||||
* SDL_GameControllerRumble() instead.
|
|
||||||
*
|
*
|
||||||
* \param gamecontroller The controller to vibrate
|
* \param gamecontroller The controller to vibrate
|
||||||
* \param left_rumble The intensity of the left trigger rumble motor, from 0
|
* \param left_rumble The intensity of the left trigger rumble motor, from 0
|
||||||
|
|
356
externals/SDL/include/SDL_hints.h
vendored
356
externals/SDL/include/SDL_hints.h
vendored
|
@ -392,14 +392,13 @@ extern "C" {
|
||||||
#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
|
#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling verbosity of the logging of SDL events pushed onto the internal queue.
|
* \brief A variable controlling whether SDL logs all events pushed onto its internal queue.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values, from least to most verbose:
|
* This variable can be set to the following values:
|
||||||
*
|
*
|
||||||
* "0" - Don't log any events (default)
|
* "0" - Don't log any events (default)
|
||||||
* "1" - Log most events (other than the really spammy ones).
|
* "1" - Log all events except mouse and finger motion, which are pretty spammy.
|
||||||
* "2" - Include mouse and finger motion events.
|
* "2" - Log all events.
|
||||||
* "3" - Include SDL_SysWMEvent events.
|
|
||||||
*
|
*
|
||||||
* This is generally meant to be used to debug SDL itself, but can be useful
|
* 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
|
* for application developers that need better visibility into what is going
|
||||||
|
@ -413,19 +412,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_EVENT_LOGGING "SDL_EVENT_LOGGING"
|
#define SDL_HINT_EVENT_LOGGING "SDL_EVENT_LOGGING"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether raising the window should be done more forcefully
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - No forcing (the default)
|
|
||||||
* "1" - Extra level of forcing
|
|
||||||
*
|
|
||||||
* At present, this is only an issue under MS Windows, which makes it nearly impossible to
|
|
||||||
* programmatically move a window to the foreground, for "security" reasons. See
|
|
||||||
* http://stackoverflow.com/a/34414846 for a discussion.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_FORCE_RAISEWINDOW "SDL_HINT_FORCE_RAISEWINDOW"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
|
* \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
|
||||||
*
|
*
|
||||||
|
@ -580,17 +566,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_IME_SHOW_UI "SDL_IME_SHOW_UI"
|
#define SDL_HINT_IME_SHOW_UI "SDL_IME_SHOW_UI"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable to control if extended IME text support is enabled.
|
|
||||||
* If enabled then SDL_TextEditingExtEvent will be issued if the text would be truncated otherwise.
|
|
||||||
* Additionally SDL_TextInputEvent will be dispatched multiple times so that it is not truncated.
|
|
||||||
*
|
|
||||||
* The variable can be set to the following values:
|
|
||||||
* "0" - Legacy behavior. Text can be truncated, no heap allocations. (default)
|
|
||||||
* "1" - Modern behavior.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_IME_SUPPORT_EXTENDED_TEXT "SDL_IME_SUPPORT_EXTENDED_TEXT"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the home indicator bar on iPhone X
|
* \brief A variable controlling whether the home indicator bar on iPhone X
|
||||||
* should be hidden.
|
* should be hidden.
|
||||||
|
@ -637,22 +612,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE "SDL_JOYSTICK_HIDAPI_GAMECUBE"
|
#define SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE "SDL_JOYSTICK_HIDAPI_GAMECUBE"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether "low_frequency_rumble" and "high_frequency_rumble" is used to implement
|
|
||||||
* the GameCube controller's 3 rumble modes, Stop(0), Rumble(1), and StopHard(2)
|
|
||||||
* this is useful for applications that need full compatibility for things like ADSR envelopes.
|
|
||||||
* Stop is implemented by setting "low_frequency_rumble" to "0" and "high_frequency_rumble" ">0"
|
|
||||||
* Rumble is both at any arbitrary value,
|
|
||||||
* StopHard is implemented by setting both "low_frequency_rumble" and "high_frequency_rumble" to "0"
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Normal rumble behavior is behavior is used (default)
|
|
||||||
* "1" - Proper GameCube controller rumble behavior is used
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE "SDL_JOYSTICK_GAMECUBE_RUMBLE_BRAKE"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether Switch Joy-Cons should be treated the same as Switch Pro Controllers when using the HIDAPI driver.
|
* \brief A variable controlling whether Switch Joy-Cons should be treated the same as Switch Pro Controllers when using the HIDAPI driver.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
|
@ -663,7 +623,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS "SDL_JOYSTICK_HIDAPI_JOY_CONS"
|
#define SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS "SDL_JOYSTICK_HIDAPI_JOY_CONS"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the HIDAPI driver for Amazon Luna controllers connected via Bluetooth should be used.
|
* \brief A variable controlling whether the HIDAPI driver for Amazon Luna controllers connected via Bluetooth should be used.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
|
@ -800,16 +760,17 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_HIDAPI_XBOX "SDL_JOYSTICK_HIDAPI_XBOX"
|
#define SDL_HINT_JOYSTICK_HIDAPI_XBOX "SDL_JOYSTICK_HIDAPI_XBOX"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices.
|
* \brief A variable controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
* "0" - RAWINPUT drivers are not used
|
* "0" - RAWINPUT drivers are not used
|
||||||
* "1" - RAWINPUT drivers are used (the default)
|
* "1" - RAWINPUT drivers are used (the default)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_RAWINPUT "SDL_JOYSTICK_RAWINPUT"
|
#define SDL_HINT_JOYSTICK_RAWINPUT "SDL_JOYSTICK_RAWINPUT"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the RAWINPUT driver should pull correlated data from XInput.
|
* \brief A variable controlling whether the RAWINPUT driver should pull correlated data from XInput.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
|
@ -822,16 +783,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"
|
#define SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the ROG Chakram mice should show up as joysticks
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - ROG Chakram mice do not show up as joysticks (the default)
|
|
||||||
* "1" - ROG Chakram mice show up as joysticks
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_JOYSTICK_ROG_CHAKRAM "SDL_JOYSTICK_ROG_CHAKRAM"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether a separate thread should be used
|
* \brief A variable controlling whether a separate thread should be used
|
||||||
* for handling joystick detection and raw input messages on Windows
|
* for handling joystick detection and raw input messages on Windows
|
||||||
*
|
*
|
||||||
|
@ -865,32 +817,14 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER "SDL_KMSDRM_REQUIRE_DRM_MASTER"
|
#define SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER "SDL_KMSDRM_REQUIRE_DRM_MASTER"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A comma separated list of devices to open as joysticks
|
* \brief A comma separated list of devices to open as joysticks
|
||||||
*
|
*
|
||||||
* This variable is currently only used by the Linux joystick driver.
|
* This variable is currently only used by the Linux joystick driver.
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_JOYSTICK_DEVICE "SDL_JOYSTICK_DEVICE"
|
#define SDL_HINT_JOYSTICK_DEVICE "SDL_JOYSTICK_DEVICE"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether joysticks on Linux will always treat 'hat' axis inputs (ABS_HAT0X - ABS_HAT3Y) as 8-way digital hats without checking whether they may be analog.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Only map hat axis inputs to digital hat outputs if the input axes appear to actually be digital (the default)
|
|
||||||
* "1" - Always handle the input axes numbered ABS_HAT0X to ABS_HAT3Y as digital hats
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_LINUX_DIGITAL_HATS "SDL_LINUX_DIGITAL_HATS"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether digital hats on Linux will apply deadzones to their underlying input axes or use unfiltered values.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Return digital hat values based on unfiltered input axis values
|
|
||||||
* "1" - Return digital hat values with deadzones on the input axes taken into account (the default)
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_LINUX_HAT_DEADZONES "SDL_LINUX_HAT_DEADZONES"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether to use the classic /dev/input/js* joystick interface or the newer /dev/input/event* joystick interface on Linux
|
* \brief A variable controlling whether to use the classic /dev/input/js* joystick interface or the newer /dev/input/event* joystick interface on Linux
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
|
@ -901,7 +835,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_LINUX_JOYSTICK_CLASSIC "SDL_LINUX_JOYSTICK_CLASSIC"
|
#define SDL_HINT_LINUX_JOYSTICK_CLASSIC "SDL_LINUX_JOYSTICK_CLASSIC"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether joysticks on Linux adhere to their HID-defined deadzones or return unfiltered values.
|
* \brief A variable controlling whether joysticks on Linux adhere to their HID-defined deadzones or return unfiltered values.
|
||||||
*
|
*
|
||||||
* This variable can be set to the following values:
|
* This variable can be set to the following values:
|
||||||
|
@ -952,22 +886,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE "SDL_MOUSE_NORMAL_SPEED_SCALE"
|
#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE "SDL_MOUSE_NORMAL_SPEED_SCALE"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether relative mouse mode constrains the mouse to the center of the window
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Relative mouse mode constrains the mouse to the window
|
|
||||||
* "1" - Relative mouse mode constrains the mouse to the center of the window
|
|
||||||
*
|
|
||||||
* Constraining to the center of the window works better for FPS games and when the
|
|
||||||
* application is running over RDP. Constraining to the whole window works better
|
|
||||||
* for 2D games and increases the chance that the mouse will be in the correct
|
|
||||||
* position when using high DPI mice.
|
|
||||||
*
|
|
||||||
* By default SDL will constrain the mouse to the center of the window
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_MOUSE_RELATIVE_MODE_CENTER "SDL_MOUSE_RELATIVE_MODE_CENTER"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether relative mouse mode is implemented using mouse warping
|
* \brief A variable controlling whether relative mouse mode is implemented using mouse warping
|
||||||
*
|
*
|
||||||
|
@ -1004,19 +922,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"
|
#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether the mouse is captured while mouse buttons are pressed
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - The mouse is not captured while mouse buttons are pressed
|
|
||||||
* "1" - The mouse is captured while mouse buttons are pressed
|
|
||||||
*
|
|
||||||
* By default the mouse is captured while mouse buttons are pressed so if the mouse is dragged
|
|
||||||
* outside the window, the application continues to receive mouse events until the button is
|
|
||||||
* released.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_MOUSE_AUTO_CAPTURE "SDL_MOUSE_AUTO_CAPTURE"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
|
* \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
|
||||||
*
|
*
|
||||||
|
@ -1200,8 +1105,6 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* This variable is case insensitive and can be set to the following values:
|
* This variable is case insensitive and can be set to the following values:
|
||||||
* "direct3d"
|
* "direct3d"
|
||||||
* "direct3d11"
|
|
||||||
* "direct3d12"
|
|
||||||
* "opengl"
|
* "opengl"
|
||||||
* "opengles2"
|
* "opengles2"
|
||||||
* "opengles"
|
* "opengles"
|
||||||
|
@ -1258,7 +1161,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC"
|
#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable to control whether the return key on the soft keyboard
|
* \brief A variable to control whether the return key on the soft keyboard
|
||||||
* should hide the soft keyboard on Android and iOS.
|
* should hide the soft keyboard on Android and iOS.
|
||||||
*
|
*
|
||||||
|
@ -1375,18 +1278,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS"
|
#define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling which touchpad should generate synthetic mouse events
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Only front touchpad should generate mouse events. Default
|
|
||||||
* "1" - Only back touchpad should generate mouse events.
|
|
||||||
* "2" - Both touchpads should generate mouse events.
|
|
||||||
*
|
|
||||||
* By default SDL will generate mouse events for all touch devices
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_HINT_VITA_TOUCH_MOUSE_DEVICE"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the Android / tvOS remotes
|
* \brief A variable controlling whether the Android / tvOS remotes
|
||||||
* should be listed as joystick devices, instead of sending keyboard events.
|
* should be listed as joystick devices, instead of sending keyboard events.
|
||||||
|
@ -1471,7 +1362,9 @@ extern "C" {
|
||||||
* SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
|
* SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
|
||||||
* button on their titlebars).
|
* button on their titlebars).
|
||||||
*
|
*
|
||||||
* The default value is "1". This hint must be set before any windows are created.
|
* The default value is "1". Spaces are disabled regardless of this hint if
|
||||||
|
* the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
|
||||||
|
* any windows are created.
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
|
#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
|
||||||
|
|
||||||
|
@ -1494,35 +1387,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"
|
#define SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether the libdecor Wayland backend is preferred over native decrations.
|
|
||||||
*
|
|
||||||
* When this hint is set, libdecor will be used to provide window decorations, even if xdg-decoration is
|
|
||||||
* available. (Note that, by default, libdecor will use xdg-decoration itself if available).
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - libdecor is enabled only if server-side decorations are unavailable.
|
|
||||||
* "1" - libdecor is always enabled if available.
|
|
||||||
*
|
|
||||||
* libdecor is used over xdg-shell when xdg-decoration protocol is unavailable.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR "SDL_VIDEO_WAYLAND_PREFER_LIBDECOR"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable controlling whether video mode emulation is enabled under Wayland.
|
|
||||||
*
|
|
||||||
* When this hint is set, a standard set of emulated CVT video modes will be exposed for use by the application.
|
|
||||||
* If it is disabled, the only modes exposed will be the logical desktop size and, in the case of a scaled
|
|
||||||
* desktop, the native display resolution.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Video mode emulation is disabled.
|
|
||||||
* "1" - Video mode emulation is enabled.
|
|
||||||
*
|
|
||||||
* By default video mode emulation is enabled.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION "SDL_VIDEO_WAYLAND_MODE_EMULATION"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").
|
* \brief A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").
|
||||||
*
|
*
|
||||||
|
@ -1542,28 +1406,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
|
#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief When calling SDL_CreateWindowFrom(), make the window compatible with OpenGL.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Don't add any graphics flags to the SDL_WindowFlags
|
|
||||||
* "1" - Add SDL_WINDOW_OPENGL to the SDL_WindowFlags
|
|
||||||
*
|
|
||||||
* By default SDL will not make the foreign window compatible with OpenGL.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL "SDL_VIDEO_FOREIGN_WINDOW_OPENGL"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief When calling SDL_CreateWindowFrom(), make the window compatible with Vulkan.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - Don't add any graphics flags to the SDL_WindowFlags
|
|
||||||
* "1" - Add SDL_WINDOW_VULKAN to the SDL_WindowFlags
|
|
||||||
*
|
|
||||||
* By default SDL will not make the foreign window compatible with Vulkan.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN "SDL_VIDEO_FOREIGN_WINDOW_VULKAN"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
|
* \brief A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
|
||||||
*
|
*
|
||||||
|
@ -1624,11 +1466,13 @@ extern "C" {
|
||||||
#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"
|
#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A no-longer-used variable controlling whether the X11 Xinerama extension should be used.
|
* \brief A variable controlling whether the X11 Xinerama extension should be used.
|
||||||
*
|
*
|
||||||
* Before SDL 2.0.24, this would let apps and users disable Xinerama support on X11.
|
* This variable can be set to the following values:
|
||||||
* Now SDL never uses Xinerama, and does not check for this hint at all.
|
* "0" - Disable Xinerama
|
||||||
* The preprocessor define is left here for source compatibility.
|
* "1" - Enable Xinerama
|
||||||
|
*
|
||||||
|
* By default SDL will use Xinerama if it is available.
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA"
|
#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA"
|
||||||
|
|
||||||
|
@ -1639,16 +1483,18 @@ extern "C" {
|
||||||
* "0" - Disable XRandR
|
* "0" - Disable XRandR
|
||||||
* "1" - Enable XRandR
|
* "1" - Enable XRandR
|
||||||
*
|
*
|
||||||
* By default SDL will use XRandR.
|
* By default SDL will not use XRandR because of window manager issues.
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"
|
#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A no-longer-used variable controlling whether the X11 VidMode extension should be used.
|
* \brief A variable controlling whether the X11 VidMode extension should be used.
|
||||||
*
|
*
|
||||||
* Before SDL 2.0.24, this would let apps and users disable XVidMode support on X11.
|
* This variable can be set to the following values:
|
||||||
* Now SDL never uses XVidMode, and does not check for this hint at all.
|
* "0" - Disable XVidMode
|
||||||
* The preprocessor define is left here for source compatibility.
|
* "1" - Enable XVidMode
|
||||||
|
*
|
||||||
|
* By default SDL will use XVidMode if it is available.
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE"
|
#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE"
|
||||||
|
|
||||||
|
@ -1808,57 +1654,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_WINDOWS_USE_D3D9EX "SDL_WINDOWS_USE_D3D9EX"
|
#define SDL_HINT_WINDOWS_USE_D3D9EX "SDL_WINDOWS_USE_D3D9EX"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Controls whether SDL will declare the process to be DPI aware.
|
|
||||||
*
|
|
||||||
* This hint must be set before initializing the video subsystem.
|
|
||||||
*
|
|
||||||
* The main purpose of declaring DPI awareness is to disable OS bitmap scaling of SDL windows on monitors with
|
|
||||||
* a DPI scale factor.
|
|
||||||
*
|
|
||||||
* This hint is equivalent to requesting DPI awareness via external means (e.g. calling SetProcessDpiAwarenessContext)
|
|
||||||
* and does not cause SDL to use a virtualized coordinate system, so it will generally give you 1 SDL coordinate = 1 pixel
|
|
||||||
* even on high-DPI displays.
|
|
||||||
*
|
|
||||||
* For more information, see:
|
|
||||||
* https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "" - Do not change the DPI awareness (default).
|
|
||||||
* "unaware" - Declare the process as DPI unaware. (Windows 8.1 and later).
|
|
||||||
* "system" - Request system DPI awareness. (Vista and later).
|
|
||||||
* "permonitor" - Request per-monitor DPI awareness. (Windows 8.1 and later).
|
|
||||||
* "permonitorv2" - Request per-monitor V2 DPI awareness. (Windows 10, version 1607 and later).
|
|
||||||
* The most visible difference from "permonitor" is that window title bar will be scaled
|
|
||||||
* to the visually correct size when dragging between monitors with different scale factors.
|
|
||||||
* This is the preferred DPI awareness level.
|
|
||||||
*
|
|
||||||
* If the requested DPI awareness is not available on the currently running OS, SDL will try to request the best
|
|
||||||
* available match.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_WINDOWS_DPI_AWARENESS "SDL_WINDOWS_DPI_AWARENESS"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Uses DPI-scaled points as the SDL coordinate system on Windows.
|
|
||||||
*
|
|
||||||
* This changes the SDL coordinate system units to be DPI-scaled points, rather than pixels everywhere.
|
|
||||||
* This means windows will be appropriately sized, even when created on high-DPI displays with scaling.
|
|
||||||
*
|
|
||||||
* e.g. requesting a 640x480 window from SDL, on a display with 125% scaling in Windows display settings,
|
|
||||||
* will create a window with an 800x600 client area (in pixels).
|
|
||||||
*
|
|
||||||
* Setting this to "1" implicitly requests process DPI awareness (setting SDL_WINDOWS_DPI_AWARENESS is unnecessary),
|
|
||||||
* and forces SDL_WINDOW_ALLOW_HIGHDPI on all windows.
|
|
||||||
*
|
|
||||||
* This variable can be set to the following values:
|
|
||||||
* "0" - SDL coordinates equal Windows coordinates. No automatic window resizing when dragging
|
|
||||||
* between monitors with different scale factors (unless this is performed by
|
|
||||||
* Windows itself, which is the case when the process is DPI unaware).
|
|
||||||
* "1" - SDL coordinates are in DPI-scaled points. Automatically resize windows as needed on
|
|
||||||
* displays with non-100% scale factors.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_WINDOWS_DPI_SCALING "SDL_WINDOWS_DPI_SCALING"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief A variable controlling whether the window frame and title bar are interactive when the cursor is hidden
|
* \brief A variable controlling whether the window frame and title bar are interactive when the cursor is hidden
|
||||||
*
|
*
|
||||||
|
@ -2029,97 +1824,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_AUDIO_INCLUDE_MONITORS "SDL_AUDIO_INCLUDE_MONITORS"
|
#define SDL_HINT_AUDIO_INCLUDE_MONITORS "SDL_AUDIO_INCLUDE_MONITORS"
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable that forces X11 windows to create as a custom type.
|
|
||||||
*
|
|
||||||
* This is currently only used for X11 and ignored elsewhere.
|
|
||||||
*
|
|
||||||
* During SDL_CreateWindow, SDL uses the _NET_WM_WINDOW_TYPE X11 property
|
|
||||||
* to report to the window manager the type of window it wants to create.
|
|
||||||
* This might be set to various things if SDL_WINDOW_TOOLTIP or
|
|
||||||
* SDL_WINDOW_POPUP_MENU, etc, were specified. For "normal" windows that
|
|
||||||
* haven't set a specific type, this hint can be used to specify a custom
|
|
||||||
* type. For example, a dock window might set this to
|
|
||||||
* "_NET_WM_WINDOW_TYPE_DOCK".
|
|
||||||
*
|
|
||||||
* If not set or set to "", this hint is ignored. This hint must be set
|
|
||||||
* before the SDL_CreateWindow() call that it is intended to affect.
|
|
||||||
*
|
|
||||||
* This hint is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_X11_WINDOW_TYPE "SDL_X11_WINDOW_TYPE"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable that decides whether to send SDL_QUIT when closing the final window.
|
|
||||||
*
|
|
||||||
* By default, SDL sends an SDL_QUIT event when there is only one window
|
|
||||||
* and it receives an SDL_WINDOWEVENT_CLOSE event, under the assumption most
|
|
||||||
* apps would also take the loss of this window as a signal to terminate the
|
|
||||||
* program.
|
|
||||||
*
|
|
||||||
* However, it's not unreasonable in some cases to have the program continue
|
|
||||||
* to live on, perhaps to create new windows later.
|
|
||||||
*
|
|
||||||
* Changing this hint to "0" will cause SDL to not send an SDL_QUIT event
|
|
||||||
* when the final window is requesting to close. Note that in this case,
|
|
||||||
* there are still other legitimate reasons one might get an SDL_QUIT
|
|
||||||
* event: choosing "Quit" from the macOS menu bar, sending a SIGINT (ctrl-c)
|
|
||||||
* on Unix, etc.
|
|
||||||
*
|
|
||||||
* The default value is "1". This hint can be changed at any time.
|
|
||||||
*
|
|
||||||
* This hint is available since SDL 2.0.22. Before then, you always get
|
|
||||||
* an SDL_QUIT event when closing the final window.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE "SDL_QUIT_ON_LAST_WINDOW_CLOSE"
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable that decides what video backend to use.
|
|
||||||
*
|
|
||||||
* By default, SDL will try all available video backends in a reasonable
|
|
||||||
* order until it finds one that can work, but this hint allows the app
|
|
||||||
* or user to force a specific target, such as "x11" if, say, you are
|
|
||||||
* on Wayland but want to try talking to the X server instead.
|
|
||||||
*
|
|
||||||
* This functionality has existed since SDL 2.0.0 (indeed, before that)
|
|
||||||
* but before 2.0.22 this was an environment variable only. In 2.0.22,
|
|
||||||
* it was upgraded to a full SDL hint, so you can set the environment
|
|
||||||
* variable as usual or programatically set the hint with SDL_SetHint,
|
|
||||||
* which won't propagate to child processes.
|
|
||||||
*
|
|
||||||
* The default value is unset, in which case SDL will try to figure out
|
|
||||||
* the best video backend on your behalf. This hint needs to be set
|
|
||||||
* before SDL_Init() is called to be useful.
|
|
||||||
*
|
|
||||||
* This hint is available since SDL 2.0.22. Before then, you could set
|
|
||||||
* the environment variable to get the same effect.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_VIDEODRIVER "SDL_VIDEODRIVER"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief A variable that decides what audio backend to use.
|
|
||||||
*
|
|
||||||
* By default, SDL will try all available audio backends in a reasonable
|
|
||||||
* order until it finds one that can work, but this hint allows the app
|
|
||||||
* or user to force a specific target, such as "alsa" if, say, you are
|
|
||||||
* on PulseAudio but want to try talking to the lower level instead.
|
|
||||||
*
|
|
||||||
* This functionality has existed since SDL 2.0.0 (indeed, before that)
|
|
||||||
* but before 2.0.22 this was an environment variable only. In 2.0.22,
|
|
||||||
* it was upgraded to a full SDL hint, so you can set the environment
|
|
||||||
* variable as usual or programatically set the hint with SDL_SetHint,
|
|
||||||
* which won't propagate to child processes.
|
|
||||||
*
|
|
||||||
* The default value is unset, in which case SDL will try to figure out
|
|
||||||
* the best audio backend on your behalf. This hint needs to be set
|
|
||||||
* before SDL_Init() is called to be useful.
|
|
||||||
*
|
|
||||||
* This hint is available since SDL 2.0.22. Before then, you could set
|
|
||||||
* the environment variable to get the same effect.
|
|
||||||
*/
|
|
||||||
#define SDL_HINT_AUDIODRIVER "SDL_AUDIODRIVER"
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief An enumeration of hint priorities
|
* \brief An enumeration of hint priorities
|
||||||
|
|
103
externals/SDL/include/SDL_joystick.h
vendored
103
externals/SDL/include/SDL_joystick.h
vendored
|
@ -43,7 +43,6 @@
|
||||||
|
|
||||||
#include "SDL_stdinc.h"
|
#include "SDL_stdinc.h"
|
||||||
#include "SDL_error.h"
|
#include "SDL_error.h"
|
||||||
#include "SDL_guid.h"
|
|
||||||
|
|
||||||
#include "begin_code.h"
|
#include "begin_code.h"
|
||||||
/* Set up for C function definitions, even when using C++ */
|
/* Set up for C function definitions, even when using C++ */
|
||||||
|
@ -70,7 +69,9 @@ struct _SDL_Joystick;
|
||||||
typedef struct _SDL_Joystick SDL_Joystick;
|
typedef struct _SDL_Joystick SDL_Joystick;
|
||||||
|
|
||||||
/* A structure that encodes the stable unique id for a joystick device */
|
/* A structure that encodes the stable unique id for a joystick device */
|
||||||
typedef SDL_GUID SDL_JoystickGUID;
|
typedef struct {
|
||||||
|
Uint8 data[16];
|
||||||
|
} SDL_JoystickGUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a unique ID for a joystick for the time it is connected to the system,
|
* This is a unique ID for a joystick for the time it is connected to the system,
|
||||||
|
@ -152,7 +153,6 @@ extern DECLSPEC void SDLCALL SDL_UnlockJoysticks(void);
|
||||||
* \since This function is available since SDL 2.0.0.
|
* \since This function is available since SDL 2.0.0.
|
||||||
*
|
*
|
||||||
* \sa SDL_JoystickName
|
* \sa SDL_JoystickName
|
||||||
* \sa SDL_JoystickPath
|
|
||||||
* \sa SDL_JoystickOpen
|
* \sa SDL_JoystickOpen
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
|
extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
|
||||||
|
@ -174,23 +174,6 @@ extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
|
extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implementation dependent path of a joystick.
|
|
||||||
*
|
|
||||||
* This can be called before any joysticks are opened.
|
|
||||||
*
|
|
||||||
* \param device_index the index of the joystick to query (the N'th joystick
|
|
||||||
* on the system)
|
|
||||||
* \returns the path of the selected joystick. If no path can be found, this
|
|
||||||
* function returns NULL; call SDL_GetError() for more information.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*
|
|
||||||
* \sa SDL_JoystickPath
|
|
||||||
* \sa SDL_JoystickOpen
|
|
||||||
*/
|
|
||||||
extern DECLSPEC const char *SDLCALL SDL_JoystickPathForIndex(int device_index);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the player index of a joystick, or -1 if it's not available This can be
|
* Get the player index of a joystick, or -1 if it's not available This can be
|
||||||
* called before any joysticks are opened.
|
* called before any joysticks are opened.
|
||||||
|
@ -347,54 +330,6 @@ extern DECLSPEC int SDLCALL SDL_JoystickAttachVirtual(SDL_JoystickType type,
|
||||||
int nbuttons,
|
int nbuttons,
|
||||||
int nhats);
|
int nhats);
|
||||||
|
|
||||||
/**
|
|
||||||
* The structure that defines an extended virtual joystick description
|
|
||||||
*
|
|
||||||
* The caller must zero the structure and then initialize the version with `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` before passing it to SDL_JoystickAttachVirtualEx()
|
|
||||||
* All other elements of this structure are optional and can be left 0.
|
|
||||||
*
|
|
||||||
* \sa SDL_JoystickAttachVirtualEx
|
|
||||||
*/
|
|
||||||
typedef struct SDL_VirtualJoystickDesc
|
|
||||||
{
|
|
||||||
Uint16 version; /**< `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` */
|
|
||||||
Uint16 type; /**< `SDL_JoystickType` */
|
|
||||||
Uint16 naxes; /**< the number of axes on this joystick */
|
|
||||||
Uint16 nbuttons; /**< the number of buttons on this joystick */
|
|
||||||
Uint16 nhats; /**< the number of hats on this joystick */
|
|
||||||
Uint16 vendor_id; /**< the USB vendor ID of this joystick */
|
|
||||||
Uint16 product_id; /**< the USB product ID of this joystick */
|
|
||||||
Uint16 padding; /**< unused */
|
|
||||||
Uint32 button_mask; /**< A mask of which buttons are valid for this controller
|
|
||||||
e.g. (1 << SDL_CONTROLLER_BUTTON_A) */
|
|
||||||
Uint32 axis_mask; /**< A mask of which axes are valid for this controller
|
|
||||||
e.g. (1 << SDL_CONTROLLER_AXIS_LEFTX) */
|
|
||||||
const char *name; /**< the name of the joystick */
|
|
||||||
|
|
||||||
void *userdata; /**< User data pointer passed to callbacks */
|
|
||||||
void (SDLCALL *Update)(void *userdata); /**< Called when the joystick state should be updated */
|
|
||||||
void (SDLCALL *SetPlayerIndex)(void *userdata, int player_index); /**< Called when the player index is set */
|
|
||||||
int (SDLCALL *Rumble)(void *userdata, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble); /**< Implements SDL_JoystickRumble() */
|
|
||||||
int (SDLCALL *RumbleTriggers)(void *userdata, Uint16 left_rumble, Uint16 right_rumble); /**< Implements SDL_JoystickRumbleTriggers() */
|
|
||||||
int (SDLCALL *SetLED)(void *userdata, Uint8 red, Uint8 green, Uint8 blue); /**< Implements SDL_JoystickSetLED() */
|
|
||||||
int (SDLCALL *SendEffect)(void *userdata, const void *data, int size); /**< Implements SDL_JoystickSendEffect() */
|
|
||||||
|
|
||||||
} SDL_VirtualJoystickDesc;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief The current version of the SDL_VirtualJoystickDesc structure
|
|
||||||
*/
|
|
||||||
#define SDL_VIRTUAL_JOYSTICK_DESC_VERSION 1
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Attach a new virtual joystick with extended properties.
|
|
||||||
*
|
|
||||||
* \returns the joystick's device index, or -1 if an error occurred.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC int SDLCALL SDL_JoystickAttachVirtualEx(const SDL_VirtualJoystickDesc *desc);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Detach a virtual joystick.
|
* Detach a virtual joystick.
|
||||||
*
|
*
|
||||||
|
@ -484,19 +419,6 @@ extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualHat(SDL_Joystick *joystick, in
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick *joystick);
|
extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick *joystick);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the implementation dependent path of a joystick.
|
|
||||||
*
|
|
||||||
* \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()
|
|
||||||
* \returns the path of the selected joystick. If no path can be found, this
|
|
||||||
* function returns NULL; call SDL_GetError() for more information.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*
|
|
||||||
* \sa SDL_JoystickPathForIndex
|
|
||||||
*/
|
|
||||||
extern DECLSPEC const char *SDLCALL SDL_JoystickPath(SDL_Joystick *joystick);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the player index of an opened joystick.
|
* Get the player index of an opened joystick.
|
||||||
*
|
*
|
||||||
|
@ -573,19 +495,6 @@ extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick *joystick);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick *joystick);
|
extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick *joystick);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the firmware version of an opened joystick, if available.
|
|
||||||
*
|
|
||||||
* If the firmware version isn't available this function returns 0.
|
|
||||||
*
|
|
||||||
* \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()
|
|
||||||
* \returns the firmware version of the selected joystick, or 0 if
|
|
||||||
* unavailable.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.24.0.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetFirmwareVersion(SDL_Joystick *joystick);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the serial number of an opened joystick, if available.
|
* Get the serial number of an opened joystick, if available.
|
||||||
*
|
*
|
||||||
|
@ -920,9 +829,9 @@ extern DECLSPEC int SDLCALL SDL_JoystickRumble(SDL_Joystick *joystick, Uint16 lo
|
||||||
* Each call to this function cancels any previous trigger rumble effect, and
|
* Each call to this function cancels any previous trigger rumble effect, and
|
||||||
* calling it with 0 intensity stops any rumbling.
|
* calling it with 0 intensity stops any rumbling.
|
||||||
*
|
*
|
||||||
* Note that this is rumbling of the _triggers_ and not the game controller as
|
* Note that this function is for _trigger_ rumble; the first joystick to
|
||||||
* a whole. This is currently only supported on Xbox One controllers. If you
|
* support this was the PlayStation 5's DualShock 5 controller. If you want
|
||||||
* want the (more common) whole-controller rumble, use SDL_JoystickRumble()
|
* the (more common) whole-controller rumble, use SDL_JoystickRumble()
|
||||||
* instead.
|
* instead.
|
||||||
*
|
*
|
||||||
* \param joystick The joystick to vibrate
|
* \param joystick The joystick to vibrate
|
||||||
|
|
21
externals/SDL/include/SDL_keyboard.h
vendored
21
externals/SDL/include/SDL_keyboard.h
vendored
|
@ -268,30 +268,9 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void);
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
|
extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
|
||||||
|
|
||||||
/**
|
|
||||||
* Dismiss the composition window/IME without disabling the subsystem.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*
|
|
||||||
* \sa SDL_StartTextInput
|
|
||||||
* \sa SDL_StopTextInput
|
|
||||||
*/
|
|
||||||
extern DECLSPEC void SDLCALL SDL_ClearComposition(void);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns if an IME Composite or Candidate window is currently shown.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputShown(void);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the rectangle used to type Unicode text inputs.
|
* Set the rectangle used to type Unicode text inputs.
|
||||||
*
|
*
|
||||||
* Note: If you want use system native IME window, try to set hint
|
|
||||||
* **SDL_HINT_IME_SHOW_UI** to **1**, otherwise this function won't give you
|
|
||||||
* any feedback.
|
|
||||||
*
|
|
||||||
* \param rect the SDL_Rect structure representing the rectangle to receive
|
* \param rect the SDL_Rect structure representing the rectangle to receive
|
||||||
* text (ignored if NULL)
|
* text (ignored if NULL)
|
||||||
*
|
*
|
||||||
|
|
7
externals/SDL/include/SDL_keycode.h
vendored
7
externals/SDL/include/SDL_keycode.h
vendored
|
@ -318,12 +318,7 @@ typedef enum
|
||||||
SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
|
SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
|
||||||
|
|
||||||
SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
|
SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
|
||||||
SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD),
|
SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)
|
||||||
|
|
||||||
SDLK_SOFTLEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTLEFT),
|
|
||||||
SDLK_SOFTRIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT),
|
|
||||||
SDLK_CALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL),
|
|
||||||
SDLK_ENDCALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)
|
|
||||||
} SDL_KeyCode;
|
} SDL_KeyCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
4
externals/SDL/include/SDL_log.h
vendored
4
externals/SDL/include/SDL_log.h
vendored
|
@ -47,9 +47,9 @@ extern "C" {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief The maximum size of a log message prior to SDL 2.0.24
|
* \brief The maximum size of a log message
|
||||||
*
|
*
|
||||||
* As of 2.0.24 there is no limit to the length of SDL log messages.
|
* Messages longer than the maximum size will be truncated
|
||||||
*/
|
*/
|
||||||
#define SDL_MAX_LOG_MESSAGE 4096
|
#define SDL_MAX_LOG_MESSAGE 4096
|
||||||
|
|
||||||
|
|
1
externals/SDL/include/SDL_metal.h
vendored
1
externals/SDL/include/SDL_metal.h
vendored
|
@ -92,7 +92,6 @@ extern DECLSPEC void *SDLCALL SDL_Metal_GetLayer(SDL_MetalView view);
|
||||||
*
|
*
|
||||||
* \param window SDL_Window from which the drawable size should be queried
|
* \param window SDL_Window from which the drawable size should be queried
|
||||||
* \param w Pointer to variable for storing the width in pixels, may be NULL
|
* \param w Pointer to variable for storing the width in pixels, may be NULL
|
||||||
* \param h Pointer to variable for storing the height in pixels, may be NULL
|
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 2.0.14.
|
* \since This function is available since SDL 2.0.14.
|
||||||
*
|
*
|
||||||
|
|
17
externals/SDL/include/SDL_platform.h
vendored
17
externals/SDL/include/SDL_platform.h
vendored
|
@ -65,15 +65,11 @@
|
||||||
#undef __LINUX__ /* do we need to do this? */
|
#undef __LINUX__ /* do we need to do this? */
|
||||||
#define __ANDROID__ 1
|
#define __ANDROID__ 1
|
||||||
#endif
|
#endif
|
||||||
#if defined(__NGAGE__)
|
|
||||||
#undef __NGAGE__
|
|
||||||
#define __NGAGE__ 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
/* lets us know what version of Mac OS X we're compiling on */
|
/* lets us know what version of Mac OS X we're compiling on */
|
||||||
#include <AvailabilityMacros.h>
|
#include "AvailabilityMacros.h"
|
||||||
#include <TargetConditionals.h>
|
#include "TargetConditionals.h"
|
||||||
|
|
||||||
/* Fix building with older SDKs that don't define these
|
/* Fix building with older SDKs that don't define these
|
||||||
See this for more information:
|
See this for more information:
|
||||||
|
@ -108,9 +104,9 @@
|
||||||
/* if not compiling for iOS */
|
/* if not compiling for iOS */
|
||||||
#undef __MACOSX__
|
#undef __MACOSX__
|
||||||
#define __MACOSX__ 1
|
#define __MACOSX__ 1
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
||||||
# error SDL for Mac OS X only supports deploying on 10.7 and above.
|
# error SDL for Mac OS X only supports deploying on 10.6 and above.
|
||||||
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1070 */
|
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
|
||||||
#endif /* TARGET_OS_IPHONE */
|
#endif /* TARGET_OS_IPHONE */
|
||||||
#endif /* defined(__APPLE__) */
|
#endif /* defined(__APPLE__) */
|
||||||
|
|
||||||
|
@ -183,9 +179,6 @@
|
||||||
#undef __PSP__
|
#undef __PSP__
|
||||||
#define __PSP__ 1
|
#define __PSP__ 1
|
||||||
#endif
|
#endif
|
||||||
#if defined(PS2)
|
|
||||||
#define __PS2__ 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The NACL compiler defines __native_client__ and __pnacl__
|
/* The NACL compiler defines __native_client__ and __pnacl__
|
||||||
* Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
|
* Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
|
||||||
|
|
156
externals/SDL/include/SDL_rect.h
vendored
156
externals/SDL/include/SDL_rect.h
vendored
|
@ -54,8 +54,8 @@ typedef struct SDL_Point
|
||||||
/**
|
/**
|
||||||
* The structure that defines a point (floating point)
|
* The structure that defines a point (floating point)
|
||||||
*
|
*
|
||||||
* \sa SDL_EncloseFPoints
|
* \sa SDL_EnclosePoints
|
||||||
* \sa SDL_PointInFRect
|
* \sa SDL_PointInRect
|
||||||
*/
|
*/
|
||||||
typedef struct SDL_FPoint
|
typedef struct SDL_FPoint
|
||||||
{
|
{
|
||||||
|
@ -71,7 +71,6 @@ typedef struct SDL_FPoint
|
||||||
* \sa SDL_RectEquals
|
* \sa SDL_RectEquals
|
||||||
* \sa SDL_HasIntersection
|
* \sa SDL_HasIntersection
|
||||||
* \sa SDL_IntersectRect
|
* \sa SDL_IntersectRect
|
||||||
* \sa SDL_IntersectRectAndLine
|
|
||||||
* \sa SDL_UnionRect
|
* \sa SDL_UnionRect
|
||||||
* \sa SDL_EnclosePoints
|
* \sa SDL_EnclosePoints
|
||||||
*/
|
*/
|
||||||
|
@ -84,16 +83,6 @@ typedef struct SDL_Rect
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A rectangle, with the origin at the upper left (floating point).
|
* A rectangle, with the origin at the upper left (floating point).
|
||||||
*
|
|
||||||
* \sa SDL_FRectEmpty
|
|
||||||
* \sa SDL_FRectEquals
|
|
||||||
* \sa SDL_FRectEqualsEpsilon
|
|
||||||
* \sa SDL_HasIntersectionF
|
|
||||||
* \sa SDL_IntersectFRect
|
|
||||||
* \sa SDL_IntersectFRectAndLine
|
|
||||||
* \sa SDL_UnionFRect
|
|
||||||
* \sa SDL_EncloseFPoints
|
|
||||||
* \sa SDL_PointInFRect
|
|
||||||
*/
|
*/
|
||||||
typedef struct SDL_FRect
|
typedef struct SDL_FRect
|
||||||
{
|
{
|
||||||
|
@ -224,147 +213,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect *
|
||||||
int *Y1, int *X2,
|
int *Y1, int *X2,
|
||||||
int *Y2);
|
int *Y2);
|
||||||
|
|
||||||
|
|
||||||
/* SDL_FRect versions... */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if point resides inside a rectangle.
|
|
||||||
*/
|
|
||||||
SDL_FORCE_INLINE SDL_bool SDL_PointInFRect(const SDL_FPoint *p, const SDL_FRect *r)
|
|
||||||
{
|
|
||||||
return ( (p->x >= r->x) && (p->x < (r->x + r->w)) &&
|
|
||||||
(p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if the rectangle has no area.
|
|
||||||
*/
|
|
||||||
SDL_FORCE_INLINE SDL_bool SDL_FRectEmpty(const SDL_FRect *r)
|
|
||||||
{
|
|
||||||
return ((!r) || (r->w <= 0.0f) || (r->h <= 0.0f)) ? SDL_TRUE : SDL_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if the two rectangles are equal, within some given epsilon.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
SDL_FORCE_INLINE SDL_bool SDL_FRectEqualsEpsilon(const SDL_FRect *a, const SDL_FRect *b, const float epsilon)
|
|
||||||
{
|
|
||||||
return (a && b && ((a == b) ||
|
|
||||||
((SDL_fabsf(a->x - b->x) <= epsilon) &&
|
|
||||||
(SDL_fabsf(a->y - b->y) <= epsilon) &&
|
|
||||||
(SDL_fabsf(a->w - b->w) <= epsilon) &&
|
|
||||||
(SDL_fabsf(a->h - b->h) <= epsilon))))
|
|
||||||
? SDL_TRUE : SDL_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns true if the two rectangles are equal, using a default epsilon.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
SDL_FORCE_INLINE SDL_bool SDL_FRectEquals(const SDL_FRect *a, const SDL_FRect *b)
|
|
||||||
{
|
|
||||||
return SDL_FRectEqualsEpsilon(a, b, SDL_FLT_EPSILON);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Determine whether two rectangles intersect with float precision.
|
|
||||||
*
|
|
||||||
* If either pointer is NULL the function will return SDL_FALSE.
|
|
||||||
*
|
|
||||||
* \param A an SDL_FRect structure representing the first rectangle
|
|
||||||
* \param B an SDL_FRect structure representing the second rectangle
|
|
||||||
* \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*
|
|
||||||
* \sa SDL_IntersectRect
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersectionF(const SDL_FRect * A,
|
|
||||||
const SDL_FRect * B);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calculate the intersection of two rectangles with float precision.
|
|
||||||
*
|
|
||||||
* If `result` is NULL then this function will return SDL_FALSE.
|
|
||||||
*
|
|
||||||
* \param A an SDL_FRect structure representing the first rectangle
|
|
||||||
* \param B an SDL_FRect structure representing the second rectangle
|
|
||||||
* \param result an SDL_FRect structure filled in with the intersection of
|
|
||||||
* rectangles `A` and `B`
|
|
||||||
* \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*
|
|
||||||
* \sa SDL_HasIntersectionF
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRect(const SDL_FRect * A,
|
|
||||||
const SDL_FRect * B,
|
|
||||||
SDL_FRect * result);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calculate the union of two rectangles with float precision.
|
|
||||||
*
|
|
||||||
* \param A an SDL_FRect structure representing the first rectangle
|
|
||||||
* \param B an SDL_FRect structure representing the second rectangle
|
|
||||||
* \param result an SDL_FRect structure filled in with the union of rectangles
|
|
||||||
* `A` and `B`
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC void SDLCALL SDL_UnionFRect(const SDL_FRect * A,
|
|
||||||
const SDL_FRect * B,
|
|
||||||
SDL_FRect * result);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calculate a minimal rectangle enclosing a set of points with float
|
|
||||||
* precision.
|
|
||||||
*
|
|
||||||
* If `clip` is not NULL then only points inside of the clipping rectangle are
|
|
||||||
* considered.
|
|
||||||
*
|
|
||||||
* \param points an array of SDL_FPoint structures representing points to be
|
|
||||||
* enclosed
|
|
||||||
* \param count the number of structures in the `points` array
|
|
||||||
* \param clip an SDL_FRect used for clipping or NULL to enclose all points
|
|
||||||
* \param result an SDL_FRect structure filled in with the minimal enclosing
|
|
||||||
* rectangle
|
|
||||||
* \returns SDL_TRUE if any points were enclosed or SDL_FALSE if all the
|
|
||||||
* points were outside of the clipping rectangle.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_EncloseFPoints(const SDL_FPoint * points,
|
|
||||||
int count,
|
|
||||||
const SDL_FRect * clip,
|
|
||||||
SDL_FRect * result);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Calculate the intersection of a rectangle and line segment with float
|
|
||||||
* precision.
|
|
||||||
*
|
|
||||||
* This function is used to clip a line segment to a rectangle. A line segment
|
|
||||||
* contained entirely within the rectangle or that does not intersect will
|
|
||||||
* remain unchanged. A line segment that crosses the rectangle at either or
|
|
||||||
* both ends will be clipped to the boundary of the rectangle and the new
|
|
||||||
* coordinates saved in `X1`, `Y1`, `X2`, and/or `Y2` as necessary.
|
|
||||||
*
|
|
||||||
* \param rect an SDL_FRect structure representing the rectangle to intersect
|
|
||||||
* \param X1 a pointer to the starting X-coordinate of the line
|
|
||||||
* \param Y1 a pointer to the starting Y-coordinate of the line
|
|
||||||
* \param X2 a pointer to the ending X-coordinate of the line
|
|
||||||
* \param Y2 a pointer to the ending Y-coordinate of the line
|
|
||||||
* \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRectAndLine(const SDL_FRect *
|
|
||||||
rect, float *X1,
|
|
||||||
float *Y1, float *X2,
|
|
||||||
float *Y2);
|
|
||||||
|
|
||||||
/* Ends C function definitions when using C++ */
|
/* Ends C function definitions when using C++ */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
52
externals/SDL/include/SDL_render.h
vendored
52
externals/SDL/include/SDL_render.h
vendored
|
@ -261,17 +261,6 @@ extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface *
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
|
extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the window associated with a renderer.
|
|
||||||
*
|
|
||||||
* \param renderer the renderer to query
|
|
||||||
* \returns the window on success or NULL on failure; call SDL_GetError() for
|
|
||||||
* more information.
|
|
||||||
*
|
|
||||||
* \since This function is available since SDL 2.0.22.
|
|
||||||
*/
|
|
||||||
extern DECLSPEC SDL_Window * SDLCALL SDL_RenderGetWindow(SDL_Renderer *renderer);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get information about a rendering context.
|
* Get information about a rendering context.
|
||||||
*
|
*
|
||||||
|
@ -367,15 +356,11 @@ extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer
|
||||||
* \param texture the texture to query
|
* \param texture the texture to query
|
||||||
* \param format a pointer filled in with the raw format of the texture; the
|
* \param format a pointer filled in with the raw format of the texture; the
|
||||||
* actual format may differ, but pixel transfers will use this
|
* actual format may differ, but pixel transfers will use this
|
||||||
* format (one of the SDL_PixelFormatEnum values). This argument
|
* format (one of the SDL_PixelFormatEnum values)
|
||||||
* can be NULL if you don't need this information.
|
|
||||||
* \param access a pointer filled in with the actual access to the texture
|
* \param access a pointer filled in with the actual access to the texture
|
||||||
* (one of the SDL_TextureAccess values). This argument can be
|
* (one of the SDL_TextureAccess values)
|
||||||
* NULL if you don't need this information.
|
* \param w a pointer filled in with the width of the texture in pixels
|
||||||
* \param w a pointer filled in with the width of the texture in pixels. This
|
* \param h a pointer filled in with the height of the texture in pixels
|
||||||
* argument can be NULL if you don't need this information.
|
|
||||||
* \param h a pointer filled in with the height of the texture in pixels. This
|
|
||||||
* argument can be NULL if you don't need this information.
|
|
||||||
* \returns 0 on success or a negative error code on failure; call
|
* \returns 0 on success or a negative error code on failure; call
|
||||||
* SDL_GetError() for more information.
|
* SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
|
@ -825,13 +810,9 @@ extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, in
|
||||||
/**
|
/**
|
||||||
* Get device independent resolution for rendering.
|
* Get device independent resolution for rendering.
|
||||||
*
|
*
|
||||||
* When using the main rendering target (eg no target texture is set): this
|
* This may return 0 for `w` and `h` if the SDL_Renderer has never had its
|
||||||
* may return 0 for `w` and `h` if the SDL_Renderer has never had its logical
|
* logical size set by SDL_RenderSetLogicalSize() and never had a render
|
||||||
* size set by SDL_RenderSetLogicalSize(). Otherwise it returns the logical
|
* target set.
|
||||||
* width and height.
|
|
||||||
*
|
|
||||||
* When using a target texture: Never return 0 for `w` and `h` at first. Then
|
|
||||||
* it returns the logical width and height that are set.
|
|
||||||
*
|
*
|
||||||
* \param renderer a rendering context
|
* \param renderer a rendering context
|
||||||
* \param w an int to be filled with the width
|
* \param w an int to be filled with the width
|
||||||
|
@ -1021,20 +1002,16 @@ extern DECLSPEC void SDLCALL SDL_RenderWindowToLogical(SDL_Renderer * renderer,
|
||||||
int windowX, int windowY,
|
int windowX, int windowY,
|
||||||
float *logicalX, float *logicalY);
|
float *logicalX, float *logicalY);
|
||||||
|
|
||||||
|
/**
|
||||||
/**
|
* Get real coordinates of point in window when given logical coordinates of point in renderer.
|
||||||
* Get real coordinates of point in window when given logical coordinates of
|
* Logical coordinates will differ from real coordinates when render is scaled and logical renderer size set
|
||||||
* point in renderer.
|
|
||||||
*
|
*
|
||||||
* Logical coordinates will differ from real coordinates when render is scaled
|
* \param renderer the renderer from which the window coordinates should be calculated
|
||||||
* and logical renderer size set
|
|
||||||
*
|
|
||||||
* \param renderer the renderer from which the window coordinates should be
|
|
||||||
* calculated
|
|
||||||
* \param logicalX the logical x coordinate
|
* \param logicalX the logical x coordinate
|
||||||
* \param logicalY the logical y coordinate
|
* \param logicalY the logical y coordinate
|
||||||
* \param windowX the pointer filled with the real X coordinate in the window
|
* \param windowX the pointer filled with the real X coordinate in the window
|
||||||
* \param windowY the pointer filled with the real Y coordinate in the window
|
* \param windowY the pointer filled with the real Y coordinate in the window
|
||||||
|
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 2.0.18.
|
* \since This function is available since SDL 2.0.18.
|
||||||
*
|
*
|
||||||
|
@ -1626,7 +1603,6 @@ extern DECLSPEC int SDLCALL SDL_RenderCopyExF(SDL_Renderer * renderer,
|
||||||
* vertex array Color and alpha modulation is done per vertex
|
* vertex array Color and alpha modulation is done per vertex
|
||||||
* (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
|
* (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
|
||||||
*
|
*
|
||||||
* \param renderer The rendering context.
|
|
||||||
* \param texture (optional) The SDL texture to use.
|
* \param texture (optional) The SDL texture to use.
|
||||||
* \param vertices Vertices.
|
* \param vertices Vertices.
|
||||||
* \param num_vertices Number of vertices.
|
* \param num_vertices Number of vertices.
|
||||||
|
@ -1651,7 +1627,6 @@ extern DECLSPEC int SDLCALL SDL_RenderGeometry(SDL_Renderer *renderer,
|
||||||
* vertex arrays Color and alpha modulation is done per vertex
|
* vertex arrays Color and alpha modulation is done per vertex
|
||||||
* (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
|
* (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
|
||||||
*
|
*
|
||||||
* \param renderer The rendering context.
|
|
||||||
* \param texture (optional) The SDL texture to use.
|
* \param texture (optional) The SDL texture to use.
|
||||||
* \param xy Vertex positions
|
* \param xy Vertex positions
|
||||||
* \param xy_stride Byte size to move from one element to the next element
|
* \param xy_stride Byte size to move from one element to the next element
|
||||||
|
@ -1683,8 +1658,7 @@ extern DECLSPEC int SDLCALL SDL_RenderGeometryRaw(SDL_Renderer *renderer,
|
||||||
* Read pixels from the current rendering target to an array of pixels.
|
* Read pixels from the current rendering target to an array of pixels.
|
||||||
*
|
*
|
||||||
* **WARNING**: This is a very slow operation, and should not be used
|
* **WARNING**: This is a very slow operation, and should not be used
|
||||||
* frequently. If you're using this on the main rendering target, it should be
|
* frequently.
|
||||||
* called after rendering and before SDL_RenderPresent().
|
|
||||||
*
|
*
|
||||||
* `pitch` specifies the number of bytes between rows in the destination
|
* `pitch` specifies the number of bytes between rows in the destination
|
||||||
* `pixels` data. This allows you to write to a subrectangle or have padded
|
* `pixels` data. This allows you to write to a subrectangle or have padded
|
||||||
|
|
14
externals/SDL/include/SDL_rwops.h
vendored
14
externals/SDL/include/SDL_rwops.h
vendored
|
@ -45,6 +45,9 @@ extern "C" {
|
||||||
#define SDL_RWOPS_JNIFILE 3U /**< Android asset */
|
#define SDL_RWOPS_JNIFILE 3U /**< Android asset */
|
||||||
#define SDL_RWOPS_MEMORY 4U /**< Memory stream */
|
#define SDL_RWOPS_MEMORY 4U /**< Memory stream */
|
||||||
#define SDL_RWOPS_MEMORY_RO 5U /**< Read-Only memory stream */
|
#define SDL_RWOPS_MEMORY_RO 5U /**< Read-Only memory stream */
|
||||||
|
#if defined(__VITA__)
|
||||||
|
#define SDL_RWOPS_VITAFILE 6U /**< Vita file */
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the read/write operation structure -- very basic.
|
* This is the read/write operation structure -- very basic.
|
||||||
|
@ -110,6 +113,17 @@ typedef struct SDL_RWops
|
||||||
size_t left;
|
size_t left;
|
||||||
} buffer;
|
} buffer;
|
||||||
} windowsio;
|
} windowsio;
|
||||||
|
#elif defined(__VITA__)
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
int h;
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
void *data;
|
||||||
|
size_t size;
|
||||||
|
size_t left;
|
||||||
|
} buffer;
|
||||||
|
} vitaio;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
|
|
20
externals/SDL/include/SDL_scancode.h
vendored
20
externals/SDL/include/SDL_scancode.h
vendored
|
@ -402,26 +402,6 @@ typedef enum
|
||||||
|
|
||||||
/* @} *//* Usage page 0x0C (additional media keys) */
|
/* @} *//* Usage page 0x0C (additional media keys) */
|
||||||
|
|
||||||
/**
|
|
||||||
* \name Mobile keys
|
|
||||||
*
|
|
||||||
* These are values that are often used on mobile phones.
|
|
||||||
*/
|
|
||||||
/* @{ */
|
|
||||||
|
|
||||||
SDL_SCANCODE_SOFTLEFT = 287, /**< Usually situated below the display on phones and
|
|
||||||
used as a multi-function feature key for selecting
|
|
||||||
a software defined function shown on the bottom left
|
|
||||||
of the display. */
|
|
||||||
SDL_SCANCODE_SOFTRIGHT = 288, /**< Usually situated below the display on phones and
|
|
||||||
used as a multi-function feature key for selecting
|
|
||||||
a software defined function shown on the bottom right
|
|
||||||
of the display. */
|
|
||||||
SDL_SCANCODE_CALL = 289, /**< Used for accepting phone calls. */
|
|
||||||
SDL_SCANCODE_ENDCALL = 290, /**< Used for rejecting phone calls. */
|
|
||||||
|
|
||||||
/* @} *//* Mobile keys */
|
|
||||||
|
|
||||||
/* Add any other keys here. */
|
/* Add any other keys here. */
|
||||||
|
|
||||||
SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
|
SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue