[Next]

Table Of Contents:

  1. Author Introduction
  2. Simple DirectMedia Layer
    1. What is it?
      • SDL is a free cross-platform multi-media development API
      • Used for games
      • Used for game SDKs
      • Used for emulators
      • Used for demos
      • Used for multimedia applications
    2. What can it do?
      • Video
      • Events
      • Audio
      • CD-ROM audio
      • Threads
      • Timers
      • Endian independence
    3. What platforms does it run on?
      • Linux
      • Win32
      • BeOS
      • Unofficial ports, ports in progress
  3. Using the Simple DirectMedia Layer API
    1. Initializing the library
    2. Video
      • Choosing and setting video modes (the easy way)
      • Drawing pixels on the screen
      • Loading and displaying images
    3. Events
      • Waiting for events
      • Polling for events
      • Polling event state
    4. Sound
      • Opening the audio device
      • Loading and playing sounds
    5. CD-ROM audio
      • Opening a CD-ROM drive for use
      • Playing the CD-ROM
    6. Threads
      • Create a simple thread
      • Synchronizing access to a resource
    7. Timers
      • Get the current time, in milliseconds
      • Wait a specified number of milliseconds
    8. Endian independence
      • Determine the endianness of the current system
      • Swap data on systems of differing endianness

[Next]