2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
Simple DirectMedia Layer
|
|
|
|
|
|
|
|
(SDL)
|
|
|
|
|
|
|
|
Version 1.2
|
|
|
|
|
|
|
|
---
|
|
|
|
http://www.libsdl.org/
|
|
|
|
|
2003-03-05 05:28:09 +00:00
|
|
|
This is the Simple DirectMedia Layer, a general API that provides low
|
2001-04-26 16:45:43 +00:00
|
|
|
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
|
|
|
|
and 2D framebuffer across multiple platforms.
|
|
|
|
|
|
|
|
SDL is written in C, but works with C++ natively, and has bindings to
|
2003-01-21 09:36:41 +00:00
|
|
|
several other languages, including Ada, C#, Eiffel, Java, Lua, ML,
|
|
|
|
Objective C, Perl, PHP, Pike, Python, and Ruby.
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
The current version supports Linux, Windows, BeOS, MacOS, MacOS X,
|
2003-08-30 17:09:59 +00:00
|
|
|
FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains
|
|
|
|
support for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64,
|
2003-05-29 04:44:13 +00:00
|
|
|
RISC OS, and SymbianOS, but these are not officially supported.
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
This library is distributed under GNU LGPL version 2, which can be
|
|
|
|
found in the file "COPYING". This license allows you to use SDL
|
|
|
|
freely in commercial programs as long as you link with the dynamic
|
|
|
|
library.
|
|
|
|
|
|
|
|
The best way to learn how to use SDL is to check out the header files in
|
|
|
|
the "include" subdirectory and the programs in the "test" subdirectory.
|
|
|
|
The header files and test programs are well commented and always up to date.
|
|
|
|
More documentation is available in HTML format in "./docs/index.html"
|
|
|
|
|
|
|
|
The test programs in the "test" subdirectory are in the public domain.
|
|
|
|
|
|
|
|
Frequently asked questions are answered online:
|
2002-05-19 19:52:32 +00:00
|
|
|
http://www.libsdl.org/faq.php
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
If you need help with the library, or just want to discuss SDL related
|
|
|
|
issues, you can join the developers mailing list:
|
2002-05-19 19:52:32 +00:00
|
|
|
http://www.libsdl.org/mailing-list.php
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
Enjoy!
|
|
|
|
Sam Lantinga (slouken@libsdl.org)
|
|
|
|
|