1 |
william |
401 |
Simple DirectMedia Layer |
2 |
|
|
|
3 |
|
|
(SDL) |
4 |
|
|
|
5 |
|
|
Version 1.3 |
6 |
|
|
|
7 |
|
|
--- |
8 |
|
|
http://www.libsdl.org/ |
9 |
|
|
|
10 |
|
|
This is the Simple DirectMedia Layer, a general API that provides low |
11 |
|
|
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, |
12 |
|
|
and 2D framebuffer across multiple platforms. |
13 |
|
|
|
14 |
|
|
The current version supports Windows, Windows CE, Mac OS X, Linux, FreeBSD, |
15 |
|
|
NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains |
16 |
|
|
support for other operating systems but those are not officially supported. |
17 |
|
|
|
18 |
|
|
SDL is written in C, but works with C++ natively, and has bindings to |
19 |
|
|
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, |
20 |
|
|
Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, |
21 |
|
|
Pike, Pliant, Python, Ruby, and Smalltalk. |
22 |
|
|
|
23 |
|
|
This library is distributed under GNU LGPL version 2, which can be |
24 |
|
|
found in the file "COPYING". This license allows you to use SDL |
25 |
|
|
freely in commercial programs as long as you link with the dynamic |
26 |
|
|
library. |
27 |
|
|
|
28 |
|
|
The best way to learn how to use SDL is to check out the header files in |
29 |
|
|
the "include" subdirectory and the programs in the "test" subdirectory. |
30 |
|
|
The header files and test programs are well commented and always up to date. |
31 |
|
|
More documentation is available in HTML format in "docs/index.html", and |
32 |
|
|
a documentation wiki is available online at: |
33 |
|
|
http://www.libsdl.org/cgi/docwiki.cgi |
34 |
|
|
|
35 |
|
|
The test programs in the "test" subdirectory are in the public domain. |
36 |
|
|
|
37 |
|
|
Frequently asked questions are answered online: |
38 |
|
|
http://www.libsdl.org/faq.php |
39 |
|
|
|
40 |
|
|
If you need help with the library, or just want to discuss SDL related |
41 |
|
|
issues, you can join the developers mailing list: |
42 |
|
|
http://www.libsdl.org/mailing-list.php |
43 |
|
|
|
44 |
|
|
Enjoy! |
45 |
|
|
Sam Lantinga (slouken@libsdl.org) |
46 |
|
|
|
47 |
|
|
|