├── .hgignore ├── .hgtags ├── Android.mk ├── BUGS.txt ├── CMakeLists.txt ├── COPYING.txt ├── CREDITS.txt ├── INSTALL.txt ├── Makefile.in ├── Makefile.minimal ├── Makefile.n3ds ├── Makefile.pandora ├── Makefile.psp ├── Makefile.wiz ├── README-SDL.txt ├── README.txt ├── SDL2.spec.in ├── TODO.txt ├── VisualC-WinRT ├── WinPhone80_VS2012 │ ├── SDL-WinPhone80.vcxproj │ └── SDL-WinPhone80.vcxproj.filters ├── WinPhone81_VS2013 │ ├── SDL-WinPhone81.vcxproj │ └── SDL-WinPhone81.vcxproj.filters ├── WinRT80_VS2012 │ ├── SDL-WinRT80.sln │ ├── SDL-WinRT80.vcxproj │ └── SDL-WinRT80.vcxproj.filters ├── WinRT81_VS2013 │ ├── SDL-WinRT81.vcxproj │ └── SDL-WinRT81.vcxproj.filters └── tests │ ├── loopwave │ ├── Assets │ │ ├── Logo.png │ │ ├── SmallLogo.png │ │ ├── SplashScreen.png │ │ └── StoreLogo.png │ ├── Package.appxmanifest │ ├── loopwave_VS2012.vcxproj │ └── loopwave_VS2012_TemporaryKey.pfx │ └── testthread │ ├── Assets │ ├── Logo.png │ ├── SmallLogo.png │ ├── SplashScreen.png │ └── StoreLogo.png │ ├── Package.appxmanifest │ ├── testthread_VS2012.vcxproj │ └── testthread_VS2012_TemporaryKey.pfx ├── VisualC.html ├── VisualC ├── SDL │ ├── SDL_VS2008.vcproj │ ├── SDL_VS2010.vcxproj │ ├── SDL_VS2012.vcxproj │ └── SDL_VS2013.vcxproj ├── SDL_VS2008.sln ├── SDL_VS2010.sln ├── SDL_VS2012.sln ├── SDL_VS2013.sln ├── SDLmain │ ├── SDLmain_VS2008.vcproj │ ├── SDLmain_VS2010.vcxproj │ ├── SDLmain_VS2012.vcxproj │ └── SDLmain_VS2013.vcxproj ├── SDLtest │ ├── SDLtest_VS2008.vcproj │ ├── SDLtest_VS2010.vcxproj │ ├── SDLtest_VS2012.vcxproj │ └── SDLtest_VS2013.vcxproj ├── clean.sh ├── tests │ ├── checkkeys │ │ ├── checkkeys_VS2008.vcproj │ │ ├── checkkeys_VS2010.vcxproj │ │ ├── checkkeys_VS2012.vcxproj │ │ └── checkkeys_VS2013.vcxproj │ ├── loopwave │ │ ├── loopwave_VS2008.vcproj │ │ ├── loopwave_VS2010.vcxproj │ │ ├── loopwave_VS2012.vcxproj │ │ └── loopwave_VS2013.vcxproj │ ├── testatomic │ │ ├── testatomic_VS2008.vcproj │ │ ├── testatomic_VS2010.vcxproj │ │ ├── testatomic_VS2012.vcxproj │ │ └── testatomic_VS2013.vcxproj │ ├── testautomation │ │ ├── testautomation_VS2008.vcproj │ │ ├── testautomation_vs2010.vcxproj │ │ ├── testautomation_vs2012.vcxproj │ │ └── testautomation_vs2013.vcxproj │ ├── testdraw2 │ │ ├── testdraw2_VS2008.vcproj │ │ ├── testdraw2_VS2010.vcxproj │ │ ├── testdraw2_VS2012.vcxproj │ │ └── testdraw2_VS2013.vcxproj │ ├── testfile │ │ ├── testfile_VS2008.vcproj │ │ ├── testfile_VS2010.vcxproj │ │ ├── testfile_VS2012.vcxproj │ │ └── testfile_VS2013.vcxproj │ ├── testgamecontroller │ │ ├── testgamecontroller_VS2010.vcxproj │ │ ├── testgamecontroller_VS2012.vcxproj │ │ └── testgamecontroller_VS2013.vcxproj │ ├── testgesture │ │ ├── testgesture_VS2008.vcproj │ │ ├── testgesture_VS2010.vcxproj │ │ ├── testgesture_VS2012.vcxproj │ │ └── testgesture_VS2013.vcxproj │ ├── testgl2 │ │ ├── testgl2_VS2008.vcproj │ │ ├── testgl2_VS2010.vcxproj │ │ ├── testgl2_VS2012.vcxproj │ │ └── testgl2_VS2013.vcxproj │ ├── testgles2 │ │ ├── testgles2_VS2008.vcproj │ │ ├── testgles2_VS2010.vcxproj │ │ ├── testgles2_VS2012.vcxproj │ │ └── testgles2_VS2013.vcxproj │ ├── testjoystick │ │ ├── testjoystick_VS2008.vcproj │ │ ├── testjoystick_VS2010.vcxproj │ │ ├── testjoystick_VS2012.vcxproj │ │ └── testjoystick_VS2013.vcxproj │ ├── testoverlay2 │ │ ├── testoverlay2_VS2008.vcproj │ │ ├── testoverlay2_VS2010.vcxproj │ │ ├── testoverlay2_VS2012.vcxproj │ │ └── testoverlay2_VS2013.vcxproj │ ├── testplatform │ │ ├── testplatform_VS2008.vcproj │ │ ├── testplatform_VS2010.vcxproj │ │ ├── testplatform_VS2012.vcxproj │ │ └── testplatform_VS2013.vcxproj │ ├── testpower │ │ ├── testpower_VS2008.vcproj │ │ ├── testpower_VS2010.vcxproj │ │ ├── testpower_VS2012.vcxproj │ │ └── testpower_VS2013.vcxproj │ ├── testrendertarget │ │ ├── testrendertarget_VS2008.vcproj │ │ ├── testrendertarget_VS2010.vcxproj │ │ ├── testrendertarget_VS2012.vcxproj │ │ └── testrendertarget_VS2013.vcxproj │ ├── testrumble │ │ ├── testrumble_VS2008.vcproj │ │ ├── testrumble_VS2010.vcxproj │ │ ├── testrumble_VS2012.vcxproj │ │ └── testrumble_VS2013.vcxproj │ ├── testscale │ │ ├── testscale_VS2008.vcproj │ │ ├── testscale_VS2010.vcxproj │ │ ├── testscale_VS2012.vcxproj │ │ └── testscale_VS2013.vcxproj │ ├── testshape │ │ ├── testshape_VS2008.vcproj │ │ ├── testshape_VS2010.vcxproj │ │ ├── testshape_VS2012.vcxproj │ │ └── testshape_VS2013.vcxproj │ └── testsprite2 │ │ ├── testsprite2_VS2008.vcproj │ │ ├── testsprite2_VS2010.vcxproj │ │ ├── testsprite2_VS2012.vcxproj │ │ └── testsprite2_VS2013.vcxproj └── visualtest │ ├── unittest │ └── testquit │ │ └── testquit_VS2012.vcxproj │ └── visualtest_VS2012.vcxproj ├── WhatsNew.txt ├── Xcode-iOS ├── Demos │ ├── Default.png │ ├── Demos.xcodeproj │ │ └── project.pbxproj │ ├── Icon.png │ ├── Info.plist │ ├── README │ ├── data │ │ ├── bitmapfont │ │ │ ├── kromasky_16x16.bmp │ │ │ └── license.txt │ │ ├── drums │ │ │ ├── ds_brush_snare.wav │ │ │ ├── ds_china.wav │ │ │ ├── ds_kick_big_amb.wav │ │ │ └── ds_loose_skin_mute.wav │ │ ├── icon.bmp │ │ ├── ship.bmp │ │ ├── space.bmp │ │ └── stroke.bmp │ └── src │ │ ├── accelerometer.c │ │ ├── common.c │ │ ├── common.h │ │ ├── fireworks.c │ │ ├── happy.c │ │ ├── keyboard.c │ │ ├── mixer.c │ │ ├── rectangles.c │ │ └── touch.c ├── SDL │ └── SDL.xcodeproj │ │ └── project.pbxproj ├── SDLtest │ └── SDL2test.xcodeproj │ │ └── project.pbxproj ├── Template │ └── SDL iOS Application │ │ ├── Default-568h@2x.png │ │ ├── Default.png │ │ ├── Icon.png │ │ ├── Info.plist │ │ ├── ___PROJECTNAME___.xcodeproj │ │ ├── TemplateIcon.icns │ │ ├── TemplateInfo.plist │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── main.c └── Test │ ├── Info.plist │ ├── README │ └── TestiPhoneOS.xcodeproj │ └── project.pbxproj ├── Xcode ├── SDL │ ├── Info-Framework.plist │ ├── SDL.xcodeproj │ │ └── project.pbxproj │ └── pkg-support │ │ ├── SDL.info │ │ ├── resources │ │ ├── License.txt │ │ ├── ReadMe.txt │ │ └── SDL_DS_Store │ │ └── sdl_logo.pdf ├── SDLTest │ ├── SDLTest.xcodeproj │ │ └── project.pbxproj │ └── TestDropFile-Info.plist └── XcodeDocSet │ └── Doxyfile ├── acinclude ├── ac_check_define.m4 ├── alsa.m4 ├── ax_check_compiler_flags.m4 ├── ax_gcc_archflag.m4 ├── ax_gcc_x86_cpuid.m4.htm ├── esd.m4 ├── libtool.m4 ├── ltoptions.m4 ├── ltsugar.m4 ├── ltversion.m4 └── lt~obsolete.m4 ├── android-project ├── AndroidManifest.xml ├── ant.properties ├── build.properties ├── build.xml ├── default.properties ├── jni │ ├── Android.mk │ ├── Application.mk │ └── src │ │ ├── Android.mk │ │ └── Android_static.mk ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── main.xml │ └── values │ │ └── strings.xml └── src │ └── org │ └── libsdl │ └── app │ └── SDLActivity.java ├── autogen.sh ├── build-scripts ├── androidbuild.sh ├── checker-buildbot.sh ├── config.guess ├── config.sub ├── emscripten-buildbot.sh ├── g++-fat.sh ├── gcc-fat.sh ├── install-sh ├── iosbuild.sh ├── ltmain.sh ├── mkinstalldirs ├── nacl-buildbot.sh ├── naclbuild.sh ├── raspberrypi-buildbot.sh ├── showrev.sh ├── strip_fPIC.sh ├── updaterev.sh ├── windows-buildbot-zipper.bat ├── winrtbuild.bat └── winrtbuild.ps1 ├── cmake ├── macros.cmake └── sdlchecks.cmake ├── cmake_uninstall.cmake.in ├── configure ├── configure.in ├── debian ├── changelog ├── compat ├── control ├── copyright ├── docs ├── libsdl2-dev.install ├── libsdl2-dev.manpages ├── libsdl2.install ├── rules ├── sdl2-config.1 ├── source │ └── format └── watch ├── docs ├── README-android.md ├── README-cmake.md ├── README-directfb.md ├── README-dynapi.md ├── README-emscripten.md ├── README-gesture.md ├── README-hg.md ├── README-ios.md ├── README-linux.md ├── README-macosx.md ├── README-nacl.md ├── README-pandora.md ├── README-platforms.md ├── README-porting.md ├── README-psp.md ├── README-raspberrypi.md ├── README-touch.md ├── README-wince.md ├── README-windows.md ├── README-winrt.md ├── README.md └── doxyfile ├── include ├── SDL.h ├── SDL_assert.h ├── SDL_atomic.h ├── SDL_audio.h ├── SDL_bits.h ├── SDL_blendmode.h ├── SDL_clipboard.h ├── SDL_config.h ├── SDL_config.h.cmake ├── SDL_config.h.in ├── SDL_config_3ds.h ├── SDL_config_android.h ├── SDL_config_iphoneos.h ├── SDL_config_macosx.h ├── SDL_config_minimal.h ├── SDL_config_pandora.h ├── SDL_config_psp.h ├── SDL_config_windows.h ├── SDL_config_winrt.h ├── SDL_config_wiz.h ├── SDL_copying.h ├── SDL_cpuinfo.h ├── SDL_egl.h ├── SDL_endian.h ├── SDL_error.h ├── SDL_events.h ├── SDL_filesystem.h ├── SDL_gamecontroller.h ├── SDL_gesture.h ├── SDL_haptic.h ├── SDL_hints.h ├── SDL_joystick.h ├── SDL_keyboard.h ├── SDL_keycode.h ├── SDL_loadso.h ├── SDL_log.h ├── SDL_main.h ├── SDL_messagebox.h ├── SDL_mouse.h ├── SDL_mutex.h ├── SDL_name.h ├── SDL_opengl.h ├── SDL_opengl_glext.h ├── SDL_opengles.h ├── SDL_opengles2.h ├── SDL_opengles2_gl2.h ├── SDL_opengles2_gl2ext.h ├── SDL_opengles2_gl2platform.h ├── SDL_opengles2_khrplatform.h ├── SDL_pixels.h ├── SDL_platform.h ├── SDL_power.h ├── SDL_quit.h ├── SDL_rect.h ├── SDL_render.h ├── SDL_revision.h ├── SDL_rwops.h ├── SDL_scancode.h ├── SDL_shape.h ├── SDL_stdinc.h ├── SDL_surface.h ├── SDL_system.h ├── SDL_syswm.h ├── SDL_test.h ├── SDL_test_assert.h ├── SDL_test_common.h ├── SDL_test_compare.h ├── SDL_test_crc32.h ├── SDL_test_font.h ├── SDL_test_fuzzer.h ├── SDL_test_harness.h ├── SDL_test_images.h ├── SDL_test_log.h ├── SDL_test_md5.h ├── SDL_test_random.h ├── SDL_thread.h ├── SDL_timer.h ├── SDL_touch.h ├── SDL_types.h ├── SDL_version.h ├── SDL_video.h ├── begin_code.h └── close_code.h ├── premake ├── Cygwin │ └── build-scripts │ │ ├── clean_premake.bat │ │ ├── cygwin.bat │ │ ├── make.debug.bat │ │ ├── make.release.bat │ │ ├── premake4.exe │ │ ├── run.tests.debug.bat │ │ └── run.tests.release.bat ├── Linux │ ├── SDL_config_premake.h │ └── build-scripts │ │ ├── clean_premake.sh │ │ ├── gmake.sh │ │ ├── premake4 │ │ └── run.tests.sh ├── MinGW │ ├── SDL_config_premake.h │ └── build-scripts │ │ ├── clean_premake.bat │ │ ├── mingw.bat │ │ ├── premake4.exe │ │ └── run.tests.bat ├── README-cygwin.txt ├── README-ios.txt ├── README-linux.txt ├── README-macosx.txt ├── README-mingw.txt ├── README-windows.txt ├── README.txt ├── VisualC │ ├── VS2008 │ │ ├── SDL.sln │ │ ├── SDL2 │ │ │ └── SDL2.vcproj │ │ ├── SDL2main │ │ │ └── SDL2main.vcproj │ │ ├── SDL2test │ │ │ └── SDL2test.vcproj │ │ ├── SDL_config_premake.h │ │ └── tests │ │ │ ├── checkkeys │ │ │ └── checkkeys.vcproj │ │ │ ├── loopwave │ │ │ └── loopwave.vcproj │ │ │ ├── testatomic │ │ │ └── testatomic.vcproj │ │ │ ├── testaudioinfo │ │ │ └── testaudioinfo.vcproj │ │ │ ├── testautomation │ │ │ └── testautomation.vcproj │ │ │ ├── testchessboard │ │ │ └── testchessboard.vcproj │ │ │ ├── testdraw2 │ │ │ └── testdraw2.vcproj │ │ │ ├── testerror │ │ │ └── testerror.vcproj │ │ │ ├── testfile │ │ │ └── testfile.vcproj │ │ │ ├── testfilesystem │ │ │ └── testfilesystem.vcproj │ │ │ ├── testgamecontroller │ │ │ └── testgamecontroller.vcproj │ │ │ ├── testgesture │ │ │ └── testgesture.vcproj │ │ │ ├── testgl2 │ │ │ └── testgl2.vcproj │ │ │ ├── testgles │ │ │ └── testgles.vcproj │ │ │ ├── testhaptic │ │ │ └── testhaptic.vcproj │ │ │ ├── testiconv │ │ │ └── testiconv.vcproj │ │ │ ├── testime │ │ │ └── testime.vcproj │ │ │ ├── testjoystick │ │ │ └── testjoystick.vcproj │ │ │ ├── testkeys │ │ │ └── testkeys.vcproj │ │ │ ├── testloadso │ │ │ └── testloadso.vcproj │ │ │ ├── testlock │ │ │ └── testlock.vcproj │ │ │ ├── testmessage │ │ │ └── testmessage.vcproj │ │ │ ├── testmultiaudio │ │ │ └── testmultiaudio.vcproj │ │ │ ├── testnative │ │ │ └── testnative.vcproj │ │ │ ├── testoverlay2 │ │ │ └── testoverlay2.vcproj │ │ │ ├── testplatform │ │ │ └── testplatform.vcproj │ │ │ ├── testpower │ │ │ └── testpower.vcproj │ │ │ ├── testrelative │ │ │ └── testrelative.vcproj │ │ │ ├── testrendercopyex │ │ │ └── testrendercopyex.vcproj │ │ │ ├── testrendertarget │ │ │ └── testrendertarget.vcproj │ │ │ ├── testresample │ │ │ └── testresample.vcproj │ │ │ ├── testrumble │ │ │ └── testrumble.vcproj │ │ │ ├── testscale │ │ │ └── testscale.vcproj │ │ │ ├── testsem │ │ │ └── testsem.vcproj │ │ │ ├── testshader │ │ │ └── testshader.vcproj │ │ │ ├── testshape │ │ │ └── testshape.vcproj │ │ │ ├── testsprite2 │ │ │ └── testsprite2.vcproj │ │ │ ├── testspriteminimal │ │ │ └── testspriteminimal.vcproj │ │ │ ├── teststreaming │ │ │ └── teststreaming.vcproj │ │ │ ├── testthread │ │ │ └── testthread.vcproj │ │ │ ├── testtimer │ │ │ └── testtimer.vcproj │ │ │ ├── testver │ │ │ └── testver.vcproj │ │ │ ├── testwm2 │ │ │ └── testwm2.vcproj │ │ │ └── torturethread │ │ │ └── torturethread.vcproj │ ├── VS2010 │ │ ├── SDL.sln │ │ ├── SDL2 │ │ │ ├── SDL2.vcxproj │ │ │ └── SDL2.vcxproj.filters │ │ ├── SDL2main │ │ │ ├── SDL2main.vcxproj │ │ │ └── SDL2main.vcxproj.filters │ │ ├── SDL2test │ │ │ ├── SDL2test.vcxproj │ │ │ └── SDL2test.vcxproj.filters │ │ ├── SDL_config_premake.h │ │ └── tests │ │ │ ├── checkkeys │ │ │ ├── checkkeys.vcxproj │ │ │ └── checkkeys.vcxproj.filters │ │ │ ├── loopwave │ │ │ ├── loopwave.vcxproj │ │ │ └── loopwave.vcxproj.filters │ │ │ ├── testatomic │ │ │ ├── testatomic.vcxproj │ │ │ └── testatomic.vcxproj.filters │ │ │ ├── testaudioinfo │ │ │ ├── testaudioinfo.vcxproj │ │ │ └── testaudioinfo.vcxproj.filters │ │ │ ├── testautomation │ │ │ ├── testautomation.vcxproj │ │ │ └── testautomation.vcxproj.filters │ │ │ ├── testchessboard │ │ │ ├── testchessboard.vcxproj │ │ │ └── testchessboard.vcxproj.filters │ │ │ ├── testdraw2 │ │ │ ├── testdraw2.vcxproj │ │ │ └── testdraw2.vcxproj.filters │ │ │ ├── testerror │ │ │ ├── testerror.vcxproj │ │ │ └── testerror.vcxproj.filters │ │ │ ├── testfile │ │ │ ├── testfile.vcxproj │ │ │ └── testfile.vcxproj.filters │ │ │ ├── testfilesystem │ │ │ ├── testfilesystem.vcxproj │ │ │ └── testfilesystem.vcxproj.filters │ │ │ ├── testgamecontroller │ │ │ ├── testgamecontroller.vcxproj │ │ │ └── testgamecontroller.vcxproj.filters │ │ │ ├── testgesture │ │ │ ├── testgesture.vcxproj │ │ │ └── testgesture.vcxproj.filters │ │ │ ├── testgl2 │ │ │ ├── testgl2.vcxproj │ │ │ └── testgl2.vcxproj.filters │ │ │ ├── testgles │ │ │ ├── testgles.vcxproj │ │ │ └── testgles.vcxproj.filters │ │ │ ├── testhaptic │ │ │ ├── testhaptic.vcxproj │ │ │ └── testhaptic.vcxproj.filters │ │ │ ├── testiconv │ │ │ ├── testiconv.vcxproj │ │ │ └── testiconv.vcxproj.filters │ │ │ ├── testime │ │ │ ├── testime.vcxproj │ │ │ └── testime.vcxproj.filters │ │ │ ├── testjoystick │ │ │ ├── testjoystick.vcxproj │ │ │ └── testjoystick.vcxproj.filters │ │ │ ├── testkeys │ │ │ ├── testkeys.vcxproj │ │ │ └── testkeys.vcxproj.filters │ │ │ ├── testloadso │ │ │ ├── testloadso.vcxproj │ │ │ └── testloadso.vcxproj.filters │ │ │ ├── testlock │ │ │ ├── testlock.vcxproj │ │ │ └── testlock.vcxproj.filters │ │ │ ├── testmessage │ │ │ ├── testmessage.vcxproj │ │ │ └── testmessage.vcxproj.filters │ │ │ ├── testmultiaudio │ │ │ ├── testmultiaudio.vcxproj │ │ │ └── testmultiaudio.vcxproj.filters │ │ │ ├── testnative │ │ │ ├── testnative.vcxproj │ │ │ └── testnative.vcxproj.filters │ │ │ ├── testoverlay2 │ │ │ ├── testoverlay2.vcxproj │ │ │ └── testoverlay2.vcxproj.filters │ │ │ ├── testplatform │ │ │ ├── testplatform.vcxproj │ │ │ └── testplatform.vcxproj.filters │ │ │ ├── testpower │ │ │ ├── testpower.vcxproj │ │ │ └── testpower.vcxproj.filters │ │ │ ├── testrelative │ │ │ ├── testrelative.vcxproj │ │ │ └── testrelative.vcxproj.filters │ │ │ ├── testrendercopyex │ │ │ ├── testrendercopyex.vcxproj │ │ │ └── testrendercopyex.vcxproj.filters │ │ │ ├── testrendertarget │ │ │ ├── testrendertarget.vcxproj │ │ │ └── testrendertarget.vcxproj.filters │ │ │ ├── testresample │ │ │ ├── testresample.vcxproj │ │ │ └── testresample.vcxproj.filters │ │ │ ├── testrumble │ │ │ ├── testrumble.vcxproj │ │ │ └── testrumble.vcxproj.filters │ │ │ ├── testscale │ │ │ ├── testscale.vcxproj │ │ │ └── testscale.vcxproj.filters │ │ │ ├── testsem │ │ │ ├── testsem.vcxproj │ │ │ └── testsem.vcxproj.filters │ │ │ ├── testshader │ │ │ ├── testshader.vcxproj │ │ │ └── testshader.vcxproj.filters │ │ │ ├── testshape │ │ │ ├── testshape.vcxproj │ │ │ └── testshape.vcxproj.filters │ │ │ ├── testsprite2 │ │ │ ├── testsprite2.vcxproj │ │ │ └── testsprite2.vcxproj.filters │ │ │ ├── testspriteminimal │ │ │ ├── testspriteminimal.vcxproj │ │ │ └── testspriteminimal.vcxproj.filters │ │ │ ├── teststreaming │ │ │ ├── teststreaming.vcxproj │ │ │ └── teststreaming.vcxproj.filters │ │ │ ├── testthread │ │ │ ├── testthread.vcxproj │ │ │ └── testthread.vcxproj.filters │ │ │ ├── testtimer │ │ │ ├── testtimer.vcxproj │ │ │ └── testtimer.vcxproj.filters │ │ │ ├── testver │ │ │ ├── testver.vcxproj │ │ │ └── testver.vcxproj.filters │ │ │ ├── testwm2 │ │ │ ├── testwm2.vcxproj │ │ │ └── testwm2.vcxproj.filters │ │ │ └── torturethread │ │ │ ├── torturethread.vcxproj │ │ │ └── torturethread.vcxproj.filters │ ├── VS2012 │ │ ├── SDL.sln │ │ ├── SDL2 │ │ │ ├── SDL2.vcxproj │ │ │ └── SDL2.vcxproj.filters │ │ ├── SDL2main │ │ │ ├── SDL2main.vcxproj │ │ │ └── SDL2main.vcxproj.filters │ │ ├── SDL2test │ │ │ ├── SDL2test.vcxproj │ │ │ └── SDL2test.vcxproj.filters │ │ ├── SDL_config_premake.h │ │ └── tests │ │ │ ├── checkkeys │ │ │ ├── checkkeys.vcxproj │ │ │ └── checkkeys.vcxproj.filters │ │ │ ├── loopwave │ │ │ ├── loopwave.vcxproj │ │ │ └── loopwave.vcxproj.filters │ │ │ ├── testatomic │ │ │ ├── testatomic.vcxproj │ │ │ └── testatomic.vcxproj.filters │ │ │ ├── testaudioinfo │ │ │ ├── testaudioinfo.vcxproj │ │ │ └── testaudioinfo.vcxproj.filters │ │ │ ├── testautomation │ │ │ ├── testautomation.vcxproj │ │ │ └── testautomation.vcxproj.filters │ │ │ ├── testchessboard │ │ │ ├── testchessboard.vcxproj │ │ │ └── testchessboard.vcxproj.filters │ │ │ ├── testdraw2 │ │ │ ├── testdraw2.vcxproj │ │ │ └── testdraw2.vcxproj.filters │ │ │ ├── testerror │ │ │ ├── testerror.vcxproj │ │ │ └── testerror.vcxproj.filters │ │ │ ├── testfile │ │ │ ├── testfile.vcxproj │ │ │ └── testfile.vcxproj.filters │ │ │ ├── testfilesystem │ │ │ ├── testfilesystem.vcxproj │ │ │ └── testfilesystem.vcxproj.filters │ │ │ ├── testgamecontroller │ │ │ ├── testgamecontroller.vcxproj │ │ │ └── testgamecontroller.vcxproj.filters │ │ │ ├── testgesture │ │ │ ├── testgesture.vcxproj │ │ │ └── testgesture.vcxproj.filters │ │ │ ├── testgl2 │ │ │ ├── testgl2.vcxproj │ │ │ └── testgl2.vcxproj.filters │ │ │ ├── testgles │ │ │ ├── testgles.vcxproj │ │ │ └── testgles.vcxproj.filters │ │ │ ├── testhaptic │ │ │ ├── testhaptic.vcxproj │ │ │ └── testhaptic.vcxproj.filters │ │ │ ├── testiconv │ │ │ ├── testiconv.vcxproj │ │ │ └── testiconv.vcxproj.filters │ │ │ ├── testime │ │ │ ├── testime.vcxproj │ │ │ └── testime.vcxproj.filters │ │ │ ├── testjoystick │ │ │ ├── testjoystick.vcxproj │ │ │ └── testjoystick.vcxproj.filters │ │ │ ├── testkeys │ │ │ ├── testkeys.vcxproj │ │ │ └── testkeys.vcxproj.filters │ │ │ ├── testloadso │ │ │ ├── testloadso.vcxproj │ │ │ └── testloadso.vcxproj.filters │ │ │ ├── testlock │ │ │ ├── testlock.vcxproj │ │ │ └── testlock.vcxproj.filters │ │ │ ├── testmessage │ │ │ ├── testmessage.vcxproj │ │ │ └── testmessage.vcxproj.filters │ │ │ ├── testmultiaudio │ │ │ ├── testmultiaudio.vcxproj │ │ │ └── testmultiaudio.vcxproj.filters │ │ │ ├── testnative │ │ │ ├── testnative.vcxproj │ │ │ └── testnative.vcxproj.filters │ │ │ ├── testoverlay2 │ │ │ ├── testoverlay2.vcxproj │ │ │ └── testoverlay2.vcxproj.filters │ │ │ ├── testplatform │ │ │ ├── testplatform.vcxproj │ │ │ └── testplatform.vcxproj.filters │ │ │ ├── testpower │ │ │ ├── testpower.vcxproj │ │ │ └── testpower.vcxproj.filters │ │ │ ├── testrelative │ │ │ ├── testrelative.vcxproj │ │ │ └── testrelative.vcxproj.filters │ │ │ ├── testrendercopyex │ │ │ ├── testrendercopyex.vcxproj │ │ │ └── testrendercopyex.vcxproj.filters │ │ │ ├── testrendertarget │ │ │ ├── testrendertarget.vcxproj │ │ │ └── testrendertarget.vcxproj.filters │ │ │ ├── testresample │ │ │ ├── testresample.vcxproj │ │ │ └── testresample.vcxproj.filters │ │ │ ├── testrumble │ │ │ ├── testrumble.vcxproj │ │ │ └── testrumble.vcxproj.filters │ │ │ ├── testscale │ │ │ ├── testscale.vcxproj │ │ │ └── testscale.vcxproj.filters │ │ │ ├── testsem │ │ │ ├── testsem.vcxproj │ │ │ └── testsem.vcxproj.filters │ │ │ ├── testshader │ │ │ ├── testshader.vcxproj │ │ │ └── testshader.vcxproj.filters │ │ │ ├── testshape │ │ │ ├── testshape.vcxproj │ │ │ └── testshape.vcxproj.filters │ │ │ ├── testsprite2 │ │ │ ├── testsprite2.vcxproj │ │ │ └── testsprite2.vcxproj.filters │ │ │ ├── testspriteminimal │ │ │ ├── testspriteminimal.vcxproj │ │ │ └── testspriteminimal.vcxproj.filters │ │ │ ├── teststreaming │ │ │ ├── teststreaming.vcxproj │ │ │ └── teststreaming.vcxproj.filters │ │ │ ├── testthread │ │ │ ├── testthread.vcxproj │ │ │ └── testthread.vcxproj.filters │ │ │ ├── testtimer │ │ │ ├── testtimer.vcxproj │ │ │ └── testtimer.vcxproj.filters │ │ │ ├── testver │ │ │ ├── testver.vcxproj │ │ │ └── testver.vcxproj.filters │ │ │ ├── testwm2 │ │ │ ├── testwm2.vcxproj │ │ │ └── testwm2.vcxproj.filters │ │ │ └── torturethread │ │ │ ├── torturethread.vcxproj │ │ │ └── torturethread.vcxproj.filters │ └── build-scripts │ │ ├── build.all.vs2010.bat │ │ ├── check.bin.compatibility.vs2010.bat │ │ ├── clean_premake.bat │ │ ├── generate.all.bat │ │ ├── premake4.exe │ │ ├── run.tests.vs2010.bat │ │ ├── vs2008.bat │ │ ├── vs2010.bat │ │ └── vs2012.bat ├── Xcode-iOS │ ├── Demos │ │ ├── accelerometer │ │ │ └── accelerometer.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── fireworks │ │ │ └── fireworks.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── happy │ │ │ └── happy.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── keyboard │ │ │ └── keyboard.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── mixer │ │ │ └── mixer.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── rectangles │ │ │ └── rectangles.xcodeproj │ │ │ │ └── project.pbxproj │ │ └── touch │ │ │ └── touch.xcodeproj │ │ │ └── project.pbxproj │ ├── SDL.xcworkspace │ │ └── contents.xcworkspacedata │ ├── SDL2 │ │ └── SDL2.xcodeproj │ │ │ └── project.pbxproj │ ├── SDL2main │ │ └── SDL2main.xcodeproj │ │ │ └── project.pbxproj │ ├── SDL2test │ │ └── SDL2test.xcodeproj │ │ │ └── project.pbxproj │ ├── SDL_config_premake.h │ └── build-scripts │ │ ├── clean_premake.command │ │ ├── premake4 │ │ ├── xcode3.command │ │ └── xcode4.command ├── Xcode │ ├── Xcode3 │ │ ├── SDL2 │ │ │ └── SDL2.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL2main │ │ │ └── SDL2main.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL2test │ │ │ └── SDL2test.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL_config_premake.h │ │ └── tests │ │ │ ├── checkkeys │ │ │ └── checkkeys.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── loopwave │ │ │ └── loopwave.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testatomic │ │ │ └── testatomic.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testaudioinfo │ │ │ └── testaudioinfo.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testautomation │ │ │ └── testautomation.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testchessboard │ │ │ └── testchessboard.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testdraw2 │ │ │ └── testdraw2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testerror │ │ │ └── testerror.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testfile │ │ │ └── testfile.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testfilesystem │ │ │ └── testfilesystem.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgamecontroller │ │ │ └── testgamecontroller.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgesture │ │ │ └── testgesture.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgl2 │ │ │ └── testgl2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgles │ │ │ └── testgles.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testhaptic │ │ │ └── testhaptic.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testiconv │ │ │ └── testiconv.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testime │ │ │ └── testime.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testjoystick │ │ │ └── testjoystick.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testkeys │ │ │ └── testkeys.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testloadso │ │ │ └── testloadso.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testlock │ │ │ └── testlock.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testmessage │ │ │ └── testmessage.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testmultiaudio │ │ │ └── testmultiaudio.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testnative │ │ │ └── testnative.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testoverlay2 │ │ │ └── testoverlay2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testplatform │ │ │ └── testplatform.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testpower │ │ │ └── testpower.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrelative │ │ │ └── testrelative.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrendercopyex │ │ │ └── testrendercopyex.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrendertarget │ │ │ └── testrendertarget.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testresample │ │ │ └── testresample.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrumble │ │ │ └── testrumble.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testscale │ │ │ └── testscale.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testsem │ │ │ └── testsem.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testshader │ │ │ └── testshader.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testshape │ │ │ └── testshape.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testsprite2 │ │ │ └── testsprite2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testspriteminimal │ │ │ └── testspriteminimal.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── teststreaming │ │ │ └── teststreaming.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testthread │ │ │ └── testthread.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testtimer │ │ │ └── testtimer.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testver │ │ │ └── testver.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testwm2 │ │ │ └── testwm2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ └── torturethread │ │ │ └── torturethread.xcodeproj │ │ │ └── project.pbxproj │ ├── Xcode4 │ │ ├── SDL.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ ├── SDL2 │ │ │ └── SDL2.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL2main │ │ │ └── SDL2main.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL2test │ │ │ └── SDL2test.xcodeproj │ │ │ │ └── project.pbxproj │ │ ├── SDL_config_premake.h │ │ └── tests │ │ │ ├── checkkeys │ │ │ └── checkkeys.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── loopwave │ │ │ └── loopwave.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testatomic │ │ │ └── testatomic.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testaudioinfo │ │ │ └── testaudioinfo.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testautomation │ │ │ └── testautomation.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testchessboard │ │ │ └── testchessboard.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testdraw2 │ │ │ └── testdraw2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testerror │ │ │ └── testerror.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testfile │ │ │ └── testfile.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testfilesystem │ │ │ └── testfilesystem.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgamecontroller │ │ │ └── testgamecontroller.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgesture │ │ │ └── testgesture.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgl2 │ │ │ └── testgl2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testgles │ │ │ └── testgles.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testhaptic │ │ │ └── testhaptic.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testiconv │ │ │ └── testiconv.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testime │ │ │ └── testime.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testjoystick │ │ │ └── testjoystick.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testkeys │ │ │ └── testkeys.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testloadso │ │ │ └── testloadso.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testlock │ │ │ └── testlock.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testmessage │ │ │ └── testmessage.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testmultiaudio │ │ │ └── testmultiaudio.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testnative │ │ │ └── testnative.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testoverlay2 │ │ │ └── testoverlay2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testplatform │ │ │ └── testplatform.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testpower │ │ │ └── testpower.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrelative │ │ │ └── testrelative.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrendercopyex │ │ │ └── testrendercopyex.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrendertarget │ │ │ └── testrendertarget.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testresample │ │ │ └── testresample.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testrumble │ │ │ └── testrumble.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testscale │ │ │ └── testscale.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testsem │ │ │ └── testsem.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testshader │ │ │ └── testshader.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testshape │ │ │ └── testshape.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testsprite2 │ │ │ └── testsprite2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testspriteminimal │ │ │ └── testspriteminimal.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── teststreaming │ │ │ └── teststreaming.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testthread │ │ │ └── testthread.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testtimer │ │ │ └── testtimer.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testver │ │ │ └── testver.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ ├── testwm2 │ │ │ └── testwm2.xcodeproj │ │ │ │ └── project.pbxproj │ │ │ └── torturethread │ │ │ └── torturethread.xcodeproj │ │ │ └── project.pbxproj │ └── build-scripts │ │ ├── build.all.xcode3.i386.command │ │ ├── build.all.xcode3.x86_64.command │ │ ├── build.all.xcode4.i386.command │ │ ├── build.all.xcode4.x86_64.command │ │ ├── clean_premake.command │ │ ├── premake4 │ │ ├── run.tests.command │ │ ├── xcode3.command │ │ └── xcode4.command ├── changelog ├── config │ ├── SDL_config_cygwin.template.h │ ├── SDL_config_iphoneos.template.h │ ├── SDL_config_linux.template.h │ ├── SDL_config_macosx.template.h │ ├── SDL_config_minimal.template.h │ └── SDL_config_windows.template.h ├── patches │ ├── 709.patch │ ├── 711.patch │ ├── 712.patch │ ├── 713.patch │ ├── iOS.patch │ └── premake.patches.txt ├── premake4.lua ├── projects │ ├── SDL2.lua │ ├── SDL2main.lua │ ├── SDL2test.lua │ ├── accelerometer.lua │ ├── checkkeys.lua │ ├── fireworks.lua │ ├── happy.lua │ ├── keyboard.lua │ ├── loopwave.lua │ ├── mixer.lua │ ├── rectangles.lua │ ├── testatomic.lua │ ├── testaudioinfo.lua │ ├── testautomation.lua │ ├── testdraw2.lua │ ├── testdrawchessboard.lua │ ├── testerror.lua │ ├── testfile.lua │ ├── testfilesystem.lua │ ├── testgamecontroller.lua │ ├── testgesture.lua │ ├── testgl2.lua │ ├── testgles.lua │ ├── testhaptic.lua │ ├── testiconv.lua │ ├── testime.lua │ ├── testintersection.lua │ ├── testjoystick.lua │ ├── testkeys.lua │ ├── testloadso.lua │ ├── testlock.lua │ ├── testmessage.lua │ ├── testmultiaudio.lua │ ├── testnative.lua │ ├── testoverlay2.lua │ ├── testplatform.lua │ ├── testpower.lua │ ├── testrelative.lua │ ├── testrendercopyex.lua │ ├── testrendertarget.lua │ ├── testresample.lua │ ├── testrumble.lua │ ├── testscale.lua │ ├── testsem.lua │ ├── testshader.lua │ ├── testshape.lua │ ├── testsprite2.lua │ ├── testspriteminimal.lua │ ├── teststreaming.lua │ ├── testthread.lua │ ├── testtimer.lua │ ├── testver.lua │ ├── testwm2.lua │ ├── torturethread.lua │ └── touch.lua └── util │ ├── sdl_check_compile.lua │ ├── sdl_dependency_checkers.lua │ ├── sdl_depends.lua │ ├── sdl_file.lua │ ├── sdl_gen_config.lua │ ├── sdl_projects.lua │ └── sdl_string.lua ├── sdl2-config.in ├── sdl2.m4 ├── sdl2.pc.in ├── src ├── SDL.c ├── SDL_assert.c ├── SDL_assert_c.h ├── SDL_error.c ├── SDL_error_c.h ├── SDL_hints.c ├── SDL_internal.h ├── SDL_log.c ├── atomic │ ├── SDL_atomic.c │ └── SDL_spinlock.c ├── audio │ ├── 3ds │ │ ├── SDL_3dsaudio.c │ │ └── SDL_3dsaudio.h │ ├── SDL_audio.c │ ├── SDL_audio_c.h │ ├── SDL_audiocvt.c │ ├── SDL_audiodev.c │ ├── SDL_audiodev_c.h │ ├── SDL_audiomem.h │ ├── SDL_audiotypecvt.c │ ├── SDL_mixer.c │ ├── SDL_sysaudio.h │ ├── SDL_wave.c │ ├── SDL_wave.h │ ├── alsa │ │ ├── SDL_alsa_audio.c │ │ └── SDL_alsa_audio.h │ ├── android │ │ ├── SDL_androidaudio.c │ │ └── SDL_androidaudio.h │ ├── arts │ │ ├── SDL_artsaudio.c │ │ └── SDL_artsaudio.h │ ├── bsd │ │ ├── SDL_bsdaudio.c │ │ └── SDL_bsdaudio.h │ ├── coreaudio │ │ ├── SDL_coreaudio.c │ │ └── SDL_coreaudio.h │ ├── directsound │ │ ├── SDL_directsound.c │ │ └── SDL_directsound.h │ ├── disk │ │ ├── SDL_diskaudio.c │ │ └── SDL_diskaudio.h │ ├── dsp │ │ ├── SDL_dspaudio.c │ │ └── SDL_dspaudio.h │ ├── dummy │ │ ├── SDL_dummyaudio.c │ │ └── SDL_dummyaudio.h │ ├── emscripten │ │ ├── SDL_emscriptenaudio.c │ │ └── SDL_emscriptenaudio.h │ ├── esd │ │ ├── SDL_esdaudio.c │ │ └── SDL_esdaudio.h │ ├── fusionsound │ │ ├── SDL_fsaudio.c │ │ └── SDL_fsaudio.h │ ├── haiku │ │ ├── SDL_haikuaudio.cc │ │ └── SDL_haikuaudio.h │ ├── nacl │ │ ├── SDL_naclaudio.c │ │ └── SDL_naclaudio.h │ ├── nas │ │ ├── SDL_nasaudio.c │ │ └── SDL_nasaudio.h │ ├── paudio │ │ ├── SDL_paudio.c │ │ └── SDL_paudio.h │ ├── psp │ │ ├── SDL_pspaudio.c │ │ └── SDL_pspaudio.h │ ├── pulseaudio │ │ ├── SDL_pulseaudio.c │ │ └── SDL_pulseaudio.h │ ├── qsa │ │ ├── SDL_qsa_audio.c │ │ └── SDL_qsa_audio.h │ ├── sdlgenaudiocvt.pl │ ├── sndio │ │ ├── SDL_sndioaudio.c │ │ └── SDL_sndioaudio.h │ ├── sun │ │ ├── SDL_sunaudio.c │ │ └── SDL_sunaudio.h │ ├── winmm │ │ ├── SDL_winmm.c │ │ └── SDL_winmm.h │ └── xaudio2 │ │ ├── SDL_xaudio2.c │ │ ├── SDL_xaudio2_winrthelpers.cpp │ │ └── SDL_xaudio2_winrthelpers.h ├── core │ ├── android │ │ ├── SDL_android.c │ │ └── SDL_android.h │ ├── linux │ │ ├── SDL_dbus.c │ │ ├── SDL_dbus.h │ │ ├── SDL_evdev.c │ │ ├── SDL_evdev.h │ │ ├── SDL_ibus.c │ │ ├── SDL_ibus.h │ │ ├── SDL_udev.c │ │ └── SDL_udev.h │ ├── windows │ │ ├── SDL_directx.h │ │ ├── SDL_windows.c │ │ ├── SDL_windows.h │ │ ├── SDL_xinput.c │ │ └── SDL_xinput.h │ └── winrt │ │ ├── SDL_winrtapp_common.cpp │ │ ├── SDL_winrtapp_common.h │ │ ├── SDL_winrtapp_direct3d.cpp │ │ ├── SDL_winrtapp_direct3d.h │ │ ├── SDL_winrtapp_xaml.cpp │ │ └── SDL_winrtapp_xaml.h ├── cpuinfo │ └── SDL_cpuinfo.c ├── dynapi │ ├── SDL_dynapi.c │ ├── SDL_dynapi.h │ ├── SDL_dynapi_overrides.h │ ├── SDL_dynapi_procs.h │ └── gendynapi.pl ├── events │ ├── SDL_clipboardevents.c │ ├── SDL_clipboardevents_c.h │ ├── SDL_dropevents.c │ ├── SDL_dropevents_c.h │ ├── SDL_events.c │ ├── SDL_events_c.h │ ├── SDL_gesture.c │ ├── SDL_gesture_c.h │ ├── SDL_keyboard.c │ ├── SDL_keyboard_c.h │ ├── SDL_mouse.c │ ├── SDL_mouse_c.h │ ├── SDL_quit.c │ ├── SDL_sysevents.h │ ├── SDL_touch.c │ ├── SDL_touch_c.h │ ├── SDL_windowevents.c │ ├── SDL_windowevents_c.h │ ├── blank_cursor.h │ ├── default_cursor.h │ ├── scancodes_darwin.h │ ├── scancodes_linux.h │ ├── scancodes_windows.h │ └── scancodes_xfree86.h ├── file │ ├── SDL_rwops.c │ └── cocoa │ │ ├── SDL_rwopsbundlesupport.h │ │ └── SDL_rwopsbundlesupport.m ├── filesystem │ ├── android │ │ └── SDL_sysfilesystem.c │ ├── cocoa │ │ └── SDL_sysfilesystem.m │ ├── dummy │ │ └── SDL_sysfilesystem.c │ ├── emscripten │ │ └── SDL_sysfilesystem.c │ ├── haiku │ │ └── SDL_sysfilesystem.cc │ ├── nacl │ │ └── SDL_sysfilesystem.c │ ├── unix │ │ └── SDL_sysfilesystem.c │ ├── windows │ │ └── SDL_sysfilesystem.c │ └── winrt │ │ └── SDL_sysfilesystem.cpp ├── haptic │ ├── SDL_haptic.c │ ├── SDL_haptic_c.h │ ├── SDL_syshaptic.h │ ├── darwin │ │ ├── SDL_syshaptic.c │ │ └── SDL_syshaptic_c.h │ ├── dummy │ │ └── SDL_syshaptic.c │ ├── linux │ │ └── SDL_syshaptic.c │ └── windows │ │ ├── SDL_dinputhaptic.c │ │ ├── SDL_dinputhaptic_c.h │ │ ├── SDL_windowshaptic.c │ │ ├── SDL_windowshaptic_c.h │ │ ├── SDL_xinputhaptic.c │ │ └── SDL_xinputhaptic_c.h ├── joystick │ ├── 3ds │ │ └── SDL_sysjoystick.c │ ├── SDL_gamecontroller.c │ ├── SDL_gamecontrollerdb.h │ ├── SDL_joystick.c │ ├── SDL_joystick_c.h │ ├── SDL_sysjoystick.h │ ├── android │ │ ├── SDL_sysjoystick.c │ │ └── SDL_sysjoystick_c.h │ ├── bsd │ │ └── SDL_sysjoystick.c │ ├── darwin │ │ ├── SDL_sysjoystick.c │ │ └── SDL_sysjoystick_c.h │ ├── dummy │ │ └── SDL_sysjoystick.c │ ├── emscripten │ │ ├── SDL_sysjoystick.c │ │ └── SDL_sysjoystick_c.h │ ├── haiku │ │ └── SDL_haikujoystick.cc │ ├── iphoneos │ │ └── SDL_sysjoystick.m │ ├── linux │ │ ├── SDL_sysjoystick.c │ │ └── SDL_sysjoystick_c.h │ ├── psp │ │ └── SDL_sysjoystick.c │ ├── sort_controllers.py │ └── windows │ │ ├── SDL_dinputjoystick.c │ │ ├── SDL_dinputjoystick_c.h │ │ ├── SDL_mmjoystick.c │ │ ├── SDL_windowsjoystick.c │ │ ├── SDL_windowsjoystick_c.h │ │ ├── SDL_xinputjoystick.c │ │ └── SDL_xinputjoystick_c.h ├── libm │ ├── e_atan2.c │ ├── e_log.c │ ├── e_pow.c │ ├── e_rem_pio2.c │ ├── e_sqrt.c │ ├── k_cos.c │ ├── k_rem_pio2.c │ ├── k_sin.c │ ├── k_tan.c │ ├── math_libm.h │ ├── math_private.h │ ├── s_atan.c │ ├── s_copysign.c │ ├── s_cos.c │ ├── s_fabs.c │ ├── s_floor.c │ ├── s_scalbn.c │ ├── s_sin.c │ └── s_tan.c ├── loadso │ ├── dlopen │ │ └── SDL_sysloadso.c │ ├── dummy │ │ └── SDL_sysloadso.c │ ├── haiku │ │ └── SDL_sysloadso.c │ └── windows │ │ └── SDL_sysloadso.c ├── main │ ├── 3ds │ │ └── SDL_3ds_main.c │ ├── android │ │ └── SDL_android_main.c │ ├── dummy │ │ └── SDL_dummy_main.c │ ├── haiku │ │ ├── SDL_BApp.h │ │ ├── SDL_BeApp.cc │ │ └── SDL_BeApp.h │ ├── nacl │ │ └── SDL_nacl_main.c │ ├── psp │ │ └── SDL_psp_main.c │ ├── windows │ │ ├── SDL_windows_main.c │ │ └── version.rc │ └── winrt │ │ └── SDL_winrt_main_NonXAML.cpp ├── power │ ├── 3ds │ │ └── SDL_syspower.c │ ├── SDL_power.c │ ├── android │ │ └── SDL_syspower.c │ ├── emscripten │ │ └── SDL_syspower.c │ ├── haiku │ │ └── SDL_syspower.c │ ├── linux │ │ └── SDL_syspower.c │ ├── macosx │ │ └── SDL_syspower.c │ ├── psp │ │ └── SDL_syspower.c │ ├── uikit │ │ ├── SDL_syspower.h │ │ └── SDL_syspower.m │ ├── windows │ │ └── SDL_syspower.c │ └── winrt │ │ └── SDL_syspower.cpp ├── render │ ├── 3ds │ │ ├── SDL_render_3ds.c │ │ └── shader.vsh │ ├── SDL_d3dmath.c │ ├── SDL_d3dmath.h │ ├── SDL_render.c │ ├── SDL_sysrender.h │ ├── SDL_yuv_mmx.c │ ├── SDL_yuv_sw.c │ ├── SDL_yuv_sw_c.h │ ├── direct3d │ │ └── SDL_render_d3d.c │ ├── direct3d11 │ │ ├── SDL_render_d3d11.c │ │ ├── SDL_render_winrt.cpp │ │ └── SDL_render_winrt.h │ ├── mmx.h │ ├── opengl │ │ ├── SDL_glfuncs.h │ │ ├── SDL_render_gl.c │ │ ├── SDL_shaders_gl.c │ │ └── SDL_shaders_gl.h │ ├── opengles │ │ ├── SDL_glesfuncs.h │ │ └── SDL_render_gles.c │ ├── opengles2 │ │ ├── SDL_gles2funcs.h │ │ ├── SDL_render_gles2.c │ │ ├── SDL_shaders_gles2.c │ │ └── SDL_shaders_gles2.h │ ├── psp │ │ └── SDL_render_psp.c │ └── software │ │ ├── SDL_blendfillrect.c │ │ ├── SDL_blendfillrect.h │ │ ├── SDL_blendline.c │ │ ├── SDL_blendline.h │ │ ├── SDL_blendpoint.c │ │ ├── SDL_blendpoint.h │ │ ├── SDL_draw.h │ │ ├── SDL_drawline.c │ │ ├── SDL_drawline.h │ │ ├── SDL_drawpoint.c │ │ ├── SDL_drawpoint.h │ │ ├── SDL_render_sw.c │ │ ├── SDL_render_sw_c.h │ │ ├── SDL_rotate.c │ │ └── SDL_rotate.h ├── stdlib │ ├── SDL_getenv.c │ ├── SDL_iconv.c │ ├── SDL_malloc.c │ ├── SDL_qsort.c │ ├── SDL_stdlib.c │ └── SDL_string.c ├── test │ ├── SDL_test_assert.c │ ├── SDL_test_common.c │ ├── SDL_test_compare.c │ ├── SDL_test_crc32.c │ ├── SDL_test_font.c │ ├── SDL_test_fuzzer.c │ ├── SDL_test_harness.c │ ├── SDL_test_imageBlit.c │ ├── SDL_test_imageBlitBlend.c │ ├── SDL_test_imageFace.c │ ├── SDL_test_imagePrimitives.c │ ├── SDL_test_imagePrimitivesBlend.c │ ├── SDL_test_log.c │ ├── SDL_test_md5.c │ └── SDL_test_random.c ├── thread │ ├── 3ds │ │ ├── SDL_syscond.c │ │ ├── SDL_sysmutex.c │ │ ├── SDL_sysmutex_c.h │ │ ├── SDL_syssem.c │ │ ├── SDL_systhread.c │ │ ├── SDL_systhread_c.h │ │ └── SDL_systls.c │ ├── SDL_systhread.h │ ├── SDL_thread.c │ ├── SDL_thread_c.h │ ├── generic │ │ ├── SDL_syscond.c │ │ ├── SDL_sysmutex.c │ │ ├── SDL_sysmutex_c.h │ │ ├── SDL_syssem.c │ │ ├── SDL_systhread.c │ │ ├── SDL_systhread_c.h │ │ └── SDL_systls.c │ ├── psp │ │ ├── SDL_syscond.c │ │ ├── SDL_sysmutex.c │ │ ├── SDL_sysmutex_c.h │ │ ├── SDL_syssem.c │ │ ├── SDL_systhread.c │ │ └── SDL_systhread_c.h │ ├── pthread │ │ ├── SDL_syscond.c │ │ ├── SDL_sysmutex.c │ │ ├── SDL_sysmutex_c.h │ │ ├── SDL_syssem.c │ │ ├── SDL_systhread.c │ │ ├── SDL_systhread_c.h │ │ └── SDL_systls.c │ ├── stdcpp │ │ ├── SDL_syscond.cpp │ │ ├── SDL_sysmutex.cpp │ │ ├── SDL_sysmutex_c.h │ │ ├── SDL_systhread.cpp │ │ └── SDL_systhread_c.h │ └── windows │ │ ├── SDL_sysmutex.c │ │ ├── SDL_syssem.c │ │ ├── SDL_systhread.c │ │ ├── SDL_systhread_c.h │ │ └── SDL_systls.c ├── timer │ ├── 3ds │ │ └── SDL_systimer.c │ ├── SDL_timer.c │ ├── SDL_timer_c.h │ ├── dummy │ │ └── SDL_systimer.c │ ├── haiku │ │ └── SDL_systimer.c │ ├── psp │ │ └── SDL_systimer.c │ ├── unix │ │ └── SDL_systimer.c │ └── windows │ │ └── SDL_systimer.c └── video │ ├── 3ds │ ├── SDL_3dsevents.c │ ├── SDL_3dsevents_c.h │ ├── SDL_3dsmouse.c │ ├── SDL_3dsmouse_c.h │ ├── SDL_3dsvideo.c │ └── SDL_3dsvideo.h │ ├── SDL_RLEaccel.c │ ├── SDL_RLEaccel_c.h │ ├── SDL_blit.c │ ├── SDL_blit.h │ ├── SDL_blit_0.c │ ├── SDL_blit_1.c │ ├── SDL_blit_A.c │ ├── SDL_blit_N.c │ ├── SDL_blit_auto.c │ ├── SDL_blit_auto.h │ ├── SDL_blit_copy.c │ ├── SDL_blit_copy.h │ ├── SDL_blit_slow.c │ ├── SDL_blit_slow.h │ ├── SDL_bmp.c │ ├── SDL_clipboard.c │ ├── SDL_egl.c │ ├── SDL_egl_c.h │ ├── SDL_fillrect.c │ ├── SDL_pixels.c │ ├── SDL_pixels_c.h │ ├── SDL_rect.c │ ├── SDL_rect_c.h │ ├── SDL_shape.c │ ├── SDL_shape_internals.h │ ├── SDL_stretch.c │ ├── SDL_surface.c │ ├── SDL_sysvideo.h │ ├── SDL_video.c │ ├── android │ ├── SDL_androidclipboard.c │ ├── SDL_androidclipboard.h │ ├── SDL_androidevents.c │ ├── SDL_androidevents.h │ ├── SDL_androidgl.c │ ├── SDL_androidkeyboard.c │ ├── SDL_androidkeyboard.h │ ├── SDL_androidmessagebox.c │ ├── SDL_androidmessagebox.h │ ├── SDL_androidmouse.c │ ├── SDL_androidmouse.h │ ├── SDL_androidtouch.c │ ├── SDL_androidtouch.h │ ├── SDL_androidvideo.c │ ├── SDL_androidvideo.h │ ├── SDL_androidwindow.c │ └── SDL_androidwindow.h │ ├── cocoa │ ├── SDL_cocoaclipboard.h │ ├── SDL_cocoaclipboard.m │ ├── SDL_cocoaevents.h │ ├── SDL_cocoaevents.m │ ├── SDL_cocoakeyboard.h │ ├── SDL_cocoakeyboard.m │ ├── SDL_cocoamessagebox.h │ ├── SDL_cocoamessagebox.m │ ├── SDL_cocoamodes.h │ ├── SDL_cocoamodes.m │ ├── SDL_cocoamouse.h │ ├── SDL_cocoamouse.m │ ├── SDL_cocoamousetap.h │ ├── SDL_cocoamousetap.m │ ├── SDL_cocoaopengl.h │ ├── SDL_cocoaopengl.m │ ├── SDL_cocoashape.h │ ├── SDL_cocoashape.m │ ├── SDL_cocoavideo.h │ ├── SDL_cocoavideo.m │ ├── SDL_cocoawindow.h │ └── SDL_cocoawindow.m │ ├── directfb │ ├── SDL_DirectFB_WM.c │ ├── SDL_DirectFB_WM.h │ ├── SDL_DirectFB_dyn.c │ ├── SDL_DirectFB_dyn.h │ ├── SDL_DirectFB_events.c │ ├── SDL_DirectFB_events.h │ ├── SDL_DirectFB_modes.c │ ├── SDL_DirectFB_modes.h │ ├── SDL_DirectFB_mouse.c │ ├── SDL_DirectFB_mouse.h │ ├── SDL_DirectFB_opengl.c │ ├── SDL_DirectFB_opengl.h │ ├── SDL_DirectFB_render.c │ ├── SDL_DirectFB_render.h │ ├── SDL_DirectFB_shape.c │ ├── SDL_DirectFB_shape.h │ ├── SDL_DirectFB_video.c │ ├── SDL_DirectFB_video.h │ ├── SDL_DirectFB_window.c │ └── SDL_DirectFB_window.h │ ├── dummy │ ├── SDL_nullevents.c │ ├── SDL_nullevents_c.h │ ├── SDL_nullframebuffer.c │ ├── SDL_nullframebuffer_c.h │ ├── SDL_nullvideo.c │ └── SDL_nullvideo.h │ ├── emscripten │ ├── SDL_emscriptenevents.c │ ├── SDL_emscriptenevents.h │ ├── SDL_emscriptenframebuffer.c │ ├── SDL_emscriptenframebuffer.h │ ├── SDL_emscriptenmouse.c │ ├── SDL_emscriptenmouse.h │ ├── SDL_emscriptenopengles.c │ ├── SDL_emscriptenopengles.h │ ├── SDL_emscriptenvideo.c │ └── SDL_emscriptenvideo.h │ ├── haiku │ ├── SDL_BWin.h │ ├── SDL_bclipboard.cc │ ├── SDL_bclipboard.h │ ├── SDL_bevents.cc │ ├── SDL_bevents.h │ ├── SDL_bframebuffer.cc │ ├── SDL_bframebuffer.h │ ├── SDL_bkeyboard.cc │ ├── SDL_bkeyboard.h │ ├── SDL_bmodes.cc │ ├── SDL_bmodes.h │ ├── SDL_bopengl.cc │ ├── SDL_bopengl.h │ ├── SDL_bvideo.cc │ ├── SDL_bvideo.h │ ├── SDL_bwindow.cc │ └── SDL_bwindow.h │ ├── mir │ ├── SDL_mirdyn.c │ ├── SDL_mirdyn.h │ ├── SDL_mirevents.c │ ├── SDL_mirevents.h │ ├── SDL_mirframebuffer.c │ ├── SDL_mirframebuffer.h │ ├── SDL_mirmouse.c │ ├── SDL_mirmouse.h │ ├── SDL_miropengl.c │ ├── SDL_miropengl.h │ ├── SDL_mirsym.h │ ├── SDL_mirvideo.c │ ├── SDL_mirvideo.h │ ├── SDL_mirwindow.c │ └── SDL_mirwindow.h │ ├── nacl │ ├── SDL_naclevents.c │ ├── SDL_naclevents_c.h │ ├── SDL_naclglue.c │ ├── SDL_naclopengles.c │ ├── SDL_naclopengles.h │ ├── SDL_naclvideo.c │ ├── SDL_naclvideo.h │ ├── SDL_naclwindow.c │ └── SDL_naclwindow.h │ ├── pandora │ ├── SDL_pandora.c │ ├── SDL_pandora.h │ ├── SDL_pandora_events.c │ └── SDL_pandora_events.h │ ├── psp │ ├── SDL_pspevents.c │ ├── SDL_pspevents_c.h │ ├── SDL_pspgl.c │ ├── SDL_pspgl_c.h │ ├── SDL_pspmouse.c │ ├── SDL_pspmouse_c.h │ ├── SDL_pspvideo.c │ └── SDL_pspvideo.h │ ├── raspberry │ ├── SDL_rpievents.c │ ├── SDL_rpievents_c.h │ ├── SDL_rpimouse.c │ ├── SDL_rpimouse.h │ ├── SDL_rpiopengles.c │ ├── SDL_rpiopengles.h │ ├── SDL_rpivideo.c │ └── SDL_rpivideo.h │ ├── sdlgenblit.pl │ ├── uikit │ ├── SDL_uikitappdelegate.h │ ├── SDL_uikitappdelegate.m │ ├── SDL_uikitevents.h │ ├── SDL_uikitevents.m │ ├── SDL_uikitmessagebox.h │ ├── SDL_uikitmessagebox.m │ ├── SDL_uikitmodes.h │ ├── SDL_uikitmodes.m │ ├── SDL_uikitopengles.h │ ├── SDL_uikitopengles.m │ ├── SDL_uikitopenglview.h │ ├── SDL_uikitopenglview.m │ ├── SDL_uikitvideo.h │ ├── SDL_uikitvideo.m │ ├── SDL_uikitview.h │ ├── SDL_uikitview.m │ ├── SDL_uikitviewcontroller.h │ ├── SDL_uikitviewcontroller.m │ ├── SDL_uikitwindow.h │ ├── SDL_uikitwindow.m │ └── keyinfotable.h │ ├── vivante │ ├── SDL_vivanteopengles.c │ ├── SDL_vivanteopengles.h │ ├── SDL_vivanteplatform.c │ ├── SDL_vivanteplatform.h │ ├── SDL_vivantevideo.c │ └── SDL_vivantevideo.h │ ├── wayland │ ├── SDL_waylanddyn.c │ ├── SDL_waylanddyn.h │ ├── SDL_waylandevents.c │ ├── SDL_waylandevents_c.h │ ├── SDL_waylandmouse.c │ ├── SDL_waylandmouse.h │ ├── SDL_waylandopengles.c │ ├── SDL_waylandopengles.h │ ├── SDL_waylandsym.h │ ├── SDL_waylandtouch.c │ ├── SDL_waylandtouch.h │ ├── SDL_waylandvideo.c │ ├── SDL_waylandvideo.h │ ├── SDL_waylandwindow.c │ └── SDL_waylandwindow.h │ ├── windows │ ├── SDL_msctf.h │ ├── SDL_vkeys.h │ ├── SDL_windowsclipboard.c │ ├── SDL_windowsclipboard.h │ ├── SDL_windowsevents.c │ ├── SDL_windowsevents.h │ ├── SDL_windowsframebuffer.c │ ├── SDL_windowsframebuffer.h │ ├── SDL_windowskeyboard.c │ ├── SDL_windowskeyboard.h │ ├── SDL_windowsmessagebox.c │ ├── SDL_windowsmessagebox.h │ ├── SDL_windowsmodes.c │ ├── SDL_windowsmodes.h │ ├── SDL_windowsmouse.c │ ├── SDL_windowsmouse.h │ ├── SDL_windowsopengl.c │ ├── SDL_windowsopengl.h │ ├── SDL_windowsopengles.c │ ├── SDL_windowsopengles.h │ ├── SDL_windowsshape.c │ ├── SDL_windowsshape.h │ ├── SDL_windowsvideo.c │ ├── SDL_windowsvideo.h │ ├── SDL_windowswindow.c │ ├── SDL_windowswindow.h │ └── wmmsg.h │ ├── winrt │ ├── SDL_winrtevents.cpp │ ├── SDL_winrtevents_c.h │ ├── SDL_winrtkeyboard.cpp │ ├── SDL_winrtmessagebox.cpp │ ├── SDL_winrtmessagebox.h │ ├── SDL_winrtmouse.cpp │ ├── SDL_winrtmouse_c.h │ ├── SDL_winrtopengles.cpp │ ├── SDL_winrtopengles.h │ ├── SDL_winrtpointerinput.cpp │ ├── SDL_winrtvideo.cpp │ └── SDL_winrtvideo_cpp.h │ └── x11 │ ├── SDL_x11clipboard.c │ ├── SDL_x11clipboard.h │ ├── SDL_x11dyn.c │ ├── SDL_x11dyn.h │ ├── SDL_x11events.c │ ├── SDL_x11events.h │ ├── SDL_x11framebuffer.c │ ├── SDL_x11framebuffer.h │ ├── SDL_x11keyboard.c │ ├── SDL_x11keyboard.h │ ├── SDL_x11messagebox.c │ ├── SDL_x11messagebox.h │ ├── SDL_x11modes.c │ ├── SDL_x11modes.h │ ├── SDL_x11mouse.c │ ├── SDL_x11mouse.h │ ├── SDL_x11opengl.c │ ├── SDL_x11opengl.h │ ├── SDL_x11opengles.c │ ├── SDL_x11opengles.h │ ├── SDL_x11shape.c │ ├── SDL_x11shape.h │ ├── SDL_x11sym.h │ ├── SDL_x11touch.c │ ├── SDL_x11touch.h │ ├── SDL_x11video.c │ ├── SDL_x11video.h │ ├── SDL_x11window.c │ ├── SDL_x11window.h │ ├── SDL_x11xinput2.c │ ├── SDL_x11xinput2.h │ ├── edid-parse.c │ ├── edid.h │ ├── imKStoUCS.c │ └── imKStoUCS.h ├── test ├── COPYING ├── Makefile.in ├── README ├── acinclude.m4 ├── aclocal.m4 ├── autogen.sh ├── axis.bmp ├── button.bmp ├── checkkeys.c ├── configure ├── configure.in ├── controllermap.bmp ├── controllermap.c ├── emscripten │ └── joystick-pre.js ├── gcc-fat.sh ├── icon.bmp ├── loopwave.c ├── loopwavequeue.c ├── moose.dat ├── nacl │ ├── Makefile │ ├── background.js │ ├── common.js │ ├── index.html │ └── manifest.json ├── picture.xbm ├── relative_mode.markdown ├── sample.bmp ├── sample.wav ├── shapes │ ├── p01_shape24.bmp │ ├── p01_shape32alpha.bmp │ ├── p01_shape8.bmp │ ├── p02_shape24.bmp │ ├── p02_shape32alpha.bmp │ ├── p02_shape8.bmp │ ├── p03_shape24.bmp │ ├── p03_shape8.bmp │ ├── p04_shape1.bmp │ ├── p04_shape24.bmp │ ├── p04_shape32alpha.bmp │ ├── p04_shape8.bmp │ ├── p05_shape8.bmp │ ├── p06_shape1alpha.bmp │ ├── p06_shape24.bmp │ ├── p06_shape32alpha.bmp │ ├── p06_shape8.bmp │ ├── p07_shape24.bmp │ ├── p07_shape32alpha.bmp │ ├── p07_shape8.bmp │ ├── p08_shape24.bmp │ ├── p08_shape32alpha.bmp │ ├── p08_shape8.bmp │ ├── p09_shape24.bmp │ ├── p09_shape32alpha.bmp │ ├── p09_shape8.bmp │ ├── p10_shape1.bmp │ ├── p10_shape24.bmp │ ├── p10_shape32alpha.bmp │ ├── p10_shape8.bmp │ ├── p11_shape24.bmp │ ├── p11_shape32alpha.bmp │ ├── p11_shape8.bmp │ ├── p12_shape24.bmp │ ├── p12_shape8.bmp │ ├── p13_shape24.bmp │ ├── p13_shape32alpha.bmp │ ├── p13_shape8.bmp │ ├── p14_shape24.bmp │ ├── p14_shape8.bmp │ ├── p15_shape24.bmp │ ├── p15_shape32alpha.bmp │ ├── p15_shape8.bmp │ ├── p16_shape1.bmp │ ├── p16_shape24.bmp │ ├── p16_shape8.bmp │ ├── trollface_24.bmp │ └── trollface_32alpha.bmp ├── testatomic.c ├── testaudiohotplug.c ├── testaudioinfo.c ├── testautomation.c ├── testautomation_audio.c ├── testautomation_clipboard.c ├── testautomation_events.c ├── testautomation_hints.c ├── testautomation_keyboard.c ├── testautomation_main.c ├── testautomation_mouse.c ├── testautomation_pixels.c ├── testautomation_platform.c ├── testautomation_rect.c ├── testautomation_render.c ├── testautomation_rwops.c ├── testautomation_sdltest.c ├── testautomation_stdlib.c ├── testautomation_suites.h ├── testautomation_surface.c ├── testautomation_syswm.c ├── testautomation_timer.c ├── testautomation_video.c ├── testdraw2.c ├── testdrawchessboard.c ├── testdropfile.c ├── testerror.c ├── testfile.c ├── testfilesystem.c ├── testgamecontroller.c ├── testgesture.c ├── testgl2.c ├── testgles.c ├── testgles2.c ├── testhaptic.c ├── testhittesting.c ├── testhotplug.c ├── testiconv.c ├── testime.c ├── testintersections.c ├── testjoystick.c ├── testkeys.c ├── testloadso.c ├── testlock.c ├── testmessage.c ├── testmultiaudio.c ├── testnative.c ├── testnative.h ├── testnativecocoa.m ├── testnativew32.c ├── testnativex11.c ├── testoverlay2.c ├── testplatform.c ├── testpower.c ├── testrelative.c ├── testrendercopyex.c ├── testrendertarget.c ├── testresample.c ├── testrumble.c ├── testscale.c ├── testsem.c ├── testshader.c ├── testshape.c ├── testsprite2.c ├── testspriteminimal.c ├── teststreaming.c ├── testthread.c ├── testtimer.c ├── testver.c ├── testviewport.c ├── testwm2.c ├── torturethread.c └── utf8.txt └── visualtest ├── COPYING.txt ├── Makefile.in ├── README.txt ├── acinclude.m4 ├── autogen.sh ├── compile ├── config.h ├── config.h.in ├── configs ├── testsprite2_blendmodes │ ├── testsprite2_blendmodes.actions │ ├── testsprite2_blendmodes.config │ └── testsprite2_blendmodes.parameters ├── testsprite2_crashtest │ ├── testsprite2_crashtest.actions │ ├── testsprite2_crashtest.config │ └── testsprite2_crashtest.parameters ├── testsprite2_fullscreen │ ├── testsprite2_fullscreen.actions │ ├── testsprite2_fullscreen.config │ └── testsprite2_fullscreen.parameters └── testsprite2_geometry │ ├── testsprite2_geometry.actions │ ├── testsprite2_geometry.config │ └── testsprite2_geometry.parameters ├── configure ├── configure.in ├── depcomp ├── docs └── Doxyfile ├── include ├── SDL_visualtest_action_configparser.h ├── SDL_visualtest_exhaustive_variator.h ├── SDL_visualtest_harness_argparser.h ├── SDL_visualtest_mischelper.h ├── SDL_visualtest_parsehelper.h ├── SDL_visualtest_process.h ├── SDL_visualtest_random_variator.h ├── SDL_visualtest_rwhelper.h ├── SDL_visualtest_screenshot.h ├── SDL_visualtest_sut_configparser.h ├── SDL_visualtest_variator_common.h └── SDL_visualtest_variators.h ├── install-sh ├── launch_harness.cmd ├── launch_harness.sh ├── missing ├── src ├── action_configparser.c ├── harness_argparser.c ├── linux │ └── linux_process.c ├── mischelper.c ├── parsehelper.c ├── rwhelper.c ├── screenshot.c ├── sut_configparser.c ├── testharness.c ├── variator_common.c ├── variator_exhaustive.c ├── variator_random.c ├── variators.c └── windows │ ├── windows_process.c │ └── windows_screenshot.c ├── stamp-h1 ├── testsprite2_sample.actions ├── testsprite2_sample.config ├── testsprite2_sample.parameters └── unittest ├── testquit.actions ├── testquit.c ├── testquit.config └── testquit.parameters /BUGS.txt: -------------------------------------------------------------------------------- 1 | 2 | Bugs are now managed in the SDL bug tracker, here: 3 | 4 | http://bugzilla.libsdl.org/ 5 | 6 | You may report bugs there, and search to see if a given issue has already 7 | been reported, discussed, and maybe even fixed. 8 | 9 | 10 | You may also find help on the SDL mailing list. Subscription information: 11 | 12 | http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org 13 | 14 | Bug reports are welcome here, but we really appreciate if you use Bugzilla, as 15 | bugs discussed on the mailing list may be forgotten or missed. 16 | 17 | -------------------------------------------------------------------------------- /COPYING.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | -------------------------------------------------------------------------------- /Makefile.minimal: -------------------------------------------------------------------------------- 1 | # Makefile to build the SDL library 2 | 3 | INCLUDE = -I./include 4 | CFLAGS = -g -O2 $(INCLUDE) 5 | AR = ar 6 | RANLIB = ranlib 7 | 8 | TARGET = libSDL.a 9 | SOURCES = \ 10 | src/*.c \ 11 | src/audio/*.c \ 12 | src/audio/dummy/*.c \ 13 | src/cpuinfo/*.c \ 14 | src/events/*.c \ 15 | src/file/*.c \ 16 | src/haptic/*.c \ 17 | src/haptic/dummy/*.c \ 18 | src/joystick/*.c \ 19 | src/joystick/dummy/*.c \ 20 | src/loadso/dummy/*.c \ 21 | src/power/*.c \ 22 | src/filesystem/dummy/*.c \ 23 | src/render/*.c \ 24 | src/render/software/*.c \ 25 | src/stdlib/*.c \ 26 | src/thread/*.c \ 27 | src/thread/generic/*.c \ 28 | src/timer/*.c \ 29 | src/timer/dummy/*.c \ 30 | src/video/*.c \ 31 | src/video/dummy/*.c \ 32 | 33 | OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') 34 | 35 | all: $(TARGET) 36 | 37 | $(TARGET): $(OBJECTS) 38 | $(AR) crv $@ $^ 39 | $(RANLIB) $@ 40 | 41 | clean: 42 | rm -f $(TARGET) $(OBJECTS) 43 | -------------------------------------------------------------------------------- /README-SDL.txt: -------------------------------------------------------------------------------- 1 | 2 | Please distribute this file with the SDL runtime environment: 3 | 4 | The Simple DirectMedia Layer (SDL for short) is a cross-platform library 5 | designed to make it easy to write multi-media software, such as games and 6 | emulators. 7 | 8 | The Simple DirectMedia Layer library source code is available from: 9 | http://www.libsdl.org/ 10 | 11 | This library is distributed under the terms of the zlib license: 12 | http://www.zlib.net/zlib_license.html 13 | 14 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | 4 | (SDL) 5 | 6 | Version 2.0 7 | 8 | --- 9 | http://www.libsdl.org/ 10 | 11 | Simple DirectMedia Layer is a cross-platform development library designed 12 | to provide low level access to audio, keyboard, mouse, joystick, and graphics 13 | hardware via OpenGL and Direct3D. It is used by video playback software, 14 | emulators, and popular games including Valve's award winning catalog 15 | and many Humble Bundle games. 16 | 17 | More extensive documentation is available in the docs directory, starting 18 | with README.md 19 | 20 | Enjoy! 21 | Sam Lantinga (slouken@libsdl.org) 22 | -------------------------------------------------------------------------------- /TODO.txt: -------------------------------------------------------------------------------- 1 | Future work roadmap: 2 | * http://wiki.libsdl.org/moin.cgi/Roadmap 3 | 4 | * Check 1.2 revisions: 5 | 3554 - Need to resolve semantics for locking keys on different platforms 6 | 4874 - Do we want screen rotation? At what level? 7 | 4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98 8 | 4865 - See if this is still needed (mouse coordinate clamping) 9 | 4866 - See if this is still needed (blocking window repositioning) 10 | 11 | -------------------------------------------------------------------------------- /VisualC-WinRT/tests/loopwave/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/loopwave/Assets/Logo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/loopwave/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/loopwave/Assets/SmallLogo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/loopwave/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/loopwave/Assets/SplashScreen.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/loopwave/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/loopwave/Assets/StoreLogo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/loopwave/loopwave_VS2012_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/loopwave/loopwave_VS2012_TemporaryKey.pfx -------------------------------------------------------------------------------- /VisualC-WinRT/tests/testthread/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/testthread/Assets/Logo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/testthread/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/testthread/Assets/SmallLogo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/testthread/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/testthread/Assets/SplashScreen.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/testthread/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/testthread/Assets/StoreLogo.png -------------------------------------------------------------------------------- /VisualC-WinRT/tests/testthread/testthread_VS2012_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/VisualC-WinRT/tests/testthread/testthread_VS2012_TemporaryKey.pfx -------------------------------------------------------------------------------- /VisualC/clean.sh: -------------------------------------------------------------------------------- 1 | find . -type d -name 'Debug' -exec rm -rv {} \; 2 | find . -type d -name 'Release' -exec rm -rv {} \; 3 | find . -type f -name '*.user' -exec rm -v {} \; 4 | find . -type f -name '*.ncb' -exec rm -v {} \; 5 | find . -type f -name '*.suo' -exec rm -v {} \; 6 | -------------------------------------------------------------------------------- /Xcode-iOS/Demos/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/Default.png -------------------------------------------------------------------------------- /Xcode-iOS/Demos/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/Icon.png -------------------------------------------------------------------------------- /Xcode-iOS/Demos/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | NSMainNibFile 26 | 27 | UISupportedInterfaceOrientations 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/drums/ds_brush_snare.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/drums/ds_brush_snare.wav -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/drums/ds_china.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/drums/ds_china.wav -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/icon.bmp -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/ship.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/ship.bmp -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/space.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/space.bmp -------------------------------------------------------------------------------- /Xcode-iOS/Demos/data/stroke.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Demos/data/stroke.bmp -------------------------------------------------------------------------------- /Xcode-iOS/Demos/src/common.c: -------------------------------------------------------------------------------- 1 | /* 2 | * common.c 3 | * written by Holmes Futrell 4 | * use however you want 5 | */ 6 | 7 | #include "common.h" 8 | #include "SDL.h" 9 | #include 10 | 11 | /* 12 | Produces a random int x, min <= x <= max 13 | following a uniform distribution 14 | */ 15 | int 16 | randomInt(int min, int max) 17 | { 18 | return min + rand() % (max - min + 1); 19 | } 20 | 21 | /* 22 | Produces a random float x, min <= x <= max 23 | following a uniform distribution 24 | */ 25 | float 26 | randomFloat(float min, float max) 27 | { 28 | return rand() / (float) RAND_MAX *(max - min) + min; 29 | } 30 | 31 | void 32 | fatalError(const char *string) 33 | { 34 | printf("%s: %s\n", string, SDL_GetError()); 35 | exit(1); 36 | } 37 | -------------------------------------------------------------------------------- /Xcode-iOS/Demos/src/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * common.h 3 | * written by Holmes Futrell 4 | * use however you want 5 | */ 6 | 7 | #define SCREEN_WIDTH 320 8 | #define SCREEN_HEIGHT 480 9 | 10 | extern int randomInt(int min, int max); 11 | extern float randomFloat(float min, float max); 12 | extern void fatalError(const char *string); 13 | -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Template/SDL iOS Application/Default-568h@2x.png -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Template/SDL iOS Application/Default.png -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Template/SDL iOS Application/Icon.png -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | Icon 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Description 6 | This project builds an SDL based project for iPhone OS using C or Objective-C. It includes everything you need to get up and running with SDL on iPhone. 7 | CFBundleIconFile 8 | Icon.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Xcode-iOS/Test/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | NSMainNibFile 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Xcode-iOS/Test/README: -------------------------------------------------------------------------------- 1 | TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS. Most of these test programs work fine, with the following exceptions: 2 | 3 | testalpha: 4 | Program crashes. Problem appears to effect Mac OS X as well. 5 | 6 | testthread: 7 | SIGTERM kills the process immediately without executing the 'kill' function. The posix standard says this shouldn't happen. Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?) 8 | 9 | testlock: 10 | Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT. 11 | 12 | testpalette: 13 | "SDL error: blitting boat: Blit combination not supported." Happens on Mac OS X as well. 14 | 15 | testsprite2: 16 | SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR. 17 | 18 | testwin: 19 | Behaves as it does under Mac OS X ... not sure if that is correctly or not. 20 | 21 | threadwin: 22 | Works if -threaded is not on. Otherwise it doesn't work, but this is true under Mac OS X as well. 23 | -------------------------------------------------------------------------------- /Xcode/SDL/Info-Framework.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleGetInfoString 10 | http://www.libsdl.org 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | org.libsdl.SDL2 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Simple DirectMedia Layer 19 | CFBundlePackageType 20 | FMWK 21 | CFBundleShortVersionString 22 | 2.0.4 23 | CFBundleSignature 24 | SDLX 25 | CFBundleVersion 26 | 2.0.4 27 | 28 | 29 | -------------------------------------------------------------------------------- /Xcode/SDL/pkg-support/SDL.info: -------------------------------------------------------------------------------- 1 | Title SDL 2.0.0 2 | Version 1 3 | Description SDL Library for Mac OS X (http://www.libsdl.org) 4 | DefaultLocation /Library/Frameworks 5 | Diskname (null) 6 | DeleteWarning 7 | NeedsAuthorization NO 8 | DisableStop NO 9 | UseUserMask NO 10 | Application NO 11 | Relocatable YES 12 | Required NO 13 | InstallOnly NO 14 | RequiresReboot NO 15 | InstallFat NO 16 | -------------------------------------------------------------------------------- /Xcode/SDL/pkg-support/resources/License.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | -------------------------------------------------------------------------------- /Xcode/SDL/pkg-support/resources/SDL_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode/SDL/pkg-support/resources/SDL_DS_Store -------------------------------------------------------------------------------- /Xcode/SDL/pkg-support/sdl_logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/Xcode/SDL/pkg-support/sdl_logo.pdf -------------------------------------------------------------------------------- /Xcode/SDLTest/TestDropFile-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeRole 11 | Viewer 12 | LSHandlerRank 13 | Alternate 14 | LSItemContentTypes 15 | 16 | public.data 17 | 18 | 19 | 20 | CFBundleExecutable 21 | ${EXECUTABLE_NAME} 22 | CFBundleIdentifier 23 | org.libsdl.test-dropfile 24 | CFBundleInfoDictionaryVersion 25 | 6.0 26 | CFBundlePackageType 27 | APPL 28 | CFBundleShortVersionString 29 | 1.0 30 | CFBundleVersion 31 | 1.0 32 | LSMinimumSystemVersion 33 | 10.6 34 | 35 | 36 | -------------------------------------------------------------------------------- /acinclude/ac_check_define.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AC_CHECK_DEFINE],[dnl 2 | AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1, 3 | AC_EGREP_CPP([YES_IS_DEFINED], [ 4 | #include <$2> 5 | #ifdef $1 6 | YES_IS_DEFINED 7 | #endif 8 | ], ac_cv_define_$1=yes, ac_cv_define_$1=no) 9 | ) 10 | if test "$ac_cv_define_$1" = "yes" ; then 11 | AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE]) 12 | fi 13 | ])dnl 14 | AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE]) 15 | -------------------------------------------------------------------------------- /acinclude/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 3337 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.2]) 16 | m4_define([LT_PACKAGE_REVISION], [1.3337]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.2' 20 | macro_revision='1.3337' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /android-project/ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /android-project/build.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked in Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /android-project/default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-12 12 | -------------------------------------------------------------------------------- /android-project/jni/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /android-project/jni/Application.mk: -------------------------------------------------------------------------------- 1 | 2 | # Uncomment this if you're using STL in your project 3 | # See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information 4 | # APP_STL := stlport_static 5 | 6 | APP_ABI := armeabi armeabi-v7a x86 7 | -------------------------------------------------------------------------------- /android-project/jni/src/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := main 6 | 7 | SDL_PATH := ../SDL 8 | 9 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include 10 | 11 | # Add your application source files here... 12 | LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \ 13 | YourSourceHere.c 14 | 15 | LOCAL_SHARED_LIBRARIES := SDL2 16 | 17 | LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog 18 | 19 | include $(BUILD_SHARED_LIBRARY) 20 | -------------------------------------------------------------------------------- /android-project/jni/src/Android_static.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := main 6 | 7 | LOCAL_SRC_FILES := YourSourceHere.c 8 | 9 | LOCAL_STATIC_LIBRARIES := SDL2_static 10 | 11 | include $(BUILD_SHARED_LIBRARY) 12 | $(call import-module,SDL)LOCAL_PATH := $(call my-dir) 13 | -------------------------------------------------------------------------------- /android-project/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /android-project/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-12 15 | -------------------------------------------------------------------------------- /android-project/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/android-project/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-project/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/android-project/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-project/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/android-project/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-project/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/android-project/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-project/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /android-project/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SDL App 4 | 5 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | echo "Generating build information using autoconf" 4 | echo "This may take a while ..." 5 | 6 | # Regenerate configuration files 7 | cat acinclude/* >aclocal.m4 8 | found=false 9 | for autoconf in autoconf autoconf259 autoconf-2.59 10 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi 11 | done 12 | if test x$found = xfalse; then 13 | echo "Couldn't find autoconf, aborting" 14 | exit 1 15 | fi 16 | (cd test; sh autogen.sh) 17 | 18 | # Run configure for this platform 19 | echo "Now you are ready to run ./configure" 20 | -------------------------------------------------------------------------------- /build-scripts/showrev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Print the current source revision, if available 4 | 5 | # FIXME: this prints the tip, which isn't useful if you're on a different 6 | # branch, or just not sync'd to the tip. 7 | hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1) 8 | -------------------------------------------------------------------------------- /build-scripts/strip_fPIC.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # libtool assumes that the compiler can handle the -fPIC flag 4 | # This isn't always true (for example, nasm can't handle it) 5 | command="" 6 | while [ $# -gt 0 ]; do 7 | case "$1" in 8 | -?PIC) 9 | # Ignore -fPIC and -DPIC options 10 | ;; 11 | -fno-common) 12 | # Ignore -fPIC and -DPIC options 13 | ;; 14 | *) 15 | command="$command $1" 16 | ;; 17 | esac 18 | shift 19 | done 20 | echo $command 21 | exec $command 22 | -------------------------------------------------------------------------------- /build-scripts/updaterev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Generate a header file with the current source revision 4 | 5 | outdir=`pwd` 6 | cd `dirname $0` 7 | srcdir=.. 8 | header=$outdir/include/SDL_revision.h 9 | 10 | rev=`sh showrev.sh 2>/dev/null` 11 | if [ "$rev" != "" -a "$rev" != "hg-0:baadf00d" ]; then 12 | revnum=`echo $rev | sed 's,hg-\([0-9]*\).*,\1,'` 13 | echo "#define SDL_REVISION \"$rev\"" >"$header.new" 14 | echo "#define SDL_REVISION_NUMBER $revnum" >>"$header.new" 15 | if diff $header $header.new >/dev/null 2>&1; then 16 | rm "$header.new" 17 | else 18 | mv "$header.new" "$header" 19 | fi 20 | fi 21 | -------------------------------------------------------------------------------- /build-scripts/windows-buildbot-zipper.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem just a helper batch file for collecting up files and zipping them. 3 | rem usage: windows-buildbot-zipper.bat 4 | rem must be run from root of SDL source tree. 5 | 6 | IF EXIST VisualC\Win32\Release GOTO okaydir 7 | echo Please run from root of source tree after doing a Release build. 8 | GOTO done 9 | 10 | :okaydir 11 | erase /q /f /s zipper 12 | IF EXIST zipper GOTO zippermade 13 | mkdir zipper 14 | :zippermade 15 | cd zipper 16 | mkdir SDL 17 | cd SDL 18 | mkdir include 19 | mkdir lib 20 | mkdir lib\win32 21 | copy ..\..\include\*.h include\ 22 | copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\ 23 | copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\ 24 | copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\ 25 | cd .. 26 | zip -9r ..\%1 SDL 27 | cd .. 28 | erase /q /f /s zipper 29 | 30 | :done 31 | 32 | -------------------------------------------------------------------------------- /build-scripts/winrtbuild.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM 3 | REM winrtbuild.bat: a batch file to help launch the winrtbuild.ps1 4 | REM Powershell script, either from Windows Explorer, or through Buildbot. 5 | REM 6 | SET ThisScriptsDirectory=%~dp0 7 | SET PowerShellScriptPath=%ThisScriptsDirectory%winrtbuild.ps1 8 | PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%PowerShellScriptPath%'"; -------------------------------------------------------------------------------- /cmake_uninstall.cmake.in: -------------------------------------------------------------------------------- 1 | if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 2 | message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") 3 | endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 4 | 5 | file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) 6 | string(REGEX REPLACE "\n" ";" files "${files}") 7 | foreach (file ${files}) 8 | message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") 9 | execute_process( 10 | COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}" 11 | OUTPUT_VARIABLE rm_out 12 | RESULT_VARIABLE rm_retval 13 | ) 14 | if(NOT ${rm_retval} EQUAL 0) 15 | message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") 16 | endif (NOT ${rm_retval} EQUAL 0) 17 | endforeach(file) 18 | 19 | -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /debian/docs: -------------------------------------------------------------------------------- 1 | BUGS.txt 2 | CREDITS.txt 3 | README.txt 4 | README-SDL.txt 5 | -------------------------------------------------------------------------------- /debian/libsdl2-dev.install: -------------------------------------------------------------------------------- 1 | usr/bin/sdl2-config 2 | usr/include/SDL2 3 | usr/lib/*/libSDL2*.so 4 | usr/lib/*/libSDL2.a 5 | usr/lib/*/libSDL2main.a 6 | usr/lib/*/libSDL2_test.a 7 | usr/lib/*/pkgconfig/sdl2.pc 8 | usr/share/aclocal/sdl2.m4 9 | -------------------------------------------------------------------------------- /debian/libsdl2-dev.manpages: -------------------------------------------------------------------------------- 1 | debian/sdl2-config.1 2 | -------------------------------------------------------------------------------- /debian/libsdl2.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libSDL2-2.0.so.0* 2 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /debian/watch: -------------------------------------------------------------------------------- 1 | version=3 2 | http://www.libsdl.org/release/SDL-([\d.]+)\.tar\.gz 3 | -------------------------------------------------------------------------------- /docs/README-cmake.md: -------------------------------------------------------------------------------- 1 | CMake 2 | ================================================================================ 3 | (www.cmake.org) 4 | 5 | SDL's build system was traditionally based on autotools. Over time, this 6 | approach has suffered from several issues across the different supported 7 | platforms. 8 | To solve these problems, a new build system based on CMake is under development. 9 | It works in parallel to the legacy system, so users can experiment with it 10 | without complication. 11 | While still experimental, the build system should be usable on the following 12 | platforms: 13 | 14 | * FreeBSD 15 | * Linux 16 | * VS.NET 2010 17 | * MinGW and Msys 18 | * OS X with support for XCode 19 | 20 | 21 | ================================================================================ 22 | Usage 23 | ================================================================================ 24 | 25 | Assuming the source for SDL is located at ~/sdl 26 | 27 | cd ~ 28 | mkdir build 29 | cd build 30 | cmake ../sdl 31 | 32 | This will build the static and dynamic versions of SDL in the ~/build directory. 33 | -------------------------------------------------------------------------------- /docs/README-emscripten.md: -------------------------------------------------------------------------------- 1 | Emscripten 2 | ================================================================================ 3 | 4 | Build: 5 | 6 | $ emconfigure ./configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2" 7 | $ emmake make 8 | 9 | Or with cmake: 10 | 11 | $ emconfigure cmake .. 12 | $ make 13 | 14 | To build one of the tests: 15 | 16 | $ cd test/ 17 | $ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html 18 | 19 | Uses GLES2 renderer or software 20 | 21 | tests: https://dl.dropboxusercontent.com/u/17360362/SDL2-em/index.html 22 | 23 | Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere): 24 | 25 | SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/) 26 | 27 | $ EMCONFIGURE_JS=1 emconfigure ../configure 28 | build as usual... 29 | 30 | SDL_gfx (http://cms.ferzkopp.net/index.php/software/13-sdl-gfx): 31 | 32 | $ EMCONFIGURE_JS=1 emconfigure ../configure --disable-mmx 33 | build as usual... 34 | -------------------------------------------------------------------------------- /docs/README-hg.md: -------------------------------------------------------------------------------- 1 | Mercurial 2 | ========= 3 | 4 | The latest development version of SDL is available via Mercurial. 5 | Mercurial allows you to get up-to-the-minute fixes and enhancements; 6 | as a developer works on a source tree, you can use "hg" to mirror that 7 | source tree instead of waiting for an official release. Please look 8 | at the Mercurial website ( http://mercurial.selenic.com/ ) for more 9 | information on using hg, where you can also download software for 10 | Mac OS X, Windows, and Unix systems. 11 | 12 | hg clone http://hg.libsdl.org/SDL 13 | 14 | If you are building SDL with an IDE, you will need to copy the file 15 | include/SDL_config.h.default to include/SDL_config.h before building. 16 | 17 | If you are building SDL via configure, you will need to run autogen.sh 18 | before running configure. 19 | 20 | There is a web interface to the subversion repository at: 21 | http://hg.libsdl.org/SDL/ 22 | 23 | There is an RSS feed available at that URL, for those that want to 24 | track commits in real time. 25 | 26 | -------------------------------------------------------------------------------- /docs/README-pandora.md: -------------------------------------------------------------------------------- 1 | Pandora 2 | ===================================================================== 3 | 4 | ( http://openpandora.org/ ) 5 | - A pandora specific video driver was written to allow SDL 2.0 with OpenGL ES 6 | support to work on the pandora under the framebuffer. This driver do not have 7 | input support for now, so if you use it you will have to add your own control code. 8 | The video driver name is "pandora" so if you have problem running it from 9 | the framebuffer, try to set the following variable before starting your application : 10 | "export SDL_VIDEODRIVER=pandora" 11 | 12 | - OpenGL ES support was added to the x11 driver, so it's working like the normal 13 | x11 driver one with OpenGLX support, with SDL input event's etc.. 14 | 15 | 16 | David Carré (Cpasjuste) 17 | cpasjuste@gmail.com 18 | -------------------------------------------------------------------------------- /docs/README-platforms.md: -------------------------------------------------------------------------------- 1 | Platforms 2 | ========= 3 | 4 | We maintain the list of supported platforms on our wiki now, and how to 5 | build and install SDL for those platforms: 6 | 7 | https://wiki.libsdl.org/Installation 8 | 9 | -------------------------------------------------------------------------------- /docs/README-psp.md: -------------------------------------------------------------------------------- 1 | PSP 2 | ====== 3 | SDL port for the Sony PSP contributed by 4 | Captian Lex 5 | 6 | Credit to 7 | Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP 8 | Geecko for his PSP GU lib "Glib2d" 9 | 10 | Building 11 | -------- 12 | To build for the PSP, make sure psp-config is in the path and run: 13 | make -f Makefile.psp 14 | 15 | 16 | 17 | To Do 18 | ------ 19 | PSP Screen Keyboard 20 | -------------------------------------------------------------------------------- /docs/README-wince.md: -------------------------------------------------------------------------------- 1 | WinCE 2 | ===== 3 | 4 | Windows CE is no longer supported by SDL. 5 | 6 | We have left the CE support in SDL 1.2 for those that must have it, and we 7 | have support for Windows Phone 8 and WinRT in SDL2, as of SDL 2.0.3. 8 | 9 | --ryan. 10 | 11 | -------------------------------------------------------------------------------- /include/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /include/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 5 | 6 | /* 7 | * This document is licensed under the SGI Free Software B License Version 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 9 | */ 10 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 12 | * 13 | * Adopters may modify khrplatform.h and this file to suit their platform. 14 | * You are encouraged to submit all modifications to the Khronos group so that 15 | * they can be included in future versions of this file. Please submit changes 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 17 | * by filing a bug against product "OpenGL-ES" component "Registry". 18 | */ 19 | 20 | /*#include */ 21 | 22 | #ifndef GL_APICALL 23 | #define GL_APICALL KHRONOS_APICALL 24 | #endif 25 | 26 | #ifndef GL_APIENTRY 27 | #define GL_APIENTRY KHRONOS_APIENTRY 28 | #endif 29 | 30 | #endif /* __gl2platform_h_ */ 31 | -------------------------------------------------------------------------------- /include/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-0:aaaaaaaaaaah" 2 | #define SDL_REVISION_NUMBER 0 3 | -------------------------------------------------------------------------------- /include/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_types.h 24 | * 25 | * \deprecated 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_stdinc.h" 30 | -------------------------------------------------------------------------------- /premake/Cygwin/build-scripts/clean_premake.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\Cygwin --cygwin clean 4 | pause -------------------------------------------------------------------------------- /premake/Cygwin/build-scripts/cygwin.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\Cygwin --cygwin gmake 4 | pause -------------------------------------------------------------------------------- /premake/Cygwin/build-scripts/make.debug.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo This script assumes Cygwin's make utility is in your Path 3 | cd .. 4 | make config=debug 5 | pause -------------------------------------------------------------------------------- /premake/Cygwin/build-scripts/make.release.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo This script assumes Cygwin's make utility is in your Path 3 | cd .. 4 | make config=release 5 | pause -------------------------------------------------------------------------------- /premake/Cygwin/build-scripts/premake4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/Cygwin/build-scripts/premake4.exe -------------------------------------------------------------------------------- /premake/Linux/build-scripts/clean_premake.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above shell file 3 | SCRIPTPATH=`readlink -f $0` 4 | SCRIPTDIR=`dirname $SCRIPTPATH` 5 | cd $SCRIPTDIR/.. 6 | $SCRIPTDIR//premake4 --file=../premake4.lua --to=./Linux clean -------------------------------------------------------------------------------- /premake/Linux/build-scripts/gmake.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above shell file 3 | SCRIPTPATH=`readlink -f $0` 4 | SCRIPTDIR=`dirname $SCRIPTPATH` 5 | cd $SCRIPTDIR/.. 6 | $SCRIPTDIR/premake4 --file=../premake4.lua --to=./Linux gmake -------------------------------------------------------------------------------- /premake/Linux/build-scripts/premake4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/Linux/build-scripts/premake4 -------------------------------------------------------------------------------- /premake/MinGW/build-scripts/clean_premake.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\MinGW --mingw clean 4 | pause -------------------------------------------------------------------------------- /premake/MinGW/build-scripts/mingw.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\MinGW --mingw gmake 4 | pause -------------------------------------------------------------------------------- /premake/MinGW/build-scripts/premake4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/MinGW/build-scripts/premake4.exe -------------------------------------------------------------------------------- /premake/VisualC/VS2010/SDL2main/SDL2main.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {E255A4C8-F0EF-A243-91DC-06312A35FE57} 6 | 7 | 8 | {FD7C1EC4-B745-E943-9324-5B10122E141B} 9 | 10 | 11 | {E2DAA459-291E-D347-80AD-52463F3EEB2E} 12 | 13 | 14 | 15 | 16 | src\main\windows 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/checkkeys/checkkeys.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {326BE6BA-4C4D-0447-9A9E-9BBE40EA0BA8} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/loopwave/loopwave.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {08C69A69-D27F-AD47-B368-F0FF4C4508B2} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testatomic/testatomic.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {0A6BA529-9324-DF4C-9218-4E58872F768F} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testaudioinfo/testaudioinfo.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {24BD95DA-0646-4F4F-8423-4DE68EDA4365} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testchessboard/testchessboard.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {0A88D931-6879-004A-A203-ADF96E842CE1} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testdraw2/testdraw2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4F033489-2DFF-6946-96D7-A7DE7D37AAD4} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testerror/testerror.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {5C705227-B483-A34B-B448-F770ECD3F6F6} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testfile/testfile.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D3335365-50F5-5849-9BEC-622319AD299E} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testfilesystem/testfilesystem.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {9D8635B9-1BB8-CD4D-AA2E-53256B52FEFC} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testgamecontroller/testgamecontroller.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {2176E079-7D52-BD4A-BD71-B7D3F42322B7} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testgesture/testgesture.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {F5111E7F-A327-714B-A976-D2CF9C22AC14} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testgl2/testgl2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {A5B30912-1F76-7C40-954E-6D010DBC40E3} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testgles/testgles.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C77DA963-9918-E049-9FA0-8DF33A9B4CCD} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testhaptic/testhaptic.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4379B678-4F5D-1A47-AA63-731BC2761A0F} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testiconv/testiconv.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {EF1D3B02-621B-794C-9D27-E8A8C1559E5E} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testime/testime.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D49EDF16-AE15-294B-A234-69C8AAC47BCD} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testjoystick/testjoystick.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {0307F038-A465-704A-90F6-FBDDD201C0AC} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testkeys/testkeys.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4A2194D5-EDA7-B349-B29B-9DE407F0C8D0} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testloadso/testloadso.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {CE5A3405-8AF3-454C-89FB-1B0BB87D4492} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testlock/testlock.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {FEC01265-26F6-864A-B022-454E000897D8} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testmessage/testmessage.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C9093CDD-7437-DD4D-AC04-D8FAD1E1BB0C} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testmultiaudio/testmultiaudio.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C0BB9EF7-2D7E-D149-83FE-EC5225B3EB63} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testnative/testnative.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {5FE70C28-86C3-DF4B-A4C3-02735F707D80} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | 15 | test 16 | 17 | 18 | test 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testoverlay2/testoverlay2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {CFB6C314-736C-EC4D-9A33-3B3E6E9B8F64} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testplatform/testplatform.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D32741B4-2D14-2C44-9815-497A65480F87} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testpower/testpower.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {7FCC575D-C9C2-3146-8E3D-5D4E43B20EB3} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testrelative/testrelative.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {B674DEFB-2B8A-B641-9B90-E38E9E9275A3} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testrendercopyex/testrendercopyex.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {B3395C27-9611-834E-95FB-A4B6D1593513} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testrendertarget/testrendertarget.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {646A115A-D0C0-B842-95ED-837835BB681D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testresample/testresample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {3E668F4B-40FD-E342-8C8A-62F0879DF843} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testrumble/testrumble.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {FB88A5FA-D8AB-4341-B4CF-4BBFB048885D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testscale/testscale.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {99327280-5F3F-C948-8249-0325B27EB330} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testsem/testsem.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {FE68A305-6A4C-B043-9351-4D57EBD44E6A} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testshader/testshader.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {87916299-E52F-1E4E-B936-38E2140B0369} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testshape/testshape.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {85FFB357-D912-AB4D-BE80-D5DC957EF836} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testsprite2/testsprite2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {E40CCFF9-BD96-E647-8B8F-BCC4CAA08BC5} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testspriteminimal/testspriteminimal.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C1F3E1A3-1C29-604B-BAD9-FC8981990202} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/teststreaming/teststreaming.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {76FE2D97-05DA-1A43-AEFF-BE8B330AD00B} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testthread/testthread.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {734113B6-1B28-9F4D-BCAC-9A7D215B7112} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testtimer/testtimer.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {EB3B2709-1B71-694E-9031-647CA07835C3} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testver/testver.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C091566F-B02C-844D-B140-F6562E245374} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/testwm2/testwm2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {42AD74BA-CF00-7046-A4A7-8E421336F7C0} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2010/tests/torturethread/torturethread.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C7381C10-2E45-444F-AB84-98854EED617F} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/SDL2main/SDL2main.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {20668DBD-C997-D94C-82BC-FFA6F1FAC562} 6 | 7 | 8 | {720C56A4-94A2-2D40-9B68-6BEA7F78FA66} 9 | 10 | 11 | {ED0BAA99-5AE2-534E-BFF9-D9D488FF2771} 12 | 13 | 14 | 15 | 16 | src\main\windows 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/checkkeys/checkkeys.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {DDC55830-A554-F24D-83EF-9B5E4E3A0B37} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/loopwave/loopwave.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {A020565A-7C60-7A48-9BDD-9967A2C31012} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testatomic/testatomic.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4A3ED0B0-F175-F048-8051-524A5DB3BC0D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testaudioinfo/testaudioinfo.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {CF8F9A91-CC78-F041-B59E-7C77C527C6DD} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testchessboard/testchessboard.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {6DF84982-7F01-BE4C-8B7A-77B30F0B6FA7} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testdraw2/testdraw2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {27B9E572-B60D-5F4E-BD5B-B637509EFC33} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testerror/testerror.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {120F793B-1E83-CE45-983C-A8AB8F664742} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testfile/testfile.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {82BC5087-1504-A84A-889B-B4DE722A521E} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testfilesystem/testfilesystem.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {33CB845D-7186-0246-98CA-B981CF4C67E2} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testgamecontroller/testgamecontroller.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {0C36D1A5-969C-A340-85C5-368C8B115CB5} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testgesture/testgesture.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {16E9BA0C-AA3E-694D-A7CD-B6A9827E1C17} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testgl2/testgl2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {3D8A3797-C7C6-784C-AD6D-7C39C0E4CA74} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testgles/testgles.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {058C37BE-CF61-1046-947A-FE43F37E9899} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testhaptic/testhaptic.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {3EB2A30F-A974-B143-9921-BFB46BFC5AA7} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testiconv/testiconv.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {66870B1E-295C-1F42-BA63-8DE33CFAF7BF} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testime/testime.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D3A0B367-C2EE-F44D-8824-309CB7E1084D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testjoystick/testjoystick.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {CD715A5E-DB2F-284E-81E8-8BD37B7EF33A} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testkeys/testkeys.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {F26EFCDD-F088-4548-A10A-A1705E0B1664} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testloadso/testloadso.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {02AC69A3-6E6E-0C47-958F-A78F9350334D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testlock/testlock.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {55B1451D-618D-CE49-86E7-BDF5665C1530} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testmessage/testmessage.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {767F50ED-D92E-0344-B5C3-8D2A543AA4BF} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testmultiaudio/testmultiaudio.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {B96B8EBD-B8BB-D44A-83CD-350E98FF464A} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testnative/testnative.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {FA1E5497-4A56-EE4B-B13A-3A8A6B3DD1AA} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | 15 | test 16 | 17 | 18 | test 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testoverlay2/testoverlay2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {BBDD5904-0E37-5943-A257-C0A7AC077FED} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testplatform/testplatform.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C0D0B000-9F95-7A4C-B713-8504FF3ED72E} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testpower/testpower.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {EBE8E727-7C40-1342-A7B2-3B9B744F579D} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testrelative/testrelative.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {311BAE6A-3DEC-BD41-BE15-111121D1D3DA} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testrendercopyex/testrendercopyex.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {F854DD7A-2868-7F45-A731-E60210FB8320} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testrendertarget/testrendertarget.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C93D5E8A-7F18-0A4B-9B1F-4FA9BE2BEA4A} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testresample/testresample.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {2EB4B18A-3CA7-DF4A-B634-EAC5842AD3DA} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testrumble/testrumble.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {6FC911A2-4E27-F443-97BD-634C2615F7A1} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testscale/testscale.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D31D64B5-A036-F448-8ABF-550A54FDBCA9} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testsem/testsem.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {7035C9E5-695A-1642-8EB9-7AF88EFECF03} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testshader/testshader.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {E9B40D10-C5D8-6D4E-9994-A4EF637B307B} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testshape/testshape.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {25FFEBD5-1004-164B-9DDE-4A7C0DE978C5} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testsprite2/testsprite2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {84C81BC1-234F-7147-8E00-5F182F55B746} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testspriteminimal/testspriteminimal.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {D2F7522F-04A1-5246-A5D1-8C39E97E17F6} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/teststreaming/teststreaming.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {1060A052-EB7B-2C42-AFAD-83D7180A34BD} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testthread/testthread.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {6FB768AE-AE3D-CF41-A6B2-F3D0E72A0640} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testtimer/testtimer.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {2A784C7E-C9A5-D545-B4E7-D002318AA2DF} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testver/testver.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {9180AF77-6382-5548-B4AA-BD901007D9EC} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/testwm2/testwm2.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {239E5CDD-9DC6-9C4B-98DF-FE2025E99820} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/VS2012/tests/torturethread/torturethread.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {C6601DE1-8668-8F4F-8099-B1905C51063C} 6 | 7 | 8 | 9 | 10 | test 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/build.all.vs2010.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd ..\VS2010 3 | call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" 4 | msbuild /m SDL.sln /property:Configuration=Debug 5 | pause -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/clean_premake.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2008 clean 4 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2010 clean 5 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2012 clean 6 | if exist VS2008 rmdir VS2008 7 | if exist VS2010 rmdir VS2010 8 | if exist VS2012 rmdir VS2012 9 | pause -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/generate.all.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | title Generating VS2008... 4 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2008 vs2008 5 | title Generating VS2010... 6 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2010 vs2010 7 | title Generating VS2012... 8 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2012 vs2012 9 | pause -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/premake4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/VisualC/build-scripts/premake4.exe -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/vs2008.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2008 vs2008 4 | pause -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/vs2010.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2010 vs2010 4 | pause -------------------------------------------------------------------------------- /premake/VisualC/build-scripts/vs2012.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd .. 3 | %~dp0\premake4.exe --file=..\premake4.lua --to=.\VisualC\VS2012 vs2012 4 | pause -------------------------------------------------------------------------------- /premake/Xcode-iOS/SDL.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 15 | 16 | 18 | 19 | 21 | 22 | 24 | 25 | 27 | 28 | 30 | 31 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /premake/Xcode-iOS/build-scripts/clean_premake.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode-iOS --ios clean -------------------------------------------------------------------------------- /premake/Xcode-iOS/build-scripts/premake4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/Xcode-iOS/build-scripts/premake4 -------------------------------------------------------------------------------- /premake/Xcode-iOS/build-scripts/xcode3.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode-iOS --ios xcode3 -------------------------------------------------------------------------------- /premake/Xcode-iOS/build-scripts/xcode4.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode-iOS --ios xcode4 -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/build.all.xcode3.i386.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | testsTotal=0 4 | testsPassed=0 5 | testsFailed=0 6 | testsSkipped=0 7 | 8 | function build() { 9 | testsTotal=$(($testsTotal + 1)) 10 | if [ -d "tests/$1" ]; then 11 | cd tests/$1 12 | "xcodebuild" ARCHS=i386 ONLY_ACTIVE_ARCH=NO -project "$1.xcodeproj/" 13 | if [ $? -ne 0 ]; then 14 | testsFailed=$(($testsFailed + 1)) 15 | else 16 | testsPassed=$(($testsPassed + 1)) 17 | fi 18 | cd ../.. 19 | echo "\033]0;Building: $1\007" 20 | else 21 | testsSkipped=$(($testsSkipped + 1)) 22 | fi 23 | } 24 | 25 | # change to directory above command file 26 | cd `dirname $0`/.. 27 | 28 | # build all of the tests 29 | for d in ./tests/*; do 30 | build `basename $d` 31 | done 32 | 33 | echo "Build Summary: Total=$testsTotal Passed=$testsPassed Failed=$testsFailed Skipped=$testsSkipped" 34 | 35 | cd .. -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/build.all.xcode3.x86_64.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | testsTotal=0 4 | testsPassed=0 5 | testsFailed=0 6 | testsSkipped=0 7 | 8 | function build() { 9 | testsTotal=$(($testsTotal + 1)) 10 | if [ -d "tests/$1" ]; then 11 | cd tests/$1 12 | "xcodebuild" ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO -project "$1.xcodeproj/" 13 | if [ $? -ne 0 ]; then 14 | testsFailed=$(($testsFailed + 1)) 15 | else 16 | testsPassed=$(($testsPassed + 1)) 17 | fi 18 | cd ../.. 19 | echo "\033]0;Building: $1\007" 20 | else 21 | testsSkipped=$(($testsSkipped + 1)) 22 | fi 23 | } 24 | 25 | # change to directory above command file 26 | cd `dirname $0`/.. 27 | 28 | # build all of the tests 29 | for d in ./tests/*; do 30 | build `basename $d` 31 | done 32 | 33 | echo "Build Summary: Total=$testsTotal Passed=$testsPassed Failed=$testsFailed Skipped=$testsSkipped" 34 | 35 | cd .. -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/build.all.xcode4.i386.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | testsTotal=0 4 | testsPassed=0 5 | testsFailed=0 6 | testsSkipped=0 7 | 8 | function build() { 9 | testsTotal=$(($testsTotal + 1)) 10 | if [ -d "tests/$1" ]; then 11 | "xcodebuild" ARCHS=i386 ONLY_ACTIVE_ARCH=NO -workspace ./SDL.xcworkspace/ -scheme "$1" 12 | if [ $? -ne 0 ]; then 13 | testsFailed=$(($testsFailed + 1)) 14 | else 15 | testsPassed=$(($testsPassed + 1)) 16 | fi 17 | echo "\033]0;Building: $1\007" 18 | else 19 | testsSkipped=$(($testsSkipped + 1)) 20 | fi 21 | } 22 | 23 | # change to directory above command file 24 | cd `dirname $0`/.. 25 | 26 | # build all of the tests 27 | for d in ./tests/*; do 28 | build `basename $d` 29 | done 30 | 31 | echo "Build Summary: Total=$testsTotal Passed=$testsPassed Failed=$testsFailed Skipped=$testsSkipped" 32 | 33 | cd .. -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/build.all.xcode4.x86_64.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | testsTotal=0 4 | testsPassed=0 5 | testsFailed=0 6 | testsSkipped=0 7 | 8 | function build() { 9 | testsTotal=$(($testsTotal + 1)) 10 | if [ -d "tests/$1" ]; then 11 | "xcodebuild" ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO -workspace ./SDL.xcworkspace/ -scheme "$1" 12 | if [ $? -ne 0 ]; then 13 | testsFailed=$(($testsFailed + 1)) 14 | else 15 | testsPassed=$(($testsPassed + 1)) 16 | fi 17 | echo "\033]0;Building: $1\007" 18 | else 19 | testsSkipped=$(($testsSkipped + 1)) 20 | fi 21 | } 22 | 23 | # change to directory above command file 24 | cd `dirname $0`/.. 25 | 26 | # build all of the tests 27 | for d in ./tests/*; do 28 | build `basename $d` 29 | done 30 | 31 | echo "Build Summary: Total=$testsTotal Passed=$testsPassed Failed=$testsFailed Skipped=$testsSkipped" 32 | 33 | cd .. -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/clean_premake.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode clean -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/premake4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/premake/Xcode/build-scripts/premake4 -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/xcode3.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode/Xcode3 xcode3 -------------------------------------------------------------------------------- /premake/Xcode/build-scripts/xcode4.command: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # change to directory above command file 3 | cd `dirname $0`/.. 4 | `dirname $0`/premake4 --file=../premake4.lua --to=./Xcode/Xcode4 xcode4 -------------------------------------------------------------------------------- /premake/patches/711.patch: -------------------------------------------------------------------------------- 1 | # HG changeset patch 2 | # User Ben Henning 3 | # Date 1376453463 25200 4 | # Tue Aug 13 21:11:03 2013 -0700 5 | # Node ID a5f8b4f709722222e02fa481873d76ad25255e09 6 | # Parent 8b24d45e6a5d717876a7b32b64e99043c95328e5 7 | Implemented Xcode recognizing bitmap and wave files as resources, plus properly 8 | set their types recognizable by Xcode itself. 9 | 10 | diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua 11 | --- a/src/actions/xcode/xcode_common.lua 12 | +++ b/src/actions/xcode/xcode_common.lua 13 | @@ -32,6 +32,8 @@ 14 | [".nib"] = "Resources", 15 | [".xib"] = "Resources", 16 | [".icns"] = "Resources", 17 | + [".bmp"] = "Resources", 18 | + [".wav"] = "Resources", 19 | } 20 | return categories[path.getextension(node.name)] 21 | end 22 | @@ -85,6 +87,8 @@ 23 | [".strings"] = "text.plist.strings", 24 | [".xib"] = "file.xib", 25 | [".icns"] = "image.icns", 26 | + [".bmp"] = "image.bmp", 27 | + [".wav"] = "audio.wav", 28 | } 29 | return types[path.getextension(node.path)] or "text" 30 | end 31 | -------------------------------------------------------------------------------- /premake/projects/SDL2main.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | SDL2main.lua 16 | 17 | This file defines the SDL2main project which builds the SDL2main static 18 | library for Windows and Mac. This project is primarily for everything but 19 | Linux. 20 | ]] 21 | 22 | SDL_project "SDL2main" 23 | SDL_kind "StaticLib" 24 | SDL_language "C" 25 | SDL_sourcedir "../src" 26 | SDL_dependency "windows" 27 | SDL_os "windows|mingw" 28 | SDL_paths { "/main/windows/" } 29 | SDL_dependency "macosx or ios" 30 | SDL_os "macosx|ios|cygwin" 31 | SDL_paths { "/main/dummy/" } 32 | -------------------------------------------------------------------------------- /premake/projects/SDL2test.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | SDL2test.lua 16 | 17 | This file defines the SDL2test library. It depends on the SDL2main and SDL2 18 | projects. This library contains a series of test functions used by many of the 19 | other test projects, so it is one of the main dependencies for much of the 20 | test suite. 21 | ]] 22 | 23 | SDL_project "SDL2test" 24 | SDL_kind "StaticLib" 25 | SDL_language "C" 26 | SDL_sourcedir "../src" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_paths { "/test/" } 29 | -------------------------------------------------------------------------------- /premake/projects/accelerometer.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | accelerometer.lua 16 | 17 | This file defines the accelerometer demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "accelerometer" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/accelerometer.*", "/Info.plist", "/data/ship.bmp", "/data/space.bmp" } 29 | -------------------------------------------------------------------------------- /premake/projects/checkkeys.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | checkkeys.lua 16 | 17 | This file defines the checkkeys test application. This application will not be 18 | builts on iOS or Cygwin. It depends on the SDL2 and SDL2main projects. 19 | ]] 20 | 21 | SDL_project "checkkeys" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/checkkeys.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/fireworks.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | fireworks.lua 16 | 17 | This file defines the fireworks demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "fireworks" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/fireworks.*", "/Info.plist", "/data/stroke.bmp" } 29 | -------------------------------------------------------------------------------- /premake/projects/happy.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | happy.lua 16 | 17 | This file defines the happy demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "happy" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/happy.*", "/Info.plist", "/data/icon.bmp" } 29 | -------------------------------------------------------------------------------- /premake/projects/keyboard.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | keyboard.lua 16 | 17 | This file defines the keyboard demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "keyboard" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/keyboard.*", "/Info.plist", "/data/bitmapfont/kromasky_16x16.bmp" } 29 | -------------------------------------------------------------------------------- /premake/projects/rectangles.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | rectangles.lua 16 | 17 | This file defines the rectangles demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "rectangles" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/rectangles.*", "/Info.plist", } 29 | -------------------------------------------------------------------------------- /premake/projects/testatomic.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testatomic.lua 16 | 17 | This file defines the testatomic test project. It depends on the SDL2main and 18 | SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testatomic" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testatomic.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testaudioinfo.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testaudioinfo.lua 16 | 17 | This file defines the testaudioinfo test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testaudioinfo" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testaudioinfo.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testautomation.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testautomation.lua 16 | 17 | This file defines the testautomation test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testautomation" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testautomation*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testdraw2.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testdraw2.lua 16 | 17 | This file defines the testdraw2 test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testdraw2" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testdraw2.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testdrawchessboard.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testchessboard.lua 16 | 17 | This file defines the testchessboard test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testchessboard" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testdrawchessboard.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testerror.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testerror.lua 16 | 17 | This file defines the testerror test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testerror" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testerror.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testfile.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testfile.lua 16 | 17 | This file defines the testfile test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testfile" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testfile.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testfilesystem.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testfilesystem.lua 16 | 17 | This file defines the testfilesystem test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testfilesystem" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testfilesystem.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testgamecontroller.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testgamecontroller.lua 16 | 17 | This file defines the testgamecontroller test project. It depends on the 18 | SDL2main and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testgamecontroller" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testgamecontroller.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testgesture.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testgesture.lua 16 | 17 | This file defines the testgesture test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testgesture" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testgesture.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testgles.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testgles.lua 16 | 17 | This file defines the testgles test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testgles" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testgles.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testhaptic.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testhaptic.lua 16 | 17 | This file defines the testhaptic test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testhaptic" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testhaptic.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testiconv.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testiconv.lua 16 | 17 | This file defines the testiconv test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testiconv" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testiconv.*" } 29 | SDL_copy { "utf8.txt" } 30 | -------------------------------------------------------------------------------- /premake/projects/testime.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testime.lua 16 | 17 | This file defines the testime test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testime" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testime.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testintersection.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testintersection.lua 16 | 17 | This file defines the testintersection test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testintersection" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testintersection.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testjoystick.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testjoystick.lua 16 | 17 | This file defines the testjoystick test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testjoystick" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testjoystick.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testkeys.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testkeys.lua 16 | 17 | This file defines the testkeys test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testkeys" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testkeys.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testloadso.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testloadso.lua 16 | 17 | This file defines the testloadso test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testloadso" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testloadso.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testlock.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testlock.lua 16 | 17 | This file defines the testlock test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testlock" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testlock.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testmessage.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testmessage.lua 16 | 17 | This file defines the testmessage test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testmessage" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testmessage.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testmultiaudio.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testmultiaudio.lua 16 | 17 | This file defines the testmultiaudio test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testmultiaudio" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testmultiaudio.*" } 29 | SDL_copy { "sample.wav" } 30 | -------------------------------------------------------------------------------- /premake/projects/testplatform.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testplatform.lua 16 | 17 | This file defines the testplatform test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testplatform" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testplatform.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testpower.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testpower.lua 16 | 17 | This file defines the testpower test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testpower" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testpower.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testrelative.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testrelative.lua 16 | 17 | This file defines the testrelative test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testrelative" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testrelative.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testrumble.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testrumble.lua 16 | 17 | This file defines the testrumble test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testrumble" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testrumble.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testsem.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testsem.lua 16 | 17 | This file defines the testsem test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testsem" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testsem.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testspriteminimal.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testspriteminimal.lua 16 | 17 | This file defines the testspriteminimal test project. It depends on the 18 | SDL2main and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testspriteminimal" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testspriteminimal.*" } 29 | SDL_copy { "icon.bmp" } 30 | -------------------------------------------------------------------------------- /premake/projects/teststreaming.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | teststreaming.lua 16 | 17 | This file defines the teststreaming test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "teststreaming" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/teststreaming.*" } 29 | SDL_copy { "moose.dat" } 30 | -------------------------------------------------------------------------------- /premake/projects/testthread.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testthread.lua 16 | 17 | This file defines the testthread test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testthread" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testthread.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testtimer.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testtimer.lua 16 | 17 | This file defines the testtimer test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testtimer" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testtimer.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testver.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testver.lua 16 | 17 | This file defines the testver test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "testver" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/testver.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/testwm2.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | testwm2.lua 16 | 17 | This file defines the testwm2 test project. It depends on the SDL2main, 18 | SDL2test, and SDL2 projects. It will not build on iOS or Cygwin. 19 | ]] 20 | 21 | SDL_project "testwm2" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios|cygwin" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2test", "SDL2" } 28 | SDL_files { "/testwm2.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/torturethread.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | torturethread.lua 16 | 17 | This file defines the torturethread test project. It depends on the SDL2main 18 | and SDL2 projects. It will not build on iOS. 19 | ]] 20 | 21 | SDL_project "torturethread" 22 | SDL_kind "ConsoleApp" 23 | SDL_notos "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../test" 26 | SDL_projectLocation "tests" 27 | SDL_projectDependencies { "SDL2main", "SDL2" } 28 | SDL_files { "/torturethread.*" } 29 | -------------------------------------------------------------------------------- /premake/projects/touch.lua: -------------------------------------------------------------------------------- 1 | -- Copyright (C) 1997-2014 Sam Lantinga 2 | -- 3 | -- This software is provided 'as-is', without any express or implied 4 | -- warranty. In no event will the authors be held liable for any damages 5 | -- arising from the use of this software. 6 | -- 7 | -- Permission is granted to anyone to use this software for any purpose, 8 | -- including commercial applications, and to alter it and redistribute it 9 | -- freely. 10 | -- 11 | -- Meta-build system using premake created and maintained by 12 | -- Benjamin Henning 13 | 14 | --[[ 15 | touch.lua 16 | 17 | This file defines the touch demo project for iOS. This project is only 18 | compatible on iOS and depends on SDL2. It is a windowed application. 19 | ]] 20 | 21 | SDL_project "touch" 22 | SDL_kind "WindowedApp" 23 | SDL_os "ios" 24 | SDL_language "C" 25 | SDL_sourcedir "../Xcode-iOS/Demos" 26 | SDL_projectLocation "Demos" 27 | SDL_projectDependencies { "SDL2" } 28 | SDL_files { "/src/common.*", "/src/touch.*", "/Info.plist", "/data/stroke.bmp" } 29 | -------------------------------------------------------------------------------- /sdl2.pc.in: -------------------------------------------------------------------------------- 1 | # sdl pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: sdl2 9 | Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. 10 | Version: @SDL_VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ 14 | Libs.private: @SDL_STATIC_LIBS@ 15 | Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@ 16 | -------------------------------------------------------------------------------- /src/SDL_assert_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | extern void SDL_AssertionsQuit(void); 23 | 24 | /* vi: set ts=4 sw=4 expandtab: */ 25 | -------------------------------------------------------------------------------- /src/audio/sun/SDL_sunaudio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/src/audio/sun/SDL_sunaudio.c -------------------------------------------------------------------------------- /src/events/default_cursor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/src/events/default_cursor.h -------------------------------------------------------------------------------- /src/libm/s_fabs.c: -------------------------------------------------------------------------------- 1 | /* @(#)s_fabs.c 5.1 93/09/24 */ 2 | /* 3 | * ==================================================== 4 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 5 | * 6 | * Developed at SunPro, a Sun Microsystems, Inc. business. 7 | * Permission to use, copy, modify, and distribute this 8 | * software is freely granted, provided that this notice 9 | * is preserved. 10 | * ==================================================== 11 | */ 12 | 13 | #if defined(LIBM_SCCS) && !defined(lint) 14 | static const char rcsid[] = 15 | "$NetBSD: s_fabs.c,v 1.7 1995/05/10 20:47:13 jtc Exp $"; 16 | #endif 17 | 18 | /* 19 | * fabs(x) returns the absolute value of x. 20 | */ 21 | 22 | #include "math_libm.h" 23 | #include "math_private.h" 24 | 25 | libm_hidden_proto(fabs) 26 | #ifdef __STDC__ 27 | double fabs(double x) 28 | #else 29 | double fabs(x) 30 | double x; 31 | #endif 32 | { 33 | u_int32_t high; 34 | GET_HIGH_WORD(high, x); 35 | SET_HIGH_WORD(x, high & 0x7fffffff); 36 | return x; 37 | } 38 | 39 | libm_hidden_def(fabs) 40 | -------------------------------------------------------------------------------- /src/main/dummy/SDL_dummy_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14 3 | */ 4 | #include "../../SDL_internal.h" 5 | 6 | /* Include the SDL main definition header */ 7 | #include "SDL_main.h" 8 | 9 | #ifdef main 10 | #undef main 11 | int 12 | main(int argc, char *argv[]) 13 | { 14 | return (SDL_main(argc, argv)); 15 | } 16 | #else 17 | /* Nothing to do on this platform */ 18 | int 19 | SDL_main_stub_symbol(void); 20 | 21 | int 22 | SDL_main_stub_symbol(void) 23 | { 24 | return 0; 25 | } 26 | #endif 27 | 28 | /* vi: set ts=4 sw=4 expandtab: */ 29 | -------------------------------------------------------------------------------- /src/main/windows/version.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/src/main/windows/version.rc -------------------------------------------------------------------------------- /src/render/3ds/shader.vsh: -------------------------------------------------------------------------------- 1 | ; setup constants 2 | .const c20, 0.0, 0.0, 0.0, 1.0 3 | 4 | ; setup outmap 5 | .out o0, result.position, 0xF 6 | .out o1, result.texcoord0, 0x3 7 | .out o2, result.color, 0xF 8 | 9 | ; setup uniform map (not required) 10 | .uniform c0, c3, projection 11 | 12 | .vsh vmain, end_vmain 13 | 14 | ;code 15 | vmain: 16 | ; result.pos = projMtx * in.pos 17 | dp4 o0, c0, v0 (0x0) 18 | dp4 o0, c1, v0 (0x1) 19 | dp4 o0, c2, v0 (0x2) 20 | dp4 o0, c3, v0 (0x3) 21 | ; result.texcoord = in.texcoord 22 | mov o1, v1 (0x5) 23 | ; result.color = in.color 24 | mov o2, v1 (0x5) 25 | nop 26 | end 27 | end_vmain: 28 | 29 | ;operand descriptors 30 | .opdesc x___, xyzw, xyzw ; 0x0 31 | .opdesc _y__, xyzw, xyzw ; 0x1 32 | .opdesc __z_, xyzw, xyzw ; 0x2 33 | .opdesc ___w, xyzw, xyzw ; 0x3 34 | .opdesc xyz_, xyzw, xyzw ; 0x4 35 | .opdesc xyzw, xyzw, xyzw ; 0x5 36 | .opdesc x_zw, xyzw, xyzw ; 0x6 37 | .opdesc xyzw, yyyw, xyzw ; 0x7 38 | .opdesc xyz_, wwww, wwww ; 0x8 39 | .opdesc xyz_, yyyy, xyzw ; 0x9 40 | -------------------------------------------------------------------------------- /src/test/SDL_test_font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/src/test/SDL_test_font.c -------------------------------------------------------------------------------- /src/thread/3ds/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | /* vi: set ts=4 sw=4 expandtab: */ 23 | -------------------------------------------------------------------------------- /src/thread/generic/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | /* vi: set ts=4 sw=4 expandtab: */ 23 | -------------------------------------------------------------------------------- /src/thread/psp/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | /* vi: set ts=4 sw=4 expandtab: */ 23 | -------------------------------------------------------------------------------- /src/thread/psp/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include 23 | 24 | typedef SceUID SYS_ThreadHandle; 25 | -------------------------------------------------------------------------------- /src/video/3ds/SDL_3dsmouse_c.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | Simple DirectMedia Layer 4 | Copyright (C) 1997-2014 Sam Lantinga 5 | 6 | This software is provided 'as-is', without any express or implied 7 | warranty. In no event will the authors be held liable for any damages 8 | arising from the use of this software. 9 | 10 | Permission is granted to anyone to use this software for any purpose, 11 | including commercial applications, and to alter it and redistribute it 12 | freely, subject to the following restrictions: 13 | 14 | 1. The origin of this software must not be misrepresented; you must not 15 | claim that you wrote the original software. If you use this software 16 | in a product, an acknowledgment in the product documentation would be 17 | appreciated but is not required. 18 | 2. Altered source versions must be plainly marked as such, and must not be 19 | misrepresented as being the original software. 20 | 3. This notice may not be removed or altered from any source distribution. 21 | */ 22 | 23 | #include "SDL_3dsvideo.h" 24 | 25 | /* Functions to be exported */ 26 | -------------------------------------------------------------------------------- /src/video/SDL_RLEaccel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/src/video/SDL_RLEaccel.c -------------------------------------------------------------------------------- /src/video/SDL_blit_copy.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | void SDL_BlitCopy(SDL_BlitInfo * info); 23 | 24 | /* vi: set ts=4 sw=4 expandtab: */ 25 | -------------------------------------------------------------------------------- /src/video/directfb/SDL_DirectFB_render.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | 23 | /* SDL surface based renderer implementation */ 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /src/video/nacl/SDL_naclglue.c: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | #if SDL_VIDEO_DRIVER_NACL 24 | #endif /* SDL_VIDEO_DRIVER_NACL */ -------------------------------------------------------------------------------- /src/video/psp/SDL_pspmouse_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2014 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include "SDL_pspvideo.h" 23 | 24 | /* Functions to be exported */ 25 | -------------------------------------------------------------------------------- /test/COPYING: -------------------------------------------------------------------------------- 1 | 2 | The test programs in this directory tree are for demonstrating and 3 | testing the functionality of the SDL library, and are placed in the 4 | public domain. 5 | 6 | October 28, 1997 7 | -- 8 | Sam Lantinga (slouken@libsdl.org) 9 | -------------------------------------------------------------------------------- /test/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Regenerate configuration files 4 | cp acinclude.m4 aclocal.m4 5 | found=false 6 | for autoconf in autoconf autoconf259 autoconf-2.59 7 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi 8 | done 9 | if test x$found = xfalse; then 10 | echo "Couldn't find autoconf, aborting" 11 | exit 1 12 | fi 13 | -------------------------------------------------------------------------------- /test/axis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/axis.bmp -------------------------------------------------------------------------------- /test/button.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/button.bmp -------------------------------------------------------------------------------- /test/controllermap.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/controllermap.bmp -------------------------------------------------------------------------------- /test/emscripten/joystick-pre.js: -------------------------------------------------------------------------------- 1 | Module['arguments'] = ['0']; 2 | //Gamepads don't appear until a button is pressed and the joystick/gamepad tests expect one to be connected 3 | Module['preRun'].push(function() 4 | { 5 | Module['print']("Waiting for gamepad..."); 6 | Module['addRunDependency']("gamepad"); 7 | window.addEventListener('gamepadconnected', function() 8 | { 9 | //OK, got one 10 | Module['removeRunDependency']("gamepad"); 11 | }, false); 12 | 13 | //chrome 14 | if(!!navigator.webkitGetGamepads) 15 | { 16 | var timeout = function() 17 | { 18 | if(navigator.webkitGetGamepads()[0] !== undefined) 19 | Module['removeRunDependency']("gamepad"); 20 | else 21 | setTimeout(timeout, 100); 22 | } 23 | setTimeout(timeout, 100); 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /test/icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/icon.bmp -------------------------------------------------------------------------------- /test/nacl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | SDL NACL Test 12 | 13 | 14 | 15 |

