Simple Directmedia Layer
Go to file
Sam Lantinga 039148fb0e Updated check for stdbool.h
If you're building in a C99 or newer environment, we'll automatically include stdbool.h.

If you're building in a C89 or C90 environment, we'll assume that stdbool.h isn't available and define bool as an unsigned char. If you have a working stdbool.h and want SDL to use it, you can either include stdbool.h before SDL headers, or define SDL_INCLUDE_STDBOOL_H in your project.

Closes https://github.com/libsdl-org/SDL/pull/10980
2024-09-28 16:55:09 -07:00
.github ci: Fix check_stdlib_usage.py and run on ci 2024-09-25 23:59:35 +02:00
android-project Update proguard-rules.pro in-line with commit 9ff3446 2024-09-16 08:47:44 -07:00
build-scripts ci: Fix check_stdlib_usage.py and run on ci 2024-09-25 23:59:35 +02:00
cmake cmake: don't prepend absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR with ${prefix} 2024-09-14 16:21:42 +02:00
docs README-migration: note that logical presentation state is different from SDL2. 2024-09-26 18:49:29 -04:00
examples examples: No need to explicitly seed the RNG at startup. 2024-09-26 15:01:04 -04:00
include Updated check for stdbool.h 2024-09-28 16:55:09 -07:00
src Updated check for stdbool.h 2024-09-28 16:55:09 -07:00
test filesystem: SDL_EnumerateDirectoryCallback uses an enum now, not an int. 2024-09-28 01:33:40 -04:00
VisualC Added support for the HORI licensed Steam Controller 2024-09-18 14:08:32 -07:00
VisualC-GDK Added support for the HORI licensed Steam Controller 2024-09-18 14:08:32 -07:00
wayland-protocols wayland: Add support for setting window icons via the xdg-toplevel-icon-v1 protocol 2024-08-31 09:38:43 -04:00
Xcode compile_shaders.sh shouldn't be in the SDL framework 2024-09-18 14:31:00 -07:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
.wikiheaders-options wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
Android.mk Add SDL_Process subsystem 2024-09-13 15:19:32 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt Add SDL_Process subsystem 2024-09-13 15:19:32 -07:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt audio: Refer to audio devices to "playback" and "recording". 2024-06-15 01:08:12 -04:00

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)