SDL NACL Test

16 |

Status: NO-STATUS

17 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /test/nacl/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SDL testgles2", 3 | "version": "33.0.1750.117", 4 | "minimum_chrome_version": "33.0.1750.117", 5 | "manifest_version": 2, 6 | "description": "testgles2", 7 | "offline_enabled": true, 8 | "icons": { 9 | "128": "icon128.png" 10 | }, 11 | "app": { 12 | "background": { 13 | "scripts": ["background.js"] 14 | } 15 | }, 16 | "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMN716Qyu0l2EHNFqIJVqVysFcTR6urqhaGGqW4UK7slBaURz9+Sb1b4Ot5P1uQNE5c+CTU5Vu61wpqmSqMMxqHLWdPPMh8uRlyctsb2cxWwG6XoGSvpX29NsQVUFXd4v2tkJm3G9t+V0X8TYskrvWQmnyOW8OEIDvrBhUEfFxWQIDAQAB", 17 | "oauth2": { 18 | "client_id": "903965034255.apps.googleusercontent.com", 19 | "scopes": ["https://www.googleapis.com/auth/drive"] 20 | }, 21 | "permissions": [] 22 | } 23 | -------------------------------------------------------------------------------- /test/picture.xbm: -------------------------------------------------------------------------------- 1 | #define picture_width 32 2 | #define picture_height 32 3 | static char picture_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x80, 0x01, 0x18, 5 | 0x64, 0x6f, 0xf6, 0x26, 0x0a, 0x00, 0x00, 0x50, 0xf2, 0xff, 0xff, 0x4f, 6 | 0x14, 0x04, 0x00, 0x28, 0x14, 0x0e, 0x00, 0x28, 0x10, 0x32, 0x00, 0x08, 7 | 0x94, 0x03, 0x00, 0x08, 0xf4, 0x04, 0x00, 0x08, 0xb0, 0x08, 0x00, 0x08, 8 | 0x34, 0x01, 0x00, 0x28, 0x34, 0x01, 0x00, 0x28, 0x12, 0x00, 0x40, 0x48, 9 | 0x12, 0x20, 0xa6, 0x48, 0x14, 0x50, 0x11, 0x29, 0x14, 0x50, 0x48, 0x2a, 10 | 0x10, 0x27, 0xac, 0x0e, 0xd4, 0x71, 0xe8, 0x0a, 0x74, 0x20, 0xa8, 0x0a, 11 | 0x14, 0x20, 0x00, 0x08, 0x10, 0x50, 0x00, 0x08, 0x14, 0x00, 0x00, 0x28, 12 | 0x14, 0x00, 0x00, 0x28, 0xf2, 0xff, 0xff, 0x4f, 0x0a, 0x00, 0x00, 0x50, 13 | 0x64, 0x6f, 0xf6, 0x26, 0x18, 0x80, 0x01, 0x18, 0x00, 0x00, 0x00, 0x00, 14 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; 15 | -------------------------------------------------------------------------------- /test/sample.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/sample.bmp -------------------------------------------------------------------------------- /test/sample.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/sample.wav -------------------------------------------------------------------------------- /test/shapes/p01_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p01_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p01_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p01_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p01_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p01_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p02_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p02_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p02_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p02_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p02_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p02_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p03_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p03_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p03_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p03_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p04_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p04_shape1.bmp -------------------------------------------------------------------------------- /test/shapes/p04_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p04_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p04_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p04_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p04_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p04_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p05_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p05_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p06_shape1alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p06_shape1alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p06_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p06_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p06_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p06_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p06_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p06_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p07_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p07_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p07_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p07_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p07_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p07_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p08_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p08_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p08_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p08_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p08_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p08_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p09_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p09_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p09_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p09_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p09_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p09_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p10_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p10_shape1.bmp -------------------------------------------------------------------------------- /test/shapes/p10_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p10_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p10_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p10_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p10_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p10_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p11_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p11_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p11_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p11_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p11_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p11_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p12_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p12_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p12_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p12_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p13_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p13_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p13_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p13_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p13_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p13_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p14_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p14_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p14_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p14_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p15_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p15_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p15_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p15_shape32alpha.bmp -------------------------------------------------------------------------------- /test/shapes/p15_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p15_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/p16_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p16_shape1.bmp -------------------------------------------------------------------------------- /test/shapes/p16_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p16_shape24.bmp -------------------------------------------------------------------------------- /test/shapes/p16_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/p16_shape8.bmp -------------------------------------------------------------------------------- /test/shapes/trollface_24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/trollface_24.bmp -------------------------------------------------------------------------------- /test/shapes/trollface_32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/shapes/trollface_32alpha.bmp -------------------------------------------------------------------------------- /test/utf8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/SDL-3DS/bf35f1675f23c670084ef70468569e8878e247c6/test/utf8.txt -------------------------------------------------------------------------------- /visualtest/COPYING.txt: -------------------------------------------------------------------------------- 1 | Visual and Interactive Test Automation for SDL 2.0 2 | Copyright (C) 2013 Apoorv Upreti 3 | 4 | This software is provided 'as-is', without any express or implied 5 | warranty. In no event will the authors be held liable for any damages 6 | arising from the use of this software. 7 | 8 | Permission is granted to anyone to use this software for any purpose, 9 | including commercial applications, and to alter it and redistribute it 10 | freely, subject to the following restrictions: 11 | 12 | 1. The origin of this software must not be misrepresented; you must not 13 | claim that you wrote the original software. If you use this software 14 | in a product, an acknowledgment in the product documentation would be 15 | appreciated but is not required. 16 | 2. Altered source versions must be plainly marked as such, and must not be 17 | misrepresented as being the original software. 18 | 3. This notice may not be removed or altered from any source distribution. -------------------------------------------------------------------------------- /visualtest/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Regenerate configuration files 4 | cp acinclude.m4 aclocal.m4 5 | found=false 6 | for autoconf in autoconf autoconf259 autoconf-2.59 7 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi 8 | done 9 | if test x$found = xfalse; then 10 | echo "Couldn't find autoconf, aborting" 11 | exit 1 12 | fi 13 | -------------------------------------------------------------------------------- /visualtest/compile: -------------------------------------------------------------------------------- 1 | /usr/share/automake-1.11/compile -------------------------------------------------------------------------------- /visualtest/config.h: -------------------------------------------------------------------------------- 1 | /* config.h. Generated from config.h.in by configure. */ 2 | /* config.h.in. Generated from configure.in by autoheader. */ 3 | 4 | /* Define to the address where bug reports for this package should be sent. */ 5 | #define PACKAGE_BUGREPORT "apoorvupreti@gmail.com" 6 | 7 | /* Define to the full name of this package. */ 8 | #define PACKAGE_NAME "sdlvisualtest" 9 | 10 | /* Define to the full name and version of this package. */ 11 | #define PACKAGE_STRING "sdlvisualtest 0.01" 12 | 13 | /* Define to the one symbol short name of this package. */ 14 | #define PACKAGE_TARNAME "sdlvisualtest" 15 | 16 | /* Define to the home page for this package. */ 17 | #define PACKAGE_URL "" 18 | 19 | /* Define to the version of this package. */ 20 | #define PACKAGE_VERSION "0.01" 21 | 22 | /* Define to empty if `const' does not conform to ANSI C. */ 23 | /* #undef const */ 24 | -------------------------------------------------------------------------------- /visualtest/config.h.in: -------------------------------------------------------------------------------- 1 | /* config.h.in. Generated from configure.in by autoheader. */ 2 | 3 | /* Define to the address where bug reports for this package should be sent. */ 4 | #undef PACKAGE_BUGREPORT 5 | 6 | /* Define to the full name of this package. */ 7 | #undef PACKAGE_NAME 8 | 9 | /* Define to the full name and version of this package. */ 10 | #undef PACKAGE_STRING 11 | 12 | /* Define to the one symbol short name of this package. */ 13 | #undef PACKAGE_TARNAME 14 | 15 | /* Define to the home page for this package. */ 16 | #undef PACKAGE_URL 17 | 18 | /* Define to the version of this package. */ 19 | #undef PACKAGE_VERSION 20 | 21 | /* Define to empty if `const' does not conform to ANSI C. */ 22 | #undef const 23 | -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.actions: -------------------------------------------------------------------------------- 1 | 00:00:03 SCREENSHOT 2 | 00:00:06 VERIFY 3 | 00:00:09 QUIT -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.config: -------------------------------------------------------------------------------- 1 | parameter-config=testsprite2_blendmodes.parameters 2 | variator=exhaustive 3 | sutapp=testsprite2 4 | timeout=00:00:15 5 | action-config=testsprite2_blendmodes.actions -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_blendmodes/testsprite2_blendmodes.parameters: -------------------------------------------------------------------------------- 1 | # parameter name, type, value range, required, categories 2 | --blend, enum, [none blend add mod], false, [] 3 | --cyclecolor, boolean, [], false, [] 4 | --cyclealpha, boolean, [], false, [] 5 | --iterations, integer, [1000 1000], true, [] -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.actions: -------------------------------------------------------------------------------- 1 | 00:00:02 QUIT -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.config: -------------------------------------------------------------------------------- 1 | parameter-config=testsprite2_crashtest.parameters 2 | variator=exhaustive 3 | sutapp=testsprite2 4 | timeout=00:00:10 5 | action-config=testsprite2_crashtest.actions -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_crashtest/testsprite2_crashtest.parameters: -------------------------------------------------------------------------------- 1 | # parameter name, type, value range, required, categories 2 | --display, integer, [1 5], false, [] 3 | --fullscreen, boolean, [], false, [] 4 | --fullscreen-desktop, boolean, [], false, [] 5 | --title, enum, [vartest bartest footest], false, [] 6 | --icon, enum, [icon.bmp], false, [] 7 | --center, boolean, [], false, [] 8 | --position, enum, [300,300], false, [] 9 | --geometry, enum, [500x500], false, [] 10 | --min-geometry, enum, [100x100 200x200], false, [] 11 | --max-geometry, enum, [600x600 700x700], false, [] 12 | --logical, enum, [500x500 550x450], false, [] 13 | --scale, integer, [1 5], false, [] 14 | --depth, integer, [1 5], false, [] 15 | --refresh, integer, [1 5], false, [] 16 | --vsync, boolean, [], false, [] 17 | --noframe, boolean, [], false, [] 18 | --resize, boolean, [], false, [] 19 | --minimize, boolean, [], false, [] 20 | --maximize, boolean, [], false, [] 21 | --grab, boolean, [], false, [mouse] 22 | --blend, enum, [none blend add mod], false, [] 23 | --cyclecolor, boolean, [], false, [] 24 | --cyclealpha, boolean, [], false, [] -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.actions: -------------------------------------------------------------------------------- 1 | 00:00:03 SCREENSHOT 2 | 00:00:06 VERIFY 3 | 00:00:09 QUIT -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.config: -------------------------------------------------------------------------------- 1 | parameter-config=testsprite2_fullscreen.parameters 2 | variator=exhaustive 3 | sutapp=testsprite2 4 | timeout=00:00:15 5 | action-config=testsprite2_fullscreen.actions -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_fullscreen/testsprite2_fullscreen.parameters: -------------------------------------------------------------------------------- 1 | # parameter name, type, value range, required, categories 2 | --blend, enum, [none blend add mod], false, [] 3 | --fullscreen, boolean, [], false, [] 4 | --fullscreen-desktop, boolean, [], false, [] 5 | --iterations, integer, [1000 1000], true, [] -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_geometry/testsprite2_geometry.actions: -------------------------------------------------------------------------------- 1 | 00:00:03 SCREENSHOT 2 | 00:00:06 VERIFY 3 | 00:00:09 QUIT -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_geometry/testsprite2_geometry.config: -------------------------------------------------------------------------------- 1 | parameter-config=testsprite2_geometry.parameters 2 | variator=exhaustive 3 | sutapp=testsprite2 4 | timeout=00:00:15 5 | action-config=testsprite2_geometry.actions -------------------------------------------------------------------------------- /visualtest/configs/testsprite2_geometry/testsprite2_geometry.parameters: -------------------------------------------------------------------------------- 1 | # parameter name, type, value range, required, categories 2 | --geometry, enum, [500x500 600x600], false, [] 3 | --logical, enum, [300x500 550x450], false, [] 4 | --scale, integer, [1 5], false, [] 5 | --iterations, integer, [1000 1000], true, [] -------------------------------------------------------------------------------- /visualtest/depcomp: -------------------------------------------------------------------------------- 1 | /usr/share/automake-1.11/depcomp -------------------------------------------------------------------------------- /visualtest/include/SDL_visualtest_mischelper.h: -------------------------------------------------------------------------------- 1 | /** 2 | * \file mischelper.c 3 | * 4 | * Header with miscellaneous helper functions. 5 | */ 6 | 7 | #ifndef _SDL_visualtest_mischelper_h 8 | #define _SDL_visualtest_mischelper_h 9 | 10 | /* Set up for C function definitions, even when using C++ */ 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | /** 16 | * Stores a 32 digit hexadecimal string representing the MD5 hash of the 17 | * string \c str in \c hash. 18 | */ 19 | void SDLVisualTest_HashString(char* str, char hash[33]); 20 | 21 | /* Ends C function definitions when using C++ */ 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif /* _SDL_visualtest_mischelper_h */ -------------------------------------------------------------------------------- /visualtest/install-sh: -------------------------------------------------------------------------------- 1 | /usr/share/automake-1.11/install-sh -------------------------------------------------------------------------------- /visualtest/launch_harness.cmd: -------------------------------------------------------------------------------- 1 | start /wait testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1 2 | if %ERRORLEVEL% NEQ 0 echo TEST RUN FAILED (see testrun.log) -------------------------------------------------------------------------------- /visualtest/launch_harness.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1 3 | if [ "$?" != "0" ]; then 4 | echo TEST RUN FAILED (see testrun.log) 5 | # report error code to CI 6 | fi -------------------------------------------------------------------------------- /visualtest/missing: -------------------------------------------------------------------------------- 1 | /usr/share/automake-1.11/missing -------------------------------------------------------------------------------- /visualtest/src/mischelper.c: -------------------------------------------------------------------------------- 1 | /** 2 | * \file mischelper.c 3 | * 4 | * Source file with miscellaneous helper functions. 5 | */ 6 | 7 | #include 8 | 9 | void 10 | SDLVisualTest_HashString(char* str, char hash[33]) 11 | { 12 | SDLTest_Md5Context md5c; 13 | int i; 14 | 15 | if(!str) 16 | { 17 | SDLTest_LogError("str argument cannot be NULL"); 18 | return; 19 | } 20 | 21 | SDLTest_Md5Init(&md5c); 22 | SDLTest_Md5Update(&md5c, (unsigned char*)str, SDL_strlen(str)); 23 | SDLTest_Md5Final(&md5c); 24 | 25 | /* convert the md5 hash to an array of hexadecimal digits */ 26 | for(i = 0; i < 16; i++) 27 | SDL_snprintf(hash + 2 * i, 33 - 2 * i, "%02x", (int)md5c.digest[i]); 28 | } -------------------------------------------------------------------------------- /visualtest/stamp-h1: -------------------------------------------------------------------------------- 1 | timestamp for config.h 2 | -------------------------------------------------------------------------------- /visualtest/testsprite2_sample.actions: -------------------------------------------------------------------------------- 1 | 00:00:02 SCREENSHOT # Take a screenshot of each window owned by the SUT process 2 | 00:00:05 VERIFY # Verify each screenshot taken with verification images 3 | 00:00:10 QUIT # Gracefully quit the SUT process -------------------------------------------------------------------------------- /visualtest/testsprite2_sample.config: -------------------------------------------------------------------------------- 1 | parameter-config=testsprite2_sample.parameters 2 | num-variations=10 3 | variator=random 4 | sutapp=testsprite2 5 | timeout=00:00:20 6 | action-config=testsprite2_sample.actions -------------------------------------------------------------------------------- /visualtest/unittest/testquit.actions: -------------------------------------------------------------------------------- 1 | 00:00:05 QUIT -------------------------------------------------------------------------------- /visualtest/unittest/testquit.config: -------------------------------------------------------------------------------- 1 | sutconfig=testquit.parameters 2 | action-config=testquit.actions 3 | variator=exhaustive 4 | sutapp=testquit 5 | timeout=00:00:10 -------------------------------------------------------------------------------- /visualtest/unittest/testquit.parameters: -------------------------------------------------------------------------------- 1 | --exit-code, integer, [-1 1], false, [] # The exit code returned by the executable 2 | --crash, boolean, [], false, [] # Crashes the SUT executable 3 | --hang, boolean, [], false, [] # Runs the SUT in the infinite loop and ignores all events --------------------------------------------------------------------------------