changeset 3352:6dc250ebdd80

The SDL 1.3 documentation will be primarily online wiki based: http://wiki.libsdl.org/ Please contact Lauren MacDonell laleh_aziz cox.net who is coordinating it.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Oct 2009 14:29:59 +0000
parents 8e0182c236d8
children 6b14223dd5c7
files Makefile.in docs.html docs/html/audio.html docs/html/cdrom.html docs/html/event.html docs/html/eventfunctions.html docs/html/eventstructures.html docs/html/general.html docs/html/guide.html docs/html/guideaboutsdldoc.html docs/html/guideaudioexamples.html docs/html/guidebasicsinit.html docs/html/guidecdromexamples.html docs/html/guidecredits.html docs/html/guideeventexamples.html docs/html/guideexamples.html docs/html/guideinput.html docs/html/guideinputkeyboard.html docs/html/guidepreface.html docs/html/guidethebasics.html docs/html/guidetimeexamples.html docs/html/guidevideo.html docs/html/guidevideoopengl.html docs/html/index.html docs/html/joystick.html docs/html/reference.html docs/html/sdlactiveevent.html docs/html/sdladdtimer.html docs/html/sdlaudiocvt.html docs/html/sdlaudiospec.html docs/html/sdlblitsurface.html docs/html/sdlbuildaudiocvt.html docs/html/sdlcd.html docs/html/sdlcdclose.html docs/html/sdlcdeject.html docs/html/sdlcdname.html docs/html/sdlcdnumdrives.html docs/html/sdlcdopen.html docs/html/sdlcdpause.html docs/html/sdlcdplay.html docs/html/sdlcdplaytracks.html docs/html/sdlcdresume.html docs/html/sdlcdstatus.html docs/html/sdlcdstop.html docs/html/sdlcdtrack.html docs/html/sdlcloseaudio.html docs/html/sdlcolor.html docs/html/sdlcondbroadcast.html docs/html/sdlcondsignal.html docs/html/sdlcondwait.html docs/html/sdlcondwaittimeout.html docs/html/sdlconvertaudio.html docs/html/sdlconvertsurface.html docs/html/sdlcreatecond.html docs/html/sdlcreatecursor.html docs/html/sdlcreatemutex.html docs/html/sdlcreatergbsurface.html docs/html/sdlcreatergbsurfacefrom.html docs/html/sdlcreatesemaphore.html docs/html/sdlcreatethread.html docs/html/sdlcreateyuvoverlay.html docs/html/sdldelay.html docs/html/sdldestroycond.html docs/html/sdldestroymutex.html docs/html/sdldestroysemaphore.html docs/html/sdldisplayformat.html docs/html/sdldisplayformatalpha.html docs/html/sdldisplayyuvoverlay.html docs/html/sdlenablekeyrepeat.html docs/html/sdlenableunicode.html docs/html/sdlenvvars.html docs/html/sdlevent.html docs/html/sdleventstate.html docs/html/sdlexposeevent.html docs/html/sdlfillrect.html docs/html/sdlflip.html docs/html/sdlfreecursor.html docs/html/sdlfreesurface.html docs/html/sdlfreewav.html docs/html/sdlfreeyuvoverlay.html docs/html/sdlgetappstate.html docs/html/sdlgetaudiostatus.html docs/html/sdlgetcliprect.html docs/html/sdlgetcursor.html docs/html/sdlgeterror.html docs/html/sdlgeteventfilter.html docs/html/sdlgetgammaramp.html docs/html/sdlgetkeyname.html docs/html/sdlgetkeystate.html docs/html/sdlgetmodstate.html docs/html/sdlgetmousestate.html docs/html/sdlgetrelativemousestate.html docs/html/sdlgetrgb.html docs/html/sdlgetrgba.html docs/html/sdlgetthreadid.html docs/html/sdlgetticks.html docs/html/sdlgetvideoinfo.html docs/html/sdlgetvideosurface.html docs/html/sdlglattr.html docs/html/sdlglgetattribute.html docs/html/sdlglgetprocaddress.html docs/html/sdlglloadlibrary.html docs/html/sdlglsetattribute.html docs/html/sdlglswapbuffers.html docs/html/sdlinit.html docs/html/sdlinitsubsystem.html docs/html/sdljoyaxisevent.html docs/html/sdljoyballevent.html docs/html/sdljoybuttonevent.html docs/html/sdljoyhatevent.html docs/html/sdljoystickclose.html docs/html/sdljoystickeventstate.html docs/html/sdljoystickgetaxis.html docs/html/sdljoystickgetball.html docs/html/sdljoystickgetbutton.html docs/html/sdljoystickgethat.html docs/html/sdljoystickindex.html docs/html/sdljoystickname.html docs/html/sdljoysticknumaxes.html docs/html/sdljoysticknumballs.html docs/html/sdljoysticknumbuttons.html docs/html/sdljoysticknumhats.html docs/html/sdljoystickopen.html docs/html/sdljoystickopened.html docs/html/sdljoystickupdate.html docs/html/sdlkey.html docs/html/sdlkeyboardevent.html docs/html/sdlkeysym.html docs/html/sdlkillthread.html docs/html/sdllistmodes.html docs/html/sdlloadbmp.html docs/html/sdlloadwav.html docs/html/sdllockaudio.html docs/html/sdllocksurface.html docs/html/sdllockyuvoverlay.html docs/html/sdlmaprgb.html docs/html/sdlmaprgba.html docs/html/sdlmixaudio.html docs/html/sdlmousebuttonevent.html docs/html/sdlmousemotionevent.html docs/html/sdlmutexp.html docs/html/sdlmutexv.html docs/html/sdlnumjoysticks.html docs/html/sdlopenaudio.html docs/html/sdloverlay.html docs/html/sdlpalette.html docs/html/sdlpauseaudio.html docs/html/sdlpeepevents.html docs/html/sdlpixelformat.html docs/html/sdlpollevent.html docs/html/sdlpumpevents.html docs/html/sdlpushevent.html docs/html/sdlquit.html docs/html/sdlquitevent.html docs/html/sdlquitsubsystem.html docs/html/sdlrect.html docs/html/sdlremovetimer.html docs/html/sdlresizeevent.html docs/html/sdlsavebmp.html docs/html/sdlsempost.html docs/html/sdlsemtrywait.html docs/html/sdlsemvalue.html docs/html/sdlsemwait.html docs/html/sdlsemwaittimeout.html docs/html/sdlsetalpha.html docs/html/sdlsetcliprect.html docs/html/sdlsetcolorkey.html docs/html/sdlsetcolors.html docs/html/sdlsetcursor.html docs/html/sdlseteventfilter.html docs/html/sdlsetgamma.html docs/html/sdlsetgammaramp.html docs/html/sdlsetmodstate.html docs/html/sdlsetpalette.html docs/html/sdlsettimer.html docs/html/sdlsetvideomode.html docs/html/sdlshowcursor.html docs/html/sdlsurface.html docs/html/sdlsyswmevent.html docs/html/sdlthreadid.html docs/html/sdlunlockaudio.html docs/html/sdlunlocksurface.html docs/html/sdlunlockyuvoverlay.html docs/html/sdlupdaterect.html docs/html/sdlupdaterects.html docs/html/sdluserevent.html docs/html/sdlvideodrivername.html docs/html/sdlvideoinfo.html docs/html/sdlvideomodeok.html docs/html/sdlwaitevent.html docs/html/sdlwaitthread.html docs/html/sdlwarpmouse.html docs/html/sdlwasinit.html docs/html/sdlwmgetcaption.html docs/html/sdlwmgrabinput.html docs/html/sdlwmiconifywindow.html docs/html/sdlwmsetcaption.html docs/html/sdlwmseticon.html docs/html/sdlwmtogglefullscreen.html docs/html/thread.html docs/html/time.html docs/html/video.html docs/html/wm.html docs/images/rainbow.gif docs/index.html docs/man3/SDLKey.3 docs/man3/SDL_ActiveEvent.3 docs/man3/SDL_AddTimer.3 docs/man3/SDL_AudioCVT.3 docs/man3/SDL_AudioSpec.3 docs/man3/SDL_BlitSurface.3 docs/man3/SDL_BuildAudioCVT.3 docs/man3/SDL_CD.3 docs/man3/SDL_CDClose.3 docs/man3/SDL_CDEject.3 docs/man3/SDL_CDName.3 docs/man3/SDL_CDNumDrives.3 docs/man3/SDL_CDOpen.3 docs/man3/SDL_CDPause.3 docs/man3/SDL_CDPlay.3 docs/man3/SDL_CDPlayTracks.3 docs/man3/SDL_CDResume.3 docs/man3/SDL_CDStatus.3 docs/man3/SDL_CDStop.3 docs/man3/SDL_CDtrack.3 docs/man3/SDL_CloseAudio.3 docs/man3/SDL_Color.3 docs/man3/SDL_CondBroadcast.3 docs/man3/SDL_CondSignal.3 docs/man3/SDL_CondWait.3 docs/man3/SDL_CondWaitTimeout.3 docs/man3/SDL_ConvertAudio.3 docs/man3/SDL_ConvertSurface.3 docs/man3/SDL_CreateCond.3 docs/man3/SDL_CreateCursor.3 docs/man3/SDL_CreateMutex.3 docs/man3/SDL_CreateRGBSurface.3 docs/man3/SDL_CreateRGBSurfaceFrom.3 docs/man3/SDL_CreateSemaphore.3 docs/man3/SDL_CreateThread.3 docs/man3/SDL_CreateYUVOverlay.3 docs/man3/SDL_Delay.3 docs/man3/SDL_DestroyCond.3 docs/man3/SDL_DestroyMutex.3 docs/man3/SDL_DestroySemaphore.3 docs/man3/SDL_DisplayFormat.3 docs/man3/SDL_DisplayFormatAlpha.3 docs/man3/SDL_DisplayYUVOverlay.3 docs/man3/SDL_EnableKeyRepeat.3 docs/man3/SDL_EnableUNICODE.3 docs/man3/SDL_Event.3 docs/man3/SDL_EventState.3 docs/man3/SDL_ExposeEvent.3 docs/man3/SDL_FillRect.3 docs/man3/SDL_Flip.3 docs/man3/SDL_FreeCursor.3 docs/man3/SDL_FreeSurface.3 docs/man3/SDL_FreeWAV.3 docs/man3/SDL_FreeYUVOverlay.3 docs/man3/SDL_GL_GetAttribute.3 docs/man3/SDL_GL_GetProcAddress.3 docs/man3/SDL_GL_LoadLibrary.3 docs/man3/SDL_GL_SetAttribute.3 docs/man3/SDL_GL_SwapBuffers.3 docs/man3/SDL_GLattr.3 docs/man3/SDL_GetAppState.3 docs/man3/SDL_GetAudioStatus.3 docs/man3/SDL_GetClipRect.3 docs/man3/SDL_GetCursor.3 docs/man3/SDL_GetError.3 docs/man3/SDL_GetEventFilter.3 docs/man3/SDL_GetGamma.3 docs/man3/SDL_GetGammaRamp.3 docs/man3/SDL_GetKeyName.3 docs/man3/SDL_GetKeyState.3 docs/man3/SDL_GetModState.3 docs/man3/SDL_GetMouseState.3 docs/man3/SDL_GetRGB.3 docs/man3/SDL_GetRGBA.3 docs/man3/SDL_GetRelativeMouseState.3 docs/man3/SDL_GetThreadID.3 docs/man3/SDL_GetTicks.3 docs/man3/SDL_GetVideoInfo.3 docs/man3/SDL_GetVideoSurface.3 docs/man3/SDL_Init.3 docs/man3/SDL_InitSubSystem.3 docs/man3/SDL_JoyAxisEvent.3 docs/man3/SDL_JoyBallEvent.3 docs/man3/SDL_JoyButtonEvent.3 docs/man3/SDL_JoyHatEvent.3 docs/man3/SDL_JoystickClose.3 docs/man3/SDL_JoystickEventState.3 docs/man3/SDL_JoystickGetAxis.3 docs/man3/SDL_JoystickGetBall.3 docs/man3/SDL_JoystickGetButton.3 docs/man3/SDL_JoystickGetHat.3 docs/man3/SDL_JoystickIndex.3 docs/man3/SDL_JoystickName.3 docs/man3/SDL_JoystickNumAxes.3 docs/man3/SDL_JoystickNumBalls.3 docs/man3/SDL_JoystickNumButtons.3 docs/man3/SDL_JoystickNumHats.3 docs/man3/SDL_JoystickOpen.3 docs/man3/SDL_JoystickOpened.3 docs/man3/SDL_JoystickUpdate.3 docs/man3/SDL_KeyboardEvent.3 docs/man3/SDL_KillThread.3 docs/man3/SDL_ListModes.3 docs/man3/SDL_LoadBMP.3 docs/man3/SDL_LoadWAV.3 docs/man3/SDL_LockAudio.3 docs/man3/SDL_LockSurface.3 docs/man3/SDL_LockYUVOverlay.3 docs/man3/SDL_MapRGB.3 docs/man3/SDL_MapRGBA.3 docs/man3/SDL_MixAudio.3 docs/man3/SDL_MouseButtonEvent.3 docs/man3/SDL_MouseMotionEvent.3 docs/man3/SDL_NumJoysticks.3 docs/man3/SDL_OpenAudio.3 docs/man3/SDL_Overlay.3 docs/man3/SDL_Palette.3 docs/man3/SDL_PauseAudio.3 docs/man3/SDL_PeepEvents.3 docs/man3/SDL_PixelFormat.3 docs/man3/SDL_PollEvent.3 docs/man3/SDL_PumpEvents.3 docs/man3/SDL_PushEvent.3 docs/man3/SDL_Quit.3 docs/man3/SDL_QuitEvent.3 docs/man3/SDL_QuitSubSystem.3 docs/man3/SDL_RWFromFile.3 docs/man3/SDL_Rect.3 docs/man3/SDL_RemoveTimer.3 docs/man3/SDL_ResizeEvent.3 docs/man3/SDL_SaveBMP.3 docs/man3/SDL_SemPost.3 docs/man3/SDL_SemTryWait.3 docs/man3/SDL_SemValue.3 docs/man3/SDL_SemWait.3 docs/man3/SDL_SemWaitTimeout.3 docs/man3/SDL_SetAlpha.3 docs/man3/SDL_SetClipRect.3 docs/man3/SDL_SetColorKey.3 docs/man3/SDL_SetColors.3 docs/man3/SDL_SetCursor.3 docs/man3/SDL_SetEventFilter.3 docs/man3/SDL_SetGamma.3 docs/man3/SDL_SetGammaRamp.3 docs/man3/SDL_SetModState.3 docs/man3/SDL_SetPalette.3 docs/man3/SDL_SetTimer.3 docs/man3/SDL_SetVideoMode.3 docs/man3/SDL_ShowCursor.3 docs/man3/SDL_Surface.3 docs/man3/SDL_SysWMEvent.3 docs/man3/SDL_ThreadID.3 docs/man3/SDL_UnlockAudio.3 docs/man3/SDL_UnlockSurface.3 docs/man3/SDL_UnlockYUVOverlay.3 docs/man3/SDL_UpdateRect.3 docs/man3/SDL_UpdateRects.3 docs/man3/SDL_UserEvent.3 docs/man3/SDL_VideoDriverName.3 docs/man3/SDL_VideoInfo.3 docs/man3/SDL_VideoModeOK.3 docs/man3/SDL_WM_GetCaption.3 docs/man3/SDL_WM_GrabInput.3 docs/man3/SDL_WM_IconifyWindow.3 docs/man3/SDL_WM_SetCaption.3 docs/man3/SDL_WM_SetIcon.3 docs/man3/SDL_WM_ToggleFullScreen.3 docs/man3/SDL_WaitEvent.3 docs/man3/SDL_WaitThread.3 docs/man3/SDL_WarpMouse.3 docs/man3/SDL_WasInit.3 docs/man3/SDL_keysym.3 docs/man3/SDL_mutexP.3 docs/man3/SDL_mutexV.3
diffstat 379 files changed, 4 insertions(+), 66567 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Wed Oct 07 06:11:53 2009 +0000
+++ b/Makefile.in	Wed Oct 07 14:29:59 2009 +0000
@@ -10,7 +10,6 @@
 includedir = @includedir@
 datarootdir = @datarootdir@
 datadir	= @datadir@
-mandir	= @mandir@
 auxdir	= @ac_aux_dir@
 distpath = $(srcdir)/..
 distdir = SDL-@SDL_VERSION@
@@ -72,7 +71,7 @@
 update-revision:
 	$(SHELL) $(auxdir)/updaterev.sh
 
-.PHONY: all update-revision install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist
+.PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist
 
 -include $(OBJECTS:.lo=.d)
 @DEPENDS@
@@ -86,7 +85,7 @@
 	$(AR) cru $@ $(SDLMAIN_OBJECTS)
 	$(RANLIB) $@
 
-install: all install-bin install-hdrs install-lib install-data install-man
+install: all install-bin install-hdrs install-lib install-data
 install-bin:
 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
 	$(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config
@@ -106,14 +105,8 @@
 	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(DESTDIR)$(datadir)/aclocal/sdl.m4
 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
 	$(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig
-install-man:
-	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
-	for src in $(srcdir)/docs/man3/*.3; do \
-	    file=`echo $$src | sed -e 's|^.*/||'`; \
-	    $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man3/$$file; \
-	done
 
-uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man
+uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data
 uninstall-bin:
 	rm -f $(DESTDIR)$(bindir)/sdl-config
 uninstall-hdrs:
@@ -127,11 +120,6 @@
 	rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
 uninstall-data:
 	rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4
-uninstall-man:
-	for src in $(srcdir)/docs/man3/*.3; do \
-	    file=`echo $$src | sed -e 's|^.*/||'`; \
-	    rm -f $(DESTDIR)$(mandir)/man3/$$file; \
-	done
 
 clean:
 	rm -rf $(objects)
--- a/docs.html	Wed Oct 07 06:11:53 2009 +0000
+++ b/docs.html	Wed Oct 07 14:29:59 2009 +0000
@@ -12,7 +12,7 @@
 	<a href="http://www.libsdl.org/">SDL website</A>.
 </P>
 
-<H2> <A HREF="docs/index.html">API Documentation</A> </H2>
+<H2> <A HREF="http://wiki.libsdl.org/">Online Documentation</A> </H2>
 
 <H2> SDL 1.2.10 Release Notes </H2>
 <P>
--- a/docs/html/audio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,242 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Audio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickClose"
-HREF="sdljoystickclose.html"><LINK
-REL="NEXT"
-TITLE="SDL_AudioSpec"
-HREF="sdlaudiospec.html"><META
-NAME="KEYWORD"
-CONTENT="audio"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickclose.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlaudiospec.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="AUDIO"
-></A
->Chapter 10. Audio</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlaudiospec.html"
->SDL_AudioSpec</A
->&nbsp;--&nbsp;Audio Specification Structure</DT
-><DT
-><A
-HREF="sdlopenaudio.html"
->SDL_OpenAudio</A
->&nbsp;--&nbsp;Opens the audio device with the desired parameters.</DT
-><DT
-><A
-HREF="sdlpauseaudio.html"
->SDL_PauseAudio</A
->&nbsp;--&nbsp;Pauses and unpauses the audio callback processing</DT
-><DT
-><A
-HREF="sdlgetaudiostatus.html"
->SDL_GetAudioStatus</A
->&nbsp;--&nbsp;Get the current audio state</DT
-><DT
-><A
-HREF="sdlloadwav.html"
->SDL_LoadWAV</A
->&nbsp;--&nbsp;Load a WAVE file</DT
-><DT
-><A
-HREF="sdlfreewav.html"
->SDL_FreeWAV</A
->&nbsp;--&nbsp;Frees previously opened WAV data</DT
-><DT
-><A
-HREF="sdlaudiocvt.html"
->SDL_AudioCVT</A
->&nbsp;--&nbsp;Audio Conversion Structure</DT
-><DT
-><A
-HREF="sdlbuildaudiocvt.html"
->SDL_BuildAudioCVT</A
->&nbsp;--&nbsp;Initializes a SDL_AudioCVT structure for conversion</DT
-><DT
-><A
-HREF="sdlconvertaudio.html"
->SDL_ConvertAudio</A
->&nbsp;--&nbsp;Convert audio data to a desired audio format.</DT
-><DT
-><A
-HREF="sdlmixaudio.html"
->SDL_MixAudio</A
->&nbsp;--&nbsp;Mix audio data</DT
-><DT
-><A
-HREF="sdllockaudio.html"
->SDL_LockAudio</A
->&nbsp;--&nbsp;Lock out the callback function</DT
-><DT
-><A
-HREF="sdlunlockaudio.html"
->SDL_UnlockAudio</A
->&nbsp;--&nbsp;Unlock the callback function</DT
-><DT
-><A
-HREF="sdlcloseaudio.html"
->SDL_CloseAudio</A
->&nbsp;--&nbsp;Shuts down audio processing and closes the audio device.</DT
-></DL
-></DIV
-><P
->Sound on the computer is translated from waves that you hear into a series of 
-values, or samples, each representing the amplitude of the wave.  When these
-samples are sent in a stream to a sound card, an approximation of the original
-wave can be recreated.  The more bits used to represent the amplitude, and the
-greater frequency these samples are gathered, the closer the approximated
-sound is to the original, and the better the quality of sound.</P
-><P
->This library supports both 8 and 16 bit signed and unsigned sound samples,
-at frequencies ranging from 11025 Hz to 44100 Hz, depending on the 
-underlying hardware.  If the hardware doesn't support the desired audio
-format or frequency, it can be emulated if desired (See 
-<A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio()</TT
-></A
->)</P
-><P
->A commonly supported audio format is 16 bits per sample at 22050 Hz.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickclose.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlaudiospec.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickClose</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_AudioSpec</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/cdrom.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,260 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->CD-ROM</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CloseAudio"
-HREF="sdlcloseaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDNumDrives"
-HREF="sdlcdnumdrives.html"><META
-NAME="KEYWORD"
-CONTENT="cdrom"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcloseaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdnumdrives.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="CDROM"
-></A
->Chapter 11. CD-ROM</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlcdnumdrives.html"
->SDL_CDNumDrives</A
->&nbsp;--&nbsp;Returns the number of CD-ROM drives on the system.</DT
-><DT
-><A
-HREF="sdlcdname.html"
->SDL_CDName</A
->&nbsp;--&nbsp;Returns a human-readable, system-dependent identifier for the CD-ROM.</DT
-><DT
-><A
-HREF="sdlcdopen.html"
->SDL_CDOpen</A
->&nbsp;--&nbsp;Opens a CD-ROM drive for access.</DT
-><DT
-><A
-HREF="sdlcdstatus.html"
->SDL_CDStatus</A
->&nbsp;--&nbsp;Returns the current status of the given drive.</DT
-><DT
-><A
-HREF="sdlcdplay.html"
->SDL_CDPlay</A
->&nbsp;--&nbsp;Play a CD</DT
-><DT
-><A
-HREF="sdlcdplaytracks.html"
->SDL_CDPlayTracks</A
->&nbsp;--&nbsp;Play the given CD track(s)</DT
-><DT
-><A
-HREF="sdlcdpause.html"
->SDL_CDPause</A
->&nbsp;--&nbsp;Pauses a CDROM</DT
-><DT
-><A
-HREF="sdlcdresume.html"
->SDL_CDResume</A
->&nbsp;--&nbsp;Resumes a CDROM</DT
-><DT
-><A
-HREF="sdlcdstop.html"
->SDL_CDStop</A
->&nbsp;--&nbsp;Stops a CDROM</DT
-><DT
-><A
-HREF="sdlcdeject.html"
->SDL_CDEject</A
->&nbsp;--&nbsp;Ejects a CDROM</DT
-><DT
-><A
-HREF="sdlcdclose.html"
->SDL_CDClose</A
->&nbsp;--&nbsp;Closes a SDL_CD handle</DT
-><DT
-><A
-HREF="sdlcd.html"
->SDL_CD</A
->&nbsp;--&nbsp;CDROM Drive Information</DT
-><DT
-><A
-HREF="sdlcdtrack.html"
->SDL_CDtrack</A
->&nbsp;--&nbsp;CD Track Information Structure</DT
-></DL
-></DIV
-><P
->SDL supports audio control of up to 32 local CD-ROM drives at once.</P
-><P
->You use this API to perform all the basic functions of a CD player,
-including listing the tracks, playing, stopping, and ejecting the CD-ROM.
-(Currently, multi-changer CD drives are not supported.)</P
-><P
->Before you call any of the SDL CD-ROM functions, you must first call
-"<TT
-CLASS="FUNCTION"
->SDL_Init(SDL_INIT_CDROM)</TT
->", which scans the system for
-CD-ROM drives, and sets the program up for audio control.  Check the 
-return code, which should be <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, to see if there 
-were any errors in starting up.</P
-><P
->After you have initialized the library, you can find out how many drives
-are available using the <TT
-CLASS="FUNCTION"
->SDL_CDNumDrives()</TT
-> function.  
-The first drive listed is the system default CD-ROM drive.  After you have 
-chosen a drive, and have opened it with <TT
-CLASS="FUNCTION"
->SDL_CDOpen()</TT
->, 
-you can check the status and start playing if there's a CD in the drive.</P
-><P
->A CD-ROM is organized into one or more tracks, each consisting of a certain
-number of "frames".  Each frame is ~2K in size, and at normal playing speed,
-a CD plays 75 frames per second.  SDL works with the number of frames on a
-CD, but this can easily be converted to the more familiar minutes/seconds
-format by using the <TT
-CLASS="FUNCTION"
->FRAMES_TO_MSF()</TT
-> macro.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcloseaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdnumdrives.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CloseAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDNumDrives</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/event.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,216 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Events</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_GrabInput"
-HREF="sdlwmgrabinput.html"><LINK
-REL="NEXT"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><META
-NAME="KEYWORD"
-CONTENT="events"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmgrabinput.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="EVENT"
-></A
->Chapter 8. Events</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="event.html#AEN3691"
->Introduction</A
-></DT
-><DT
-><A
-HREF="eventstructures.html"
->SDL Event Structures.</A
-></DT
-><DT
-><A
-HREF="eventfunctions.html"
->Event Functions.</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN3691"
-></A
->Introduction</H1
-><P
->Event handling allows your application to receive input from the user. Event handling is initalised (along with video) with a call to:
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_Init(SDL_INIT_VIDEO);</PRE
->
-Internally, SDL stores all the events waiting to be handled in an event queue. Using functions like <A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-> and <A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
-> you can observe and handle waiting input events.</P
-><P
->The key to event handling in SDL is the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union. The event queue itself is composed of a series of <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> unions, one for each waiting event. <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> unions are read from the queue with the <TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-> function and it is then up to the application to process the information stored with them.</P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmgrabinput.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_GrabInput</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL Event Structures.</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/eventfunctions.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,481 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Event Functions.</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Events"
-HREF="event.html"><LINK
-REL="PREVIOUS"
-TITLE="SDLKey"
-HREF="sdlkey.html"><LINK
-REL="NEXT"
-TITLE="SDL_PumpEvents"
-HREF="sdlpumpevents.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlkey.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 8. Events</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpumpevents.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="EVENTFUNCTIONS"
-></A
->Event Functions.</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlpumpevents.html"
->SDL_PumpEvents</A
->&nbsp;--&nbsp;Pumps the event loop, gathering events from the input devices.</DT
-><DT
-><A
-HREF="sdlpeepevents.html"
->SDL_PeepEvents</A
->&nbsp;--&nbsp;Checks the event queue for messages and optionally returns them.</DT
-><DT
-><A
-HREF="sdlpollevent.html"
->SDL_PollEvent</A
->&nbsp;--&nbsp;Polls for currently pending events.</DT
-><DT
-><A
-HREF="sdlwaitevent.html"
->SDL_WaitEvent</A
->&nbsp;--&nbsp;Waits indefinitely for the next available event.</DT
-><DT
-><A
-HREF="sdlpushevent.html"
->SDL_PushEvent</A
->&nbsp;--&nbsp;Pushes an event onto the event queue</DT
-><DT
-><A
-HREF="sdlseteventfilter.html"
->SDL_SetEventFilter</A
->&nbsp;--&nbsp;Sets up a filter to process all events before they are posted 
-to the event queue.</DT
-><DT
-><A
-HREF="sdlgeteventfilter.html"
->SDL_GetEventFilter</A
->&nbsp;--&nbsp;Retrieves a pointer to he event filter</DT
-><DT
-><A
-HREF="sdleventstate.html"
->SDL_EventState</A
->&nbsp;--&nbsp;This function allows you to set the state of processing certain events.</DT
-><DT
-><A
-HREF="sdlgetkeystate.html"
->SDL_GetKeyState</A
->&nbsp;--&nbsp;Get a snapshot of the current keyboard state</DT
-><DT
-><A
-HREF="sdlgetmodstate.html"
->SDL_GetModState</A
->&nbsp;--&nbsp;Get the state of modifier keys.</DT
-><DT
-><A
-HREF="sdlsetmodstate.html"
->SDL_SetModState</A
->&nbsp;--&nbsp;Set the current key modifier state</DT
-><DT
-><A
-HREF="sdlgetkeyname.html"
->SDL_GetKeyName</A
->&nbsp;--&nbsp;Get the name of an SDL virtual keysym</DT
-><DT
-><A
-HREF="sdlenableunicode.html"
->SDL_EnableUNICODE</A
->&nbsp;--&nbsp;Enable UNICODE translation</DT
-><DT
-><A
-HREF="sdlenablekeyrepeat.html"
->SDL_EnableKeyRepeat</A
->&nbsp;--&nbsp;Set keyboard repeat rate.</DT
-><DT
-><A
-HREF="sdlgetmousestate.html"
->SDL_GetMouseState</A
->&nbsp;--&nbsp;Retrieve the current state of the mouse</DT
-><DT
-><A
-HREF="sdlgetrelativemousestate.html"
->SDL_GetRelativeMouseState</A
->&nbsp;--&nbsp;Retrieve the current state of the mouse</DT
-><DT
-><A
-HREF="sdlgetappstate.html"
->SDL_GetAppState</A
->&nbsp;--&nbsp;Get the state of the application</DT
-><DT
-><A
-HREF="sdljoystickeventstate.html"
->SDL_JoystickEventState</A
->&nbsp;--&nbsp;Enable/disable joystick event polling</DT
-></DL
-></DIV
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN5312"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlpumpevents.html"
->SDL_PumpEvents</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pumps the event loop, gathering events from the input devices</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlpeepevents.html"
->SDL_PeepEvents</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Checks the event queue for messages and optionally returns them</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlpollevent.html"
->SDL_PollEvent</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Polls for currently pending events</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlwaitevent.html"
->SDL_WaitEvent</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Waits indefinitely for the next available event</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlpushevent.html"
->SDL_PushEvent</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pushes an event onto the event queue</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlseteventfilter.html"
->SDL_SetEventFilter</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Sets up a filter to process all events</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdleventstate.html"
->SDL_EventState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Allows you to set the state of processing certain events</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetkeystate.html"
->SDL_GetKeyState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Get a snapshot of the current keyboard state</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetmodstate.html"
->SDL_GetModState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Get the state of modifier keys</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlsetmodstate.html"
->SDL_SetModState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Set the state of modifier keys</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetkeyname.html"
->SDL_GetKeyName</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Get the name of an SDL virtual keysym</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlenableunicode.html"
->SDL_EnableUNICODE</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Enable UNICODE translation</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlenablekeyrepeat.html"
->SDL_EnableKeyRepeat</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Set keyboard repeat rate</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetmousestate.html"
->SDL_GetMouseState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Retrieve the current state of the mouse</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetrelativemousestate.html"
->SDL_GetRelativeMouseState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Retrieve the current state of the mouse</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlgetappstate.html"
->SDL_GetAppState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Get the state of the application</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoystickeventstate.html"
->SDL_JoystickEventState</A
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Enable/disable joystick event polling</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlkey.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpumpevents.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDLKey</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="event.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PumpEvents</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/eventstructures.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL Event Structures.</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Events"
-HREF="event.html"><LINK
-REL="PREVIOUS"
-TITLE="Events"
-HREF="event.html"><LINK
-REL="NEXT"
-TITLE="SDL_Event"
-HREF="sdlevent.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="event.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 8. Events</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="EVENTSTRUCTURES"
-></A
->SDL Event Structures.</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlevent.html"
->SDL_Event</A
->&nbsp;--&nbsp;General event structure</DT
-><DT
-><A
-HREF="sdlactiveevent.html"
->SDL_ActiveEvent</A
->&nbsp;--&nbsp;Application visibility event structure</DT
-><DT
-><A
-HREF="sdlkeyboardevent.html"
->SDL_KeyboardEvent</A
->&nbsp;--&nbsp;Keyboard event structure</DT
-><DT
-><A
-HREF="sdlmousemotionevent.html"
->SDL_MouseMotionEvent</A
->&nbsp;--&nbsp;Mouse motion event structure</DT
-><DT
-><A
-HREF="sdlmousebuttonevent.html"
->SDL_MouseButtonEvent</A
->&nbsp;--&nbsp;Mouse button event structure</DT
-><DT
-><A
-HREF="sdljoyaxisevent.html"
->SDL_JoyAxisEvent</A
->&nbsp;--&nbsp;Joystick axis motion event structure</DT
-><DT
-><A
-HREF="sdljoybuttonevent.html"
->SDL_JoyButtonEvent</A
->&nbsp;--&nbsp;Joystick button event structure</DT
-><DT
-><A
-HREF="sdljoyhatevent.html"
->SDL_JoyHatEvent</A
->&nbsp;--&nbsp;Joystick hat position change event structure</DT
-><DT
-><A
-HREF="sdljoyballevent.html"
->SDL_JoyBallEvent</A
->&nbsp;--&nbsp;Joystick trackball motion event structure</DT
-><DT
-><A
-HREF="sdlresizeevent.html"
->SDL_ResizeEvent</A
->&nbsp;--&nbsp;Window resize event structure</DT
-><DT
-><A
-HREF="sdlexposeevent.html"
->SDL_ExposeEvent</A
->&nbsp;--&nbsp;Quit requested event</DT
-><DT
-><A
-HREF="sdlsyswmevent.html"
->SDL_SysWMEvent</A
->&nbsp;--&nbsp;Platform-dependent window manager event.</DT
-><DT
-><A
-HREF="sdluserevent.html"
->SDL_UserEvent</A
->&nbsp;--&nbsp;A user-defined event type</DT
-><DT
-><A
-HREF="sdlquitevent.html"
->SDL_QuitEvent</A
->&nbsp;--&nbsp;Quit requested event</DT
-><DT
-><A
-HREF="sdlkeysym.html"
->SDL_keysym</A
->&nbsp;--&nbsp;Keysym structure</DT
-><DT
-><A
-HREF="sdlkey.html"
->SDLKey</A
->&nbsp;--&nbsp;Keysym definitions.</DT
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="event.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Events</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="event.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Event</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/general.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->General</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="NEXT"
-TITLE="SDL_Init"
-HREF="sdlinit.html"><META
-NAME="KEYWORD"
-CONTENT="general"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="reference.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="GENERAL"
-></A
->Chapter 5. General</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlinit.html"
->SDL_Init</A
->&nbsp;--&nbsp;Initializes SDL</DT
-><DT
-><A
-HREF="sdlinitsubsystem.html"
->SDL_InitSubSystem</A
->&nbsp;--&nbsp;Initialize subsystems</DT
-><DT
-><A
-HREF="sdlquitsubsystem.html"
->SDL_QuitSubSystem</A
->&nbsp;--&nbsp;Shut down a subsystem</DT
-><DT
-><A
-HREF="sdlquit.html"
->SDL_Quit</A
->&nbsp;--&nbsp;Shut down SDL</DT
-><DT
-><A
-HREF="sdlwasinit.html"
->SDL_WasInit</A
->&nbsp;--&nbsp;Check which subsystems are initialized</DT
-><DT
-><A
-HREF="sdlgeterror.html"
->SDL_GetError</A
->&nbsp;--&nbsp;Get SDL error string</DT
-><DT
-><A
-HREF="sdlenvvars.html"
->SDL_envvars</A
->&nbsp;--&nbsp;SDL environment variables</DT
-></DL
-></DIV
-><P
->Before SDL can be used in a program it must be initialized with <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->. <TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> initializes all the subsystems that the user requests (video, audio, joystick, timers and/or cdrom). Once SDL is initialized with <TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> subsystems can be shut down and initialized as needed using <A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
-> and <A
-HREF="sdlquitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_QuitSubSystem</TT
-></A
->.</P
-><P
->SDL must also be shut down before the program exits to make sure it cleans up correctly. Calling <A
-HREF="sdlquit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-></A
-> shuts down all subsystems and frees any resources allocated to SDL.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL Reference</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Init</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guide.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL Guide</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="NEXT"
-TITLE="Preface"
-HREF="guidepreface.html"></HEAD
-><BODY
-CLASS="PART"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="index.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="PART"
-><A
-NAME="GUIDE"
-></A
-><DIV
-CLASS="TITLEPAGE"
-><H1
-CLASS="TITLE"
->I. SDL Guide</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guidepreface.html"
->Preface</A
-></DT
-><DT
->1. <A
-HREF="guidethebasics.html"
->The Basics</A
-></DT
-><DT
->2. <A
-HREF="guidevideo.html"
->Graphics and Video</A
-></DT
-><DT
->3. <A
-HREF="guideinput.html"
->Input handling</A
-></DT
-><DT
->4. <A
-HREF="guideexamples.html"
->Examples</A
-></DT
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL Library Documentation</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Preface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideaboutsdldoc.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,148 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->About SDLdoc</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Preface"
-HREF="guidepreface.html"><LINK
-REL="PREVIOUS"
-TITLE="Preface"
-HREF="guidepreface.html"><LINK
-REL="NEXT"
-TITLE="Credits"
-HREF="guidecredits.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Preface</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidecredits.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEABOUTSDLDOC"
-></A
->About SDLdoc</H1
-><P
->SDLdoc (The SDL Documentation Project) was formed to completely rewrite the SDL documentation and to keep it continually up to date. The team consists completely of volunteers ranging from people working with SDL in their spare time to people who use SDL in their everyday working lives.</P
-><P
->The latest version of this documentation can always be found here: http://sdldoc.csn.ul.ie  Downloadable PS, man pages and html tarballs are available at http://sdldoc.csn.ul.ie/pub/</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidecredits.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Preface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Credits</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideaudioexamples.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,228 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Audio Examples</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Examples"
-HREF="guideexamples.html"><LINK
-REL="PREVIOUS"
-TITLE="Event Examples"
-HREF="guideeventexamples.html"><LINK
-REL="NEXT"
-TITLE="CDROM Examples"
-HREF="guidecdromexamples.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideeventexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 4. Examples</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidecdromexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEAUDIOEXAMPLES"
-></A
->Audio Examples</H1
-><P
-></P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN382"
-></A
->Opening the audio device</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_AudioSpec wanted;
-    extern void fill_audio(void *udata, Uint8 *stream, int len);
-
-    /* Set the audio format */
-    wanted.freq = 22050;
-    wanted.format = AUDIO_S16;
-    wanted.channels = 2;    /* 1 = mono, 2 = stereo */
-    wanted.samples = 1024;  /* Good low-latency value for callback */
-    wanted.callback = fill_audio;
-    wanted.userdata = NULL;
-
-    /* Open the audio device, forcing the desired format */
-    if ( SDL_OpenAudio(&#38;wanted, NULL) &#60; 0 ) {
-        fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
-        return(-1);
-    }
-    return(0);</PRE
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN386"
-></A
->Playing audio</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    static Uint8 *audio_chunk;
-    static Uint32 audio_len;
-    static Uint8 *audio_pos;
-
-    /* The audio function callback takes the following parameters:
-       stream:  A pointer to the audio buffer to be filled
-       len:     The length (in bytes) of the audio buffer
-    */
-    void fill_audio(void *udata, Uint8 *stream, int len)
-    {
-        /* Only play if we have data left */
-        if ( audio_len == 0 )
-            return;
-
-        /* Mix as much data as possible */
-        len = ( len &#62; audio_len ? audio_len : len );
-        SDL_MixAudio(stream, audio_pos, len, SDL_MIX_MAXVOLUME);
-        audio_pos += len;
-        audio_len -= len;
-    }
-
-    /* Load the audio data ... */
-
-    ;;;;;
-
-    audio_pos = audio_chunk;
-
-    /* Let the callback function play the audio chunk */
-    SDL_PauseAudio(0);
-
-    /* Do some processing */
-
-    ;;;;;
-
-    /* Wait for sound to complete */
-    while ( audio_len &#62; 0 ) {
-        SDL_Delay(100);         /* Sleep 1/10 second */
-    }
-    SDL_CloseAudio();</PRE
-></P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideeventexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidecdromexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Event Examples</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->CDROM Examples</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidebasicsinit.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,240 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Initializing SDL</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="The Basics"
-HREF="guidethebasics.html"><LINK
-REL="PREVIOUS"
-TITLE="The Basics"
-HREF="guidethebasics.html"><LINK
-REL="NEXT"
-TITLE="Graphics and Video"
-HREF="guidevideo.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidethebasics.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 1. The Basics</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidevideo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEBASICSINIT"
-></A
->Initializing SDL</H1
-><P
->SDL is composed of eight subsystems - Audio, CDROM, Event Handling, File I/O, Joystick Handling, Threading, Timers and Video. Before you can use any of these subsystems they must be initialized by calling <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-> (or <A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
->). <TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> must be called before any other SDL function. It automatically initializes the Event Handling, File I/O and Threading subsystems and it takes a parameter specifying which other subsystems to initialize. So, to initialize the default subsystems and the Video subsystems you would call:
-<PRE
-CLASS="PROGRAMLISTING"
->    SDL_Init ( SDL_INIT_VIDEO );</PRE
->
-To initialize the default subsystems, the Video subsystem and the Timers subsystem you would call:
-<PRE
-CLASS="PROGRAMLISTING"
->    SDL_Init ( SDL_INIT_VIDEO | SDL_INIT_TIMER );</PRE
-></P
-><P
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> is complemented by <A
-HREF="sdlquit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-></A
-> (and <A
-HREF="sdlquitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_QuitSubSystem</TT
-></A
->). <TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-> shuts down all subsystems, including the default ones. It should always be called before a SDL application exits.</P
-><P
->With <TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> and <TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-> firmly embedded in your programmers toolkit you can write your first and most basic SDL application. However, we must be prepare to handle errors. Many SDL functions return a value and indicates whether the function has succeeded or failed, <TT
-CLASS="FUNCTION"
->SDL_Init</TT
->, for instance, returns -1 if it could not initialize a subsystem. SDL provides a useful facility that allows you to determine exactly what the problem was, every time an error occurs within SDL an error message is stored which can be retrieved using <TT
-CLASS="FUNCTION"
->SDL_GetError</TT
->. Use this often, you can never know too much about an error.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN60"
-></A
-><P
-><B
->Example 1-1. Initializing SDL</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->#include "SDL.h"   /* All SDL App's need this */
-#include &#60;stdio.h&#62;
-
-int main(int argc, char *argv[]) {
-    
-    printf("Initializing SDL.\n");
-    
-    /* Initialize defaults, Video and Audio */
-    if((SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO)==-1)) { 
-        printf("Could not initialize SDL: %s.\n", SDL_GetError());
-        exit(-1);
-    }
-
-    printf("SDL initialized.\n");
-
-    printf("Quiting SDL.\n");
-    
-    /* Shutdown all subsystems */
-    SDL_Quit();
-    
-    printf("Quiting....\n");
-
-    exit(0);
-}&#13;</PRE
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidethebasics.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidevideo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->The Basics</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guidethebasics.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Graphics and Video</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidecdromexamples.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,275 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->CDROM Examples</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Examples"
-HREF="guideexamples.html"><LINK
-REL="PREVIOUS"
-TITLE="Audio Examples"
-HREF="guideaudioexamples.html"><LINK
-REL="NEXT"
-TITLE="Time Examples"
-HREF="guidetimeexamples.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideaudioexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 4. Examples</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidetimeexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDECDROMEXAMPLES"
-></A
->CDROM Examples</H1
-><P
-></P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN393"
-></A
->Listing CD-ROM drives</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    #include "SDL.h"
-
-    /* Initialize SDL first */
-    if ( SDL_Init(SDL_INIT_CDROM) &#60; 0 ) {
-        fprintf(stderr, "Couldn't initialize SDL: %s\n",SDL_GetError());
-        exit(1);
-    }
-    atexit(SDL_Quit);
-
-    /* Find out how many CD-ROM drives are connected to the system */
-    printf("Drives available: %d\n", SDL_CDNumDrives());
-    for ( i=0; i&#60;SDL_CDNumDrives(); ++i ) {
-        printf("Drive %d:  \"%s\"\n", i, SDL_CDName(i));
-    }</PRE
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN397"
-></A
->Opening the default drive</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_CD *cdrom;
-    CDstatus status;
-    char *status_str;
-
-    cdrom = SDL_CDOpen(0);
-    if ( cdrom == NULL ) {
-        fprintf(stderr, "Couldn't open default CD-ROM drive: %s\n",
-                        SDL_GetError());
-        exit(2);
-    }
-
-    status = SDL_CDStatus(cdrom);
-    switch (status) {
-        case CD_TRAYEMPTY:
-            status_str = "tray empty";
-            break;
-        case CD_STOPPED:
-            status_str = "stopped";
-            break;
-        case CD_PLAYING:
-            status_str = "playing";
-            break;
-        case CD_PAUSED:
-            status_str = "paused";
-            break;
-        case CD_ERROR:
-            status_str = "error state";
-            break;
-    }
-    printf("Drive status: %s\n", status_str);
-    if ( status &#62;= CD_PLAYING ) {
-        int m, s, f;
-        FRAMES_TO_MSF(cdrom-&#62;cur_frame, &#38;m, &#38;s, &#38;f);
-        printf("Currently playing track %d, %d:%2.2d\n",
-        cdrom-&#62;track[cdrom-&#62;cur_track].id, m, s);
-    }</PRE
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN401"
-></A
->Listing the tracks on a CD</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_CD *cdrom;          /* Assuming this has already been set.. */
-    int i;
-    int m, s, f;
-
-    SDL_CDStatus(cdrom);
-    printf("Drive tracks: %d\n", cdrom-&#62;numtracks);
-    for ( i=0; i&#60;cdrom-&#62;numtracks; ++i ) {
-        FRAMES_TO_MSF(cdrom-&#62;track[i].length, &#38;m, &#38;s, &#38;f);
-        if ( f &#62; 0 )
-            ++s;
-        printf("\tTrack (index %d) %d: %d:%2.2d\n", i,
-        cdrom-&#62;track[i].id, m, s);
-    }</PRE
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN405"
-></A
->Play an entire CD</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_CD *cdrom;          /* Assuming this has already been set.. */
-
-    // Play entire CD:
-    if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
-        SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
-
-        // Play last track:
-        if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
-            SDL_CDPlayTracks(cdrom, cdrom-&#62;numtracks-1, 0, 0, 0);
-        }
-
-        // Play first and second track and 10 seconds of third track:
-        if ( CD_INDRIVE(SDL_CDStatus(cdrom)) )
-            SDL_CDPlayTracks(cdrom, 0, 0, 2, CD_FPS * 10);</PRE
-></P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideaudioexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidetimeexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Audio Examples</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Time Examples</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidecredits.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,195 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Credits</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Preface"
-HREF="guidepreface.html"><LINK
-REL="PREVIOUS"
-TITLE="About SDLdoc"
-HREF="guideaboutsdldoc.html"><LINK
-REL="NEXT"
-TITLE="The Basics"
-HREF="guidethebasics.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideaboutsdldoc.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Preface</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidethebasics.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDECREDITS"
-></A
->Credits</H1
-><P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
->Sam Lantinga, slouken@libsdl.org</TD
-></TR
-><TR
-><TD
->Martin Donlon, akawaka@skynet.ie</TD
-></TR
-><TR
-><TD
->Mattias Engdegård</TD
-></TR
-><TR
-><TD
->Julian Peterson</TD
-></TR
-><TR
-><TD
->Ken Jordan</TD
-></TR
-><TR
-><TD
->Maxim Sobolev</TD
-></TR
-><TR
-><TD
->Wesley Poole</TD
-></TR
-><TR
-><TD
->Michael Vance</TD
-></TR
-><TR
-><TD
->Andreas Umbach</TD
-></TR
-><TR
-><TD
->Andreas Hofmeister</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideaboutsdldoc.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidethebasics.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->About SDLdoc</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guidepreface.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->The Basics</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideeventexamples.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,247 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Event Examples</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Examples"
-HREF="guideexamples.html"><LINK
-REL="PREVIOUS"
-TITLE="Examples"
-HREF="guideexamples.html"><LINK
-REL="NEXT"
-TITLE="Audio Examples"
-HREF="guideaudioexamples.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 4. Examples</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideaudioexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEEVENTEXAMPLES"
-></A
->Event Examples</H1
-><P
-></P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN375"
-></A
->Filtering and Handling Events</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->#include &#60;stdio.h&#62;
-#include &#60;stdlib.h&#62;
-
-#include "SDL.h"
-
-/* This function may run in a separate event thread */
-int FilterEvents(const SDL_Event *event) {
-    static int boycott = 1;
-
-    /* This quit event signals the closing of the window */
-    if ( (event-&#62;type == SDL_QUIT) &#38;&#38; boycott ) {
-        printf("Quit event filtered out -- try again.\n");
-        boycott = 0;
-        return(0);
-    }
-    if ( event-&#62;type == SDL_MOUSEMOTION ) {
-        printf("Mouse moved to (%d,%d)\n",
-                event-&#62;motion.x, event-&#62;motion.y);
-        return(0);    /* Drop it, we've handled it */
-    }
-    return(1);
-}
-
-int main(int argc, char *argv[])
-{
-    SDL_Event event;
-
-    /* Initialize the SDL library (starts the event loop) */
-    if ( SDL_Init(SDL_INIT_VIDEO) &#60; 0 ) {
-        fprintf(stderr,
-                "Couldn't initialize SDL: %s\n", SDL_GetError());
-        exit(1);
-    }
-
-    /* Clean up on exit, exit on window close and interrupt */
-    atexit(SDL_Quit);
-
-    /* Ignore key events */
-    SDL_EventState(SDL_KEYDOWN, SDL_IGNORE);
-    SDL_EventState(SDL_KEYUP, SDL_IGNORE);
-
-    /* Filter quit and mouse motion events */
-    SDL_SetEventFilter(FilterEvents);
-
-    /* The mouse isn't much use unless we have a display for reference */
-    if ( SDL_SetVideoMode(640, 480, 8, 0) == NULL ) {
-        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
-                        SDL_GetError());
-        exit(1);
-    }
-
-    /* Loop waiting for ESC+Mouse_Button */
-    while ( SDL_WaitEvent(&#38;event) &#62;= 0 ) {
-        switch (event.type) {
-            case SDL_ACTIVEEVENT: {
-                if ( event.active.state &#38; SDL_APPACTIVE ) {
-                    if ( event.active.gain ) {
-                        printf("App activated\n");
-                    } else {
-                        printf("App iconified\n");
-                    }
-                }
-            }
-            break;
-                    
-            case SDL_MOUSEBUTTONDOWN: {
-                Uint8 *keys;
-
-                keys = SDL_GetKeyState(NULL);
-                if ( keys[SDLK_ESCAPE] == SDL_PRESSED ) {
-                    printf("Bye bye...\n");
-                    exit(0);
-                }
-                printf("Mouse button pressed\n");
-            }
-            break;
-
-            case SDL_QUIT: {
-                printf("Quit requested, quitting.\n");
-                exit(0);
-            }
-            break;
-        }
-    }
-    /* This should never happen */
-    printf("SDL_WaitEvent error: %s\n", SDL_GetError());
-    exit(1);
-}</PRE
-></P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideaudioexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Examples</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Audio Examples</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideexamples.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,188 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Examples</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="PREVIOUS"
-TITLE="Handling the Keyboard"
-HREF="guideinputkeyboard.html"><LINK
-REL="NEXT"
-TITLE="Event Examples"
-HREF="guideeventexamples.html"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideinputkeyboard.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideeventexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="GUIDEEXAMPLES"
-></A
->Chapter 4. Examples</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guideexamples.html#AEN369"
->Introduction</A
-></DT
-><DT
-><A
-HREF="guideeventexamples.html"
->Event Examples</A
-></DT
-><DT
-><A
-HREF="guideaudioexamples.html"
->Audio Examples</A
-></DT
-><DT
-><A
-HREF="guidecdromexamples.html"
->CDROM Examples</A
-></DT
-><DT
-><A
-HREF="guidetimeexamples.html"
->Time Examples</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="AEN369"
-></A
->Introduction</H1
-><P
->For the moment these examples are taken directly from the old SDL documentation. By the 1.2 release these examples should hopefully deal with most common SDL programming problems.</P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideinputkeyboard.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideeventexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Handling the Keyboard</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Event Examples</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideinput.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,739 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Input handling</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="PREVIOUS"
-TITLE="Using OpenGL With SDL"
-HREF="guidevideoopengl.html"><LINK
-REL="NEXT"
-TITLE="Handling the Keyboard"
-HREF="guideinputkeyboard.html"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidevideoopengl.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideinputkeyboard.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="GUIDEINPUT"
-></A
->Chapter 3. Input handling</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guideinput.html#GUIDEINPUTJOYSTICK"
->Handling Joysticks</A
-></DT
-><DT
-><A
-HREF="guideinputkeyboard.html"
->Handling the Keyboard</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEINPUTJOYSTICK"
-></A
->Handling Joysticks</H1
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN135"
-></A
->Initialization</H2
-><P
->The first step in using a joystick in a SDL program is to initialize the Joystick subsystems of SDL. This done by passing the <TT
-CLASS="LITERAL"
->SDL_INIT_JOYSTICK</TT
-> flag to <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->.  The joystick flag will usually be used in conjunction with other flags (like the video flag) because the joystick is usually used to control something.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN141"
-></A
-><P
-><B
->Example 3-1. Initializing SDL with Joystick Support</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    if (SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) &#60; 0)
-    {
-        fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
-        exit(1);
-    }</PRE
-></DIV
-><P
->This will attempt to start SDL with both the video and the joystick subsystems activated.</P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN145"
-></A
->Querying</H2
-><P
->If we have reached this point then we can safely assume that the SDL library has been initialized and that the Joystick subsystem is active. We can now call some video and/or sound functions to get things going before we need the joystick. Eventually we have to make sure that there is actually a joystick to work with. It's wise to always check even if you know a joystick will be present on the system because it can also help detect when the joystick is unplugged. The function used to check for joysticks is <A
-HREF="sdlnumjoysticks.html"
-><TT
-CLASS="FUNCTION"
->SDL_NumJoysticks</TT
-></A
->.</P
-><P
->This function simply returns the number of joysticks available on the system. If it is at least one then we are in good shape. The next step is to determine which joystick the user wants to use. If the number of joysticks available is only one then it is safe to assume that one joystick is the one the user wants to use. SDL has a function to get the name of the joysticks as assigned by the operations system and that function is <A
-HREF="sdljoystickname.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickName</TT
-></A
->.  The joystick is specified by an index where 0 is the first joystick and the last joystick is the number returned by <TT
-CLASS="FUNCTION"
->SDL_NumJoysticks</TT
-> - 1.  In the demonstration a list of all available joysticks is printed to stdout.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN154"
-></A
-><P
-><B
->Example 3-2. Querying the Number of Available Joysticks</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    printf("%i joysticks were found.\n\n", SDL_NumJoysticks() );
-    printf("The names of the joysticks are:\n");
-		
-    for( i=0; i &#60; SDL_NumJoysticks(); i++ ) 
-    {
-        printf("    %s\n", SDL_JoystickName(i));
-    }</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN157"
-></A
->Opening a Joystick and Receiving Joystick Events</H2
-><P
->SDL's event driven architecture makes working with joysticks a snap.  Joysticks can trigger 4 different types of events:
-<P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><A
-HREF="sdljoyaxisevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyAxisEvent</SPAN
-></A
-></TD
-><TD
->Occurs when an axis changes</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoyballevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyBallEvent</SPAN
-></A
-></TD
-><TD
->Occurs when a joystick trackball's position changes</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoyhatevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyHatEvent</SPAN
-></A
-></TD
-><TD
->Occurs when a hat's position changes</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoybuttonevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyButtonEvent</SPAN
-></A
-></TD
-><TD
->Occurs when a button is pressed or released</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></P
-><P
->Events are received from all joysticks opened. The first thing that needs to be done in order to receive joystick events is to call <A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
-> with the <TT
-CLASS="LITERAL"
->SDL_ENABLE</TT
-> flag. Next you must open the joysticks that you want to receive envents from. This is done with the <A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-> function. For the example we are only interested in events from the first joystick on the system, regardless of what it may be. To receive events from it we would do this:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN183"
-></A
-><P
-><B
->Example 3-3. Opening a Joystick</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_Joystick *joystick;
-
-    SDL_JoystickEventState(SDL_ENABLE);
-    joystick = SDL_JoystickOpen(0);</PRE
-></DIV
-><P
->If we wanted to receive events for other joysticks we would open them with calls to <TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-> just like we opened joystick 0, except we would store the <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
-> structure they return in a different pointer.  We only need the joystick pointer when we are querying the joysticks or when we are closing the joystick.</P
-><P
->Up to this point all the code we have is used just to initialize the joysticks in order to read values at run time. All we need now is an event loop, which is something that all SDL programs should have anyway to receive the systems quit events. We must now add code to check the event loop for at least some of the above mentioned events. Let's assume our event loop looks like this:
-<PRE
-CLASS="PROGRAMLISTING"
->    SDL_Event event;
-    /* Other initializtion code goes here */   
-
-    /* Start main game loop here */
-
-    while(SDL_PollEvent(&#38;event))
-    {  
-        switch(event.type)
-        {  
-            case SDL_KEYDOWN:
-            /* handle keyboard stuff here */				
-            break;
-
-            case SDL_QUIT:
-            /* Set whatever flags are necessary to */
-            /* end the main game loop here */
-            break;
-        }
-    }
-
-    /* End loop here */</PRE
->
-To handle Joystick events we merely add cases for them, first we'll add axis handling code. Axis checks can get kinda of tricky because alot of the joystick events received are junk. Joystick axis have a tendency to vary just a little between polling due to the way they are designed. To compensate for this you have to set a threshold for changes and ignore the events that have'nt exceeded the threshold. 10% is usually a good threshold value.  This sounds a lot more complicated than it is. Here is the Axis event handler:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN191"
-></A
-><P
-><B
->Example 3-4. Joystick Axis Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    case SDL_JOYAXISMOTION:  /* Handle Joystick Motion */
-    if ( ( event.jaxis.value &#60; -3200 ) || (event.jaxis.value &#62; 3200 ) ) 
-    {
-      /* code goes here */
-    }
-    break;</PRE
-></DIV
-><P
->Another trick with axis events is that up-down and left-right movement are two different sets of axes. The most important axis is axis 0 (left-right) and axis 1 (up-down).  To handle them seperatly in the code we do the following:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN195"
-></A
-><P
-><B
->Example 3-5. More Joystick Axis Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    case SDL_JOYAXISMOTION:  /* Handle Joystick Motion */
-    if ( ( event.jaxis.value &#60; -3200 ) || (event.jaxis.value &#62; 3200 ) ) 
-    {
-        if( event.jaxis.axis == 0) 
-        {
-            /* Left-right movement code goes here */
-        }
-
-        if( event.jaxis.axis == 1) 
-        {
-            /* Up-Down movement code goes here */
-        }
-    }
-    break;</PRE
-></DIV
-><P
->Ideally the code here should use <TT
-CLASS="STRUCTFIELD"
-><I
->event.jaxis.value</I
-></TT
-> to scale something. For example lets assume you are using the joystick to control the movement of a spaceship. If the user is using an analog joystick and they push the stick a little bit they expect to move less than if they pushed it a lot. Designing your code for this situation is preferred because it makes the experience for users of analog controls better and remains the same for users of digital controls.</P
-><P
->If your joystick has any additional axis then they may be used for other sticks or throttle controls and those axis return values too just with different <TT
-CLASS="STRUCTFIELD"
-><I
->event.jaxis.axis</I
-></TT
-> values.</P
-><P
->Button handling is simple compared to the axis checking.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN203"
-></A
-><P
-><B
->Example 3-6. Joystick Button Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    case SDL_JOYBUTTONDOWN:  /* Handle Joystick Button Presses */
-    if ( event.jbutton.button == 0 ) 
-    {
-        /* code goes here */
-    }
-    break;</PRE
-></DIV
-><P
->Button checks are simpler than axis checks because a button can only be pressed or not pressed.  The <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONDOWN</TT
-> event is triggered when a button is pressed and the <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONUP</TT
-> event is fired when a button is released. We do have to know what button was pressed though, that is done by reading the <TT
-CLASS="STRUCTFIELD"
-><I
->event.jbutton.button</I
-></TT
-> field.</P
-><P
->Lastly when we are through using our joysticks we should close them with a call to <A
-HREF="sdljoystickclose.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickClose</TT
-></A
->. To close our opened joystick 0 we would do this at the end of our program:
-<PRE
-CLASS="PROGRAMLISTING"
->    SDL_JoystickClose(joystick);</PRE
-></P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN214"
-></A
->Advanced Joystick Functions</H2
-><P
->That takes care of the controls that you can count on being on every joystick under the sun, but there are a few extra things that SDL can support.  Joyballs are next on our list, they are alot like axis with a few minor differences.  Joyballs store relative changes unlike the the absolute postion stored in a axis event. Also one trackball event contains both the change in x and they change in y.  Our case for it is as follows:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN217"
-></A
-><P
-><B
->Example 3-7. Joystick Ball Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    case SDL_JOYBALLMOTION:  /* Handle Joyball Motion */
-    if( event.jball.ball == 0 )
-    {
-      /* ball handling */
-    }
-    break;</PRE
-></DIV
-><P
->The above checks the first joyball on the joystick. The change in position will be stored in <TT
-CLASS="STRUCTFIELD"
-><I
->event.jball.xrel</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->event.jball.yrel</I
-></TT
->.</P
-><P
->Finally we have the hat event. Hats report only the direction they are pushed in. We check hat's position with the bitmasks:
-
-<P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_CENTERED</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_UP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHT</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_DOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFT</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
->
-
-Also there are some predefined combinations of the above:
-<P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTDOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTDOWN</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
->
-
-Our case for the hat may resemble the following:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN244"
-></A
-><P
-><B
->Example 3-8. Joystick Hat Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    case SDL_JOYHATMOTION:  /* Handle Hat Motion */
-    if ( event.jhat.value &#38; SDL_HAT_UP )
-    {
-        /* Do up stuff here */
-    }
-
-    if ( event.jhat.value &#38; SDL_HAT_LEFT )
-    {
-        /* Do left stuff here */
-    }
-
-    if ( event.jhat.value &#38; SDL_HAT_RIGHTDOWN )
-    {
-        /* Do right and down together stuff here */
-    }
-    break;</PRE
-></DIV
-><P
->In addition to the queries for number of joysticks on the system and their names there are additional functions to query the capabilities of attached joysticks:
-<P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><A
-HREF="sdljoysticknumaxes.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumAxes</TT
-></A
-></TD
-><TD
->Returns the number of joysitck axes</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoysticknumbuttons.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumButtons</TT
-></A
-></TD
-><TD
->Returns the number of joysitck buttons</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoysticknumballs.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumBalls</TT
-></A
-></TD
-><TD
->Returns the number of joysitck balls</TD
-></TR
-><TR
-><TD
-><A
-HREF="sdljoysticknumhats.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumHats</TT
-></A
-></TD
-><TD
->Returns the number of joysitck hats</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
->
-
-To use these functions we just have to pass in the joystick structure we got when we opened the joystick. For Example:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN265"
-></A
-><P
-><B
->Example 3-9. Querying Joystick Characteristics</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    int number_of_buttons;
-    SDL_Joystick *joystick;
-
-    joystick = SDL_JoystickOpen(0);
-    number_of_buttons = SDL_JoystickNumButtons(joystick);</PRE
-></DIV
-><P
->This block of code would get the number of buttons on the first joystick in the system.	</P
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidevideoopengl.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideinputkeyboard.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Using OpenGL With SDL</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Handling the Keyboard</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guideinputkeyboard.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,746 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Handling the Keyboard</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Input handling"
-HREF="guideinput.html"><LINK
-REL="PREVIOUS"
-TITLE="Input handling"
-HREF="guideinput.html"><LINK
-REL="NEXT"
-TITLE="Examples"
-HREF="guideexamples.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guideinput.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 3. Input handling</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEINPUTKEYBOARD"
-></A
->Handling the Keyboard</H1
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN271"
-></A
->Keyboard Related Structures</H2
-><P
->It should make it a lot easier to understand this tutorial is you are familiar with the data types involved in keyboard access, so I'll explain them first.</P
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN274"
-></A
->SDLKey</H3
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-> is an enumerated type defined in SDL/include/SDL_keysym.h and detailed <A
-HREF="sdlkey.html"
->here</A
->. Each <SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-> symbol represents a key, <TT
-CLASS="LITERAL"
->SDLK_a</TT
-> corresponds to the 'a' key on a keyboard, <TT
-CLASS="LITERAL"
->SDLK_SPACE</TT
-> corresponds to the space bar, and so on.</P
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN282"
-></A
->SDLMod</H3
-><P
->SDLMod is an enumerated type, similar to <SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
->, however it enumerates keyboard modifiers (Control, Alt, Shift). The full list of modifier symbols is <A
-HREF="sdlkey.html#SDLMOD"
->here</A
->. <SPAN
-CLASS="STRUCTNAME"
->SDLMod</SPAN
-> values can be AND'd together to represent several modifiers.</P
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN288"
-></A
->SDL_keysym</H3
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 scancode;
-  SDLKey sym;
-  SDLMod mod;
-  Uint16 unicode;
-} SDL_keysym;</PRE
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-> structure describes a key press or a key release. The <TT
-CLASS="STRUCTFIELD"
-><I
->scancode</I
-></TT
-> field is hardware specific and should be ignored unless you know what your doing. The <TT
-CLASS="STRUCTFIELD"
-><I
->sym</I
-></TT
-> field is the <SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-> value of the key being pressed or released. The <TT
-CLASS="STRUCTFIELD"
-><I
->mod</I
-></TT
-> field describes the state of the keyboard modifiers at the time the key press or release occurred. So a value of <TT
-CLASS="LITERAL"
->KMOD_NUM | KMOD_CAPS | KMOD_LSHIFT</TT
-> would mean that Numlock, Capslock and the left shift key were all press (or enabled in the case of the lock keys). Finally, the <TT
-CLASS="STRUCTFIELD"
-><I
->unicode</I
-></TT
-> field stores the 16-bit unicode value of the key.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->It should be noted and understood that this field is only valid when the <SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-> is describing a key press, not a key release. Unicode values only make sense on a key press because the unicode value describes an international character and only key presses produce characters. More information on Unicode can be found at <A
-HREF="http://www.unicode.org"
-TARGET="_top"
->www.unicode.org</A
-></P
-></BLOCKQUOTE
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Unicode translation must be enabled using the <A
-HREF="sdlenableunicode.html"
-><TT
-CLASS="FUNCTION"
->SDL_EnableUNICODE</TT
-></A
-> function.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H3
-CLASS="SECT3"
-><A
-NAME="AEN307"
-></A
->SDL_KeyboardEvent</H3
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 state;
-  SDL_keysym keysym;
-} SDL_KeyboardEvent;</PRE
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-> describes a keyboard event (obviously). The <TT
-CLASS="STRUCTFIELD"
-><I
->key</I
-></TT
-> member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union is a <SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-> structure. The <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> field specifies whether the event is a key release (<TT
-CLASS="LITERAL"
->SDL_KEYUP</TT
->) or a key press (<TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
->) event. The <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-> is largely redundant, it reports the same information as the <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> field but uses different values (<TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
-> and <TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
->). The <TT
-CLASS="STRUCTFIELD"
-><I
->keysym</I
-></TT
-> contains information of the key press or release that this event represents (see above).</P
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN324"
-></A
->Reading Keyboard Events</H2
-><P
->Reading keybaord events from the event queue is quite simple (the event queue and using it is described <A
-HREF="sdlevent.html"
->here</A
->). We read events using <A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-> in a <TT
-CLASS="LITERAL"
->while()</TT
-> loop and check for <TT
-CLASS="LITERAL"
->SDL_KEYUP</TT
-> and <TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
-> events using a <TT
-CLASS="LITERAL"
->switch</TT
-> statement, like so:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN334"
-></A
-><P
-><B
->Example 3-10. Reading Keyboard Events</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->  SDL_Event event;
-  .
-  .
-  /* Poll for events. SDL_PollEvent() returns 0 when there are no  */
-  /* more events on the event queue, our while loop will exit when */
-  /* that occurs.                                                  */
-  while( SDL_PollEvent( &#38;event ) ){
-    /* We are only worried about SDL_KEYDOWN and SDL_KEYUP events */
-    switch( event.type ){
-      case SDL_KEYDOWN:
-        printf( "Key press detected\n" );
-        break;
-
-      case SDL_KEYUP:
-        printf( "Key release detected\n" );
-        break;
-
-      default:
-        break;
-    }
-  }
-  .
-  .</PRE
-></DIV
-><P
->This is a very basic example. No information about the key press or release is interpreted. We will explore the other extreme out our first full example below - reporting all available information about a keyboard event.</P
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN338"
-></A
->A More Detailed Look</H2
-><P
->Before we can read events SDL must be initialised with <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-> and a video mode must be set using <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->. There are, however, two other functions we must use to obtain all the information required. We must enable unicode translation by calling <TT
-CLASS="FUNCTION"
->SDL_EnableUNICODE(1)</TT
-> and we must convert <SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-> values into something printable, using <A
-HREF="sdlgetkeyname.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetKeyName</TT
-></A
-></P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->It is useful to note that unicode values &#60; 0x80 translate directly a characters ASCII value. THis is used in the example below</P
-></BLOCKQUOTE
-></DIV
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN351"
-></A
-><P
-><B
->Example 3-11. Interpreting Key Event Information</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->&#13;    #include "SDL.h"
-
-    /* Function Prototypes */
-    void PrintKeyInfo( SDL_KeyboardEvent *key );
-    void PrintModifiers( SDLMod mod );
-
-    /* main */
-    int main( int argc, char *argv[] ){
-        
-        SDL_Event event;
-        int quit = 0;
-        
-        /* Initialise SDL */
-        if( SDL_Init( SDL_INIT_VIDEO ) &#60; 0){
-            fprintf( stderr, "Could not initialise SDL: %s\n", SDL_GetError() );
-            exit( -1 );
-        }
-
-        /* Set a video mode */
-        if( !SDL_SetVideoMode( 320, 200, 0, 0 ) ){
-            fprintf( stderr, "Could not set video mode: %s\n", SDL_GetError() );
-            SDL_Quit();
-            exit( -1 );
-        }
-
-        /* Enable Unicode translation */
-        SDL_EnableUNICODE( 1 );
-
-        /* Loop until an SDL_QUIT event is found */
-        while( !quit ){
-
-            /* Poll for events */
-            while( SDL_PollEvent( &#38;event ) ){
-                
-                switch( event.type ){
-                    /* Keyboard event */
-                    /* Pass the event data onto PrintKeyInfo() */
-                    case SDL_KEYDOWN:
-                    case SDL_KEYUP:
-                        PrintKeyInfo( &#38;event.key );
-                        break;
-
-                    /* SDL_QUIT event (window close) */
-                    case SDL_QUIT:
-                        quit = 1;
-                        break;
-
-                    default:
-                        break;
-                }
-
-            }
-
-        }
-
-        /* Clean up */
-        SDL_Quit();
-        exit( 0 );
-    }
-
-    /* Print all information about a key event */
-    void PrintKeyInfo( SDL_KeyboardEvent *key ){
-        /* Is it a release or a press? */
-        if( key-&#62;type == SDL_KEYUP )
-            printf( "Release:- " );
-        else
-            printf( "Press:- " );
-
-        /* Print the hardware scancode first */
-        printf( "Scancode: 0x%02X", key-&#62;keysym.scancode );
-        /* Print the name of the key */
-        printf( ", Name: %s", SDL_GetKeyName( key-&#62;keysym.sym ) );
-        /* We want to print the unicode info, but we need to make */
-        /* sure its a press event first (remember, release events */
-        /* don't have unicode info                                */
-        if( key-&#62;type == SDL_KEYDOWN ){
-            /* If the Unicode value is less than 0x80 then the    */
-            /* unicode value can be used to get a printable       */
-            /* representation of the key, using (char)unicode.    */
-            printf(", Unicode: " );
-            if( key-&#62;keysym.unicode &#60; 0x80 &#38;&#38; key-&#62;keysym.unicode &#62; 0 ){
-                printf( "%c (0x%04X)", (char)key-&#62;keysym.unicode,
-                        key-&#62;keysym.unicode );
-            }
-            else{
-                printf( "? (0x%04X)", key-&#62;keysym.unicode );
-            }
-        }
-        printf( "\n" );
-        /* Print modifier info */
-        PrintModifiers( key-&#62;keysym.mod );
-    }
-
-    /* Print modifier info */
-    void PrintModifiers( SDLMod mod ){
-        printf( "Modifers: " );
-
-        /* If there are none then say so and return */
-        if( mod == KMOD_NONE ){
-            printf( "None\n" );
-            return;
-        }
-
-        /* Check for the presence of each SDLMod value */
-        /* This looks messy, but there really isn't    */
-        /* a clearer way.                              */
-        if( mod &#38; KMOD_NUM ) printf( "NUMLOCK " );
-        if( mod &#38; KMOD_CAPS ) printf( "CAPSLOCK " );
-        if( mod &#38; KMOD_LCTRL ) printf( "LCTRL " );
-        if( mod &#38; KMOD_RCTRL ) printf( "RCTRL " );
-        if( mod &#38; KMOD_RSHIFT ) printf( "RSHIFT " );
-        if( mod &#38; KMOD_LSHIFT ) printf( "LSHIFT " );
-        if( mod &#38; KMOD_RALT ) printf( "RALT " );
-        if( mod &#38; KMOD_LALT ) printf( "LALT " );
-        if( mod &#38; KMOD_CTRL ) printf( "CTRL " );
-        if( mod &#38; KMOD_SHIFT ) printf( "SHIFT " );
-        if( mod &#38; KMOD_ALT ) printf( "ALT " );
-        printf( "\n" );
-    }</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN354"
-></A
->Game-type Input</H2
-><P
->I have found that people using keyboard events for games and other interactive applications don't always understand one fundemental point.</P
-><A
-NAME="AEN357"
-></A
-><BLOCKQUOTE
-CLASS="BLOCKQUOTE"
-><P
->Keyboard events <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->only</I
-></SPAN
-> take place when a keys state changes from being unpressed to pressed, and vice versa.</P
-></BLOCKQUOTE
-><P
->Imagine you have an image of an alien that you wish to move around using the cursor keys: when you pressed the left arrow key you want him to slide over to the left, and when you press the down key you want him to slide down the screen. Examine the following code; it highlights an error that many people have made.
-<PRE
-CLASS="PROGRAMLISTING"
->    /* Alien screen coordinates */
-    int alien_x=0, alien_y=0;
-    .
-    .
-    /* Initialise SDL and video modes and all that */
-    .
-    /* Main game loop */
-    /* Check for events */
-    while( SDL_PollEvent( &#38;event ) ){
-        switch( event.type ){
-            /* Look for a keypress */
-            case SDL_KEYDOWN:
-                /* Check the SDLKey values and move change the coords */
-                switch( event.key.keysym.sym ){
-                    case SDLK_LEFT:
-                        alien_x -= 1;
-                        break;
-                    case SDLK_RIGHT:
-                        alien_x += 1;
-                        break;
-                    case SDLK_UP:
-                        alien_y -= 1;
-                        break;
-                    case SDLK_DOWN:
-                        alien_y += 1;
-                        break;
-                    default:
-                        break;
-                }
-            }
-        }
-    }
-    .
-    .</PRE
->
-At first glance you may think this is a perfectly reasonable piece of code for the task, but it isn't. Like I said keyboard events only occur when a key changes state, so the user would have to press and release the left cursor key 100 times to move the alien 100 pixels to the left.</P
-><P
->To get around this problem we must not use the events to change the position of the alien, we use the events to set flags which are then used in a seperate section of code to move the alien. Something like this:</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN363"
-></A
-><P
-><B
->Example 3-12. Proper Game Movement</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    /* Alien screen coordinates */
-    int alien_x=0, alien_y=0;
-    int alien_xvel=0, alien_yvel=0;
-    .
-    .
-    /* Initialise SDL and video modes and all that */
-    .
-    /* Main game loop */
-    /* Check for events */
-    while( SDL_PollEvent( &#38;event ) ){
-        switch( event.type ){
-            /* Look for a keypress */
-            case SDL_KEYDOWN:
-                /* Check the SDLKey values and move change the coords */
-                switch( event.key.keysym.sym ){
-                    case SDLK_LEFT:
-                        alien_xvel = -1;
-                        break;
-                    case SDLK_RIGHT:
-                        alien_xvel =  1;
-                        break;
-                    case SDLK_UP:
-                        alien_yvel = -1;
-                        break;
-                    case SDLK_DOWN:
-                        alien_yvel =  1;
-                        break;
-                    default:
-                        break;
-                }
-                break;
-            /* We must also use the SDL_KEYUP events to zero the x */
-            /* and y velocity variables. But we must also be       */
-            /* careful not to zero the velocities when we shouldn't*/
-            case SDL_KEYUP:
-                switch( event.key.keysym.sym ){
-                    case SDLK_LEFT:
-                        /* We check to make sure the alien is moving */
-                        /* to the left. If it is then we zero the    */
-                        /* velocity. If the alien is moving to the   */
-                        /* right then the right key is still press   */
-                        /* so we don't tocuh the velocity            */
-                        if( alien_xvel &#60; 0 )
-                            alien_xvel = 0;
-                        break;
-                    case SDLK_RIGHT:
-                        if( alien_xvel &#62; 0 )
-                            alien_xvel = 0;
-                        break;
-                    case SDLK_UP:
-                        if( alien_yvel &#60; 0 )
-                            alien_yvel = 0;
-                        break;
-                    case SDLK_DOWN:
-                        if( alien_yvel &#62; 0 )
-                            alien_yvel = 0;
-                        break;
-                    default:
-                        break;
-                }
-                break;
-            
-            default:
-                break;
-        }
-    }
-    .
-    .
-    /* Update the alien position */
-    alien_x += alien_xvel;
-    alien_y += alien_yvel;</PRE
-></DIV
-><P
->As can be seen, we use two extra variables, alien_xvel and alien_yvel, which represent the motion of the ship, it is these variables that we update when we detect keypresses and releases.</P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guideinput.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Input handling</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guideinput.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Examples</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidepreface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,178 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Preface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="NEXT"
-TITLE="About SDLdoc"
-HREF="guideaboutsdldoc.html"></HEAD
-><BODY
-CLASS="PREFACE"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guide.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideaboutsdldoc.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="PREFACE"
-><H1
-><A
-NAME="GUIDEPREFACE"
-></A
->Preface</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guidepreface.html#GUIDEABOUTSDL"
->About SDL</A
-></DT
-><DT
-><A
-HREF="guideaboutsdldoc.html"
->About SDLdoc</A
-></DT
-><DT
-><A
-HREF="guidecredits.html"
->Credits</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEABOUTSDL"
-></A
->About SDL</H1
-><P
->The SDL library is designed to make it easy to write games that run on Linux, *BSD, MacOS, Win32 and BeOS using the various native high-performance media interfaces, (for video, audio, etc) and presenting a single source-code level API to your application. SDL is a fairly low level API, but using it, completely portable applications can be written with a great deal of flexibility.</P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideaboutsdldoc.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL Guide</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->About SDLdoc</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidethebasics.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,173 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->The Basics</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="PREVIOUS"
-TITLE="Credits"
-HREF="guidecredits.html"><LINK
-REL="NEXT"
-TITLE="Initializing SDL"
-HREF="guidebasicsinit.html"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidecredits.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidebasicsinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="GUIDETHEBASICS"
-></A
->Chapter 1. The Basics</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guidethebasics.html#GUIDEINTRODUCTION"
->Introduction</A
-></DT
-><DT
-><A
-HREF="guidebasicsinit.html"
->Initializing SDL</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEINTRODUCTION"
-></A
->Introduction</H1
-><P
->The SDL Guide section is pretty incomplete. If you feel you have anything to add mail akawaka@skynet.ie or visit http://akawaka.csn.ul.ie/tne/.</P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidecredits.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidebasicsinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Credits</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Initializing SDL</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidetimeexamples.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,183 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Time Examples</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Examples"
-HREF="guideexamples.html"><LINK
-REL="PREVIOUS"
-TITLE="CDROM Examples"
-HREF="guidecdromexamples.html"><LINK
-REL="NEXT"
-TITLE="SDL Reference"
-HREF="reference.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidecdromexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 4. Examples</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="reference.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDETIMEEXAMPLES"
-></A
->Time Examples</H1
-><P
-></P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN412"
-></A
->Time based game loop</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->#define TICK_INTERVAL    30
-
-static Uint32 next_time;
-
-Uint32 time_left(void)
-{
-    Uint32 now;
-
-    now = SDL_GetTicks();
-    if(next_time &#60;= now)
-        return 0;
-    else
-        return next_time - now;
-}
-
-
-/* main game loop */
-
-    next_time = SDL_GetTicks() + TICK_INTERVAL;
-    while ( game_running ) {
-        update_game_state();
-        SDL_Delay(time_left());
-        next_time += TICK_INTERVAL;
-    }&#13;</PRE
-></P
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidecdromexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->CDROM Examples</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guideexamples.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL Reference</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidevideo.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,463 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Graphics and Video</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Guide"
-HREF="guide.html"><LINK
-REL="PREVIOUS"
-TITLE="Initializing SDL"
-HREF="guidebasicsinit.html"><LINK
-REL="NEXT"
-TITLE="Using OpenGL With SDL"
-HREF="guidevideoopengl.html"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidebasicsinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guidevideoopengl.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="GUIDEVIDEO"
-></A
->Chapter 2. Graphics and Video</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="guidevideo.html#GUIDEVIDEOINTRO"
->Introduction to SDL Video</A
-></DT
-><DT
-><A
-HREF="guidevideoopengl.html"
->Using OpenGL With SDL</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEVIDEOINTRO"
-></A
->Introduction to SDL Video</H1
-><P
->Video is probably the most common thing that SDL is used for, and
-so it has the most complete subsystem. Here are a few
-examples to demonstrate the basics.</P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN68"
-></A
->Initializing the Video Display</H2
-><P
->This is what almost all SDL programs have to do in one way or
-another.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN71"
-></A
-><P
-><B
->Example 2-1. Initializing the Video Display</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    SDL_Surface *screen;
-
-    /* Initialize the SDL library */
-    if( SDL_Init(SDL_INIT_VIDEO) &#60; 0 ) {
-        fprintf(stderr,
-                "Couldn't initialize SDL: %s\n", SDL_GetError());
-        exit(1);
-    }
-
-    /* Clean up on exit */
-    atexit(SDL_Quit);
-    
-    /*
-     * Initialize the display in a 640x480 8-bit palettized mode,
-     * requesting a software surface
-     */
-    screen = SDL_SetVideoMode(640, 480, 8, SDL_SWSURFACE);
-    if ( screen == NULL ) {
-        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
-                        SDL_GetError());
-        exit(1);
-    }</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN74"
-></A
->Initializing the Best Video Mode</H2
-><P
->If you have a preference for a certain pixel depth but will accept any
-other, use SDL_SetVideoMode with SDL_ANYFORMAT as below. You can also
-use SDL_VideoModeOK() to find the native video mode that is closest to
-the mode you request.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN77"
-></A
-><P
-><B
->Example 2-2. Initializing the Best Video Mode</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    /* Have a preference for 8-bit, but accept any depth */
-    screen = SDL_SetVideoMode(640, 480, 8, SDL_SWSURFACE|SDL_ANYFORMAT);
-    if ( screen == NULL ) {
-        fprintf(stderr, "Couldn't set 640x480x8 video mode: %s\n",
-                        SDL_GetError());
-        exit(1);
-    }
-    printf("Set 640x480 at %d bits-per-pixel mode\n",
-           screen-&#62;format-&#62;BitsPerPixel);</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN80"
-></A
->Loading and Displaying a BMP File</H2
-><P
->The following function loads and displays a BMP file given as
-argument, once SDL is initialised and a video mode has been set.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN83"
-></A
-><P
-><B
->Example 2-3. Loading and Displaying a BMP File</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->void display_bmp(char *file_name)
-{
-    SDL_Surface *image;
-
-    /* Load the BMP file into a surface */
-    image = SDL_LoadBMP(file_name);
-    if (image == NULL) {
-        fprintf(stderr, "Couldn't load %s: %s\n", file_name, SDL_GetError());
-        return;
-    }
-
-    /*
-     * Palettized screen modes will have a default palette (a standard
-     * 8*8*4 colour cube), but if the image is palettized as well we can
-     * use that palette for a nicer colour matching
-     */
-    if (image-&#62;format-&#62;palette &#38;&#38; screen-&#62;format-&#62;palette) {
-    SDL_SetColors(screen, image-&#62;format-&#62;palette-&#62;colors, 0,
-                  image-&#62;format-&#62;palette-&#62;ncolors);
-    }
-
-    /* Blit onto the screen surface */
-    if(SDL_BlitSurface(image, NULL, screen, NULL) &#60; 0)
-        fprintf(stderr, "BlitSurface error: %s\n", SDL_GetError());
-
-    SDL_UpdateRect(screen, 0, 0, image-&#62;w, image-&#62;h);
-
-    /* Free the allocated BMP surface */
-    SDL_FreeSurface(image);
-}</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN86"
-></A
->Drawing Directly to the Display</H2
-><P
->The following two functions can be used to get and set single
-pixels of a surface. They are carefully written to work with any depth
-currently supported by SDL. Remember to lock the surface before
-calling them, and to unlock it before calling any other SDL
-functions.</P
-><P
->To convert between pixel values and their red, green, blue
-components, use SDL_GetRGB() and SDL_MapRGB().</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN90"
-></A
-><P
-><B
->Example 2-4. getpixel()</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->/*
- * Return the pixel value at (x, y)
- * NOTE: The surface must be locked before calling this!
- */
-Uint32 getpixel(SDL_Surface *surface, int x, int y)
-{
-    int bpp = surface-&#62;format-&#62;BytesPerPixel;
-    /* Here p is the address to the pixel we want to retrieve */
-    Uint8 *p = (Uint8 *)surface-&#62;pixels + y * surface-&#62;pitch + x * bpp;
-
-    switch(bpp) {
-    case 1:
-        return *p;
-
-    case 2:
-        return *(Uint16 *)p;
-
-    case 3:
-        if(SDL_BYTEORDER == SDL_BIG_ENDIAN)
-            return p[0] &#60;&#60; 16 | p[1] &#60;&#60; 8 | p[2];
-        else
-            return p[0] | p[1] &#60;&#60; 8 | p[2] &#60;&#60; 16;
-
-    case 4:
-        return *(Uint32 *)p;
-
-    default:
-        return 0;       /* shouldn't happen, but avoids warnings */
-    }
-}</PRE
-></DIV
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN93"
-></A
-><P
-><B
->Example 2-5. putpixel()</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->/*
- * Set the pixel at (x, y) to the given value
- * NOTE: The surface must be locked before calling this!
- */
-void putpixel(SDL_Surface *surface, int x, int y, Uint32 pixel)
-{
-    int bpp = surface-&#62;format-&#62;BytesPerPixel;
-    /* Here p is the address to the pixel we want to set */
-    Uint8 *p = (Uint8 *)surface-&#62;pixels + y * surface-&#62;pitch + x * bpp;
-
-    switch(bpp) {
-    case 1:
-        *p = pixel;
-        break;
-
-    case 2:
-        *(Uint16 *)p = pixel;
-        break;
-
-    case 3:
-        if(SDL_BYTEORDER == SDL_BIG_ENDIAN) {
-            p[0] = (pixel &#62;&#62; 16) &#38; 0xff;
-            p[1] = (pixel &#62;&#62; 8) &#38; 0xff;
-            p[2] = pixel &#38; 0xff;
-        } else {
-            p[0] = pixel &#38; 0xff;
-            p[1] = (pixel &#62;&#62; 8) &#38; 0xff;
-            p[2] = (pixel &#62;&#62; 16) &#38; 0xff;
-        }
-        break;
-
-    case 4:
-        *(Uint32 *)p = pixel;
-        break;
-    }
-}</PRE
-></DIV
-><P
->The following code uses the putpixel() function above to set a
-yellow pixel in the middle of the screen.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN97"
-></A
-><P
-><B
->Example 2-6. Using putpixel()</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->&#13;    /* Code to set a yellow pixel at the center of the screen */
-
-    int x, y;
-    Uint32 yellow;
-
-    /* Map the color yellow to this display (R=0xff, G=0xFF, B=0x00)
-       Note:  If the display is palettized, you must set the palette first.
-    */
-    yellow = SDL_MapRGB(screen-&#62;format, 0xff, 0xff, 0x00);
-
-    x = screen-&#62;w / 2;
-    y = screen-&#62;h / 2;
-
-    /* Lock the screen for direct access to the pixels */
-    if ( SDL_MUSTLOCK(screen) ) {
-        if ( SDL_LockSurface(screen) &#60; 0 ) {
-            fprintf(stderr, "Can't lock screen: %s\n", SDL_GetError());
-            return;
-        }
-    }
-
-    putpixel(screen, x, y, yellow);
-
-    if ( SDL_MUSTLOCK(screen) ) {
-        SDL_UnlockSurface(screen);
-    }
-    /* Update just the part of the display that we've changed */
-    SDL_UpdateRect(screen, x, y, 1, 1);
-
-    return;&#13;</PRE
-></DIV
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidebasicsinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guidevideoopengl.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Initializing SDL</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Using OpenGL With SDL</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/guidevideoopengl.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,730 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Using OpenGL With SDL</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Graphics and Video"
-HREF="guidevideo.html"><LINK
-REL="PREVIOUS"
-TITLE="Graphics and Video"
-HREF="guidevideo.html"><LINK
-REL="NEXT"
-TITLE="Input handling"
-HREF="guideinput.html"></HEAD
-><BODY
-CLASS="SECT1"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidevideo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
->Chapter 2. Graphics and Video</TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="guideinput.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="SECT1"
-><H1
-CLASS="SECT1"
-><A
-NAME="GUIDEVIDEOOPENGL"
-></A
->Using OpenGL With SDL</H1
-><P
->SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, Mac OS X, FreeBSD/X11 and Solaris/X11). This allows you to use SDL's audio, event handling, threads and times in your OpenGL applications (a function often performed by GLUT).</P
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN103"
-></A
->Initialisation</H2
-><P
->Initialising SDL to use OpenGL is not very different to initialising SDL normally. There are three differences; you must pass <TT
-CLASS="LITERAL"
->SDL_OPENGL</TT
-> to <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->, you must specify several GL attributes (depth buffer size, framebuffer sizes) using <A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
-> and finally, if you wish to use double buffering you must specify it as a GL attribute, <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->not</I
-></SPAN
-> by passing the <TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-> flag to <TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
->.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN114"
-></A
-><P
-><B
->Example 2-7. Initializing SDL with OpenGL</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->    /* Information about the current video settings. */
-    const SDL_VideoInfo* info = NULL;
-    /* Dimensions of our window. */
-    int width = 0;
-    int height = 0;
-    /* Color depth in bits of our window. */
-    int bpp = 0;
-    /* Flags we will pass into SDL_SetVideoMode. */
-    int flags = 0;
-
-    /* First, initialize SDL's video subsystem. */
-    if( SDL_Init( SDL_INIT_VIDEO ) &#60; 0 ) {
-        /* Failed, exit. */
-        fprintf( stderr, "Video initialization failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }
-
-    /* Let's get some video information. */
-    info = SDL_GetVideoInfo( );
-
-    if( !info ) {
-        /* This should probably never happen. */
-        fprintf( stderr, "Video query failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }
-
-    /*
-     * Set our width/height to 640/480 (you would
-     * of course let the user decide this in a normal
-     * app). We get the bpp we will request from
-     * the display. On X11, VidMode can't change
-     * resolution, so this is probably being overly
-     * safe. Under Win32, ChangeDisplaySettings
-     * can change the bpp.
-     */
-    width = 640;
-    height = 480;
-    bpp = info-&#62;vfmt-&#62;BitsPerPixel;
-
-    /*
-     * Now, we want to setup our requested
-     * window attributes for our OpenGL window.
-     * We want *at least* 5 bits of red, green
-     * and blue. We also want at least a 16-bit
-     * depth buffer.
-     *
-     * The last thing we do is request a double
-     * buffered window. '1' turns on double
-     * buffering, '0' turns it off.
-     *
-     * Note that we do not use SDL_DOUBLEBUF in
-     * the flags to SDL_SetVideoMode. That does
-     * not affect the GL attribute state, only
-     * the standard 2D blitting setup.
-     */
-    SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
-    SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
-
-    /*
-     * We want to request that SDL provide us
-     * with an OpenGL window, in a fullscreen
-     * video mode.
-     *
-     * EXERCISE:
-     * Make starting windowed an option, and
-     * handle the resize events properly with
-     * glViewport.
-     */
-    flags = SDL_OPENGL | SDL_FULLSCREEN;
-
-    /*
-     * Set the video mode
-     */
-    if( SDL_SetVideoMode( width, height, bpp, flags ) == 0 ) {
-        /* 
-         * This could happen for a variety of reasons,
-         * including DISPLAY not being set, the specified
-         * resolution not being available, etc.
-         */
-        fprintf( stderr, "Video mode set failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }</PRE
-></DIV
-></DIV
-><DIV
-CLASS="SECT2"
-><H2
-CLASS="SECT2"
-><A
-NAME="AEN117"
-></A
->Drawing</H2
-><P
->Apart from initialisation, using OpenGL within SDL is the same as using OpenGL
-with any other API, e.g. GLUT. You still use all the same function calls and
-data types. However if you are using a double-buffered display, then you must
-use
-<A
-HREF="sdlglswapbuffers.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SwapBuffers()</TT
-></A
->
-to swap the buffers and update the display. To request double-buffering
-with OpenGL, use
-<A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
->
-with <TT
-CLASS="LITERAL"
->SDL_GL_DOUBLEBUFFER</TT
->, and use
-<A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
->
-to see if you actually got it.</P
-><P
->A full example code listing is now presented below.</P
-><DIV
-CLASS="EXAMPLE"
-><A
-NAME="AEN128"
-></A
-><P
-><B
->Example 2-8. SDL and OpenGL</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->/*
- * SDL OpenGL Tutorial.
- * (c) Michael Vance, 2000
- * briareos@lokigames.com
- *
- * Distributed under terms of the LGPL. 
- */
-
-#include &#60;SDL/SDL.h&#62;
-#include &#60;GL/gl.h&#62;
-#include &#60;GL/glu.h&#62;
-
-#include &#60;stdio.h&#62;
-#include &#60;stdlib.h&#62;
-
-static GLboolean should_rotate = GL_TRUE;
-
-static void quit_tutorial( int code )
-{
-    /*
-     * Quit SDL so we can release the fullscreen
-     * mode and restore the previous video settings,
-     * etc.
-     */
-    SDL_Quit( );
-
-    /* Exit program. */
-    exit( code );
-}
-
-static void handle_key_down( SDL_keysym* keysym )
-{
-
-    /* 
-     * We're only interested if 'Esc' has
-     * been presssed.
-     *
-     * EXERCISE: 
-     * Handle the arrow keys and have that change the
-     * viewing position/angle.
-     */
-    switch( keysym-&#62;sym ) {
-    case SDLK_ESCAPE:
-        quit_tutorial( 0 );
-        break;
-    case SDLK_SPACE:
-        should_rotate = !should_rotate;
-        break;
-    default:
-        break;
-    }
-
-}
-
-static void process_events( void )
-{
-    /* Our SDL event placeholder. */
-    SDL_Event event;
-
-    /* Grab all the events off the queue. */
-    while( SDL_PollEvent( &#38;event ) ) {
-
-        switch( event.type ) {
-        case SDL_KEYDOWN:
-            /* Handle key presses. */
-            handle_key_down( &#38;event.key.keysym );
-            break;
-        case SDL_QUIT:
-            /* Handle quit requests (like Ctrl-c). */
-            quit_tutorial( 0 );
-            break;
-        }
-
-    }
-
-}
-
-static void draw_screen( void )
-{
-    /* Our angle of rotation. */
-    static float angle = 0.0f;
-
-    /*
-     * EXERCISE:
-     * Replace this awful mess with vertex
-     * arrays and a call to glDrawElements.
-     *
-     * EXERCISE:
-     * After completing the above, change
-     * it to use compiled vertex arrays.
-     *
-     * EXERCISE:
-     * Verify my windings are correct here ;).
-     */
-    static GLfloat v0[] = { -1.0f, -1.0f,  1.0f };
-    static GLfloat v1[] = {  1.0f, -1.0f,  1.0f };
-    static GLfloat v2[] = {  1.0f,  1.0f,  1.0f };
-    static GLfloat v3[] = { -1.0f,  1.0f,  1.0f };
-    static GLfloat v4[] = { -1.0f, -1.0f, -1.0f };
-    static GLfloat v5[] = {  1.0f, -1.0f, -1.0f };
-    static GLfloat v6[] = {  1.0f,  1.0f, -1.0f };
-    static GLfloat v7[] = { -1.0f,  1.0f, -1.0f };
-    static GLubyte red[]    = { 255,   0,   0, 255 };
-    static GLubyte green[]  = {   0, 255,   0, 255 };
-    static GLubyte blue[]   = {   0,   0, 255, 255 };
-    static GLubyte white[]  = { 255, 255, 255, 255 };
-    static GLubyte yellow[] = {   0, 255, 255, 255 };
-    static GLubyte black[]  = {   0,   0,   0, 255 };
-    static GLubyte orange[] = { 255, 255,   0, 255 };
-    static GLubyte purple[] = { 255,   0, 255,   0 };
-
-    /* Clear the color and depth buffers. */
-    glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
-
-    /* We don't want to modify the projection matrix. */
-    glMatrixMode( GL_MODELVIEW );
-    glLoadIdentity( );
-
-    /* Move down the z-axis. */
-    glTranslatef( 0.0, 0.0, -5.0 );
-
-    /* Rotate. */
-    glRotatef( angle, 0.0, 1.0, 0.0 );
-
-    if( should_rotate ) {
-
-        if( ++angle &#62; 360.0f ) {
-            angle = 0.0f;
-        }
-
-    }
-
-    /* Send our triangle data to the pipeline. */
-    glBegin( GL_TRIANGLES );
-
-    glColor4ubv( red );
-    glVertex3fv( v0 );
-    glColor4ubv( green );
-    glVertex3fv( v1 );
-    glColor4ubv( blue );
-    glVertex3fv( v2 );
-
-    glColor4ubv( red );
-    glVertex3fv( v0 );
-    glColor4ubv( blue );
-    glVertex3fv( v2 );
-    glColor4ubv( white );
-    glVertex3fv( v3 );
-
-    glColor4ubv( green );
-    glVertex3fv( v1 );
-    glColor4ubv( black );
-    glVertex3fv( v5 );
-    glColor4ubv( orange );
-    glVertex3fv( v6 );
-
-    glColor4ubv( green );
-    glVertex3fv( v1 );
-    glColor4ubv( orange );
-    glVertex3fv( v6 );
-    glColor4ubv( blue );
-    glVertex3fv( v2 );
-
-    glColor4ubv( black );
-    glVertex3fv( v5 );
-    glColor4ubv( yellow );
-    glVertex3fv( v4 );
-    glColor4ubv( purple );
-    glVertex3fv( v7 );
-
-    glColor4ubv( black );
-    glVertex3fv( v5 );
-    glColor4ubv( purple );
-    glVertex3fv( v7 );
-    glColor4ubv( orange );
-    glVertex3fv( v6 );
-
-    glColor4ubv( yellow );
-    glVertex3fv( v4 );
-    glColor4ubv( red );
-    glVertex3fv( v0 );
-    glColor4ubv( white );
-    glVertex3fv( v3 );
-
-    glColor4ubv( yellow );
-    glVertex3fv( v4 );
-    glColor4ubv( white );
-    glVertex3fv( v3 );
-    glColor4ubv( purple );
-    glVertex3fv( v7 );
-
-    glColor4ubv( white );
-    glVertex3fv( v3 );
-    glColor4ubv( blue );
-    glVertex3fv( v2 );
-    glColor4ubv( orange );
-    glVertex3fv( v6 );
-
-    glColor4ubv( white );
-    glVertex3fv( v3 );
-    glColor4ubv( orange );
-    glVertex3fv( v6 );
-    glColor4ubv( purple );
-    glVertex3fv( v7 );
-
-    glColor4ubv( green );
-    glVertex3fv( v1 );
-    glColor4ubv( red );
-    glVertex3fv( v0 );
-    glColor4ubv( yellow );
-    glVertex3fv( v4 );
-
-    glColor4ubv( green );
-    glVertex3fv( v1 );
-    glColor4ubv( yellow );
-    glVertex3fv( v4 );
-    glColor4ubv( black );
-    glVertex3fv( v5 );
-
-    glEnd( );
-
-    /*
-     * EXERCISE:
-     * Draw text telling the user that 'Spc'
-     * pauses the rotation and 'Esc' quits.
-     * Do it using vetors and textured quads.
-     */
-
-    /*
-     * Swap the buffers. This this tells the driver to
-     * render the next frame from the contents of the
-     * back-buffer, and to set all rendering operations
-     * to occur on what was the front-buffer.
-     *
-     * Double buffering prevents nasty visual tearing
-     * from the application drawing on areas of the
-     * screen that are being updated at the same time.
-     */
-    SDL_GL_SwapBuffers( );
-}
-
-static void setup_opengl( int width, int height )
-{
-    float ratio = (float) width / (float) height;
-
-    /* Our shading model--Gouraud (smooth). */
-    glShadeModel( GL_SMOOTH );
-
-    /* Culling. */
-    glCullFace( GL_BACK );
-    glFrontFace( GL_CCW );
-    glEnable( GL_CULL_FACE );
-
-    /* Set the clear color. */
-    glClearColor( 0, 0, 0, 0 );
-
-    /* Setup our viewport. */
-    glViewport( 0, 0, width, height );
-
-    /*
-     * Change to the projection matrix and set
-     * our viewing volume.
-     */
-    glMatrixMode( GL_PROJECTION );
-    glLoadIdentity( );
-    /*
-     * EXERCISE:
-     * Replace this with a call to glFrustum.
-     */
-    gluPerspective( 60.0, ratio, 1.0, 1024.0 );
-}
-
-int main( int argc, char* argv[] )
-{
-    /* Information about the current video settings. */
-    const SDL_VideoInfo* info = NULL;
-    /* Dimensions of our window. */
-    int width = 0;
-    int height = 0;
-    /* Color depth in bits of our window. */
-    int bpp = 0;
-    /* Flags we will pass into SDL_SetVideoMode. */
-    int flags = 0;
-
-    /* First, initialize SDL's video subsystem. */
-    if( SDL_Init( SDL_INIT_VIDEO ) &#60; 0 ) {
-        /* Failed, exit. */
-        fprintf( stderr, "Video initialization failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }
-
-    /* Let's get some video information. */
-    info = SDL_GetVideoInfo( );
-
-    if( !info ) {
-        /* This should probably never happen. */
-        fprintf( stderr, "Video query failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }
-
-    /*
-     * Set our width/height to 640/480 (you would
-     * of course let the user decide this in a normal
-     * app). We get the bpp we will request from
-     * the display. On X11, VidMode can't change
-     * resolution, so this is probably being overly
-     * safe. Under Win32, ChangeDisplaySettings
-     * can change the bpp.
-     */
-    width = 640;
-    height = 480;
-    bpp = info-&#62;vfmt-&#62;BitsPerPixel;
-
-    /*
-     * Now, we want to setup our requested
-     * window attributes for our OpenGL window.
-     * We want *at least* 5 bits of red, green
-     * and blue. We also want at least a 16-bit
-     * depth buffer.
-     *
-     * The last thing we do is request a double
-     * buffered window. '1' turns on double
-     * buffering, '0' turns it off.
-     *
-     * Note that we do not use SDL_DOUBLEBUF in
-     * the flags to SDL_SetVideoMode. That does
-     * not affect the GL attribute state, only
-     * the standard 2D blitting setup.
-     */
-    SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
-    SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
-    SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
-
-    /*
-     * We want to request that SDL provide us
-     * with an OpenGL window, in a fullscreen
-     * video mode.
-     *
-     * EXERCISE:
-     * Make starting windowed an option, and
-     * handle the resize events properly with
-     * glViewport.
-     */
-    flags = SDL_OPENGL | SDL_FULLSCREEN;
-
-    /*
-     * Set the video mode
-     */
-    if( SDL_SetVideoMode( width, height, bpp, flags ) == 0 ) {
-        /* 
-         * This could happen for a variety of reasons,
-         * including DISPLAY not being set, the specified
-         * resolution not being available, etc.
-         */
-        fprintf( stderr, "Video mode set failed: %s\n",
-             SDL_GetError( ) );
-        quit_tutorial( 1 );
-    }
-
-    /*
-     * At this point, we should have a properly setup
-     * double-buffered window for use with OpenGL.
-     */
-    setup_opengl( width, height );
-
-    /*
-     * Now we want to begin our normal app process--
-     * an event loop with a lot of redrawing.
-     */
-    while( 1 ) {
-        /* Process incoming events. */
-        process_events( );
-        /* Draw the screen. */
-        draw_screen( );
-    }
-
-    /*
-     * EXERCISE:
-     * Record timings using SDL_GetTicks() and
-     * and print out frames per second at program
-     * end.
-     */
-
-    /* Never reached. */
-    return 0;
-}</PRE
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidevideo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guideinput.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Graphics and Video</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="guidevideo.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Input handling</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/index.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1156 +0,0 @@
-<HTML
-><HEAD
-><TITLE
-></TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="NEXT"
-TITLE="SDL Guide"
-HREF="guide.html"></HEAD
-><BODY
-CLASS="BOOK"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="BOOK"
-><A
-NAME="AEN1"
-></A
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
->I. <A
-HREF="guide.html"
->SDL Guide</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guidepreface.html"
->Preface</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guidepreface.html#GUIDEABOUTSDL"
->About SDL</A
-></DT
-><DT
-><A
-HREF="guideaboutsdldoc.html"
->About SDLdoc</A
-></DT
-><DT
-><A
-HREF="guidecredits.html"
->Credits</A
-></DT
-></DL
-></DD
-><DT
->1. <A
-HREF="guidethebasics.html"
->The Basics</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guidethebasics.html#GUIDEINTRODUCTION"
->Introduction</A
-></DT
-><DT
-><A
-HREF="guidebasicsinit.html"
->Initializing SDL</A
-></DT
-></DL
-></DD
-><DT
->2. <A
-HREF="guidevideo.html"
->Graphics and Video</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guidevideo.html#GUIDEVIDEOINTRO"
->Introduction to SDL Video</A
-></DT
-><DT
-><A
-HREF="guidevideoopengl.html"
->Using OpenGL With SDL</A
-></DT
-></DL
-></DD
-><DT
->3. <A
-HREF="guideinput.html"
->Input handling</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guideinput.html#GUIDEINPUTJOYSTICK"
->Handling Joysticks</A
-></DT
-><DT
-><A
-HREF="guideinputkeyboard.html"
->Handling the Keyboard</A
-></DT
-></DL
-></DD
-><DT
->4. <A
-HREF="guideexamples.html"
->Examples</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="guideexamples.html#AEN369"
->Introduction</A
-></DT
-><DT
-><A
-HREF="guideeventexamples.html"
->Event Examples</A
-></DT
-><DT
-><A
-HREF="guideaudioexamples.html"
->Audio Examples</A
-></DT
-><DT
-><A
-HREF="guidecdromexamples.html"
->CDROM Examples</A
-></DT
-><DT
-><A
-HREF="guidetimeexamples.html"
->Time Examples</A
-></DT
-></DL
-></DD
-></DL
-></DD
-><DT
->II. <A
-HREF="reference.html"
->SDL Reference</A
-></DT
-><DD
-><DL
-><DT
->5. <A
-HREF="general.html"
->General</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlinit.html"
->SDL_Init</A
->&nbsp;--&nbsp;Initializes SDL</DT
-><DT
-><A
-HREF="sdlinitsubsystem.html"
->SDL_InitSubSystem</A
->&nbsp;--&nbsp;Initialize subsystems</DT
-><DT
-><A
-HREF="sdlquitsubsystem.html"
->SDL_QuitSubSystem</A
->&nbsp;--&nbsp;Shut down a subsystem</DT
-><DT
-><A
-HREF="sdlquit.html"
->SDL_Quit</A
->&nbsp;--&nbsp;Shut down SDL</DT
-><DT
-><A
-HREF="sdlwasinit.html"
->SDL_WasInit</A
->&nbsp;--&nbsp;Check which subsystems are initialized</DT
-><DT
-><A
-HREF="sdlgeterror.html"
->SDL_GetError</A
->&nbsp;--&nbsp;Get SDL error string</DT
-><DT
-><A
-HREF="sdlenvvars.html"
->SDL_envvars</A
->&nbsp;--&nbsp;SDL environment variables</DT
-></DL
-></DD
-><DT
->6. <A
-HREF="video.html"
->Video</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlgetvideosurface.html"
->SDL_GetVideoSurface</A
->&nbsp;--&nbsp;returns a pointer to the current display surface</DT
-><DT
-><A
-HREF="sdlgetvideoinfo.html"
->SDL_GetVideoInfo</A
->&nbsp;--&nbsp;returns a pointer to information about the video hardware</DT
-><DT
-><A
-HREF="sdlvideodrivername.html"
->SDL_VideoDriverName</A
->&nbsp;--&nbsp;Obtain the name of the video driver</DT
-><DT
-><A
-HREF="sdllistmodes.html"
->SDL_ListModes</A
->&nbsp;--&nbsp;Returns a pointer to an array of available screen dimensions for 
-the given format and video flags</DT
-><DT
-><A
-HREF="sdlvideomodeok.html"
->SDL_VideoModeOK</A
->&nbsp;--&nbsp;Check to see if a particular video mode is supported.</DT
-><DT
-><A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->&nbsp;--&nbsp;Set up a video mode with the specified width, height and bits-per-pixel.</DT
-><DT
-><A
-HREF="sdlupdaterect.html"
->SDL_UpdateRect</A
->&nbsp;--&nbsp;Makes sure the given area is updated on the given screen.</DT
-><DT
-><A
-HREF="sdlupdaterects.html"
->SDL_UpdateRects</A
->&nbsp;--&nbsp;Makes sure the given list of rectangles is updated on the given screen.</DT
-><DT
-><A
-HREF="sdlflip.html"
->SDL_Flip</A
->&nbsp;--&nbsp;Swaps screen buffers</DT
-><DT
-><A
-HREF="sdlsetcolors.html"
->SDL_SetColors</A
->&nbsp;--&nbsp;Sets a portion of the colormap for the given 8-bit surface.</DT
-><DT
-><A
-HREF="sdlsetpalette.html"
->SDL_SetPalette</A
->&nbsp;--&nbsp;Sets the colors in the palette of an 8-bit surface.</DT
-><DT
-><A
-HREF="sdlsetgamma.html"
->SDL_SetGamma</A
->&nbsp;--&nbsp;Sets the color gamma function for the display</DT
-><DT
-><A
-HREF="sdlgetgammaramp.html"
->SDL_GetGammaRamp</A
->&nbsp;--&nbsp;Gets the color gamma lookup tables for the display</DT
-><DT
-><A
-HREF="sdlsetgammaramp.html"
->SDL_SetGammaRamp</A
->&nbsp;--&nbsp;Sets the color gamma lookup tables for the display</DT
-><DT
-><A
-HREF="sdlmaprgb.html"
->SDL_MapRGB</A
->&nbsp;--&nbsp;Map a RGB color value to a pixel format.</DT
-><DT
-><A
-HREF="sdlmaprgba.html"
->SDL_MapRGBA</A
->&nbsp;--&nbsp;Map a RGBA color value to a pixel format.</DT
-><DT
-><A
-HREF="sdlgetrgb.html"
->SDL_GetRGB</A
->&nbsp;--&nbsp;Get RGB values from a pixel in the specified pixel format.</DT
-><DT
-><A
-HREF="sdlgetrgba.html"
->SDL_GetRGBA</A
->&nbsp;--&nbsp;Get RGBA values from a pixel in the specified pixel format.</DT
-><DT
-><A
-HREF="sdlcreatergbsurface.html"
->SDL_CreateRGBSurface</A
->&nbsp;--&nbsp;Create an empty SDL_Surface</DT
-><DT
-><A
-HREF="sdlcreatergbsurfacefrom.html"
->SDL_CreateRGBSurfaceFrom</A
->&nbsp;--&nbsp;Create an SDL_Surface from pixel data</DT
-><DT
-><A
-HREF="sdlfreesurface.html"
->SDL_FreeSurface</A
->&nbsp;--&nbsp;Frees (deletes) a SDL_Surface</DT
-><DT
-><A
-HREF="sdllocksurface.html"
->SDL_LockSurface</A
->&nbsp;--&nbsp;Lock a surface for directly access.</DT
-><DT
-><A
-HREF="sdlunlocksurface.html"
->SDL_UnlockSurface</A
->&nbsp;--&nbsp;Unlocks a previously locked surface.</DT
-><DT
-><A
-HREF="sdlloadbmp.html"
->SDL_LoadBMP</A
->&nbsp;--&nbsp;Load a Windows BMP file into an SDL_Surface.</DT
-><DT
-><A
-HREF="sdlsavebmp.html"
->SDL_SaveBMP</A
->&nbsp;--&nbsp;Save an SDL_Surface as a Windows BMP file.</DT
-><DT
-><A
-HREF="sdlsetcolorkey.html"
->SDL_SetColorKey</A
->&nbsp;--&nbsp;Sets the color key (transparent pixel) in a blittable surface and
-RLE acceleration.</DT
-><DT
-><A
-HREF="sdlsetalpha.html"
->SDL_SetAlpha</A
->&nbsp;--&nbsp;Adjust the alpha properties of a surface</DT
-><DT
-><A
-HREF="sdlsetcliprect.html"
->SDL_SetClipRect</A
->&nbsp;--&nbsp;Sets the clipping rectangle for a surface.</DT
-><DT
-><A
-HREF="sdlgetcliprect.html"
->SDL_GetClipRect</A
->&nbsp;--&nbsp;Gets the clipping rectangle for a surface.</DT
-><DT
-><A
-HREF="sdlconvertsurface.html"
->SDL_ConvertSurface</A
->&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DT
-><DT
-><A
-HREF="sdlblitsurface.html"
->SDL_BlitSurface</A
->&nbsp;--&nbsp;This performs a fast blit from the source surface to the destination surface.</DT
-><DT
-><A
-HREF="sdlfillrect.html"
->SDL_FillRect</A
->&nbsp;--&nbsp;This function performs a fast fill of the given rectangle with some color</DT
-><DT
-><A
-HREF="sdldisplayformat.html"
->SDL_DisplayFormat</A
->&nbsp;--&nbsp;Convert a surface to the display format</DT
-><DT
-><A
-HREF="sdldisplayformatalpha.html"
->SDL_DisplayFormatAlpha</A
->&nbsp;--&nbsp;Convert a surface to the display format</DT
-><DT
-><A
-HREF="sdlwarpmouse.html"
->SDL_WarpMouse</A
->&nbsp;--&nbsp;Set the position of the mouse cursor.</DT
-><DT
-><A
-HREF="sdlcreatecursor.html"
->SDL_CreateCursor</A
->&nbsp;--&nbsp;Creates a new mouse cursor.</DT
-><DT
-><A
-HREF="sdlfreecursor.html"
->SDL_FreeCursor</A
->&nbsp;--&nbsp;Frees a cursor created with SDL_CreateCursor.</DT
-><DT
-><A
-HREF="sdlsetcursor.html"
->SDL_SetCursor</A
->&nbsp;--&nbsp;Set the currently active mouse cursor.</DT
-><DT
-><A
-HREF="sdlgetcursor.html"
->SDL_GetCursor</A
->&nbsp;--&nbsp;Get the currently active mouse cursor.</DT
-><DT
-><A
-HREF="sdlshowcursor.html"
->SDL_ShowCursor</A
->&nbsp;--&nbsp;Toggle whether or not the cursor is shown on the screen.</DT
-><DT
-><A
-HREF="sdlglloadlibrary.html"
->SDL_GL_LoadLibrary</A
->&nbsp;--&nbsp;Specify an OpenGL library</DT
-><DT
-><A
-HREF="sdlglgetprocaddress.html"
->SDL_GL_GetProcAddress</A
->&nbsp;--&nbsp;Get the address of a GL function</DT
-><DT
-><A
-HREF="sdlglgetattribute.html"
->SDL_GL_GetAttribute</A
->&nbsp;--&nbsp;Get the value of a special SDL/OpenGL attribute</DT
-><DT
-><A
-HREF="sdlglsetattribute.html"
->SDL_GL_SetAttribute</A
->&nbsp;--&nbsp;Set a special SDL/OpenGL attribute</DT
-><DT
-><A
-HREF="sdlglswapbuffers.html"
->SDL_GL_SwapBuffers</A
->&nbsp;--&nbsp;Swap OpenGL framebuffers/Update Display</DT
-><DT
-><A
-HREF="sdlcreateyuvoverlay.html"
->SDL_CreateYUVOverlay</A
->&nbsp;--&nbsp;Create a YUV video overlay</DT
-><DT
-><A
-HREF="sdllockyuvoverlay.html"
->SDL_LockYUVOverlay</A
->&nbsp;--&nbsp;Lock an overlay</DT
-><DT
-><A
-HREF="sdlunlockyuvoverlay.html"
->SDL_UnlockYUVOverlay</A
->&nbsp;--&nbsp;Unlock an overlay</DT
-><DT
-><A
-HREF="sdldisplayyuvoverlay.html"
->SDL_DisplayYUVOverlay</A
->&nbsp;--&nbsp;Blit the overlay to the display</DT
-><DT
-><A
-HREF="sdlfreeyuvoverlay.html"
->SDL_FreeYUVOverlay</A
->&nbsp;--&nbsp;Free a YUV video overlay</DT
-><DT
-><A
-HREF="sdlglattr.html"
->SDL_GLattr</A
->&nbsp;--&nbsp;SDL GL Attributes</DT
-><DT
-><A
-HREF="sdlrect.html"
->SDL_Rect</A
->&nbsp;--&nbsp;Defines a rectangular area</DT
-><DT
-><A
-HREF="sdlcolor.html"
->SDL_Color</A
->&nbsp;--&nbsp;Format independent color description</DT
-><DT
-><A
-HREF="sdlpalette.html"
->SDL_Palette</A
->&nbsp;--&nbsp;Color palette for 8-bit pixel formats</DT
-><DT
-><A
-HREF="sdlpixelformat.html"
->SDL_PixelFormat</A
->&nbsp;--&nbsp;Stores surface format information</DT
-><DT
-><A
-HREF="sdlsurface.html"
->SDL_Surface</A
->&nbsp;--&nbsp;Graphical Surface Structure</DT
-><DT
-><A
-HREF="sdlvideoinfo.html"
->SDL_VideoInfo</A
->&nbsp;--&nbsp;Video Target information</DT
-><DT
-><A
-HREF="sdloverlay.html"
->SDL_Overlay</A
->&nbsp;--&nbsp;YUV video overlay</DT
-></DL
-></DD
-><DT
->7. <A
-HREF="wm.html"
->Window Management</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlwmsetcaption.html"
->SDL_WM_SetCaption</A
->&nbsp;--&nbsp;Sets the window tile and icon name.</DT
-><DT
-><A
-HREF="sdlwmgetcaption.html"
->SDL_WM_GetCaption</A
->&nbsp;--&nbsp;Gets the window title and icon name.</DT
-><DT
-><A
-HREF="sdlwmseticon.html"
->SDL_WM_SetIcon</A
->&nbsp;--&nbsp;Sets the icon for the display window.</DT
-><DT
-><A
-HREF="sdlwmiconifywindow.html"
->SDL_WM_IconifyWindow</A
->&nbsp;--&nbsp;Iconify/Minimise the window</DT
-><DT
-><A
-HREF="sdlwmtogglefullscreen.html"
->SDL_WM_ToggleFullScreen</A
->&nbsp;--&nbsp;Toggles fullscreen mode</DT
-><DT
-><A
-HREF="sdlwmgrabinput.html"
->SDL_WM_GrabInput</A
->&nbsp;--&nbsp;Grabs mouse and keyboard input.</DT
-></DL
-></DD
-><DT
->8. <A
-HREF="event.html"
->Events</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="event.html#AEN3691"
->Introduction</A
-></DT
-><DT
-><A
-HREF="eventstructures.html"
->SDL Event Structures.</A
-></DT
-><DT
-><A
-HREF="eventfunctions.html"
->Event Functions.</A
-></DT
-></DL
-></DD
-><DT
->9. <A
-HREF="joystick.html"
->Joystick</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlnumjoysticks.html"
->SDL_NumJoysticks</A
->&nbsp;--&nbsp;Count available joysticks.</DT
-><DT
-><A
-HREF="sdljoystickname.html"
->SDL_JoystickName</A
->&nbsp;--&nbsp;Get joystick name.</DT
-><DT
-><A
-HREF="sdljoystickopen.html"
->SDL_JoystickOpen</A
->&nbsp;--&nbsp;Opens a joystick for use.</DT
-><DT
-><A
-HREF="sdljoystickopened.html"
->SDL_JoystickOpened</A
->&nbsp;--&nbsp;Determine if a joystick has been opened</DT
-><DT
-><A
-HREF="sdljoystickindex.html"
->SDL_JoystickIndex</A
->&nbsp;--&nbsp;Get the index of an SDL_Joystick.</DT
-><DT
-><A
-HREF="sdljoysticknumaxes.html"
->SDL_JoystickNumAxes</A
->&nbsp;--&nbsp;Get the number of joystick axes</DT
-><DT
-><A
-HREF="sdljoysticknumballs.html"
->SDL_JoystickNumBalls</A
->&nbsp;--&nbsp;Get the number of joystick trackballs</DT
-><DT
-><A
-HREF="sdljoysticknumhats.html"
->SDL_JoystickNumHats</A
->&nbsp;--&nbsp;Get the number of joystick hats</DT
-><DT
-><A
-HREF="sdljoysticknumbuttons.html"
->SDL_JoystickNumButtons</A
->&nbsp;--&nbsp;Get the number of joysitck buttons</DT
-><DT
-><A
-HREF="sdljoystickupdate.html"
->SDL_JoystickUpdate</A
->&nbsp;--&nbsp;Updates the state of all joysticks</DT
-><DT
-><A
-HREF="sdljoystickgetaxis.html"
->SDL_JoystickGetAxis</A
->&nbsp;--&nbsp;Get the current state of an axis</DT
-><DT
-><A
-HREF="sdljoystickgethat.html"
->SDL_JoystickGetHat</A
->&nbsp;--&nbsp;Get the current state of a joystick hat</DT
-><DT
-><A
-HREF="sdljoystickgetbutton.html"
->SDL_JoystickGetButton</A
->&nbsp;--&nbsp;Get the current state of a given button on a given joystick</DT
-><DT
-><A
-HREF="sdljoystickgetball.html"
->SDL_JoystickGetBall</A
->&nbsp;--&nbsp;Get relative trackball motion</DT
-><DT
-><A
-HREF="sdljoystickclose.html"
->SDL_JoystickClose</A
->&nbsp;--&nbsp;Closes a previously opened joystick</DT
-></DL
-></DD
-><DT
->10. <A
-HREF="audio.html"
->Audio</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlaudiospec.html"
->SDL_AudioSpec</A
->&nbsp;--&nbsp;Audio Specification Structure</DT
-><DT
-><A
-HREF="sdlopenaudio.html"
->SDL_OpenAudio</A
->&nbsp;--&nbsp;Opens the audio device with the desired parameters.</DT
-><DT
-><A
-HREF="sdlpauseaudio.html"
->SDL_PauseAudio</A
->&nbsp;--&nbsp;Pauses and unpauses the audio callback processing</DT
-><DT
-><A
-HREF="sdlgetaudiostatus.html"
->SDL_GetAudioStatus</A
->&nbsp;--&nbsp;Get the current audio state</DT
-><DT
-><A
-HREF="sdlloadwav.html"
->SDL_LoadWAV</A
->&nbsp;--&nbsp;Load a WAVE file</DT
-><DT
-><A
-HREF="sdlfreewav.html"
->SDL_FreeWAV</A
->&nbsp;--&nbsp;Frees previously opened WAV data</DT
-><DT
-><A
-HREF="sdlaudiocvt.html"
->SDL_AudioCVT</A
->&nbsp;--&nbsp;Audio Conversion Structure</DT
-><DT
-><A
-HREF="sdlbuildaudiocvt.html"
->SDL_BuildAudioCVT</A
->&nbsp;--&nbsp;Initializes a SDL_AudioCVT structure for conversion</DT
-><DT
-><A
-HREF="sdlconvertaudio.html"
->SDL_ConvertAudio</A
->&nbsp;--&nbsp;Convert audio data to a desired audio format.</DT
-><DT
-><A
-HREF="sdlmixaudio.html"
->SDL_MixAudio</A
->&nbsp;--&nbsp;Mix audio data</DT
-><DT
-><A
-HREF="sdllockaudio.html"
->SDL_LockAudio</A
->&nbsp;--&nbsp;Lock out the callback function</DT
-><DT
-><A
-HREF="sdlunlockaudio.html"
->SDL_UnlockAudio</A
->&nbsp;--&nbsp;Unlock the callback function</DT
-><DT
-><A
-HREF="sdlcloseaudio.html"
->SDL_CloseAudio</A
->&nbsp;--&nbsp;Shuts down audio processing and closes the audio device.</DT
-></DL
-></DD
-><DT
->11. <A
-HREF="cdrom.html"
->CD-ROM</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlcdnumdrives.html"
->SDL_CDNumDrives</A
->&nbsp;--&nbsp;Returns the number of CD-ROM drives on the system.</DT
-><DT
-><A
-HREF="sdlcdname.html"
->SDL_CDName</A
->&nbsp;--&nbsp;Returns a human-readable, system-dependent identifier for the CD-ROM.</DT
-><DT
-><A
-HREF="sdlcdopen.html"
->SDL_CDOpen</A
->&nbsp;--&nbsp;Opens a CD-ROM drive for access.</DT
-><DT
-><A
-HREF="sdlcdstatus.html"
->SDL_CDStatus</A
->&nbsp;--&nbsp;Returns the current status of the given drive.</DT
-><DT
-><A
-HREF="sdlcdplay.html"
->SDL_CDPlay</A
->&nbsp;--&nbsp;Play a CD</DT
-><DT
-><A
-HREF="sdlcdplaytracks.html"
->SDL_CDPlayTracks</A
->&nbsp;--&nbsp;Play the given CD track(s)</DT
-><DT
-><A
-HREF="sdlcdpause.html"
->SDL_CDPause</A
->&nbsp;--&nbsp;Pauses a CDROM</DT
-><DT
-><A
-HREF="sdlcdresume.html"
->SDL_CDResume</A
->&nbsp;--&nbsp;Resumes a CDROM</DT
-><DT
-><A
-HREF="sdlcdstop.html"
->SDL_CDStop</A
->&nbsp;--&nbsp;Stops a CDROM</DT
-><DT
-><A
-HREF="sdlcdeject.html"
->SDL_CDEject</A
->&nbsp;--&nbsp;Ejects a CDROM</DT
-><DT
-><A
-HREF="sdlcdclose.html"
->SDL_CDClose</A
->&nbsp;--&nbsp;Closes a SDL_CD handle</DT
-><DT
-><A
-HREF="sdlcd.html"
->SDL_CD</A
->&nbsp;--&nbsp;CDROM Drive Information</DT
-><DT
-><A
-HREF="sdlcdtrack.html"
->SDL_CDtrack</A
->&nbsp;--&nbsp;CD Track Information Structure</DT
-></DL
-></DD
-><DT
->12. <A
-HREF="thread.html"
->Multi-threaded Programming</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlcreatethread.html"
->SDL_CreateThread</A
->&nbsp;--&nbsp;Creates a new thread of execution that shares its parent's properties.</DT
-><DT
-><A
-HREF="sdlthreadid.html"
->SDL_ThreadID</A
->&nbsp;--&nbsp;Get the 32-bit thread identifier for the current thread.</DT
-><DT
-><A
-HREF="sdlgetthreadid.html"
->SDL_GetThreadID</A
->&nbsp;--&nbsp;Get the SDL thread ID of a SDL_Thread</DT
-><DT
-><A
-HREF="sdlwaitthread.html"
->SDL_WaitThread</A
->&nbsp;--&nbsp;Wait for a thread to finish.</DT
-><DT
-><A
-HREF="sdlkillthread.html"
->SDL_KillThread</A
->&nbsp;--&nbsp;Gracelessly terminates the thread.</DT
-><DT
-><A
-HREF="sdlcreatemutex.html"
->SDL_CreateMutex</A
->&nbsp;--&nbsp;Create a mutex</DT
-><DT
-><A
-HREF="sdldestroymutex.html"
->SDL_DestroyMutex</A
->&nbsp;--&nbsp;Destroy a mutex</DT
-><DT
-><A
-HREF="sdlmutexp.html"
->SDL_mutexP</A
->&nbsp;--&nbsp;Lock a mutex</DT
-><DT
-><A
-HREF="sdlmutexv.html"
->SDL_mutexV</A
->&nbsp;--&nbsp;Unlock a mutex</DT
-><DT
-><A
-HREF="sdlcreatesemaphore.html"
->SDL_CreateSemaphore</A
->&nbsp;--&nbsp;Creates a new semaphore and assigns an initial value to it.</DT
-><DT
-><A
-HREF="sdldestroysemaphore.html"
->SDL_DestroySemaphore</A
->&nbsp;--&nbsp;Destroys a semaphore that was created by <A
-HREF="sdlcreatesemaphore.html"
->SDL_CreateSemaphore</A
->.</DT
-><DT
-><A
-HREF="sdlsemwait.html"
->SDL_SemWait</A
->&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DT
-><DT
-><A
-HREF="sdlsemtrywait.html"
->SDL_SemTryWait</A
->&nbsp;--&nbsp;Attempt to lock a semaphore but don't suspend the thread.</DT
-><DT
-><A
-HREF="sdlsemwaittimeout.html"
->SDL_SemWaitTimeout</A
->&nbsp;--&nbsp;Lock a semaphore, but only wait up to a specified maximum time.</DT
-><DT
-><A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->&nbsp;--&nbsp;Unlock a semaphore.</DT
-><DT
-><A
-HREF="sdlsemvalue.html"
->SDL_SemValue</A
->&nbsp;--&nbsp;Return the current value of a semaphore.</DT
-><DT
-><A
-HREF="sdlcreatecond.html"
->SDL_CreateCond</A
->&nbsp;--&nbsp;Create a condition variable</DT
-><DT
-><A
-HREF="sdldestroycond.html"
->SDL_DestroyCond</A
->&nbsp;--&nbsp;Destroy a condition variable</DT
-><DT
-><A
-HREF="sdlcondsignal.html"
->SDL_CondSignal</A
->&nbsp;--&nbsp;Restart a thread wait on a condition variable</DT
-><DT
-><A
-HREF="sdlcondbroadcast.html"
->SDL_CondBroadcast</A
->&nbsp;--&nbsp;Restart all threads waiting on a condition variable</DT
-><DT
-><A
-HREF="sdlcondwait.html"
->SDL_CondWait</A
->&nbsp;--&nbsp;Wait on a condition variable</DT
-><DT
-><A
-HREF="sdlcondwaittimeout.html"
->SDL_CondWaitTimeout</A
->&nbsp;--&nbsp;Wait on a condition variable, with timeout</DT
-></DL
-></DD
-><DT
->13. <A
-HREF="time.html"
->Time</A
-></DT
-><DD
-><DL
-><DT
-><A
-HREF="sdlgetticks.html"
->SDL_GetTicks</A
->&nbsp;--&nbsp;Get the number of milliseconds since the SDL library initialization.</DT
-><DT
-><A
-HREF="sdldelay.html"
->SDL_Delay</A
->&nbsp;--&nbsp;Wait a specified number of milliseconds before returning.</DT
-><DT
-><A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->&nbsp;--&nbsp;Add a timer which will call a callback after the specified number of milliseconds has
-elapsed.</DT
-><DT
-><A
-HREF="sdlremovetimer.html"
->SDL_RemoveTimer</A
->&nbsp;--&nbsp;Remove a timer which was added with
-<A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->.</DT
-><DT
-><A
-HREF="sdlsettimer.html"
->SDL_SetTimer</A
->&nbsp;--&nbsp;Set a callback to run after the specified number of milliseconds has
-elapsed.</DT
-></DL
-></DD
-></DL
-></DD
-></DL
-></DIV
-><DIV
-CLASS="LOT"
-><DL
-CLASS="LOT"
-><DT
-><B
->List of Tables</B
-></DT
-><DT
->8-1. <A
-HREF="sdlkey.html#AEN4720"
->SDL Keysym definitions</A
-></DT
-><DT
->8-2. <A
-HREF="sdlkey.html#SDLMOD"
->SDL modifier definitions</A
-></DT
-></DL
-></DIV
-><DIV
-CLASS="LOT"
-><DL
-CLASS="LOT"
-><DT
-><B
->List of Examples</B
-></DT
-><DT
->1-1. <A
-HREF="guidebasicsinit.html#AEN60"
->Initializing SDL</A
-></DT
-><DT
->2-1. <A
-HREF="guidevideo.html#AEN71"
->Initializing the Video Display</A
-></DT
-><DT
->2-2. <A
-HREF="guidevideo.html#AEN77"
->Initializing the Best Video Mode</A
-></DT
-><DT
->2-3. <A
-HREF="guidevideo.html#AEN83"
->Loading and Displaying a BMP File</A
-></DT
-><DT
->2-4. <A
-HREF="guidevideo.html#AEN90"
->getpixel()</A
-></DT
-><DT
->2-5. <A
-HREF="guidevideo.html#AEN93"
->putpixel()</A
-></DT
-><DT
->2-6. <A
-HREF="guidevideo.html#AEN97"
->Using putpixel()</A
-></DT
-><DT
->2-7. <A
-HREF="guidevideoopengl.html#AEN114"
->Initializing SDL with OpenGL</A
-></DT
-><DT
->2-8. <A
-HREF="guidevideoopengl.html#AEN128"
->SDL and OpenGL</A
-></DT
-><DT
->3-1. <A
-HREF="guideinput.html#AEN141"
->Initializing SDL with Joystick Support</A
-></DT
-><DT
->3-2. <A
-HREF="guideinput.html#AEN154"
->Querying the Number of Available Joysticks</A
-></DT
-><DT
->3-3. <A
-HREF="guideinput.html#AEN183"
->Opening a Joystick</A
-></DT
-><DT
->3-4. <A
-HREF="guideinput.html#AEN191"
->Joystick Axis Events</A
-></DT
-><DT
->3-5. <A
-HREF="guideinput.html#AEN195"
->More Joystick Axis Events</A
-></DT
-><DT
->3-6. <A
-HREF="guideinput.html#AEN203"
->Joystick Button Events</A
-></DT
-><DT
->3-7. <A
-HREF="guideinput.html#AEN217"
->Joystick Ball Events</A
-></DT
-><DT
->3-8. <A
-HREF="guideinput.html#AEN244"
->Joystick Hat Events</A
-></DT
-><DT
->3-9. <A
-HREF="guideinput.html#AEN265"
->Querying Joystick Characteristics</A
-></DT
-><DT
->3-10. <A
-HREF="guideinputkeyboard.html#AEN334"
->Reading Keyboard Events</A
-></DT
-><DT
->3-11. <A
-HREF="guideinputkeyboard.html#AEN351"
->Interpreting Key Event Information</A
-></DT
-><DT
->3-12. <A
-HREF="guideinputkeyboard.html#AEN363"
->Proper Game Movement</A
-></DT
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="guide.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL Guide</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/joystick.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,296 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Joystick</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickEventState"
-HREF="sdljoystickeventstate.html"><LINK
-REL="NEXT"
-TITLE="SDL_NumJoysticks"
-HREF="sdlnumjoysticks.html"><META
-NAME="KEYWORD"
-CONTENT="joystick"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickeventstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlnumjoysticks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="JOYSTICK"
-></A
->Chapter 9. Joystick</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlnumjoysticks.html"
->SDL_NumJoysticks</A
->&nbsp;--&nbsp;Count available joysticks.</DT
-><DT
-><A
-HREF="sdljoystickname.html"
->SDL_JoystickName</A
->&nbsp;--&nbsp;Get joystick name.</DT
-><DT
-><A
-HREF="sdljoystickopen.html"
->SDL_JoystickOpen</A
->&nbsp;--&nbsp;Opens a joystick for use.</DT
-><DT
-><A
-HREF="sdljoystickopened.html"
->SDL_JoystickOpened</A
->&nbsp;--&nbsp;Determine if a joystick has been opened</DT
-><DT
-><A
-HREF="sdljoystickindex.html"
->SDL_JoystickIndex</A
->&nbsp;--&nbsp;Get the index of an SDL_Joystick.</DT
-><DT
-><A
-HREF="sdljoysticknumaxes.html"
->SDL_JoystickNumAxes</A
->&nbsp;--&nbsp;Get the number of joystick axes</DT
-><DT
-><A
-HREF="sdljoysticknumballs.html"
->SDL_JoystickNumBalls</A
->&nbsp;--&nbsp;Get the number of joystick trackballs</DT
-><DT
-><A
-HREF="sdljoysticknumhats.html"
->SDL_JoystickNumHats</A
->&nbsp;--&nbsp;Get the number of joystick hats</DT
-><DT
-><A
-HREF="sdljoysticknumbuttons.html"
->SDL_JoystickNumButtons</A
->&nbsp;--&nbsp;Get the number of joysitck buttons</DT
-><DT
-><A
-HREF="sdljoystickupdate.html"
->SDL_JoystickUpdate</A
->&nbsp;--&nbsp;Updates the state of all joysticks</DT
-><DT
-><A
-HREF="sdljoystickgetaxis.html"
->SDL_JoystickGetAxis</A
->&nbsp;--&nbsp;Get the current state of an axis</DT
-><DT
-><A
-HREF="sdljoystickgethat.html"
->SDL_JoystickGetHat</A
->&nbsp;--&nbsp;Get the current state of a joystick hat</DT
-><DT
-><A
-HREF="sdljoystickgetbutton.html"
->SDL_JoystickGetButton</A
->&nbsp;--&nbsp;Get the current state of a given button on a given joystick</DT
-><DT
-><A
-HREF="sdljoystickgetball.html"
->SDL_JoystickGetBall</A
->&nbsp;--&nbsp;Get relative trackball motion</DT
-><DT
-><A
-HREF="sdljoystickclose.html"
->SDL_JoystickClose</A
->&nbsp;--&nbsp;Closes a previously opened joystick</DT
-></DL
-></DIV
-><P
->Joysticks, and other similar input devices, have a very strong role in game playing and SDL provides comprehensive support for them. Axes, Buttons, POV Hats and trackballs are all supported.</P
-><P
->Joystick support is initialized by passed the <TT
-CLASS="LITERAL"
->SDL_INIT_JOYSTICK</TT
-> flag to <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->. Once initilized joysticks must be opened using <A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
->.</P
-><P
->While using the functions describe in this secton may seem like the best way to access and read from joysticks, in most cases they aren't. Ideally joysticks should be read using the <A
-HREF="event.html"
->event</A
-> system. To enable this, you must set the joystick event processing state with <A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
->. Joysticks must be <A
-HREF="sdljoystickopen.html"
->opened</A
-> before they can be used of course.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->If you are <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->not</I
-></SPAN
-> handling the joystick via the event queue then you must explicitly request a joystick update by calling <A
-HREF="sdljoystickupdate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickUpdate</TT
-></A
->.</P
-></BLOCKQUOTE
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Force Feedback is not yet support. Sam (slouken@libsdl.org) is soliciting suggestions from people with force-feedback experience on the best wat to desgin the API.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickeventstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlnumjoysticks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickEventState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_NumJoysticks</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/reference.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,194 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL Reference</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="PREVIOUS"
-TITLE="Time Examples"
-HREF="guidetimeexamples.html"><LINK
-REL="NEXT"
-TITLE="General"
-HREF="general.html"></HEAD
-><BODY
-CLASS="PART"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="guidetimeexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="general.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="PART"
-><A
-NAME="REFERENCE"
-></A
-><DIV
-CLASS="TITLEPAGE"
-><H1
-CLASS="TITLE"
->II. SDL Reference</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
->5. <A
-HREF="general.html"
->General</A
-></DT
-><DT
->6. <A
-HREF="video.html"
->Video</A
-></DT
-><DT
->7. <A
-HREF="wm.html"
->Window Management</A
-></DT
-><DT
->8. <A
-HREF="event.html"
->Events</A
-></DT
-><DT
->9. <A
-HREF="joystick.html"
->Joystick</A
-></DT
-><DT
->10. <A
-HREF="audio.html"
->Audio</A
-></DT
-><DT
->11. <A
-HREF="cdrom.html"
->CD-ROM</A
-></DT
-><DT
->12. <A
-HREF="thread.html"
->Multi-threaded Programming</A
-></DT
-><DT
->13. <A
-HREF="time.html"
->Time</A
-></DT
-></DL
-></DIV
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="guidetimeexamples.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Time Examples</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->General</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlactiveevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,335 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ActiveEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Event"
-HREF="sdlevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_KeyboardEvent"
-HREF="sdlkeyboardevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlkeyboardevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLACTIVEEVENT"
-></A
->SDL_ActiveEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3955"
-></A
-><H2
->Name</H2
->SDL_ActiveEvent&nbsp;--&nbsp;Application visibility event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3958"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 gain;
-  Uint8 state;
-} SDL_ActiveEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3961"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3963"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_ACTIVEEVENT.</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->0 if the event is a loss or 1 if it is a gain.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_APPMOUSEFOCUS</TT
-> if mouse focus was gained or lost, <TT
-CLASS="LITERAL"
->SDL_APPINPUTFOCUS</TT
-> if input focus was gained or lost, or <TT
-CLASS="LITERAL"
->SDL_APPACTIVE</TT
-> if the application was iconified (<TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
->=0) or restored(<TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
->=1).</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3984"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ActiveEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_ACTIVEEVENT</TT
-> is reported.</P
-><P
->When the mouse leaves or enters the window area a <TT
-CLASS="LITERAL"
->SDL_APPMOUSEFOCUS</TT
-> type activation event occurs, if the mouse entered the window then <TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
-> will be 1, otherwise <TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
-> will be 0. A <TT
-CLASS="LITERAL"
->SDL_APPINPUTFOCUS</TT
-> type activation event occurs when the application loses or gains keyboard focus. This usually occurs when another application is made active. Finally, a <TT
-CLASS="LITERAL"
->SDL_APPACTIVE</TT
-> type event occurs when the application is either minimised/iconified (<TT
-CLASS="STRUCTFIELD"
-><I
->gain</I
-></TT
->=0) or restored.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->This event does not occur when an application window is first created.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4000"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlgetappstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetAppState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlkeyboardevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Event</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_KeyboardEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdladdtimer.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,296 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_AddTimer</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Delay"
-HREF="sdldelay.html"><LINK
-REL="NEXT"
-TITLE="SDL_RemoveTimer"
-HREF="sdlremovetimer.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldelay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlremovetimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLADDTIMER"
-></A
->SDL_AddTimer</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8482"
-></A
-><H2
->Name</H2
->SDL_AddTimer&nbsp;--&nbsp;Add a timer which will call a callback after the specified number of milliseconds has
-elapsed.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8485"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8486"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_TimerID <B
-CLASS="FSFUNC"
->SDL_AddTimer</B
-></CODE
->(Uint32 interval, SDL_NewTimerCallback callback, void *param);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="SDLNEWTIMERCALLBACK"
-></A
-><H2
->Callback</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* type definition for the "new" timer callback function */
-typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8495"
-></A
-><H2
->Description</H2
-><P
->Adds a callback function to be run after the specified number of
-milliseconds has elapsed. The callback function is passed the current
-timer interval and the user supplied parameter from the
-<TT
-CLASS="FUNCTION"
->SDL_AddTimer</TT
-> call and returns the next timer
-interval. If the returned value from the callback is the same as the one
-passed in, the periodic alarm continues, otherwise a new alarm is
-scheduled.</P
-><P
->To cancel a currently running timer call
-<A
-HREF="sdlremovetimer.html"
->SDL_RemoveTimer</A
-> with the
-timer ID returned from
-<TT
-CLASS="FUNCTION"
->SDL_AddTimer</TT
->.</P
-><P
->The timer callback function may run in a different thread than your
-main program, and so shouldn't call any functions from within itself.
-You may always call <A
-HREF="sdlpushevent.html"
->SDL_PushEvent</A
->, however.</P
-><P
->The granularity of the timer is platform-dependent, but you should count
-on it being at least 10 ms as this is the most common number.
-This means that if
-you request a 16 ms timer, your callback will run approximately 20 ms
-later on an unloaded system.  If you wanted to set a flag signaling
-a frame update at 30 frames per second (every 33 ms), you might set a
-timer for 30 ms (see example below).
-
-If you use this function, you need to pass <TT
-CLASS="LITERAL"
->SDL_INIT_TIMER</TT
->
-to <A
-HREF="sdlinit.html"
->SDL_Init</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8507"
-></A
-><H2
->Return Value</H2
-><P
->Returns an ID value for the added timer or
-<SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8511"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->my_timer_id = SDL_AddTimer((33/10)*10, my_callbackfunc, my_callback_param);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8515"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlremovetimer.html"
-><TT
-CLASS="FUNCTION"
->SDL_RemoveTimer</TT
-></A
->,
-<A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldelay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlremovetimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Delay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_RemoveTimer</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlaudiocvt.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,556 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_AudioCVT</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_FreeWAV"
-HREF="sdlfreewav.html"><LINK
-REL="NEXT"
-TITLE="SDL_BuildAudioCVT"
-HREF="sdlbuildaudiocvt.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlfreewav.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlbuildaudiocvt.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLAUDIOCVT"
-></A
->SDL_AudioCVT</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6884"
-></A
-><H2
->Name</H2
->SDL_AudioCVT&nbsp;--&nbsp;Audio Conversion Structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6887"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  int needed;
-  Uint16 src_format;
-  Uint16 dest_format;
-  double rate_incr;
-  Uint8 *buf;
-  int len;
-  int len_cvt;
-  int len_mult;
-  double len_ratio;
-  void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
-  int filter_index;
-} SDL_AudioCVT;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6890"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN6892"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->needed</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Set to one if the conversion is possible</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->src_format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio format of the source</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->dest_format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio format of the destination</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->rate_incr</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Rate conversion increment</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio buffer</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Length of the original audio buffer in bytes</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->len_cvt</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Length of converted audio buffer in bytes (calculated)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> must be <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
-> bytes in size(calculated)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->len_ratio</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Final audio size is <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->len_ratio</I
-></TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->filters[10](..)</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pointers to functions needed for this conversion</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->filter_index</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Current conversion function</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6944"
-></A
-><H2
->Description</H2
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
-> is used to convert audio data between different formats. A <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
-> structure is created with the <A
-HREF="sdlbuildaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_BuildAudioCVT</TT
-></A
-> function, while the actual conversion is done by the <A
-HREF="sdlconvertaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-></A
-> function.</P
-><P
->Many of the fields in the <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
-> structure should be considered private and their function will not be discussed here.</P
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><SPAN
-CLASS="TYPE"
->Uint8 *</SPAN
-><TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-></DT
-><DD
-><P
->This points to the audio data that will be used in the conversion. It is both the source and the destination, which means the converted audio data overwrites the original data. It also means that the converted data may be larger than the original data (if you were converting from 8-bit to 16-bit, for instance), so you must ensure <TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> is large enough. See below.</P
-></DD
-><DT
-><SPAN
-CLASS="TYPE"
->int</SPAN
-> <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
-></DT
-><DD
-><P
->This is the length of the original audio data in bytes.</P
-></DD
-><DT
-><SPAN
-CLASS="TYPE"
->int</SPAN
-> <TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
-></DT
-><DD
-><P
->As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data. The length of <TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> should be <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
->.</P
-></DD
-><DT
-><SPAN
-CLASS="TYPE"
->double</SPAN
-> <TT
-CLASS="STRUCTFIELD"
-><I
->len_ratio</I
-></TT
-></DT
-><DD
-><P
->When you have finished converting your audio data, you need to know how much of your audio buffer is valid. <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->len_ratio</I
-></TT
-> is the size of the converted audio data in bytes. This is very similar to <TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
->, however when the convert audio data is shorter than the original <TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
-> would be 1. <TT
-CLASS="STRUCTFIELD"
-><I
->len_ratio</I
-></TT
->, on the other hand, would be a fractional number between 0 and 1.</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6989"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlbuildaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_BuildAudioCVT</TT
-></A
->,
-<A
-HREF="sdlconvertaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-></A
->,
-<A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlfreewav.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlbuildaudiocvt.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_FreeWAV</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_BuildAudioCVT</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlaudiospec.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,589 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_AudioSpec</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="NEXT"
-TITLE="SDL_OpenAudio"
-HREF="sdlopenaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="audio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlopenaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLAUDIOSPEC"
-></A
->SDL_AudioSpec</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6507"
-></A
-><H2
->Name</H2
->SDL_AudioSpec&nbsp;--&nbsp;Audio Specification Structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6510"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  int freq;
-  Uint16 format;
-  Uint8 channels;
-  Uint8 silence;
-  Uint16 samples;
-  Uint32 size;
-  void (*callback)(void *userdata, Uint8 *stream, int len);
-  void *userdata;
-} SDL_AudioSpec;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6513"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN6515"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->freq</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio frequency in samples per second</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio data format</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->channels</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Number of channels: 1 mono, 2 stereo</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->silence</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio buffer silence value (calculated)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->samples</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio buffer size in samples</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->size</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Audio buffer size in bytes (calculated)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->callback(..)</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Callback function for filling the audio buffer</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->userdata</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pointer the user data which is passed to the callback function</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6550"
-></A
-><H2
->Description</H2
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-> structure is used to describe the format of some audio data. This structure is used by <A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-> and <A
-HREF="sdlloadwav.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
-></A
->. While all fields are used by <TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-> only <TT
-CLASS="STRUCTFIELD"
-><I
->freq</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->samples</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->channels</I
-></TT
-> are used by <TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
->. We will detail these common members here.</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN6564"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->freq</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The number of samples sent to the sound device every second. Common values are 11025, 22050 and 44100. The higher the better.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->Specifies the size and type of each sample element
-<P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_U8</TT
-></DT
-><DD
-><P
->Unsigned 8-bit samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_S8</TT
-></DT
-><DD
-><P
->Signed 8-bit samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_U16</TT
-> or <TT
-CLASS="LITERAL"
->AUDIO_U16LSB</TT
-></DT
-><DD
-><P
->Unsigned 16-bit little-endian samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_S16</TT
-> or <TT
-CLASS="LITERAL"
->AUDIO_S16LSB</TT
-></DT
-><DD
-><P
->Signed 16-bit little-endian samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_U16MSB</TT
-></DT
-><DD
-><P
->Unsigned 16-bit big-endian samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_S16MSB</TT
-></DT
-><DD
-><P
->Signed 16-bit big-endian samples</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_U16SYS</TT
-></DT
-><DD
-><P
->Either <TT
-CLASS="LITERAL"
->AUDIO_U16LSB</TT
-> or <TT
-CLASS="LITERAL"
->AUDIO_U16MSB</TT
-> depending on you systems endianness</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->AUDIO_S16SYS</TT
-></DT
-><DD
-><P
->Either <TT
-CLASS="LITERAL"
->AUDIO_S16LSB</TT
-> or <TT
-CLASS="LITERAL"
->AUDIO_S16MSB</TT
-> depending on you systems endianness</P
-></DD
-></DL
-></DIV
-></P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->channels</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The number of seperate sound channels. 1 is mono (single channel), 2 is stereo (dual channel).</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->samples</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->When used with <A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-> this refers to the size of the audio buffer in samples. A sample a chunk of audio data of the size specified in <TT
-CLASS="PARAMETER"
-><I
->format</I
-></TT
-> mulitplied by the number of channels. When the <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-> is used with <A
-HREF="sdlloadwav.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
-></A
-> <TT
-CLASS="STRUCTFIELD"
-><I
->samples</I
-></TT
-> is set to 4096.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6639"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
->,
-<A
-HREF="sdlloadwav.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlopenaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Audio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_OpenAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlblitsurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,339 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_BlitSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ConvertSurface"
-HREF="sdlconvertsurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_FillRect"
-HREF="sdlfillrect.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlconvertsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlfillrect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLBLITSURFACE"
-></A
->SDL_BlitSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2299"
-></A
-><H2
->Name</H2
->SDL_BlitSurface&nbsp;--&nbsp;This performs a fast blit from the source surface to the destination surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2302"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2303"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_BlitSurface</B
-></CODE
->(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2309"
-></A
-><H2
->Description</H2
-><P
->This performs a fast blit from the source surface to the destination surface.</P
-><P
->The width and height in <TT
-CLASS="PARAMETER"
-><I
->srcrect</I
-></TT
-> determine the
-size of the copied rectangle. Only the position is used in the
-<TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
-> (the width and height are ignored).</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->srcrect</I
-></TT
-> is <TT
-CLASS="LITERAL"
->NULL</TT
->, the
-entire surface is copied. If <TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
-> is
-<TT
-CLASS="LITERAL"
->NULL</TT
->, then the destination position (upper left
-corner) is (0, 0).</P
-><P
->The final blit rectangle is saved in
-<TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
-> after all clipping is performed
-(<TT
-CLASS="PARAMETER"
-><I
->srcrect</I
-></TT
-> is not modified).</P
-><P
->The blit function should not be called on a locked surface.</P
-><P
->The results of blitting operations vary greatly depending on whether <TT
-CLASS="LITERAL"
->SDL_SRCAPLHA</TT
-> is set or not. See <A
-HREF="sdlsetalpha.html"
->SDL_SetAlpha</A
-> for an explaination of how this affects your results. Colorkeying and alpha attributes also interact with surface blitting, as the following pseudo-code should hopefully explain.
-<PRE
-CLASS="PROGRAMLISTING"
->if (source surface has SDL_SRCALPHA set) {
-    if (source surface has alpha channel (that is, format-&#62;Amask != 0))
-        blit using per-pixel alpha, ignoring any colour key
-    else {
-        if (source surface has SDL_SRCCOLORKEY set)
-            blit using the colour key AND the per-surface alpha value
-        else
-            blit using the per-surface alpha value
-    }
-} else {
-    if (source surface has SDL_SRCCOLORKEY set)
-        blit using the colour key
-    else
-        ordinary opaque rectangular blit
-}</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2328"
-></A
-><H2
->Return Value</H2
-><P
->If the blit is successful, it returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->,
-otherwise it returns <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
->.</P
-><P
->If either of the surfaces were in video memory, and the blit returns
-<SPAN
-CLASS="RETURNVALUE"
->-2</SPAN
->, the video memory was lost, so it should be
-reloaded with artwork and re-blitted:
-<PRE
-CLASS="PROGRAMLISTING"
->        while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
-                while ( SDL_LockSurface(image)) &#60; 0 )
-                        SDL_Delay(10);
-                -- Write image pixels to image-&#62;pixels --
-                SDL_UnlockSurface(image);
-        }</PRE
->
-This happens under DirectX 5.0 when the system switches away from your
-fullscreen application.  Locking the surface will also fail until you
-have access to the video memory again.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2336"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
->,
-<A
-HREF="sdlfillrect.html"
-><TT
-CLASS="FUNCTION"
->SDL_FillRect</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlconvertsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlfillrect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ConvertSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_FillRect</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlbuildaudiocvt.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,291 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_BuildAudioCVT</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_AudioCVT"
-HREF="sdlaudiocvt.html"><LINK
-REL="NEXT"
-TITLE="SDL_ConvertAudio"
-HREF="sdlconvertaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlaudiocvt.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlconvertaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLBUILDAUDIOCVT"
-></A
->SDL_BuildAudioCVT</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7002"
-></A
-><H2
->Name</H2
->SDL_BuildAudioCVT&nbsp;--&nbsp;Initializes a SDL_AudioCVT structure for conversion</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7005"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7006"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_BuildAudioCVT</B
-></CODE
->(SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7012"
-></A
-><H2
->Description</H2
-><P
->Before an <A
-HREF="sdlaudiocvt.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
-></A
-> structure can be used to convert audio data it must be initialized with source and destination information. </P
-><P
-><TT
-CLASS="PARAMETER"
-><I
->src_format</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->dst_format</I
-></TT
-> are the source and destination format of the conversion. (For information on audio formats see <A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
-> SDL_AudioSpec</SPAN
-></A
->). <TT
-CLASS="PARAMETER"
-><I
->src_channels</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->dst_channels</I
-></TT
-> are the number of channels in the source and destination formats. Finally, <TT
-CLASS="PARAMETER"
-><I
->src_rate</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->dst_rate</I
-></TT
-> are the frequency or samples-per-second of the source and destination formats. Once again, see <A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7028"
-></A
-><H2
->Return Values</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if the filter could not be built or 1 if it could.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7032"
-></A
-><H2
->Examples</H2
-><P
->See <A
-HREF="sdlconvertaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7037"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlconvertaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-></A
->,
-<A
-HREF="sdlaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_AudioCVT</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlaudiocvt.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlconvertaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_AudioCVT</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ConvertAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcd.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,359 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CD</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDClose"
-HREF="sdlcdclose.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDtrack"
-HREF="sdlcdtrack.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdclose.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdtrack.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCD"
-></A
->SDL_CD</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7566"
-></A
-><H2
->Name</H2
->SDL_CD&nbsp;--&nbsp;CDROM Drive Information</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7569"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  int id;
-  CDstatus status;
-  int numtracks;
-  int cur_track;
-  int cur_frame;
-  SDL_CDtrack track[SDL_MAX_TRACKS+1];
-} SDL_CD;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7572"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN7574"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->id</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Private drive identifier</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->status</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Drive <A
-HREF="sdlcdstatus.html"
->status</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->numtracks</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Number of tracks on the CD</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->cur_track</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Current track</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->cur_frame</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Current frame offset within the track</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->track</I
-></TT
->[SDL_MAX_TRACKS+1]</TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Array of track descriptions. (see <A
-HREF="sdlcdtrack.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CDtrack</SPAN
-></A
->)</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7604"
-></A
-><H2
->Description</H2
-><P
->An <SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-> structure is returned by <A
-HREF="sdlcdopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDOpen</TT
-></A
->. It represents an opened CDROM device and stores information on the layout of the tracks on the disc.</P
-><P
->A frame is the base data unit of a CD. <TT
-CLASS="LITERAL"
->CD_FPS</TT
-> frames is equal to 1 second of music. SDL provides two macros for converting between time and frames: <TT
-CLASS="LITERAL"
->FRAMES_TO_MSF(f, M,S,F)</TT
-> and <TT
-CLASS="LITERAL"
->MSF_TO_FRAMES</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7614"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->int min, sec, frame;
-int frame_offset;
-
-FRAMES_TO_MSF(cdrom-&#62;cur_frame, &#38;min, &#38;sec, &#38;frame);
-printf("Current Position: %d minutes, %d seconds, %d frames\n", min, sec, frame);
-
-frame_offset=MSF_TO_FRAMES(min, sec, frame);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7617"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDOpen</TT
-></A
->,
-<A
-HREF="sdlcdtrack.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CDtrack</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdclose.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdtrack.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDClose</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDtrack</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdclose.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,217 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDClose</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDEject"
-HREF="sdlcdeject.html"><LINK
-REL="NEXT"
-TITLE="SDL_CD"
-HREF="sdlcd.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdeject.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcd.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDCLOSE"
-></A
->SDL_CDClose</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7541"
-></A
-><H2
->Name</H2
->SDL_CDClose&nbsp;--&nbsp;Closes a SDL_CD handle</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7544"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7545"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_CDClose</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7551"
-></A
-><H2
->Description</H2
-><P
->Closes the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
-> handle.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7555"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDOpen</TT
-></A
->,
-<A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdeject.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcd.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDEject</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CD</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdeject.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,226 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDEject</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDStop"
-HREF="sdlcdstop.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDClose"
-HREF="sdlcdclose.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdstop.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdclose.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDEJECT"
-></A
->SDL_CDEject</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7513"
-></A
-><H2
->Name</H2
->SDL_CDEject&nbsp;--&nbsp;Ejects a CDROM</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7516"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7517"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDEject</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7523"
-></A
-><H2
->Description</H2
-><P
->Ejects the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7527"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7532"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdstop.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdclose.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDStop</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDClose</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdname.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,239 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDName</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDNumDrives"
-HREF="sdlcdnumdrives.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDOpen"
-HREF="sdlcdopen.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdnumdrives.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdopen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDNAME"
-></A
->SDL_CDName</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7240"
-></A
-><H2
->Name</H2
->SDL_CDName&nbsp;--&nbsp;Returns a human-readable, system-dependent identifier for the CD-ROM.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7243"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7244"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->const char *<B
-CLASS="FSFUNC"
->SDL_CDName</B
-></CODE
->(int drive);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7250"
-></A
-><H2
->Description</H2
-><P
->Returns a human-readable, system-dependent identifier for the CD-ROM. <TT
-CLASS="PARAMETER"
-><I
->drive</I
-></TT
-> is the index of the drive. Drive indices start to 0 and end at <TT
-CLASS="FUNCTION"
->SDL_CDNumDrives()</TT
->-1.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7255"
-></A
-><H2
->Examples</H2
-><P
-><P
-></P
-><UL
-><LI
-><P
->"/dev/cdrom"</P
-></LI
-><LI
-><P
->"E:"</P
-></LI
-><LI
-><P
->"/dev/disk/ide/1/master"</P
-></LI
-></UL
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7265"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdnumdrives.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDNumDrives</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdnumdrives.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdopen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDNumDrives</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDOpen</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdnumdrives.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDNumDrives</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDName"
-HREF="sdlcdname.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="cdrom.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDNUMDRIVES"
-></A
->SDL_CDNumDrives</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7218"
-></A
-><H2
->Name</H2
->SDL_CDNumDrives&nbsp;--&nbsp;Returns the number of CD-ROM drives on the system.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7221"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7222"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDNumDrives</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7228"
-></A
-><H2
->Description</H2
-><P
->Returns the number of CD-ROM drives on the system.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7231"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->CD-ROM</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDName</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdopen.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,275 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDOpen</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDName"
-HREF="sdlcdname.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDStatus"
-HREF="sdlcdstatus.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdstatus.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDOPEN"
-></A
->SDL_CDOpen</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7274"
-></A
-><H2
->Name</H2
->SDL_CDOpen&nbsp;--&nbsp;Opens a CD-ROM drive for access.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7277"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7278"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_CD *<B
-CLASS="FSFUNC"
->SDL_CDOpen</B
-></CODE
->(int drive);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7284"
-></A
-><H2
->Description</H2
-><P
->Opens a CD-ROM drive for access.  It returns a <A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-> structure on success, or <TT
-CLASS="LITERAL"
->NULL</TT
-> if the drive was invalid or busy.  This newly opened CD-ROM becomes the default CD used when other CD functions are passed a <TT
-CLASS="LITERAL"
->NULL</TT
-> CD-ROM handle. </P
-><P
->Drives are numbered starting with 0.  
-Drive 0 is the system default CD-ROM.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7292"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_CD *cdrom;
-int cur_track;
-int min, sec, frame;
-SDL_Init(SDL_INIT_CDROM);
-atexit(SDL_Quit);
-
-/* Check for CD drives */
-if(!SDL_CDNumDrives()){
-  /* None found */
-  fprintf(stderr, "No CDROM devices available\n");
-  exit(-1);
-}
-
-/* Open the default drive */
-cdrom=SDL_CDOpen(0);
-
-/* Did if open? Check if cdrom is NULL */
-if(!cdrom){
-  fprintf(stderr, "Couldn't open drive: %s\n", SDL_GetError());
-  exit(-1);
-}
-
-/* Print Volume info */
-printf("Name: %s\n", SDL_CDName(0));
-printf("Tracks: %d\n", cdrom-&#62;numtracks);
-for(cur_track=0;cur_track &#60; cdrom-&#62;numtracks; cur_track++){
-  FRAMES_TO_MSF(cdrom-&#62;track[cur_track].length, &#38;min, &#38;sec, &#38;frame);
-  printf("\tTrack %d: Length %d:%d\n", cur_track, min, sec);
-}
-
-SDL_CDClose(cdrom);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7295"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
->,
-<A
-HREF="sdlcdtrack.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CDtrack</SPAN
-></A
->,
-<A
-HREF="sdlcdclose.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDClose</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdstatus.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDName</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDStatus</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdpause.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDPause</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDPlayTracks"
-HREF="sdlcdplaytracks.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDResume"
-HREF="sdlcdresume.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdplaytracks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdresume.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDPAUSE"
-></A
->SDL_CDPause</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7425"
-></A
-><H2
->Name</H2
->SDL_CDPause&nbsp;--&nbsp;Pauses a CDROM</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7428"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7429"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDPause</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7435"
-></A
-><H2
->Description</H2
-><P
->Pauses play on the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7439"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7444"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdplay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPlay</TT
-></A
->,
-<A
-HREF="sdlcdresume.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDResume</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdplaytracks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdresume.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDPlayTracks</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDResume</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdplay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,243 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDPlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDStatus"
-HREF="sdlcdstatus.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDPlayTracks"
-HREF="sdlcdplaytracks.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdstatus.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdplaytracks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDPLAY"
-></A
->SDL_CDPlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7343"
-></A
-><H2
->Name</H2
->SDL_CDPlay&nbsp;--&nbsp;Play a CD</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7346"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7347"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDPlay</B
-></CODE
->(SDL_CD *cdrom, int start, int length);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7353"
-></A
-><H2
->Description</H2
-><P
->Plays the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
->, starting a frame <TT
-CLASS="PARAMETER"
-><I
->start</I
-></TT
-> for <TT
-CLASS="PARAMETER"
-><I
->length</I
-></TT
-> frames.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7359"
-></A
-><H2
->Return Values</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7364"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdplaytracks.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPlayTracks</TT
-></A
->,
-<A
-HREF="sdlcdstop.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDStop</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdstatus.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdplaytracks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDStatus</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDPlayTracks</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdplaytracks.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,325 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDPlayTracks</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDPlay"
-HREF="sdlcdplay.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDPause"
-HREF="sdlcdpause.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdplay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdpause.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDPLAYTRACKS"
-></A
->SDL_CDPlayTracks</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7375"
-></A
-><H2
->Name</H2
->SDL_CDPlayTracks&nbsp;--&nbsp;Play the given CD track(s)</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7378"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7379"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDPlayTracks</B
-></CODE
->(SDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes));</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7385"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_CDPlayTracks</TT
-> plays the given CD starting at track
-<TT
-CLASS="PARAMETER"
-><I
->start_track</I
-></TT
->, for <TT
-CLASS="PARAMETER"
-><I
->ntracks</I
-></TT
-> tracks.  </P
-><P
-><TT
-CLASS="PARAMETER"
-><I
->start_frame</I
-></TT
-> is the frame offset, from the beginning of the <TT
-CLASS="PARAMETER"
-><I
->start_track</I
-></TT
->, at which to start. <TT
-CLASS="PARAMETER"
-><I
->nframes</I
-></TT
-> is the frame offset, from the beginning of the last track (<TT
-CLASS="PARAMETER"
-><I
->start_track</I
-></TT
->+<TT
-CLASS="PARAMETER"
-><I
->ntracks</I
-></TT
->), at which to end playing.</P
-><P
-><TT
-CLASS="FUNCTION"
->SDL_CDPlayTracks</TT
-> should only be called after calling 
-<A
-HREF="sdlcdstatus.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDStatus</TT
-></A
-> 
-to get track information about the CD.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Data tracks are ignored.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7403"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> 
-if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7408"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->/* assuming cdrom is a previously opened device */
-/* Play the entire CD */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
-
-/* Play the first track */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 0, 0, 1, 0);
-
-/* Play first 15 seconds of the 2nd track */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15);</PRE
->
-&#13;</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7412"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdplay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPlay</TT
-></A
->,
-<A
-HREF="sdlcdstatus.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDStatus</TT
-></A
->,
-<A
-HREF="sdlcd.html"
-><TT
-CLASS="FUNCTION"
->SDL_CD</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdplay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdpause.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDPlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDPause</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdresume.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDResume</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDPause"
-HREF="sdlcdpause.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDStop"
-HREF="sdlcdstop.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdpause.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdstop.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDRESUME"
-></A
->SDL_CDResume</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7455"
-></A
-><H2
->Name</H2
->SDL_CDResume&nbsp;--&nbsp;Resumes a CDROM</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7458"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7459"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDResume</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7465"
-></A
-><H2
->Description</H2
-><P
->Resumes play on the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7469"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7474"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdplay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPlay</TT
-></A
->,
-<A
-HREF="sdlcdpause.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPause</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdpause.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdstop.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDPause</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDStop</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdstatus.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,273 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDStatus</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDOpen"
-HREF="sdlcdopen.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDPlay"
-HREF="sdlcdplay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdopen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdplay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDSTATUS"
-></A
->SDL_CDStatus</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7308"
-></A
-><H2
->Name</H2
->SDL_CDStatus&nbsp;--&nbsp;Returns the current status of the given drive.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7311"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7312"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->CDstatus <B
-CLASS="FSFUNC"
->SDL_CDStatus</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->/* Given a status, returns true if there's a disk in the drive */
-#define CD_INDRIVE(status)      ((int)status &#62; 0)</PRE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7319"
-></A
-><H2
->Description</H2
-><P
->This function returns the current status of the given drive. Status is described like so:
-<PRE
-CLASS="PROGRAMLISTING"
->typedef enum {
-  CD_TRAYEMPTY,
-  CD_STOPPED,
-  CD_PLAYING,
-  CD_PAUSED,
-  CD_ERROR = -1
-} CDstatus;</PRE
-></P
-><P
->If the drive has a CD in it, the table of contents of the CD and current
-play position of the CD will be stored in the SDL_CD structure.</P
-><P
->The macro <TT
-CLASS="LITERAL"
->CD_INDRIVE</TT
-> is provided for convenience, 
-and given a status returns true if there's a disk in the drive.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
-><TT
-CLASS="FUNCTION"
->SDL_CDStatus</TT
-> also updates the <A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-> structure passed to it.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7331"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->int playTrack(int track)
-{
-  int playing = 0;
-
-  if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
-  /* clamp to the actual number of tracks on the CD */
-    if (track &#62;= cdrom-&#62;numtracks) {
-      track = cdrom-&#62;numtracks-1;
-    }
-
-    if ( SDL_CDPlayTracks(cdrom, track, 0, 1, 0) == 0 ) {
-      playing = 1;
-    }
-  }
-  return playing;
-}</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7334"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcd.html"
-><TT
-CLASS="FUNCTION"
->SDL_CD</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdopen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdplay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDOpen</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDPlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdstop.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,226 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDStop</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDResume"
-HREF="sdlcdresume.html"><LINK
-REL="NEXT"
-TITLE="SDL_CDEject"
-HREF="sdlcdeject.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdresume.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcdeject.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDSTOP"
-></A
->SDL_CDStop</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7485"
-></A
-><H2
->Name</H2
->SDL_CDStop&nbsp;--&nbsp;Stops a CDROM</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7488"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7489"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CDStop</B
-></CODE
->(SDL_CD *cdrom);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7495"
-></A
-><H2
->Description</H2
-><P
->Stops play on the given <TT
-CLASS="PARAMETER"
-><I
->cdrom</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7499"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7504"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcdplay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CDPlay</TT
-></A
->,</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdresume.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcdeject.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDResume</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CDEject</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcdtrack.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,313 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CDtrack</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="CD-ROM"
-HREF="cdrom.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CD"
-HREF="sdlcd.html"><LINK
-REL="NEXT"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcd.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="thread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCDTRACK"
-></A
->SDL_CDtrack</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7628"
-></A
-><H2
->Name</H2
->SDL_CDtrack&nbsp;--&nbsp;CD Track Information Structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7631"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 id;
-  Uint8 type;
-  Uint32 length;
-  Uint32 offset;
-} SDL_CDtrack;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7634"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN7636"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->id</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Track number (0-99)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_AUDIO_TRACK</TT
-> or <TT
-CLASS="LITERAL"
->SDL_DATA_TRACK</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->length</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Length, in frames, of this track</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->offset</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Frame offset to the beginning of this track</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7657"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CDtrack</SPAN
-> stores data on each track on a CD, its fields should be pretty self explainatory. It is a member a the <A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-> structure.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Frames can be converted to standard timings. There are <TT
-CLASS="LITERAL"
->CD_FPS</TT
-> frames per second, so <SPAN
-CLASS="STRUCTNAME"
->SDL_CDtrack</SPAN
->.<TT
-CLASS="STRUCTFIELD"
-><I
->length</I
-></TT
->/<TT
-CLASS="LITERAL"
->CD_FPS</TT
->=length_in_seconds.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7669"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcd.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_CD</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcd.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CD</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Multi-threaded Programming</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcloseaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CloseAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UnlockAudio"
-HREF="sdlunlockaudio.html"><LINK
-REL="NEXT"
-TITLE="CD-ROM"
-HREF="cdrom.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlunlockaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="cdrom.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCLOSEAUDIO"
-></A
->SDL_CloseAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7180"
-></A
-><H2
->Name</H2
->SDL_CloseAudio&nbsp;--&nbsp;Shuts down audio processing and closes the audio device.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7183"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7184"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_CloseAudio</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7190"
-></A
-><H2
->Description</H2
-><P
->This function shuts down audio processing and closes the audio device.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7193"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-> </P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlunlockaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="cdrom.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UnlockAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->CD-ROM</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcolor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,300 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Color</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Rect"
-HREF="sdlrect.html"><LINK
-REL="NEXT"
-TITLE="SDL_Palette"
-HREF="sdlpalette.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlrect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpalette.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCOLOR"
-></A
->SDL_Color</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3082"
-></A
-><H2
->Name</H2
->SDL_Color&nbsp;--&nbsp;Format independent color description</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3085"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 r;
-  Uint8 g;
-  Uint8 b;
-  Uint8 unused;
-} SDL_Color;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3088"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3090"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->r</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Red intensity</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->g</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Green intensity</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->b</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Blue intensity</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->unused</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Unused</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3109"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-> describes a color in a format independent way. You can convert a <SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-> to a pixel value for a certain pixel format using <A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3116"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->,
-<A
-HREF="sdlsetcolors.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-></A
->,
-<A
-HREF="sdlpalette.html"
-><TT
-CLASS="FUNCTION"
->SDL_Palette</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlrect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpalette.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Rect</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Palette</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcondbroadcast.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,224 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CondBroadcast</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CondSignal"
-HREF="sdlcondsignal.html"><LINK
-REL="NEXT"
-TITLE="SDL_CondWait"
-HREF="sdlcondwait.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcondsignal.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcondwait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONDBROADCAST"
-></A
->SDL_CondBroadcast</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8337"
-></A
-><H2
->Name</H2
->SDL_CondBroadcast&nbsp;--&nbsp;Restart all threads waiting on a condition variable</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8340"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8341"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CondBroadcast</B
-></CODE
->(SDL_cond *cond);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8347"
-></A
-><H2
->Description</H2
-><P
->Restarts all threads that are waiting on the condition variable, <TT
-CLASS="PARAMETER"
-><I
->cond</I
-></TT
->. Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8353"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcondsignal.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondSignal</TT
-></A
->,
-<A
-HREF="sdlcondwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondWait</TT
-></A
->&#13;</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcondsignal.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcondwait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CondSignal</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CondWait</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcondsignal.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,224 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CondSignal</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DestroyCond"
-HREF="sdldestroycond.html"><LINK
-REL="NEXT"
-TITLE="SDL_CondBroadcast"
-HREF="sdlcondbroadcast.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldestroycond.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcondbroadcast.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONDSIGNAL"
-></A
->SDL_CondSignal</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8310"
-></A
-><H2
->Name</H2
->SDL_CondSignal&nbsp;--&nbsp;Restart a thread wait on a condition variable</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8313"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8314"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CondSignal</B
-></CODE
->(SDL_cond *cond);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8320"
-></A
-><H2
->Description</H2
-><P
->Restart one of the threads that are waiting on the condition variable, <TT
-CLASS="PARAMETER"
-><I
->cond</I
-></TT
->. Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success of <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8326"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcondwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondWait</TT
-></A
->,
-<A
-HREF="sdlcondbroadcast.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondBroadcast</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldestroycond.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcondbroadcast.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DestroyCond</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CondBroadcast</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcondwait.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CondWait</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CondBroadcast"
-HREF="sdlcondbroadcast.html"><LINK
-REL="NEXT"
-TITLE="SDL_CondWaitTimeout"
-HREF="sdlcondwaittimeout.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcondbroadcast.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcondwaittimeout.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONDWAIT"
-></A
->SDL_CondWait</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8364"
-></A
-><H2
->Name</H2
->SDL_CondWait&nbsp;--&nbsp;Wait on a condition variable</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8367"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8368"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CondWait</B
-></CODE
->(SDL_cond *cond, SDL_mutex *mut);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8374"
-></A
-><H2
->Description</H2
-><P
->Wait on the condition variable <TT
-CLASS="PARAMETER"
-><I
->cond</I
-></TT
-> and unlock the provided mutex. The mutex must the locked before entering this function. Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> when it is signalled, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8380"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcondwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlcondsignal.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondSignal</TT
-></A
->,
-<A
-HREF="sdlmutexp.html"
-><TT
-CLASS="FUNCTION"
->SDL_mutexP</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcondbroadcast.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcondwaittimeout.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CondBroadcast</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CondWaitTimeout</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcondwaittimeout.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,230 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CondWaitTimeout</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CondWait"
-HREF="sdlcondwait.html"><LINK
-REL="NEXT"
-TITLE="Time"
-HREF="time.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcondwait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="time.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONDWAITTIMEOUT"
-></A
->SDL_CondWaitTimeout</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8393"
-></A
-><H2
->Name</H2
->SDL_CondWaitTimeout&nbsp;--&nbsp;Wait on a condition variable, with timeout</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8396"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8397"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_CondWaitTimeout</B
-></CODE
->(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8403"
-></A
-><H2
->Description</H2
-><P
->Wait on the condition variable <TT
-CLASS="PARAMETER"
-><I
->cond</I
-></TT
-> for, at most, <TT
-CLASS="PARAMETER"
-><I
->ms</I
-></TT
-> milliseconds. <TT
-CLASS="PARAMETER"
-><I
->mut</I
-></TT
-> is unlocked so it must be locked when the function is called. Returns <TT
-CLASS="LITERAL"
->SDL_MUTEX_TIMEDOUT</TT
-> if the condition is not signalled in the allotted time, <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if it was signalled or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8412"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcondwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondWait</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcondwait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CondWait</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Time</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlconvertaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,407 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ConvertAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_BuildAudioCVT"
-HREF="sdlbuildaudiocvt.html"><LINK
-REL="NEXT"
-TITLE="SDL_MixAudio"
-HREF="sdlmixaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlbuildaudiocvt.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmixaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONVERTAUDIO"
-></A
->SDL_ConvertAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7048"
-></A
-><H2
->Name</H2
->SDL_ConvertAudio&nbsp;--&nbsp;Convert audio data to a desired audio format.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7051"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7052"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_ConvertAudio</B
-></CODE
->(SDL_AudioCVT *cvt);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7058"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-> takes one parameter, <TT
-CLASS="PARAMETER"
-><I
->cvt</I
-></TT
->, which was previously initilized. Initilizing a <A
-HREF="sdlaudiocvt.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
-></A
-> is a two step process. First of all, the structure must be passed to <A
-HREF="sdlbuildaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_BuildAudioCVT</TT
-></A
-> along with source and destination format parameters. Secondly, the <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> and <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
-> fields must be setup. <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> should point to the audio data and <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
-> should be set to the length of the audio data in bytes. Remember, the length of the buffer pointed to by <TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
-> show be <TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->len_mult</I
-></TT
-> bytes in length.</P
-><P
->Once the <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
->structure is initilized then we can pass it to <TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
->, which will convert the audio data pointer to by <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
->. If <TT
-CLASS="FUNCTION"
->SDL_ConvertAudio</TT
-> returned <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> then the conversion was completed successfully, otherwise <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> is returned.</P
-><P
->If the conversion completed successfully then the converted audio data can be read from <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->buf</I
-></TT
->. The amount of valid, converted, audio data in the buffer is equal to <SPAN
-CLASS="STRUCTNAME"
->cvt</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->len</I
-></TT
->*<TT
-CLASS="STRUCTFIELD"
-><I
->cvt</I
-></TT
->-&#62;<SPAN
-CLASS="STRUCTNAME"
->len_ratio</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7093"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* Converting some WAV data to hardware format */
-void my_audio_callback(void *userdata, Uint8 *stream, int len);
-
-SDL_AudioSpec *desired, *obtained;
-SDL_AudioSpec wav_spec;
-SDL_AudioCVT  wav_cvt;
-Uint32 wav_len;
-Uint8 *wav_buf;
-int ret;
-
-/* Allocated audio specs */
-desired = malloc(sizeof(SDL_AudioSpec));
-obtained = malloc(sizeof(SDL_AudioSpec));
-
-/* Set desired format */
-desired-&#62;freq=22050;
-desired-&#62;format=AUDIO_S16LSB;
-desired-&#62;samples=8192;
-desired-&#62;callback=my_audio_callback;
-desired-&#62;userdata=NULL;
-
-/* Open the audio device */
-if ( SDL_OpenAudio(desired, obtained) &#60; 0 ){
-  fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
-  exit(-1);
-}
-        
-free(desired);
-
-/* Load the test.wav */
-if( SDL_LoadWAV("test.wav", &#38;wav_spec, &#38;wav_buf, &#38;wav_len) == NULL ){
-  fprintf(stderr, "Could not open test.wav: %s\n", SDL_GetError());
-  SDL_CloseAudio();
-  free(obtained);
-  exit(-1);
-}
-                                            
-/* Build AudioCVT */
-ret = SDL_BuildAudioCVT(&#38;wav_cvt,
-                        wav_spec.format, wav_spec.channels, wav_spec.freq,
-                        obtained-&#62;format, obtained-&#62;channels, obtained-&#62;freq);
-
-/* Check that the convert was built */
-if(ret==-1){
-  fprintf(stderr, "Couldn't build converter!\n");
-  SDL_CloseAudio();
-  free(obtained);
-  SDL_FreeWAV(wav_buf);
-}
-
-/* Setup for conversion */
-wav_cvt.buf = malloc(wav_len * wav_cvt.len_mult);
-wav_cvt.len = wav_len;
-memcpy(wav_cvt.buf, wav_buf, wav_len);
-
-/* We can delete to original WAV data now */
-SDL_FreeWAV(wav_buf);
-
-/* And now we're ready to convert */
-SDL_ConvertAudio(&#38;wav_cvt);
-
-/* do whatever */
-.
-.
-.
-.
-&#13;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7096"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlbuildaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_BuildAudioCVT</TT
-></A
->,
-<A
-HREF="sdlaudiocvt.html"
-><TT
-CLASS="FUNCTION"
->SDL_AudioCVT</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlbuildaudiocvt.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmixaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_BuildAudioCVT</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_MixAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlconvertsurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,271 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ConvertSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetClipRect"
-HREF="sdlgetcliprect.html"><LINK
-REL="NEXT"
-TITLE="SDL_BlitSurface"
-HREF="sdlblitsurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetcliprect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlblitsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCONVERTSURFACE"
-></A
->SDL_ConvertSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2258"
-></A
-><H2
->Name</H2
->SDL_ConvertSurface&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2261"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2262"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL/SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_ConvertSurface</B
-></CODE
->(SDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2268"
-></A
-><H2
->Description</H2
-><P
->Creates a new surface of the specified format, and then copies and maps
-the given surface to it.  If this function fails, it returns
-<TT
-CLASS="LITERAL"
->NULL</TT
->.</P
-><P
->The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> parameter is passed to 
-<A
-HREF="sdlcreatergbsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurface</TT
-></A
->
-and has those semantics.</P
-><P
->This function is used internally by 
-<A
-HREF="sdldisplayformat.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayFormat</TT
-></A
->.</P
-><P
->This function can only be called after SDL_Init.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2280"
-></A
-><H2
->Return Value</H2
-><P
->Returns either a pointer to the new surface, or
-<TT
-CLASS="LITERAL"
->NULL</TT
-> on error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2284"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatergbsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurface</TT
-></A
->,
-<A
-HREF="sdldisplayformat.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayFormat</TT
-></A
->,
-<A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetcliprect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlblitsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetClipRect</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_BlitSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatecond.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,240 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateCond</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SemValue"
-HREF="sdlsemvalue.html"><LINK
-REL="NEXT"
-TITLE="SDL_DestroyCond"
-HREF="sdldestroycond.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsemvalue.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldestroycond.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATECOND"
-></A
->SDL_CreateCond</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8259"
-></A
-><H2
->Name</H2
->SDL_CreateCond&nbsp;--&nbsp;Create a condition variable</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8262"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8263"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_cond *<B
-CLASS="FSFUNC"
->SDL_CreateCond</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8269"
-></A
-><H2
->Description</H2
-><P
->Creates a condition variable.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8272"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_cond *cond;
-
-cond=SDL_CreateCond();
-.
-.
-/* Do stuff */
-
-.
-.
-SDL_DestroyCond(cond);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8275"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdldestroycond.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroyCond</TT
-></A
->,
-<A
-HREF="sdlcondwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondWait</TT
-></A
->,
-<A
-HREF="sdlcondsignal.html"
-><TT
-CLASS="FUNCTION"
->SDL_CondSignal</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsemvalue.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldestroycond.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SemValue</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DestroyCond</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatecursor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,398 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateCursor</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WarpMouse"
-HREF="sdlwarpmouse.html"><LINK
-REL="NEXT"
-TITLE="SDL_FreeCursor"
-HREF="sdlfreecursor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwarpmouse.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlfreecursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATECURSOR"
-></A
->SDL_CreateCursor</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2487"
-></A
-><H2
->Name</H2
->SDL_CreateCursor&nbsp;--&nbsp;Creates a new mouse cursor.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2490"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2491"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Cursor *<B
-CLASS="FSFUNC"
->SDL_CreateCursor</B
-></CODE
->(Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2497"
-></A
-><H2
->Description</H2
-><P
->Create a cursor using the specified <TT
-CLASS="PARAMETER"
-><I
->data</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-> (in MSB format).
-The cursor width must be a multiple of 8 bits.</P
-><P
->The cursor is created in black and white according to the following:
-<DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN2503"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><THEAD
-><TR
-><TH
-ALIGN="LEFT"
-VALIGN="TOP"
->Data / Mask</TH
-><TH
-ALIGN="LEFT"
-VALIGN="TOP"
->Resulting pixel on screen</TH
-></TR
-></THEAD
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->0 / 1</TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->White</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->1 / 1</TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Black</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->0 / 0</TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Transparent</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->1 / 0</TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Inverted color if possible, black if not.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></P
-><P
->Cursors created with this function must be freed with
-<A
-HREF="sdlfreecursor.html"
->SDL_FreeCursor</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2524"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* Stolen from the mailing list */
-/* Creates a new mouse cursor from an XPM */
-
-
-/* XPM */
-static const char *arrow[] = {
-  /* width height num_colors chars_per_pixel */
-  "    32    32        3            1",
-  /* colors */
-  "X c #000000",
-  ". c #ffffff",
-  "  c None",
-  /* pixels */
-  "X                               ",
-  "XX                              ",
-  "X.X                             ",
-  "X..X                            ",
-  "X...X                           ",
-  "X....X                          ",
-  "X.....X                         ",
-  "X......X                        ",
-  "X.......X                       ",
-  "X........X                      ",
-  "X.....XXXXX                     ",
-  "X..X..X                         ",
-  "X.X X..X                        ",
-  "XX  X..X                        ",
-  "X    X..X                       ",
-  "     X..X                       ",
-  "      X..X                      ",
-  "      X..X                      ",
-  "       XX                       ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "0,0"
-};
-
-static SDL_Cursor *init_system_cursor(const char *image[])
-{
-  int i, row, col;
-  Uint8 data[4*32];
-  Uint8 mask[4*32];
-  int hot_x, hot_y;
-
-  i = -1;
-  for ( row=0; row&#60;32; ++row ) {
-    for ( col=0; col&#60;32; ++col ) {
-      if ( col % 8 ) {
-        data[i] &#60;&#60;= 1;
-        mask[i] &#60;&#60;= 1;
-      } else {
-        ++i;
-        data[i] = mask[i] = 0;
-      }
-      switch (image[4+row][col]) {
-        case 'X':
-          data[i] |= 0x01;
-          mask[i] |= 0x01;
-          break;
-        case '.':
-          mask[i] |= 0x01;
-          break;
-        case ' ':
-          break;
-      }
-    }
-  }
-  sscanf(image[4+row], "%d,%d", &#38;hot_x, &#38;hot_y);
-  return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
-}</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2527"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlfreecursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeCursor</TT
-></A
->,
-<A
-HREF="sdlsetcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetCursor</TT
-></A
->,
-<A
-HREF="sdlshowcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_ShowCursor</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwarpmouse.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlfreecursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WarpMouse</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_FreeCursor</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatemutex.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,249 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateMutex</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_KillThread"
-HREF="sdlkillthread.html"><LINK
-REL="NEXT"
-TITLE="SDL_DestroyMutex"
-HREF="sdldestroymutex.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlkillthread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldestroymutex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATEMUTEX"
-></A
->SDL_CreateMutex</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7820"
-></A
-><H2
->Name</H2
->SDL_CreateMutex&nbsp;--&nbsp;Create a mutex</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7823"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7824"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_mutex *<B
-CLASS="FSFUNC"
->SDL_CreateMutex</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7830"
-></A
-><H2
->Description</H2
-><P
->Create a new, unlocked mutex.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7833"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_mutex *mut;
-
-mut=SDL_CreateMutex();
-.
-.
-if(SDL_mutexP(mut)==-1){
-  fprintf(stderr, "Couldn't lock mutex\n");
-  exit(-1);
-}
-.
-/* Do stuff while mutex is locked */
-.
-.
-if(SDL_mutexV(mut)==-1){
-  fprintf(stderr, "Couldn't unlock mutex\n");
-  exit(-1);
-}
-
-SDL_DestroyMutex(mut);&#13;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7836"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlmutexp.html"
-><TT
-CLASS="FUNCTION"
->SDL_mutexP</TT
-></A
->,
-<A
-HREF="sdlmutexv.html"
-><TT
-CLASS="FUNCTION"
->SDL_mutexV</TT
-></A
->,
-<A
-HREF="sdldestroymutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroyMutex</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlkillthread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldestroymutex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_KillThread</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DestroyMutex</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatergbsurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,458 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateRGBSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetRGBA"
-HREF="sdlgetrgba.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateRGBSurfaceFrom"
-HREF="sdlcreatergbsurfacefrom.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetrgba.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatergbsurfacefrom.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATERGBSURFACE"
-></A
->SDL_CreateRGBSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1773"
-></A
-><H2
->Name</H2
->SDL_CreateRGBSurface&nbsp;--&nbsp;Create an empty SDL_Surface</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1776"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1777"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_CreateRGBSurface</B
-></CODE
->(Uint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1783"
-></A
-><H2
->Description</H2
-><P
->Allocate an empty surface (must be called after <A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->)</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->depth</I
-></TT
-> is 8 bits an empty palette is allocated for the surface, otherwise a 'packed-pixel' <A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
-> is created using the <TT
-CLASS="PARAMETER"
-><I
->[RGBA]mask</I
-></TT
->'s provided (see <A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->). The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> specifies the type of surface that should be created, it is an OR'd combination of the following possible values.</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN1795"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->SDL will create the surface in system memory. This improves the performance of pixel level access, however you may not be able to take advantage of some types of hardware blitting.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->SDL will attempt to create the surface in video memory. This will allow SDL to take advantage of Video-&#62;Video blits (which are often accelerated).</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->This flag turns on colourkeying for blits from this surface. If
-<TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-> is also specified and colourkeyed blits
-are hardware-accelerated, then SDL will attempt to place the surface in
-video memory.
-Use <A
-HREF="sdlsetcolorkey.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColorKey</TT
-></A
->
-to set or clear this flag after surface creation.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->This flag turns on alpha-blending for blits from this surface. If
-<TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-> is also specified and alpha-blending blits
-are hardware-accelerated, then the surface will be placed in video memory if
-possible.
-Use <A
-HREF="sdlsetalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-></A
-> to
-set or clear this flag after surface creation.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->If an alpha-channel is specified (that is, if <TT
-CLASS="PARAMETER"
-><I
->Amask</I
-></TT
-> is
-nonzero), then the <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-> flag is automatically
-set. You may remove this flag by calling 
-<A
-HREF="sdlsetalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-></A
->
-after surface creation.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1826"
-></A
-><H2
->Return Value</H2
-><P
->Returns the created surface, or <SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> upon error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1830"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->    /* Create a 32-bit surface with the bytes of each pixel in R,G,B,A order,
-       as expected by OpenGL for textures */
-    SDL_Surface *surface;
-    Uint32 rmask, gmask, bmask, amask;
-
-    /* SDL interprets each pixel as a 32-bit number, so our masks must depend
-       on the endianness (byte order) of the machine */
-#if SDL_BYTEORDER == SDL_BIG_ENDIAN
-    rmask = 0xff000000;
-    gmask = 0x00ff0000;
-    bmask = 0x0000ff00;
-    amask = 0x000000ff;
-#else
-    rmask = 0x000000ff;
-    gmask = 0x0000ff00;
-    bmask = 0x00ff0000;
-    amask = 0xff000000;
-#endif
-
-    surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32,
-                                   rmask, gmask, bmask, amask);
-    if(surface == NULL) {
-        fprintf(stderr, "CreateRGBSurface failed: %s\n", SDL_GetError());
-        exit(1);
-    }</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1833"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatergbsurfacefrom.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurfaceFrom</TT
-></A
->,
-<A
-HREF="sdlfreesurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeSurface</TT
-></A
->,
-<A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
->,
-<A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->
-<A
-HREF="sdlsetalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-></A
->
-<A
-HREF="sdlsetcolorkey.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColorKey</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetrgba.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatergbsurfacefrom.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetRGBA</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateRGBSurfaceFrom</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatergbsurfacefrom.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,256 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateRGBSurfaceFrom</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateRGBSurface"
-HREF="sdlcreatergbsurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_FreeSurface"
-HREF="sdlfreesurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatergbsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlfreesurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATERGBSURFACEFROM"
-></A
->SDL_CreateRGBSurfaceFrom</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1856"
-></A
-><H2
->Name</H2
->SDL_CreateRGBSurfaceFrom&nbsp;--&nbsp;Create an SDL_Surface from pixel data</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1859"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1860"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_CreateRGBSurfaceFrom</B
-></CODE
->(void *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1866"
-></A
-><H2
->Description</H2
-><P
->Creates an SDL_Surface from the provided pixel data.</P
-><P
->The data stored in <TT
-CLASS="PARAMETER"
-><I
->pixels</I
-></TT
-> is assumed to be of the <TT
-CLASS="PARAMETER"
-><I
->depth</I
-></TT
-> specified in the parameter list. The pixel data is not copied into the <SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-> structure so it should not be freed until the surface has been freed with a called to <A
-HREF="sdlfreesurface.html"
->SDL_FreeSurface</A
->. <TT
-CLASS="PARAMETER"
-><I
->pitch</I
-></TT
-> is the length of each scanline in bytes.  </P
-><P
->See <A
-HREF="sdlcreatergbsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurface</TT
-></A
-> for a more detailed description of the other parameters.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1878"
-></A
-><H2
->Return Value</H2
-><P
->Returns the created surface, or <SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> upon error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1882"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatergbsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurface</TT
-></A
->,
-<A
-HREF="sdlfreesurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatergbsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlfreesurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateRGBSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_FreeSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatesemaphore.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,303 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateSemaphore</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_mutexV"
-HREF="sdlmutexv.html"><LINK
-REL="NEXT"
-TITLE="SDL_DestroySemaphore"
-HREF="sdldestroysemaphore.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmutexv.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldestroysemaphore.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATESEMAPHORE"
-></A
->SDL_CreateSemaphore</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7936"
-></A
-><H2
->Name</H2
->SDL_CreateSemaphore&nbsp;--&nbsp;Creates a new semaphore and assigns an initial value to it.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7939"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7940"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_sem *<B
-CLASS="FSFUNC"
->SDL_CreateSemaphore</B
-></CODE
->(Uint32 initial_value);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7946"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore()</TT
-> creates a new semaphore and
-initializes it with the value <TT
-CLASS="PARAMETER"
-><I
->initial_value</I
-></TT
->.
-Each locking operation on the semaphore by
-<A
-HREF="sdlsemwait.html"
->SDL_SemWait</A
->,
-<A
-HREF="sdlsemtrywait.html"
->SDL_SemTryWait</A
-> or
-<A
-HREF="sdlsemwaittimeout.html"
->SDL_SemWaitTimeout</A
->
-will atomically decrement the semaphore value. The locking operation will be blocked
-if the semaphore value is not positive (greater than zero). Each unlock operation by
-<A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->
-will atomically increment the semaphore value.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7955"
-></A
-><H2
->Return Value</H2
-><P
->Returns a pointer to an initialized semaphore or
-<SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7959"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_sem *my_sem;
-
-my_sem = SDL_CreateSemaphore(INITIAL_SEM_VALUE);
-
-if (my_sem == NULL) {
-        return CREATE_SEM_FAILED;
-}</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7963"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmutexv.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldestroysemaphore.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_mutexV</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DestroySemaphore</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreatethread.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,223 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateThread</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="NEXT"
-TITLE="SDL_ThreadID"
-HREF="sdlthreadid.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="thread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlthreadid.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATETHREAD"
-></A
->SDL_CreateThread</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7701"
-></A
-><H2
->Name</H2
->SDL_CreateThread&nbsp;--&nbsp;Creates a new thread of execution that shares its parent's properties.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7704"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7705"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Thread *<B
-CLASS="FSFUNC"
->SDL_CreateThread</B
-></CODE
->(int (*fn)(void *), void *data);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7711"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_CreateThread</TT
-> creates a new thread of execution 
-that shares all of its parent's global memory, signal handlers, 
-file descriptors, etc, and runs the function <TT
-CLASS="PARAMETER"
-><I
->fn</I
-></TT
->
-passed the void pointer <TT
-CLASS="PARAMETER"
-><I
->data</I
-></TT
->
-The thread quits when this function returns.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7717"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlkillthread.html"
-><TT
-CLASS="FUNCTION"
->SDL_KillThread</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlthreadid.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Multi-threaded Programming</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ThreadID</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlcreateyuvoverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,256 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_CreateYUVOverlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GL_SwapBuffers"
-HREF="sdlglswapbuffers.html"><LINK
-REL="NEXT"
-TITLE="SDL_LockYUVOverlay"
-HREF="sdllockyuvoverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglswapbuffers.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdllockyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLCREATEYUVOVERLAY"
-></A
->SDL_CreateYUVOverlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2808"
-></A
-><H2
->Name</H2
->SDL_CreateYUVOverlay&nbsp;--&nbsp;Create a YUV video overlay</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2811"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2812"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Overlay *<B
-CLASS="FSFUNC"
->SDL_CreateYUVOverlay</B
-></CODE
->(int width, int height, Uint32 format, SDL_Surface *display);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2818"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-> creates a YUV overlay of the specified <TT
-CLASS="PARAMETER"
-><I
->width</I
-></TT
->, <TT
-CLASS="PARAMETER"
-><I
->height</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->format</I
-></TT
-> (see <A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
-> for a list of available formats), for the provided <TT
-CLASS="PARAMETER"
-><I
->display</I
-></TT
->. A <A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
-> structure is returned.</P
-><P
->The term 'overlay' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2831"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
->,
-<A
-HREF="sdldisplayyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlfreeyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeYUVOverlay</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglswapbuffers.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdllockyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GL_SwapBuffers</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_LockYUVOverlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldelay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Delay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetTicks"
-HREF="sdlgetticks.html"><LINK
-REL="NEXT"
-TITLE="SDL_AddTimer"
-HREF="sdladdtimer.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetticks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdladdtimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDELAY"
-></A
->SDL_Delay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8455"
-></A
-><H2
->Name</H2
->SDL_Delay&nbsp;--&nbsp;Wait a specified number of milliseconds before returning.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8458"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8459"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_Delay</B
-></CODE
->(Uint32 ms);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8465"
-></A
-><H2
->Description</H2
-><P
->Wait a specified number of milliseconds before returning. <TT
-CLASS="FUNCTION"
->SDL_Delay</TT
-> will wait at <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->least</I
-></SPAN
-> the specified time, but possible longer due to OS scheduling.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Count on a delay granularity of <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->at least</I
-></SPAN
-> 10 ms.
-Some platforms have shorter clock ticks but this is the most common.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8473"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdladdtimer.html"
-><TT
-CLASS="FUNCTION"
->SDL_AddTimer</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetticks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdladdtimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetTicks</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_AddTimer</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldestroycond.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DestroyCond</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateCond"
-HREF="sdlcreatecond.html"><LINK
-REL="NEXT"
-TITLE="SDL_CondSignal"
-HREF="sdlcondsignal.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatecond.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcondsignal.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDESTROYCOND"
-></A
->SDL_DestroyCond</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8288"
-></A
-><H2
->Name</H2
->SDL_DestroyCond&nbsp;--&nbsp;Destroy a condition variable</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8291"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8292"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_DestroyCond</B
-></CODE
->(SDL_cond *cond);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8298"
-></A
-><H2
->Description</H2
-><P
->Destroys a condition variable.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8301"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatecond.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateCond</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatecond.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcondsignal.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateCond</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CondSignal</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldestroymutex.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,209 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DestroyMutex</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateMutex"
-HREF="sdlcreatemutex.html"><LINK
-REL="NEXT"
-TITLE="SDL_mutexP"
-HREF="sdlmutexp.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatemutex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmutexp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDESTROYMUTEX"
-></A
->SDL_DestroyMutex</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7849"
-></A
-><H2
->Name</H2
->SDL_DestroyMutex&nbsp;--&nbsp;Destroy a mutex</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7852"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7853"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_DestroyMutex</B
-></CODE
->(SDL_mutex *mutex);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7859"
-></A
-><H2
->Description</H2
-><P
->Destroy a previously <A
-HREF="sdlcreatemutex.html"
->created</A
-> mutex.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7863"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatemutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateMutex</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatemutex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmutexp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateMutex</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_mutexP</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldestroysemaphore.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,278 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DestroySemaphore</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateSemaphore"
-HREF="sdlcreatesemaphore.html"><LINK
-REL="NEXT"
-TITLE="SDL_SemWait"
-HREF="sdlsemwait.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatesemaphore.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsemwait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDESTROYSEMAPHORE"
-></A
->SDL_DestroySemaphore</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7982"
-></A
-><H2
->Name</H2
->SDL_DestroySemaphore&nbsp;--&nbsp;Destroys a semaphore that was created by <A
-HREF="sdlcreatesemaphore.html"
->SDL_CreateSemaphore</A
->.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7986"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7987"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_DestroySemaphore</B
-></CODE
->(SDL_sem *sem);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7993"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-> destroys the semaphore pointed to
-by <TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
-> that was created by
-<A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->.
-It is not safe to destroy a semaphore if there are threads currently blocked
-waiting on it.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8000"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->if (my_sem != NULL) {
-        SDL_DestroySemaphore(my_sem);
-        my_sem = NULL;
-}</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8004"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatesemaphore.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsemwait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateSemaphore</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SemWait</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldisplayformat.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DisplayFormat</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_FillRect"
-HREF="sdlfillrect.html"><LINK
-REL="NEXT"
-TITLE="SDL_DisplayFormatAlpha"
-HREF="sdldisplayformatalpha.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlfillrect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldisplayformatalpha.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDISPLAYFORMAT"
-></A
->SDL_DisplayFormat</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2394"
-></A
-><H2
->Name</H2
->SDL_DisplayFormat&nbsp;--&nbsp;Convert a surface to the display format</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2397"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2398"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_DisplayFormat</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2404"
-></A
-><H2
->Description</H2
-><P
->This function takes a surface and copies it to a new surface of the
-pixel format and colors of the video framebuffer, suitable for fast
-blitting onto the display surface.  It calls
-<A
-HREF="sdlconvertsurface.html"
->SDL_ConvertSurface</A
-></P
-><P
->If you want to take advantage of hardware colorkey or alpha blit
-acceleration, you should set the colorkey and alpha value before
-calling this function.</P
-><P
->If you want an alpha channel, see <A
-HREF="sdldisplayformatalpha.html"
->SDL_DisplayFormatAlpha</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2411"
-></A
-><H2
->Return Value</H2
-><P
->If the conversion fails or runs out of memory, it returns
-<SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2415"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlconvertsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_ConvertSurface</TT
-></A
->,
-<A
-HREF="sdldisplayformatalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayFormatAlpha</TT
-></A
->
-<A
-HREF="sdlsetalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-></A
->,
-<A
-HREF="sdlsetcolorkey.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColorKey</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlfillrect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldisplayformatalpha.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_FillRect</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DisplayFormatAlpha</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldisplayformatalpha.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,250 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DisplayFormatAlpha</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DisplayFormat"
-HREF="sdldisplayformat.html"><LINK
-REL="NEXT"
-TITLE="SDL_WarpMouse"
-HREF="sdlwarpmouse.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldisplayformat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwarpmouse.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDISPLAYFORMATALPHA"
-></A
->SDL_DisplayFormatAlpha</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2432"
-></A
-><H2
->Name</H2
->SDL_DisplayFormatAlpha&nbsp;--&nbsp;Convert a surface to the display format</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2435"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2436"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_DisplayFormatAlpha</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2442"
-></A
-><H2
->Description</H2
-><P
->This function takes a surface and copies it to a new surface of the
-pixel format and colors of the video framebuffer plus an alpha channel,
-suitable for fast blitting onto the display surface.  It calls
-<A
-HREF="sdlconvertsurface.html"
->SDL_ConvertSurface</A
-></P
-><P
->If you want to take advantage of hardware colorkey or alpha blit
-acceleration, you should set the colorkey and alpha value before
-calling this function.</P
-><P
->This function can be used to convert a colourkey to an alpha channel,
-if the <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> flag is set on the surface.
-The generated surface will then be transparent (alpha=0) where the
-pixels match the colourkey, and opaque (alpha=255) elsewhere.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2449"
-></A
-><H2
->Return Value</H2
-><P
->If the conversion fails or runs out of memory, it returns
-<SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2453"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlconvertsurface.html"
->SDL_ConvertSurface</A
->,
-<A
-HREF="sdlsetalpha.html"
->SDL_SetAlpha</A
->,
-<A
-HREF="sdlsetcolorkey.html"
->SDL_SetColorKey</A
->,
-<A
-HREF="sdldisplayformat.html"
->SDL_DisplayFormat</A
->,
-<A
-HREF="sdlsurface.html"
->SDL_Surface</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldisplayformat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwarpmouse.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DisplayFormat</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WarpMouse</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdldisplayyuvoverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,246 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_DisplayYUVOverlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UnlockYUVOverlay"
-HREF="sdlunlockyuvoverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_FreeYUVOverlay"
-HREF="sdlfreeyuvoverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlunlockyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlfreeyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLDISPLAYYUVOVERLAY"
-></A
->SDL_DisplayYUVOverlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2908"
-></A
-><H2
->Name</H2
->SDL_DisplayYUVOverlay&nbsp;--&nbsp;Blit the overlay to the display</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2911"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2912"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_DisplayYUVOverlay</B
-></CODE
->(SDL_Overlay *overlay, SDL_Rect *dstrect);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2918"
-></A
-><H2
->Description</H2
-><P
->Blit the <TT
-CLASS="PARAMETER"
-><I
->overlay</I
-></TT
-> to the surface specified when it was <A
-HREF="sdlcreateyuvoverlay.html"
->created</A
->. The <A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
-> structure, <TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
->, specifies the position and size of the destination. If the <TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
-> is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2927"
-></A
-><H2
->Return Values</H2
-><P
->Returns 0 on success</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2930"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
->,
-<A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlunlockyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlfreeyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UnlockYUVOverlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_FreeYUVOverlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlenablekeyrepeat.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_EnableKeyRepeat</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_EnableUNICODE"
-HREF="sdlenableunicode.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetMouseState"
-HREF="sdlgetmousestate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlenableunicode.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetmousestate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLENABLEKEYREPEAT"
-></A
->SDL_EnableKeyRepeat</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5839"
-></A
-><H2
->Name</H2
->SDL_EnableKeyRepeat&nbsp;--&nbsp;Set keyboard repeat rate.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5842"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5843"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_EnableKeyRepeat</B
-></CODE
->(int delay, int interval);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5849"
-></A
-><H2
->Description</H2
-><P
->Enables or disables the keyboard repeat rate. <TT
-CLASS="PARAMETER"
-><I
->delay</I
-></TT
-> specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by <TT
-CLASS="PARAMETER"
-><I
->interval</I
-></TT
->. Both <TT
-CLASS="PARAMETER"
-><I
->delay</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->interval</I
-></TT
-> are expressed in milliseconds.</P
-><P
->Setting <TT
-CLASS="PARAMETER"
-><I
->delay</I
-></TT
-> to 0 disables key repeating completely. Good default values are <TT
-CLASS="LITERAL"
->SDL_DEFAULT_REPEAT_DELAY</TT
-> and <SPAN
-CLASS="SYMBOL"
->SDL_DEFAULT_REPEAT_INTERVAL</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5860"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success and <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on failure.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlenableunicode.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetmousestate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_EnableUNICODE</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetMouseState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlenableunicode.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_EnableUNICODE</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetKeyName"
-HREF="sdlgetkeyname.html"><LINK
-REL="NEXT"
-TITLE="SDL_EnableKeyRepeat"
-HREF="sdlenablekeyrepeat.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetkeyname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlenablekeyrepeat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLENABLEUNICODE"
-></A
->SDL_EnableUNICODE</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5805"
-></A
-><H2
->Name</H2
->SDL_EnableUNICODE&nbsp;--&nbsp;Enable UNICODE translation</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5808"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5809"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_EnableUNICODE</B
-></CODE
->(int enable);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5815"
-></A
-><H2
->Description</H2
-><P
->Enables/Disables Unicode keyboard translation.</P
-><P
->To obtain the character codes corresponding to received keyboard events,
-Unicode translation must first be turned on using this function. The
-translation incurs a slight overhead for each keyboard event and is therefore
-disabled by default. For each subsequently received key down event, the
-<TT
-CLASS="STRUCTFIELD"
-><I
->unicode</I
-></TT
-> member of the
-<A
-HREF="sdlkeysym.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-></A
-> structure
-will then contain the corresponding character code, or zero for keysyms that do
-not correspond to any character code.</P
-><P
->A value of 1 for <TT
-CLASS="PARAMETER"
-><I
->enable</I
-></TT
-> enables Unicode translation;
-0 disables it, and -1 leaves it unchanged (useful for querying the current
-translation mode).</P
-><P
->Note that only key press events will be translated, not release events.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5825"
-></A
-><H2
->Return Value</H2
-><P
->Returns the previous translation mode (<SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> or <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5830"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlkeysym.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetkeyname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlenablekeyrepeat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetKeyName</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_EnableKeyRepeat</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlenvvars.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1197 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_envvars</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetError"
-HREF="sdlgeterror.html"><LINK
-REL="NEXT"
-TITLE="Video"
-HREF="video.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgeterror.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="video.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLENVVARS"
-></A
->SDL_envvars</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN675"
-></A
-><H2
->Name</H2
->SDL_envvars&nbsp;--&nbsp;SDL environment variables</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN678"
-></A
-><H2
->Description</H2
-><P
->Not a function, set using setenv()</P
-><P
->Several environment variables are available to modify the
-behaviour of SDL. Using these variables isn't recommened and the names
-and presence of these variables aren't guaranteed from one release to
-the next. However, they can be very useful for debugging
-purposes.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN682"
-></A
-><H2
->Video</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->SDL_FBACCEL</TT
-></DT
-><DD
-><P
->If set to 0, disable hardware acceleration in the linux fbcon driver.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_FBDEV</TT
-></DT
-><DD
-><P
->Frame buffer device to use in the linux fbcon driver, instead of /dev/fb0</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_FULLSCREEN_UPDATE</TT
-></DT
-><DD
-><P
->In the ps2gs driver, sets the <TT
-CLASS="LITERAL"
->SDL_ASYNCBLIT</TT
-> flag on the
-display surface.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEODRIVER</TT
-></DT
-><DD
-><P
->Selectes the video driver for SDL to use. Possible values, in the
-order they are tried if this variable is not set:</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN706"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->x11</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
-></P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->dga</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(the XFree86 DGA2)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->nanox</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Linux)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->fbcon</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Linux)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->directfb</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Linux)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->ps2gs</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Playstation 2)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->ggi</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
-></P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->vgl</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(BSD)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->svgalib</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Linux)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->aalib</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
-></P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->directx</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Win32)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->windib</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Win32)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->bwindow</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(BeOS)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->toolbox</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(MacOS Classic)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->DSp</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(MacOS Classic)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->Quartz</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Mac OS X)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->CGX</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Amiga)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->photon</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(QNX)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->dummy</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
-></P
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_CENTERED</TT
-></DT
-><DD
-><P
->If set, tries to center the SDL window when running in X11 windowed
-mode, or using the CyberGrafix driver.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_GL_DRIVER</TT
-></DT
-><DD
-><P
->The openGL driver (shared library) to use for X11. Default is libGL.so.1</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_X11_DGAMOUSE</TT
-></DT
-><DD
-><P
->With XFree86, enables use of DGA mouse if set.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_X11_MOUSEACCEL</TT
-></DT
-><DD
-><P
->For X11, sets the mouse acceleration. The value should be a string
-on the form:</P
-><P
->"<TT
-CLASS="PARAMETER"
-><I
->n</I
-></TT
->/<TT
-CLASS="PARAMETER"
-><I
->d</I
-></TT
->/<TT
-CLASS="PARAMETER"
-><I
->t</I
-></TT
->"</P
-><P
->where <TT
-CLASS="PARAMETER"
-><I
->n</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->d</I
-></TT
-> are the
-acceleration numerator/denumerators (so	mouse movement is accelerated by
-<TT
-CLASS="PARAMETER"
-><I
->n</I
-></TT
->/<TT
-CLASS="PARAMETER"
-><I
->d</I
-></TT
->), and
-<TT
-CLASS="PARAMETER"
-><I
->t</I
-></TT
-> is the threshold above which acceleration applies
-(counted as number of pixels the mouse moves at once).</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_X11_NODIRECTCOLOR</TT
-></DT
-><DD
-><P
->If set, don't attempt to use DirectColor visuals even if they are
-present. (SDL will use them otherwise for gamma correction).
-This is needed with older X servers when using the XVideo extension.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_X11_VISUALID</TT
-></DT
-><DD
-><P
->ID of an X11 visual to use, overriding SDL's default visual selection
-algorithm. It can be in decimal or in hex (prefixed by 0x).</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_YUV_DIRECT</TT
-></DT
-><DD
-><P
->If set, display YUV overlay directly on the video surface if possible,
-instead of on the surface passed to
-<A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
->.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_VIDEO_YUV_HWACCEL</TT
-></DT
-><DD
-><P
->If not set or set to a nonzero value, SDL will attempt to use
-hardware YUV acceleration for video playback.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_WINDOWID</TT
-></DT
-><DD
-><P
->For X11 or Win32, contains the ID number of the window to be used by
-SDL instead of creating its own window. Either in decimal or
-in hex (prefixed by 0x).</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN866"
-></A
-><H2
->Events/Input</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->SDL_MOUSE_RELATIVE</TT
-></DT
-><DD
-><P
->If set to 0, do not use mouse relative mode in X11. The default is
-to use it if the mouse is hidden and input is grabbed.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_MOUSEDEV</TT
-></DT
-><DD
-><P
->The mouse device to use for the linux fbcon driver. If not set,
-SDL first tries to use GPM in repeater mode, then various other
-devices (/dev/pcaux, /dev/adbmouse, /dev/mouse etc).</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_MOUSEDEV_IMPS2</TT
-></DT
-><DD
-><P
->If set, SDL will not try to auto-detect	the IMPS/2 protocol of
-a PS/2 mouse but use it right away. For the fbcon and ps2gs drivers.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_MOUSEDRV</TT
-></DT
-><DD
-><P
->For the linux fbcon driver: if set to ELO, use the ELO touchscreen
-controller as a pointer device</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_NO_RAWKBD</TT
-></DT
-><DD
-><P
->For the libvga driver: If set, do not attempt to put the keyboard in raw mode.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_NOMOUSE</TT
-></DT
-><DD
-><P
->If set, the linux fbcon driver will not use a mouse at all.</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN899"
-></A
-><H2
->Audio</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->AUDIODEV</TT
-></DT
-><DD
-><P
->The audio device to use, if <TT
-CLASS="LITERAL"
->SDL_PATH_DSP</TT
-> isn't set.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_AUDIODRIVER</TT
-></DT
-><DD
-><P
->Selects the audio driver for SDL to use. Possible values, in the
-order they are tried if this variable is not set:</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN913"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->openbsd</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(OpenBSD)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->dsp</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(OSS /dev/dsp: Linux, Solaris, BSD etc)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->alsa</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Linux)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->audio</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Unix style /dev/audio: SunOS, Solaris etc)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->AL</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Irix)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->artsc</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(ARTS audio daemon)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->esd</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(esound audio daemon)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->nas</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(NAS audio daemon)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->dma</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(OSS /dev/dsp, using DMA)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->dsound</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Win32 DirectX)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->waveout</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Win32 WaveOut)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->baudio</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(BeOS)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->sndmgr</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(MacOS SoundManager)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->paud</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(AIX)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->AHI</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(Amiga)</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->disk</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->(all; output to file)</P
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_DISKAUDIOFILE</TT
-></DT
-><DD
-><P
->The name of the output file for the "disk" audio driver. If not
-set, the name <TT
-CLASS="LITERAL"
->sdlaudio.raw</TT
-> is used.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_DISKAUDIODELAY</TT
-></DT
-><DD
-><P
->For the "disk" audio driver, how long to wait (in ms) before writing
-a full sound buffer. The default is 150 ms.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_DSP_NOSELECT</TT
-></DT
-><DD
-><P
->For some audio drivers (alsa, paud, dma and dsp), don't use select()
-but a timed method instead. May cure some audio problems, or cause
-others.</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_PATH_DSP</TT
-></DT
-><DD
-><P
->The audio device to use. If not set, SDL tries AUDIODEV and then
-a platform-dependent default value (/dev/audio on Solaris,
-/dev/dsp on Linux etc).</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1017"
-></A
-><H2
->CD-ROM</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->SDL_CDROM</TT
-></DT
-><DD
-><P
->A colon-separated list of CD-ROM devices to use, in addition to
-the standard devices (typically /dev/cdrom, platform-dependent).</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1025"
-></A
-><H2
->Debugging</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->SDL_DEBUG</TT
-></DT
-><DD
-><P
->If set, causes every call to <TT
-CLASS="FUNCTION"
->SDL_SetError</TT
-> (that
-is, every time SDL signals an error) to also print an error message on
-stderr.</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1034"
-></A
-><H2
->Joystick</H2
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><TT
-CLASS="LITERAL"
->SDL_JOYSTICK_DEVICE</TT
-></DT
-><DD
-><P
->Joystick device to use in the linux joystick driver, in addition
-to the usual: /dev/js*, /dev/input/event*, /dev/input/js*</P
-></DD
-><DT
-><TT
-CLASS="LITERAL"
->SDL_LINUX_JOYSTICK</TT
-></DT
-><DD
-><P
->Special joystick configuration string for linux. The format is</P
-><P
->"<TT
-CLASS="PARAMETER"
-><I
->name</I
-></TT
-> <TT
-CLASS="PARAMETER"
-><I
->numaxes</I
-></TT
-> <TT
-CLASS="PARAMETER"
-><I
->numhats</I
-></TT
-> <TT
-CLASS="PARAMETER"
-><I
->numballs</I
-></TT
->"</P
-><P
->where <TT
-CLASS="PARAMETER"
-><I
->name</I
-></TT
-> is the name string of the joystick
-(possibly in single quotes), and the rest are the number of axes, hats
-and balls respectively.</P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgeterror.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetError</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Video</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
--- a/docs/html/sdlevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,994 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Event</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="NEXT"
-TITLE="SDL_ActiveEvent"
-HREF="sdlactiveevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlactiveevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLEVENT"
-></A
->SDL_Event</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3711"
-></A
-><H2
->Name</H2
->SDL_Event&nbsp;--&nbsp;General event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3714"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef union{
-  Uint8 type;
-  SDL_ActiveEvent active;
-  SDL_KeyboardEvent key;
-  SDL_MouseMotionEvent motion;
-  SDL_MouseButtonEvent button;
-  SDL_JoyAxisEvent jaxis;
-  SDL_JoyBallEvent jball;
-  SDL_JoyHatEvent jhat;
-  SDL_JoyButtonEvent jbutton;
-  SDL_ResizeEvent resize;
-  SDL_ExposeEvent expose;
-  SDL_QuitEvent quit;
-  SDL_UserEvent user;
-  SDL_SysWMEvent syswm;
-} SDL_Event;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3717"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3719"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The type of event</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->active</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlactiveevent.html"
->Activation event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->key</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlkeyboardevent.html"
->Keyboard event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->motion</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlmousemotionevent.html"
->Mouse motion event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->button</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlmousebuttonevent.html"
->Mouse button event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->jaxis</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyaxisevent.html"
->Joystick axis motion event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->jball</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyballevent.html"
->Joystick trackball motion event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->jhat</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyhatevent.html"
->Joystick hat motion event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->jbutton</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoybuttonevent.html"
->Joystick button event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->resize</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlresizeevent.html"
->Application window resize event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->expose</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlexposeevent.html"
->Application window expose event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->quit</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlquitevent.html"
->Application quit request event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->user</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdluserevent.html"
->User defined event</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->syswm</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlsyswmevent.html"
->Undefined window manager event</A
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3791"
-></A
-><H2
->Description</H2
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> union is the core to all event handling is SDL, its probably the most important structure after <SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
->. <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> is a union of all event structures used in SDL, using it is a simple matter of knowing which union member relates to which event <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
->.</P
-><P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3799"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><THEAD
-><TR
-><TH
-ALIGN="LEFT"
-VALIGN="TOP"
->Event <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TH
-><TH
-ALIGN="LEFT"
-VALIGN="TOP"
->Event Structure</TH
-></TR
-></THEAD
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="MIDDLE"
-><TT
-CLASS="LITERAL"
->SDL_ACTIVEEVENT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="MIDDLE"
-><A
-HREF="sdlactiveevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ActiveEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_KEYDOWN/UP</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlkeyboardevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlmousemotionevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseMotionEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_MOUSEBUTTONDOWN/UP</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlmousebuttonevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseButtonEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYAXISMOTION</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyaxisevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyAxisEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYBALLMOTION</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyballevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyBallEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYHATMOTION</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoyhatevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyHatEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYBUTTONDOWN/UP</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdljoybuttonevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyButtonEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_QUIT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlquitevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_QuitEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SYSWMEVENT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlsyswmevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_SysWMEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlresizeevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ResizeEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_VIDEOEXPOSE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlexposeevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ExposeEvent</SPAN
-></A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_USEREVENT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdluserevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_UserEvent</SPAN
-></A
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3885"
-></A
-><H2
->Use</H2
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> structure has two uses</P
-><P
-></P
-><UL
-COMPACT="COMPACT"
-><LI
-><P
->Reading events on the event queue</P
-></LI
-><LI
-><P
->Placing events on the event queue</P
-></LI
-></UL
-><P
->Reading events from the event queue is done with either <A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-> or <A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
->. We'll use <TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-> and step through an example.</P
-><P
->First off, we create an empty <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> structure.
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_Event test_event;</PRE
->
-<TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-> removes the next event from the event queue, if there are no events on the queue it returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> otherwise it returns <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->. We use a <TT
-CLASS="FUNCTION"
->while</TT
-> loop to process each event in turn.
-<PRE
-CLASS="PROGRAMLISTING"
->while(SDL_PollEvent(&#38;test_event)) {</PRE
->
-The <TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-> function take a pointer to an <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-> structure that is to be filled with event information. We know that if <TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-> removes an event from the queue then the event information will be placed in our <SPAN
-CLASS="STRUCTNAME"
->test_event</SPAN
-> structure, but we also know that the <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->type</I
-></SPAN
-> of event will be placed in the <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> member of <SPAN
-CLASS="STRUCTNAME"
->test_event</SPAN
->. So to handle each event <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> seperately we use a <TT
-CLASS="FUNCTION"
->switch</TT
-> statement.
-<PRE
-CLASS="PROGRAMLISTING"
->  switch(test_event.type) {</PRE
->
-We need to know what kind of events we're looking for <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->and</I
-></SPAN
-> the event <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
->'s of those events. So lets assume we want to detect where the user is moving the mouse pointer within our application. We look through our event types and notice that <TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-> is, more than likely, the event we're looking for. A little <A
-HREF="sdlmousemotionevent.html"
->more</A
-> research tells use that <TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-> events are handled within the <A
-HREF="sdlmousemotionevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseMotionEvent</SPAN
-></A
-> structure which is the <TT
-CLASS="STRUCTFIELD"
-><I
->motion</I
-></TT
-> member of <SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
->. We can check for the <TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-> event <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> within our <TT
-CLASS="FUNCTION"
->switch</TT
-> statement like so:
-<PRE
-CLASS="PROGRAMLISTING"
->    case SDL_MOUSEMOTION:</PRE
->
-All we need do now is read the information out of the <TT
-CLASS="STRUCTFIELD"
-><I
->motion</I
-></TT
-> member of <SPAN
-CLASS="STRUCTNAME"
->test_event</SPAN
->.
-<PRE
-CLASS="PROGRAMLISTING"
->      printf("We got a motion event.\n");
-      printf("Current mouse position is: (%d, %d)\n", test_event.motion.x, test_event.motion.y);
-      break;
-    default:
-      printf("Unhandled Event!\n");
-      break;
-  }
-}
-printf("Event queue empty.\n");</PRE
-></P
-><P
->It is also possible to push events onto the event queue and so use it as a two-way communication path. Both <A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-> and <A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
-> allow you to place events onto the event queue. This is usually used to place a <TT
-CLASS="LITERAL"
->SDL_USEREVENT</TT
-> on the event queue, however you could use it to post fake input events if you wished. Creating your own events is a simple matter of choosing the event type you want, setting the <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> member and filling the appropriate member structure with information.
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_Event user_event;
-
-user_event.type=SDL_USEREVENT;
-user_event.user.code=2;
-user_event.user.data1=NULL;
-user_event.user.data2=NULL;
-SDL_PushEvent(&#38;user_event);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3942"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
->,
-<A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
->,
-<A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlactiveevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL Event Structures.</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ActiveEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
--- a/docs/html/sdleventstate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,276 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_EventState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetEventFilter"
-HREF="sdlgeteventfilter.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetKeyState"
-HREF="sdlgetkeystate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgeteventfilter.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetkeystate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLEVENTSTATE"
-></A
->SDL_EventState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5646"
-></A
-><H2
->Name</H2
->SDL_EventState&nbsp;--&nbsp;This function allows you to set the state of processing certain events.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5649"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5650"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_EventState</B
-></CODE
->(Uint8 type, int state);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5656"
-></A
-><H2
->Description</H2
-><P
->This function allows you to set the state of processing certain event <TT
-CLASS="PARAMETER"
-><I
->type</I
-></TT
->'s.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is set to <TT
-CLASS="LITERAL"
->SDL_IGNORE</TT
->, 
-that event <TT
-CLASS="PARAMETER"
-><I
->type</I
-></TT
-> will be automatically dropped from the event queue and will 
-not be filtered.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is set to <TT
-CLASS="LITERAL"
->SDL_ENABLE</TT
->, 
-that event <TT
-CLASS="PARAMETER"
-><I
->type</I
-></TT
-> will be processed normally.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is set to <TT
-CLASS="LITERAL"
->SDL_QUERY</TT
->,
-<TT
-CLASS="FUNCTION"
->SDL_EventState</TT
-> will return the current processing 
-state of the specified event <TT
-CLASS="PARAMETER"
-><I
->type</I
-></TT
->.</P
-><P
->A list of event <TT
-CLASS="PARAMETER"
-><I
->type</I
-></TT
->'s can be found in the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> section.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5677"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgeteventfilter.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetkeystate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetEventFilter</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetKeyState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlexposeevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ExposeEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ResizeEvent"
-HREF="sdlresizeevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_SysWMEvent"
-HREF="sdlsyswmevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlresizeevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsyswmevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLEXPOSEEVENT"
-></A
->SDL_ExposeEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4503"
-></A
-><H2
->Name</H2
->SDL_ExposeEvent&nbsp;--&nbsp;Quit requested event</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4506"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type
-} SDL_ExposeEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4509"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4511"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_VIDEOEXPOSE</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4519"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ExposeEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used whan an event of type <TT
-CLASS="LITERAL"
->SDL_VIDEOEXPOSE</TT
-> is reported.</P
-><P
->A VIDEOEXPOSE event is triggered when the screen has been modified
-outside of the application, usually by the window manager and needs to
-be redrawn.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4527"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlseteventfilter.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetEventFilter</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlresizeevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsyswmevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ResizeEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SysWMEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
--- a/docs/html/sdlfillrect.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,291 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_FillRect</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_BlitSurface"
-HREF="sdlblitsurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_DisplayFormat"
-HREF="sdldisplayformat.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlblitsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldisplayformat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFILLRECT"
-></A
->SDL_FillRect</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2351"
-></A
-><H2
->Name</H2
->SDL_FillRect&nbsp;--&nbsp;This function performs a fast fill of the given rectangle with some color</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2354"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2355"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_FillRect</B
-></CODE
->(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2361"
-></A
-><H2
->Description</H2
-><P
->This function performs a fast fill of the given rectangle with
-<TT
-CLASS="PARAMETER"
-><I
->color</I
-></TT
->.  If <TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
->
-is <TT
-CLASS="LITERAL"
->NULL</TT
->, the whole surface will be filled with
-<TT
-CLASS="PARAMETER"
-><I
->color</I
-></TT
->.</P
-><P
->The color should be a pixel of the format used by the surface, and
-can be generated by the
-<A
-HREF="sdlmaprgb.html"
->SDL_MapRGB</A
-> or <A
-HREF="sdlmaprgba.html"
->SDL_MapRGBA</A
->
-functions. If the color value contains an alpha value then the
-destination is simply "filled" with that alpha information, no blending
-takes place.</P
-><P
->If there is a clip rectangle set on the destination (set via
-<A
-HREF="sdlsetcliprect.html"
->SDL_SetClipRect</A
->) then this
-function will clip based on the intersection of the clip rectangle and
-the <TT
-CLASS="PARAMETER"
-><I
->dstrect</I
-></TT
-> rectangle and the dstrect rectangle
-will be modified to represent the area actually filled.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2374"
-></A
-><H2
->Return Value</H2
-><P
->This function returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2379"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
->,
-<A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGBA</TT
-></A
->,
-<A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
->,
-<A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlblitsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldisplayformat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_BlitSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DisplayFormat</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlflip.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,259 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Flip</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UpdateRects"
-HREF="sdlupdaterects.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetColors"
-HREF="sdlsetcolors.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlupdaterects.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetcolors.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFLIP"
-></A
->SDL_Flip</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1426"
-></A
-><H2
->Name</H2
->SDL_Flip&nbsp;--&nbsp;Swaps screen buffers</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1429"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1430"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_Flip</B
-></CODE
->(SDL_Surface *screen);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1436"
-></A
-><H2
->Description</H2
-><P
->On hardware that supports double-buffering, this function sets up a flip
-and returns.  The hardware will wait for vertical retrace, and then swap
-video buffers before the next video surface blit or lock will return.
-On hardware that doesn't support double-buffering, this is equivalent
-to calling <A
-HREF="sdlupdaterect.html"
->SDL_UpdateRect</A
-><TT
-CLASS="PARAMETER"
-><I
->(screen, 0, 0, 0, 0)</I
-></TT
-></P
-><P
->The <TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-> flag must have been passed to 
-<A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->,
- when
-setting the video mode for this function to perform hardware flipping.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1444"
-></A
-><H2
->Return Value</H2
-><P
->This function returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if successful, or 
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1449"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlupdaterect.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRect</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlupdaterects.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetcolors.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UpdateRects</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetColors</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlfreecursor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,209 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_FreeCursor</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateCursor"
-HREF="sdlcreatecursor.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetCursor"
-HREF="sdlsetcursor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatecursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFREECURSOR"
-></A
->SDL_FreeCursor</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2540"
-></A
-><H2
->Name</H2
->SDL_FreeCursor&nbsp;--&nbsp;Frees a cursor created with SDL_CreateCursor.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2543"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2544"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_FreeCursor</B
-></CODE
->(SDL_Cursor *cursor);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2550"
-></A
-><H2
->Description</H2
-><P
->Frees a <SPAN
-CLASS="STRUCTNAME"
->SDL_Cursor</SPAN
-> that was created using
-<A
-HREF="sdlcreatecursor.html"
->SDL_CreateCursor</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2555"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatecursor.html"
->SDL_CreateCursor</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatecursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateCursor</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetCursor</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlfreesurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_FreeSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateRGBSurfaceFrom"
-HREF="sdlcreatergbsurfacefrom.html"><LINK
-REL="NEXT"
-TITLE="SDL_LockSurface"
-HREF="sdllocksurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatergbsurfacefrom.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdllocksurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFREESURFACE"
-></A
->SDL_FreeSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1893"
-></A
-><H2
->Name</H2
->SDL_FreeSurface&nbsp;--&nbsp;Frees (deletes) a SDL_Surface</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1896"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1897"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_FreeSurface</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1903"
-></A
-><H2
->Description</H2
-><P
->Frees the resources used by a previously created <SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
->. If the surface was created using 
-<A
-HREF="sdlcreatergbsurfacefrom.html"
->SDL_CreateRGBSurfaceFrom</A
-> then the pixel data is not freed.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1908"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatergbsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurface</TT
-></A
->
-<A
-HREF="sdlcreatergbsurfacefrom.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateRGBSurfaceFrom</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatergbsurfacefrom.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdllocksurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateRGBSurfaceFrom</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_LockSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlfreewav.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_FreeWAV</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_LoadWAV"
-HREF="sdlloadwav.html"><LINK
-REL="NEXT"
-TITLE="SDL_AudioCVT"
-HREF="sdlaudiocvt.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlloadwav.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlaudiocvt.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFREEWAV"
-></A
->SDL_FreeWAV</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6857"
-></A
-><H2
->Name</H2
->SDL_FreeWAV&nbsp;--&nbsp;Frees previously opened WAV data</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6860"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6861"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_FreeWAV</B
-></CODE
->(Uint8 *audio_buf);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6867"
-></A
-><H2
->Description</H2
-><P
->After a WAVE file has been opened with <A
-HREF="sdlloadwav.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
-></A
-> its data can eventually be freed with <TT
-CLASS="FUNCTION"
->SDL_FreeWAV</TT
->. <TT
-CLASS="PARAMETER"
-><I
->audio_buf</I
-></TT
-> is a pointer to the buffer created by <TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6875"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlloadwav.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlloadwav.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlaudiocvt.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_LoadWAV</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_AudioCVT</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlfreeyuvoverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_FreeYUVOverlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DisplayYUVOverlay"
-HREF="sdldisplayyuvoverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_GLattr"
-HREF="sdlglattr.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldisplayyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglattr.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLFREEYUVOVERLAY"
-></A
->SDL_FreeYUVOverlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2941"
-></A
-><H2
->Name</H2
->SDL_FreeYUVOverlay&nbsp;--&nbsp;Free a YUV video overlay</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2944"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2945"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_FreeYUVOverlay</B
-></CODE
->(SDL_Overlay *overlay);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2951"
-></A
-><H2
->Description</H2
-><P
->Frees and <A
-HREF="sdloverlay.html"
-><TT
-CLASS="PARAMETER"
-><I
->overlay</I
-></TT
-></A
-> created by <A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2958"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
->,
-<A
-HREF="sdldisplayyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeYUVOverlay</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldisplayyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglattr.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DisplayYUVOverlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GLattr</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetappstate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,263 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetAppState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetRelativeMouseState"
-HREF="sdlgetrelativemousestate.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickEventState"
-HREF="sdljoystickeventstate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetrelativemousestate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickeventstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETAPPSTATE"
-></A
->SDL_GetAppState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5931"
-></A
-><H2
->Name</H2
-><TT
-CLASS="FUNCTION"
->SDL_GetAppState</TT
->&nbsp;--&nbsp;Get the state of the application</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5935"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5936"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_GetAppState</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5942"
-></A
-><H2
->Description</H2
-><P
->This function returns the current state of the application. The value returned is a bitwise combination of:</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN5945"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_APPMOUSEFOCUS</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The application has mouse focus.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_APPINPUTFOCUS</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The application has keyboard focus</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_APPACTIVE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The application is visible</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5960"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlactiveevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ActiveEvent</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetrelativemousestate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickeventstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetRelativeMouseState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickEventState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetaudiostatus.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetAudioStatus</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PauseAudio"
-HREF="sdlpauseaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_LoadWAV"
-HREF="sdlloadwav.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpauseaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlloadwav.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETAUDIOSTATUS"
-></A
->SDL_GetAudioStatus</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6790"
-></A
-><H2
->Name</H2
->SDL_GetAudioStatus&nbsp;--&nbsp;Get the current audio state</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6793"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6794"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_audiostatus<B
-CLASS="FSFUNC"
->SDL_GetAudioStatus</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6800"
-></A
-><H2
->Description</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef enum{
-  SDL_AUDIO_STOPPED,
-  SDL_AUDIO_PAUSED,
-  SDL_AUDIO_PLAYING
-} SDL_audiostatus;</PRE
-><P
->Returns either <TT
-CLASS="LITERAL"
->SDL_AUDIO_STOPPED</TT
->, <TT
-CLASS="LITERAL"
->SDL_AUDIO_PAUSED</TT
-> or <TT
-CLASS="LITERAL"
->SDL_AUDIO_PLAYING</TT
-> depending on the current audio state.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6807"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpauseaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_PauseAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpauseaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlloadwav.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PauseAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_LoadWAV</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetcliprect.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,229 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetClipRect</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetClipRect"
-HREF="sdlsetcliprect.html"><LINK
-REL="NEXT"
-TITLE="SDL_ConvertSurface"
-HREF="sdlconvertsurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetcliprect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlconvertsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETCLIPRECT"
-></A
->SDL_GetClipRect</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2230"
-></A
-><H2
->Name</H2
->SDL_GetClipRect&nbsp;--&nbsp;Gets the clipping rectangle for a surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2233"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2234"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_GetClipRect</B
-></CODE
->(SDL_Surface *surface, SDL_Rect *rect);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2240"
-></A
-><H2
->Description</H2
-><P
->Gets the clipping rectangle for a surface.  When this surface is the
-destination of a blit, only the area within the clip rectangle is
-drawn into.</P
-><P
->The rectangle pointed to by <TT
-CLASS="PARAMETER"
-><I
->rect</I
-></TT
-> will be
-filled with the clipping rectangle of the surface.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2245"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetcliprect.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetClipRect</TT
-></A
->,
-<A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetcliprect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlconvertsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetClipRect</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ConvertSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetcursor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetCursor</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetCursor"
-HREF="sdlsetcursor.html"><LINK
-REL="NEXT"
-TITLE="SDL_ShowCursor"
-HREF="sdlshowcursor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlshowcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETCURSOR"
-></A
->SDL_GetCursor</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2589"
-></A
-><H2
->Name</H2
->SDL_GetCursor&nbsp;--&nbsp;Get the currently active mouse cursor.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2592"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2593"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Cursor *<B
-CLASS="FSFUNC"
->SDL_GetCursor</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2599"
-></A
-><H2
->Description</H2
-><P
->Returns the currently active mouse cursor.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2602"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetCursor</TT
-></A
->,
-<A
-HREF="sdlcreatecursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateCursor</TT
-></A
->,
-<A
-HREF="sdlshowcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_ShowCursor</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlshowcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetCursor</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ShowCursor</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgeterror.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetError</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WasInit"
-HREF="sdlwasinit.html"><LINK
-REL="NEXT"
-TITLE="SDL_envvars"
-HREF="sdlenvvars.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwasinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlenvvars.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETERROR"
-></A
->SDL_GetError</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN653"
-></A
-><H2
->Name</H2
->SDL_GetError&nbsp;--&nbsp;Get SDL error string</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN656"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN657"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL/SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->char *<B
-CLASS="FSFUNC"
->SDL_GetError</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN663"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_GetError</TT
-> returns a NULL terminated string containing information about the last internal SDL error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN667"
-></A
-><H2
->Return Value</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_GetError</TT
-> returns a string containing the last error.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwasinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlenvvars.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WasInit</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_envvars</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgeteventfilter.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,235 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetEventFilter</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetEventFilter"
-HREF="sdlseteventfilter.html"><LINK
-REL="NEXT"
-TITLE="SDL_EventState"
-HREF="sdleventstate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlseteventfilter.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdleventstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETEVENTFILTER"
-></A
->SDL_GetEventFilter</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5615"
-></A
-><H2
->Name</H2
->SDL_GetEventFilter&nbsp;--&nbsp;Retrieves a pointer to he event filter</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5618"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5619"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_EventFilter <B
-CLASS="FSFUNC"
->SDL_GetEventFilter</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5625"
-></A
-><H2
->Description</H2
-><P
->This function retrieces a pointer to the event filter that was previously set using <A
-HREF="sdlseteventfilter.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetEventFilter</TT
-></A
->. An SDL_EventFilter function is defined as:
-<PRE
-CLASS="PROGRAMLISTING"
->typedef int (*SDL_EventFilter)(const SDL_Event *event);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5631"
-></A
-><H2
->Return Value</H2
-><P
->Returns a pointer to the event filter or <TT
-CLASS="LITERAL"
->NULL</TT
-> if no filter has been set.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5635"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlseteventfilter.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetEventFilter</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlseteventfilter.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdleventstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetEventFilter</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_EventState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetgammaramp.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetGammaRamp</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetGamma"
-HREF="sdlsetgamma.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetGammaRamp"
-HREF="sdlsetgammaramp.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetgamma.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetgammaramp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETGAMMARAMP"
-></A
->SDL_GetGammaRamp</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1598"
-></A
-><H2
->Name</H2
->SDL_GetGammaRamp&nbsp;--&nbsp;Gets the color gamma lookup tables for the display</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1601"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1602"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_GetGammaRamp</B
-></CODE
->(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1608"
-></A
-><H2
->Description</H2
-><P
->Gets the gamma translation lookup tables currently used by the display.
-Each table is an array of 256 Uint16 values.</P
-><P
->Not all display hardware is able to change gamma.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1612"
-></A
-><H2
->Return Value</H2
-><P
->Returns -1 on error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1615"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetgamma.html"
->SDL_SetGamma</A
->
-<A
-HREF="sdlsetgammaramp.html"
->SDL_SetGammaRamp</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetgamma.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetgammaramp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetGamma</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetGammaRamp</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetkeyname.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,216 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetKeyName</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetModState"
-HREF="sdlsetmodstate.html"><LINK
-REL="NEXT"
-TITLE="SDL_EnableUNICODE"
-HREF="sdlenableunicode.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetmodstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlenableunicode.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETKEYNAME"
-></A
->SDL_GetKeyName</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5780"
-></A
-><H2
->Name</H2
->SDL_GetKeyName&nbsp;--&nbsp;Get the name of an SDL virtual keysym</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5783"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5784"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->char *<B
-CLASS="FSFUNC"
->SDL_GetKeyName</B
-></CODE
->(SDLKey key);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5790"
-></A
-><H2
->Description</H2
-><P
->Returns the SDL-defined name of the <A
-HREF="sdlkey.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-></A
-> <TT
-CLASS="PARAMETER"
-><I
->key</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5796"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlkey.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetmodstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlenableunicode.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetModState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_EnableUNICODE</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetkeystate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,253 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetKeyState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_EventState"
-HREF="sdleventstate.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetModState"
-HREF="sdlgetmodstate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdleventstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetmodstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETKEYSTATE"
-></A
->SDL_GetKeyState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5686"
-></A
-><H2
->Name</H2
->SDL_GetKeyState&nbsp;--&nbsp;Get a snapshot of the current keyboard state</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5689"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5690"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 *<B
-CLASS="FSFUNC"
->SDL_GetKeyState</B
-></CODE
->(int *numkeys);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5696"
-></A
-><H2
->Description</H2
-><P
->Gets a snapshot of the current keyboard state. The current state is return as a pointer to an array, the size of this array is stored in <TT
-CLASS="PARAMETER"
-><I
->numkeys</I
-></TT
->. The array is indexed by the <A
-HREF="sdlkey.html"
-><TT
-CLASS="LITERAL"
->SDLK_*</TT
-></A
-> symbols. A value of 1 means the key is pressed and a value of 0 means its not. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Use <A
-HREF="sdlpumpevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-></A
-> to update the state array.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5706"
-></A
-><H2
->Example</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->Uint8 *keystate = SDL_GetKeyState(NULL);
-if ( keystate[SDLK_RETURN] ) printf("Return Key Pressed.\n");</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5710"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlkey.html"
-><TT
-CLASS="LITERAL"
->SDL Key Symbols</TT
-></A
->,
-<A
-HREF="sdlpumpevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdleventstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetmodstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_EventState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetModState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetmodstate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,257 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetModState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetKeyState"
-HREF="sdlgetkeystate.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetModState"
-HREF="sdlsetmodstate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetkeystate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetmodstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETMODSTATE"
-></A
->SDL_GetModState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5721"
-></A
-><H2
->Name</H2
->SDL_GetModState&nbsp;--&nbsp;Get the state of modifier keys.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5724"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5725"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDLMod <B
-CLASS="FSFUNC"
->SDL_GetModState</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5731"
-></A
-><H2
->Description</H2
-><P
->Returns the current state of the modifier keys (CTRL, ALT, etc.).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5734"
-></A
-><H2
->Return Value</H2
-><P
->The return value can be an OR'd combination of the SDLMod enum.</P
-><P
-><A
-NAME="AEN5738"
-></A
-><BLOCKQUOTE
-CLASS="BLOCKQUOTE"
-><P
-><B
->SDLMod</B
-></P
-><PRE
-CLASS="PROGRAMLISTING"
->typedef enum {
-  KMOD_NONE  = 0x0000,
-  KMOD_LSHIFT= 0x0001,
-  KMOD_RSHIFT= 0x0002,
-  KMOD_LCTRL = 0x0040,
-  KMOD_RCTRL = 0x0080,
-  KMOD_LALT  = 0x0100,
-  KMOD_RALT  = 0x0200,
-  KMOD_LMETA = 0x0400,
-  KMOD_RMETA = 0x0800,
-  KMOD_NUM   = 0x1000,
-  KMOD_CAPS  = 0x2000,
-  KMOD_MODE  = 0x4000,
-} SDLMod;</PRE
-></BLOCKQUOTE
->
-SDL also defines the following symbols for convenience:
-<A
-NAME="AEN5741"
-></A
-><BLOCKQUOTE
-CLASS="BLOCKQUOTE"
-><PRE
-CLASS="PROGRAMLISTING"
->#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
-#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
-#define KMOD_ALT  (KMOD_LALT|KMOD_RALT)
-#define KMOD_META (KMOD_LMETA|KMOD_RMETA)</PRE
-></BLOCKQUOTE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5743"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetkeystate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetKeyState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetkeystate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetmodstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetKeyState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetModState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetmousestate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,253 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetMouseState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_EnableKeyRepeat"
-HREF="sdlenablekeyrepeat.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetRelativeMouseState"
-HREF="sdlgetrelativemousestate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlenablekeyrepeat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetrelativemousestate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETMOUSESTATE"
-></A
->SDL_GetMouseState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5869"
-></A
-><H2
->Name</H2
->SDL_GetMouseState&nbsp;--&nbsp;Retrieve the current state of the mouse</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5872"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5873"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_GetMouseState</B
-></CODE
->(int *x, int *y);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5879"
-></A
-><H2
->Description</H2
-><P
->The current button state is returned as a button bitmask, which can
-be tested using the <TT
-CLASS="LITERAL"
->SDL_BUTTON(X)</TT
-> macros, and <TT
-CLASS="PARAMETER"
-><I
->x</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->y</I
-></TT
-> are set to the
-current mouse cursor position.  You can pass <TT
-CLASS="LITERAL"
->NULL</TT
-> for either <TT
-CLASS="PARAMETER"
-><I
->x</I
-></TT
-> or <TT
-CLASS="PARAMETER"
-><I
->y</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5888"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_PumpEvents();
-if(SDL_GetMouseState(NULL, NULL)&#38;SDL_BUTTON(1))
-  printf("Mouse Button 1(left) is pressed.\n");</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5891"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetrelativemousestate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetRelativeMouseState</TT
-></A
->,
-<A
-HREF="sdlpumpevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlenablekeyrepeat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetrelativemousestate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_EnableKeyRepeat</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetRelativeMouseState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetrelativemousestate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,235 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetRelativeMouseState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetMouseState"
-HREF="sdlgetmousestate.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetAppState"
-HREF="sdlgetappstate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetmousestate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetappstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETRELATIVEMOUSESTATE"
-></A
->SDL_GetRelativeMouseState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5902"
-></A
-><H2
->Name</H2
->SDL_GetRelativeMouseState&nbsp;--&nbsp;Retrieve the current state of the mouse</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5905"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5906"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_GetRelativeMouseState</B
-></CODE
->(int *x, int *y);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5912"
-></A
-><H2
->Description</H2
-><P
->The current button state is returned as a button bitmask, which can
-be tested using the <TT
-CLASS="LITERAL"
->SDL_BUTTON(X)</TT
-> macros, and <TT
-CLASS="PARAMETER"
-><I
->x</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->y</I
-></TT
-> are set to the change in the mouse position since the last call to <TT
-CLASS="FUNCTION"
->SDL_GetRelativeMouseState</TT
-> or since event initialization.  You can pass <TT
-CLASS="LITERAL"
->NULL</TT
-> for either <TT
-CLASS="PARAMETER"
-><I
->x</I
-></TT
-> or <TT
-CLASS="PARAMETER"
-><I
->y</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5922"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetmousestate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetMouseState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetmousestate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetappstate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetMouseState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetAppState</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetrgb.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetRGB</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_MapRGBA"
-HREF="sdlmaprgba.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetRGBA"
-HREF="sdlgetrgba.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmaprgba.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetrgba.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETRGB"
-></A
->SDL_GetRGB</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1718"
-></A
-><H2
->Name</H2
->SDL_GetRGB&nbsp;--&nbsp;Get RGB values from a pixel in the specified pixel format.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1721"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1722"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_GetRGB</B
-></CODE
->(Uint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1728"
-></A
-><H2
->Description</H2
-><P
->Get RGB component values from a pixel stored in the specified pixel format.</P
-><P
->This function uses the entire 8-bit [0..255] range when converting color
-components from pixel formats with less than 8-bits per RGB component
-(e.g., a completely white pixel in 16-bit RGB565 format would return
-[0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1732"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetrgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetRGBA</TT
-></A
->,
-<A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
->,
-<A
-HREF="sdlmaprgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGBA</TT
-></A
->,
-<A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmaprgba.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetrgba.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_MapRGBA</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetRGBA</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetrgba.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetRGBA</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetRGB"
-HREF="sdlgetrgb.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateRGBSurface"
-HREF="sdlcreatergbsurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetrgb.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatergbsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETRGBA"
-></A
->SDL_GetRGBA</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1747"
-></A
-><H2
->Name</H2
->SDL_GetRGBA&nbsp;--&nbsp;Get RGBA values from a pixel in the specified pixel format.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1750"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1751"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_GetRGBA</B
-></CODE
->(Uint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1757"
-></A
-><H2
->Description</H2
-><P
->Get RGBA component values from a pixel stored in the specified pixel format.</P
-><P
->This function uses the entire 8-bit [0..255] range when converting color
-components from pixel formats with less than 8-bits per RGB component
-(e.g., a completely white pixel in 16-bit RGB565 format would return
-[0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8]).</P
-><P
->If the surface has no alpha component, the alpha will be returned as 0xff
-(100% opaque).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1762"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetrgb.html"
->SDL_GetRGB</A
->,
-<A
-HREF="sdlmaprgb.html"
->SDL_MapRGB</A
->,
-<A
-HREF="sdlmaprgba.html"
->SDL_MapRGBA</A
->,
-<A
-HREF="sdlpixelformat.html"
->SDL_PixelFormat</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetrgb.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatergbsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetRGB</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateRGBSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetthreadid.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,209 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetThreadID</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ThreadID"
-HREF="sdlthreadid.html"><LINK
-REL="NEXT"
-TITLE="SDL_WaitThread"
-HREF="sdlwaitthread.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlthreadid.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwaitthread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETTHREADID"
-></A
->SDL_GetThreadID</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7743"
-></A
-><H2
->Name</H2
->SDL_GetThreadID&nbsp;--&nbsp;Get the SDL thread ID of a SDL_Thread</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7746"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7747"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_GetThreadID</B
-></CODE
->(SDL_Thread *thread);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7753"
-></A
-><H2
->Description</H2
-><P
->Returns the ID of a <SPAN
-CLASS="STRUCTNAME"
->SDL_Thread</SPAN
-> created by <A
-HREF="sdlcreatethread.html"
->SDL_CreateThread</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7758"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatethread.html"
->SDL_CreateThread</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlthreadid.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwaitthread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ThreadID</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WaitThread</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetticks.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetTicks</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="PREVIOUS"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="NEXT"
-TITLE="SDL_Delay"
-HREF="sdldelay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="time.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldelay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETTICKS"
-></A
->SDL_GetTicks</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8433"
-></A
-><H2
->Name</H2
->SDL_GetTicks&nbsp;--&nbsp;Get the number of milliseconds since the SDL library initialization.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8436"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8437"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_GetTicks</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8443"
-></A
-><H2
->Description</H2
-><P
->Get the number of milliseconds since the SDL library initialization.
-Note that this value wraps if the program runs for more than ~49 days.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8446"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdldelay.html"
-><TT
-CLASS="FUNCTION"
->SDL_Delay</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldelay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Time</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Delay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetvideoinfo.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,226 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetVideoInfo</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetVideoSurface"
-HREF="sdlgetvideosurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_VideoDriverName"
-HREF="sdlvideodrivername.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetvideosurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlvideodrivername.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETVIDEOINFO"
-></A
->SDL_GetVideoInfo</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1100"
-></A
-><H2
->Name</H2
->SDL_GetVideoInfo&nbsp;--&nbsp;returns a pointer to information about the video hardware</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1103"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1104"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_VideoInfo *<B
-CLASS="FSFUNC"
->SDL_GetVideoInfo</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1110"
-></A
-><H2
->Description</H2
-><P
->This function returns a read-only pointer to <A
-HREF="sdlvideoinfo.html"
->information</A
-> about the video
-hardware.  If this is called before <A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->, the
-<TT
-CLASS="STRUCTFIELD"
-><I
->vfmt</I
-></TT
-> member of the returned structure will contain the
-pixel format of the "best" video mode.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1116"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlvideoinfo.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_VideoInfo</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetvideosurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlvideodrivername.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetVideoSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_VideoDriverName</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlgetvideosurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GetVideoSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetVideoInfo"
-HREF="sdlgetvideoinfo.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="video.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetvideoinfo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGETVIDEOSURFACE"
-></A
->SDL_GetVideoSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1078"
-></A
-><H2
->Name</H2
->SDL_GetVideoSurface&nbsp;--&nbsp;returns a pointer to the current display surface</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1081"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1082"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_GetVideoSurface</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1088"
-></A
-><H2
->Description</H2
-><P
->This function returns a pointer to the current display surface.
-If SDL is doing format conversion on the display surface, this
-function returns the publicly visible surface, not the real video
-surface.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1091"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetvideoinfo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Video</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetVideoInfo</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglattr.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,379 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GLattr</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_FreeYUVOverlay"
-HREF="sdlfreeyuvoverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_Rect"
-HREF="sdlrect.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlfreeyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlrect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLATTR"
-></A
->SDL_GLattr</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2971"
-></A
-><H2
->Name</H2
->SDL_GLattr&nbsp;--&nbsp;SDL GL Attributes</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2974"
-></A
-><H2
->Attributes</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN2976"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_RED_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the framebuffer red component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_GREEN_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the framebuffer green component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_BLUE_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the framebuffer blue component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_ALPHA_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the framebuffer alpha component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_DOUBLEBUFFER</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->0 or 1, enable or disable double buffering</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_BUFFER_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the framebuffer, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_DEPTH_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the depth buffer, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_STENCIL_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the stencil buffer, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_ACCUM_RED_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the accumulation buffer red component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_ACCUM_GREEN_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the accumulation buffer green component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_ACCUM_BLUE_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the accumulation buffer blue component, in bits</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_GL_ACCUM_ALPHA_SIZE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Size of the accumulation buffer alpha component, in bits</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3027"
-></A
-><H2
->Description</H2
-><P
->While you can set most OpenGL attributes normally, the attributes list above must be known <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->before</I
-></SPAN
-> SDL sets the video mode. These attributes a set and read with <A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
-> and <A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3035"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
->,
-<A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlfreeyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlrect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_FreeYUVOverlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Rect</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglgetattribute.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,247 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GL_GetAttribute</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GL_GetProcAddress"
-HREF="sdlglgetprocaddress.html"><LINK
-REL="NEXT"
-TITLE="SDL_GL_SetAttribute"
-HREF="sdlglsetattribute.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglgetprocaddress.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglsetattribute.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLGETATTRIBUTE"
-></A
->SDL_GL_GetAttribute</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2708"
-></A
-><H2
->Name</H2
->SDL_GL_GetAttribute&nbsp;--&nbsp;Get the value of a special SDL/OpenGL attribute</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2711"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2712"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_GL_GetAttribute</B
-></CODE
->(SDLGLattr attr, int *value);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2718"
-></A
-><H2
->Description</H2
-><P
->Places the value of the SDL/OpenGL <A
-HREF="sdlglattr.html"
->attribute</A
-> <TT
-CLASS="PARAMETER"
-><I
->attr</I
-></TT
-> into <TT
-CLASS="PARAMETER"
-><I
->value</I
-></TT
->. This is useful after a call to <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-> to check whether your attributes have been <A
-HREF="sdlglsetattribute.html"
->set</A
-> as you expected.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2727"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2732"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
->,
-<A
-HREF="sdlglattr.html"
->GL Attributes</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglgetprocaddress.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglsetattribute.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GL_GetProcAddress</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GL_SetAttribute</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglgetprocaddress.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GL_GetProcAddress</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GL_LoadLibrary"
-HREF="sdlglloadlibrary.html"><LINK
-REL="NEXT"
-TITLE="SDL_GL_GetAttribute"
-HREF="sdlglgetattribute.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglloadlibrary.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglgetattribute.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLGETPROCADDRESS"
-></A
->SDL_GL_GetProcAddress</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2678"
-></A
-><H2
->Name</H2
->SDL_GL_GetProcAddress&nbsp;--&nbsp;Get the address of a GL function</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2681"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2682"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void *<B
-CLASS="FSFUNC"
->SDL_GL_GetProcAddress</B
-></CODE
->(const char* proc);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2688"
-></A
-><H2
->Description</H2
-><P
->Returns the address of the GL function <TT
-CLASS="PARAMETER"
-><I
->proc</I
-></TT
->, or <SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> if the function is not found. If the GL library is loaded at runtime, with <A
-HREF="sdlglloadlibrary.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_LoadLibrary</TT
-></A
->, then <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->all</I
-></SPAN
-> GL functions must be retrieved this way. Usually this is used to retrieve function pointers to OpenGL extensions.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2696"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef void (*GL_ActiveTextureARB_Func)(unsigned int);
-GL_ActiveTextureARB_Func glActiveTextureARB_ptr = 0;
-int has_multitexture=1;
-.
-.
-.
-/* Get function pointer */
-glActiveTextureARB_ptr=(GL_ActiveTextureARB_Func) SDL_GL_GetProcAddress("glActiveTextureARB");
-
-/* Check for a valid function ptr */
-if(!glActiveTextureARB_ptr){
-  fprintf(stderr, "Multitexture Extensions not present.\n");
-  has_multitexture=0;
-}
-.
-.
-.
-.
-if(has_multitexture){
-  glActiveTextureARB_ptr(GL_TEXTURE0_ARB);
-  .
-  .
-}
-else{
-  .
-  .
-}</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2699"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlglloadlibrary.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_LoadLibrary</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglloadlibrary.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglgetattribute.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GL_LoadLibrary</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GL_GetAttribute</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglloadlibrary.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GL_LoadLibrary</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ShowCursor"
-HREF="sdlshowcursor.html"><LINK
-REL="NEXT"
-TITLE="SDL_GL_GetProcAddress"
-HREF="sdlglgetprocaddress.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlshowcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglgetprocaddress.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLLOADLIBRARY"
-></A
->SDL_GL_LoadLibrary</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2648"
-></A
-><H2
->Name</H2
->SDL_GL_LoadLibrary&nbsp;--&nbsp;Specify an OpenGL library</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2651"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2652"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_GL_LoadLibrary</B
-></CODE
->(const char *path);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2658"
-></A
-><H2
->Description</H2
-><P
->If you wish, you may load the OpenGL library at runtime, this must be done before <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-> is called. The <TT
-CLASS="PARAMETER"
-><I
->path</I
-></TT
-> of the GL library is passed to <TT
-CLASS="FUNCTION"
->SDL_GL_LoadLibrary</TT
-> and it returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error. You must then use <A
-HREF="sdlglgetprocaddress.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetProcAddress</TT
-></A
-> to retrieve function pointers to GL functions.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2669"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlglgetprocaddress.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetProcAddress</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlshowcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglgetprocaddress.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ShowCursor</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GL_GetProcAddress</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglsetattribute.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,286 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GL_SetAttribute</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GL_GetAttribute"
-HREF="sdlglgetattribute.html"><LINK
-REL="NEXT"
-TITLE="SDL_GL_SwapBuffers"
-HREF="sdlglswapbuffers.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglgetattribute.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglswapbuffers.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLSETATTRIBUTE"
-></A
->SDL_GL_SetAttribute</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2742"
-></A
-><H2
->Name</H2
->SDL_GL_SetAttribute&nbsp;--&nbsp;Set a special SDL/OpenGL attribute</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2745"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2746"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_GL_SetAttribute</B
-></CODE
->(SDL_GLattr attr, int value);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2752"
-></A
-><H2
->Description</H2
-><P
->Sets the OpenGL <A
-HREF="sdlglattr.html"
->attribute</A
-> <TT
-CLASS="PARAMETER"
-><I
->attr</I
-></TT
-> to <TT
-CLASS="PARAMETER"
-><I
->value</I
-></TT
->. The attributes you set don't take effect until after a call to <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->. You should use <A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
-> to check the values after a <TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-> call.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2763"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2768"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
-SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
-if ( (screen=SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL )) == NULL ) {
-  fprintf(stderr, "Couldn't set GL mode: %s\n", SDL_GetError());
-  SDL_Quit();
-  return;
-}</PRE
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->The <TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-> flag is not required to enable double buffering when setting an OpenGL video mode. Double buffering is enabled or disabled using the SDL_GL_DOUBLEBUFFER attribute.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2774"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
->,
-<A
-HREF="sdlglattr.html"
->GL Attributes</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglgetattribute.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglswapbuffers.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GL_GetAttribute</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GL_SwapBuffers</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlglswapbuffers.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,212 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_GL_SwapBuffers</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GL_SetAttribute"
-HREF="sdlglsetattribute.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateYUVOverlay"
-HREF="sdlcreateyuvoverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglsetattribute.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreateyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLGLSWAPBUFFERS"
-></A
->SDL_GL_SwapBuffers</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2784"
-></A
-><H2
->Name</H2
->SDL_GL_SwapBuffers&nbsp;--&nbsp;Swap OpenGL framebuffers/Update Display</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2787"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2788"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_GL_SwapBuffers</B
-></CODE
->(void );</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2794"
-></A
-><H2
->Description</H2
-><P
->Swap the OpenGL buffers, if double-buffering is supported.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2797"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglsetattribute.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreateyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GL_SetAttribute</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateYUVOverlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlinit.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,368 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Init</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="General"
-HREF="general.html"><LINK
-REL="NEXT"
-TITLE="SDL_InitSubSystem"
-HREF="sdlinitsubsystem.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="general.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlinitsubsystem.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLINIT"
-></A
->SDL_Init</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN440"
-></A
-><H2
->Name</H2
->SDL_Init&nbsp;--&nbsp;Initializes SDL</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN443"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN444"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_Init</B
-></CODE
->(Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN450"
-></A
-><H2
->Description</H2
-><P
->Initializes SDL. This should be called before all other SDL functions. The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> parameter specifies what part(s) of SDL to initialize.</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN454"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_TIMER</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initializes the <A
-HREF="time.html"
->timer</A
-> subsystem.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_AUDIO</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initializes the <A
-HREF="audio.html"
->audio</A
-> subsystem.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_VIDEO</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initializes the <A
-HREF="video.html"
->video</A
-> subsystem.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_CDROM</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initializes the <A
-HREF="cdrom.html"
->cdrom</A
-> subsystem.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_JOYSTICK</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initializes the <A
-HREF="joystick.html"
->joystick</A
-> subsystem.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_EVERYTHING</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Initialize all of the above.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_NOPARACHUTE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Prevents SDL from catching fatal signals.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_INIT_EVENTTHREAD</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN494"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN499"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlquit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-></A
->,
-<A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlinitsubsystem.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->General</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_InitSubSystem</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlinitsubsystem.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,283 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_InitSubSystem</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Init"
-HREF="sdlinit.html"><LINK
-REL="NEXT"
-TITLE="SDL_QuitSubSystem"
-HREF="sdlquitsubsystem.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlquitsubsystem.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLINITSUBSYSTEM"
-></A
->SDL_InitSubSystem</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN510"
-></A
-><H2
->Name</H2
->SDL_InitSubSystem&nbsp;--&nbsp;Initialize subsystems</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN513"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN514"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_InitSubSystem</B
-></CODE
->(Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN520"
-></A
-><H2
->Description</H2
-><P
->After SDL has been initialized with <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-> you may initialize uninitialized subsystems with <TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
->. The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> parameter is the same as that used in <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN529"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* Seperating Joystick and Video initialization. */
-SDL_Init(SDL_INIT_VIDEO);
-.
-.
-SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN);
-.
-/* Do Some Video stuff */
-.
-.
-/* Initialize the joystick subsystem */
-SDL_InitSubSystem(SDL_INIT_JOYSTICK);
-
-/* Do some stuff with video and joystick */
-.
-.
-.
-/* Shut them both down */
-SDL_Quit();</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN532"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN537"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->,
-<A
-HREF="sdlquit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-></A
->,
-<A
-HREF="sdlquitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_QuitSubSystem</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlinit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlquitsubsystem.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Init</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_QuitSubSystem</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoyaxisevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,330 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoyAxisEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_MouseButtonEvent"
-HREF="sdlmousebuttonevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoyButtonEvent"
-HREF="sdljoybuttonevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmousebuttonevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoybuttonevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYAXISEVENT"
-></A
->SDL_JoyAxisEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4203"
-></A
-><H2
->Name</H2
->SDL_JoyAxisEvent&nbsp;--&nbsp;Joystick axis motion event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4206"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 axis;
-  Sint16 value;
-} SDL_JoyAxisEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4209"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4211"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYAXISMOTION</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick device index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->axis</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick axis index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->value</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Axis value (range: -32768 to 32767)</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4231"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyAxisEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_JOYAXISMOTION</TT
-> is reported.</P
-><P
->A <TT
-CLASS="LITERAL"
->SDL_JOYAXISMOTION</TT
-> event occurs when ever a user moves an axis on the joystick. The field <TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-> is the index of the joystick that reported the event and <TT
-CLASS="STRUCTFIELD"
-><I
->axis</I
-></TT
-> is the index of the axis (for a more detailed explaination see the <A
-HREF="joystick.html"
->Joystick section</A
->). <TT
-CLASS="STRUCTFIELD"
-><I
->value</I
-></TT
-> is the current position of the axis.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4244"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="joystick.html"
->Joystick Functions</A
->,
-<A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
->,
-<A
-HREF="sdljoystickgetaxis.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetAxis</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmousebuttonevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoybuttonevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_MouseButtonEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoyButtonEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoyballevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,340 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoyBallEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoyHatEvent"
-HREF="sdljoyhatevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_ResizeEvent"
-HREF="sdlresizeevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoyhatevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlresizeevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYBALLEVENT"
-></A
->SDL_JoyBallEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4396"
-></A
-><H2
->Name</H2
->SDL_JoyBallEvent&nbsp;--&nbsp;Joystick trackball motion event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4399"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 ball;
-  Sint16 xrel, yrel;
-} SDL_JoyBallEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4402"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4404"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYBALLMOTION</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick device index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->ball</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick trackball index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->xrel</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->yrel</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The relative motion in the X/Y direction</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4425"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyBallEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_JOYBALLMOTION</TT
-> is reported.</P
-><P
->A <TT
-CLASS="LITERAL"
->SDL_JOYBALLMOTION</TT
-> event occurs when a user moves a trackball on the joystick. The field <TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-> is the index of the joystick that reported the event and <TT
-CLASS="STRUCTFIELD"
-><I
->ball</I
-></TT
-> is the index of the trackball (for a more detailed explaination see the <A
-HREF="joystick.html"
->Joystick section</A
->). Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in <TT
-CLASS="STRUCTFIELD"
-><I
->xrel</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->yrel</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4439"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="joystick.html"
->Joystick Functions</A
->,
-<A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
->,
-<A
-HREF="sdljoystickgetball.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetBall</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoyhatevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlresizeevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoyHatEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ResizeEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoybuttonevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,351 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoyButtonEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoyAxisEvent"
-HREF="sdljoyaxisevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoyHatEvent"
-HREF="sdljoyhatevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoyaxisevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoyhatevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYBUTTONEVENT"
-></A
->SDL_JoyButtonEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4258"
-></A
-><H2
->Name</H2
->SDL_JoyButtonEvent&nbsp;--&nbsp;Joystick button event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4261"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 button;
-  Uint8 state;
-} SDL_JoyButtonEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4264"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4266"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOYBUTTONDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONUP</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick device index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->button</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick button index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
-> or <TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4289"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyButtonEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONUP</TT
-> is reported.</P
-><P
->A <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_JOYBUTTONUP</TT
-> event occurs when ever a user presses or releases a button on a joystick. The field <TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-> is the index of the joystick that reported the event and <TT
-CLASS="STRUCTFIELD"
-><I
->button</I
-></TT
-> is the index of the button (for a more detailed explaination see the <A
-HREF="joystick.html"
->Joystick section</A
->). <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-> is the current state or the button which is either <TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
-> or <TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4306"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="joystick.html"
->Joystick Functions</A
->,
-<A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
->,
-<A
-HREF="sdljoystickgetbutton.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetButton</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoyaxisevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoyhatevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoyAxisEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoyHatEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoyhatevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,413 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoyHatEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoyButtonEvent"
-HREF="sdljoybuttonevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoyBallEvent"
-HREF="sdljoyballevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoybuttonevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoyballevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYHATEVENT"
-></A
->SDL_JoyHatEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4320"
-></A
-><H2
->Name</H2
->SDL_JoyHatEvent&nbsp;--&nbsp;Joystick hat position change event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4323"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 hat;
-  Uint8 value;
-} SDL_JoyHatEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4326"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4328"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_JOY</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick device index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->hat</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Joystick hat index</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->value</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Hat position</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4348"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyHatEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_JOYHATMOTION</TT
-> is reported.</P
-><P
->A <TT
-CLASS="LITERAL"
->SDL_JOYHATMOTION</TT
-> event occurs when ever a user moves a hat on the joystick. The field <TT
-CLASS="STRUCTFIELD"
-><I
->which</I
-></TT
-> is the index of the joystick that reported the event and <TT
-CLASS="STRUCTFIELD"
-><I
->hat</I
-></TT
-> is the index of the hat (for a more detailed exlaination see the <A
-HREF="joystick.html"
->Joystick section</A
->). <TT
-CLASS="STRUCTFIELD"
-><I
->value</I
-></TT
-> is the current position of the hat. It is a logically OR'd combination of the following values (whose meanings should be pretty obvious:) :</P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_CENTERED</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_UP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHT</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_DOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFT</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-><P
->The following defines are also provided:</P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTDOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTDOWN</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4382"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="joystick.html"
->Joystick Functions</A
->,
-<A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
->,
-<A
-HREF="sdljoystickgetball.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetHat</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoybuttonevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoyballevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoyButtonEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoyBallEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickclose.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,223 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickClose</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickGetBall"
-HREF="sdljoystickgetball.html"><LINK
-REL="NEXT"
-TITLE="Audio"
-HREF="audio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetball.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="audio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKCLOSE"
-></A
->SDL_JoystickClose</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6469"
-></A
-><H2
->Name</H2
->SDL_JoystickClose&nbsp;--&nbsp;Closes a previously opened joystick</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6472"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6473"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_JoystickClose</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6479"
-></A
-><H2
->Description</H2
-><P
->Close a <TT
-CLASS="PARAMETER"
-><I
->joystick</I
-></TT
-> that was previously opened with <A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6485"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
->,
-<A
-HREF="sdljoystickopened.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpened</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickgetball.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickGetBall</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Audio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickeventstate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,290 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickEventState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetAppState"
-HREF="sdlgetappstate.html"><LINK
-REL="NEXT"
-TITLE="Joystick"
-HREF="joystick.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetappstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="joystick.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKEVENTSTATE"
-></A
->SDL_JoystickEventState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5969"
-></A
-><H2
->Name</H2
->SDL_JoystickEventState&nbsp;--&nbsp;Enable/disable joystick event polling</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5972"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5973"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickEventState</B
-></CODE
->(int state);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5979"
-></A
-><H2
->Description</H2
-><P
->This function is used to enable or disable joystick event processing. With joystick event processing disabled you will have to update joystick states with <A
-HREF="sdljoystickupdate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickUpdate</TT
-></A
-> and read the joystick information manually. <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is either <TT
-CLASS="LITERAL"
->SDL_QUERY</TT
->, <TT
-CLASS="LITERAL"
->SDL_ENABLE</TT
-> or <TT
-CLASS="LITERAL"
->SDL_IGNORE</TT
->.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Joystick event handling is prefered</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5990"
-></A
-><H2
->Return Value</H2
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_QUERY</TT
-> then the current state is returned, otherwise the new processing <TT
-CLASS="PARAMETER"
-><I
->state</I
-></TT
-> is returned.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5996"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="joystick.html"
->SDL Joystick Functions</A
->,
-<A
-HREF="sdljoystickupdate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickUpdate</TT
-></A
->,
-<A
-HREF="sdljoyaxisevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyAxisEvent</SPAN
-></A
->,
-<A
-HREF="sdljoyballevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyBallEvent</SPAN
-></A
->,
-<A
-HREF="sdljoybuttonevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyButtonEvent</SPAN
-></A
->,
-<A
-HREF="sdljoyhatevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_JoyHatEvent</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetappstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetAppState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Joystick</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickgetaxis.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,271 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickGetAxis</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickUpdate"
-HREF="sdljoystickupdate.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickGetHat"
-HREF="sdljoystickgethat.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickupdate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgethat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKGETAXIS"
-></A
->SDL_JoystickGetAxis</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6320"
-></A
-><H2
->Name</H2
->SDL_JoystickGetAxis&nbsp;--&nbsp;Get the current state of an axis</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6323"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6324"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Sint16 <B
-CLASS="FSFUNC"
->SDL_JoystickGetAxis</B
-></CODE
->(SDL_Joystick *joystick, int axis);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6330"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetAxis</TT
-> returns the current state of the given <TT
-CLASS="PARAMETER"
-><I
->axis</I
-></TT
-> on the given <TT
-CLASS="PARAMETER"
-><I
->joystick</I
-></TT
->.</P
-><P
->On most modern joysticks the X axis is usually represented by <TT
-CLASS="PARAMETER"
-><I
->axis</I
-></TT
-> 0 and the Y axis by <TT
-CLASS="PARAMETER"
-><I
->axis</I
-></TT
-> 1. The value returned by <TT
-CLASS="FUNCTION"
->SDL_JoystickGetAxis</TT
-> is a signed integer (-32768 to 32768) representing the current position of the <TT
-CLASS="PARAMETER"
-><I
->axis</I
-></TT
->, it maybe necessary to impose certain tolerances on these values to account for jitter. It is worth noting that some joysticks use axes 2 and 3 for extra buttons.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6341"
-></A
-><H2
->Return Value</H2
-><P
->Returns a 16-bit signed integer representing the current position of the <TT
-CLASS="PARAMETER"
-><I
->axis</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6345"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->Sint16 x_move, y_move;
-SDL_Joystick *joy1;
-.
-.
-x_move=SDL_JoystickGetAxis(joy1, 0);
-y_move=SDL_JoystickGetAxis(joy1, 1);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6349"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoysticknumaxes.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumAxes</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickupdate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickgethat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickUpdate</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickGetHat</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickgetball.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickGetBall</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickGetButton"
-HREF="sdljoystickgetbutton.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickClose"
-HREF="sdljoystickclose.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetbutton.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickclose.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKGETBALL"
-></A
->SDL_JoystickGetBall</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6433"
-></A
-><H2
->Name</H2
->SDL_JoystickGetBall&nbsp;--&nbsp;Get relative trackball motion</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6436"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6437"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickGetBall</B
-></CODE
->(SDL_Joystick *joystick, int ball, int *dx, int *dy);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6443"
-></A
-><H2
->Description</H2
-><P
->Get the <TT
-CLASS="PARAMETER"
-><I
->ball</I
-></TT
-> axis change.</P
-><P
->Trackballs can only return relative motion since the last call to <TT
-CLASS="FUNCTION"
->SDL_JoystickGetBall</TT
->, these motion deltas a placed into <TT
-CLASS="PARAMETER"
-><I
->dx</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->dy</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6451"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on failure</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6456"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->int delta_x, delta_y;
-SDL_Joystick *joy;
-.
-.
-.
-SDL_JoystickUpdate();
-if(SDL_JoystickGetBall(joy, 0, &#38;delta_x, &#38;delta_y)==-1)
-  printf("TrackBall Read Error!\n");
-printf("Trackball Delta- X:%d, Y:%d\n", delta_x, delta_y);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6460"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoysticknumballs.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumBalls</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickgetbutton.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickclose.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickGetButton</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickClose</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickgetbutton.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickGetButton</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickGetHat"
-HREF="sdljoystickgethat.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickGetBall"
-HREF="sdljoystickgetball.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgethat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetball.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKGETBUTTON"
-></A
->SDL_JoystickGetButton</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6404"
-></A
-><H2
->Name</H2
->SDL_JoystickGetButton&nbsp;--&nbsp;Get the current state of a given button on a given joystick</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6407"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6408"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_JoystickGetButton</B
-></CODE
->(SDL_Joystick *joystick, int button);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6414"
-></A
-><H2
->Description</H2
-><P
->SDL_JoystickGetButton returns the current state of the given <TT
-CLASS="PARAMETER"
-><I
->button</I
-></TT
-> on the given <TT
-CLASS="PARAMETER"
-><I
->joystick</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6419"
-></A
-><H2
->Return Value</H2
-><P
-><SPAN
-CLASS="RETURNVALUE"
->1</SPAN
-> if the button is pressed. Otherwise, <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6424"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoysticknumbuttons.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumButtons</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickgethat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickgetball.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickGetHat</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickGetBall</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickgethat.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,297 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickGetHat</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickGetAxis"
-HREF="sdljoystickgetaxis.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickGetButton"
-HREF="sdljoystickgetbutton.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetaxis.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetbutton.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKGETHAT"
-></A
->SDL_JoystickGetHat</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6358"
-></A
-><H2
->Name</H2
->SDL_JoystickGetHat&nbsp;--&nbsp;Get the current state of a joystick hat</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6361"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6362"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint8 <B
-CLASS="FSFUNC"
->SDL_JoystickGetHat</B
-></CODE
->(SDL_Joystick *joystick, int hat);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6368"
-></A
-><H2
->Description</H2
-><P
->SDL_JoystickGetHat returns the current state of the given <TT
-CLASS="PARAMETER"
-><I
->hat</I
-></TT
-> on the given <TT
-CLASS="PARAMETER"
-><I
->joystick</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6373"
-></A
-><H2
->Return Value</H2
-><P
->The current state is returned as a Uint8 which is defined as an OR'd combination of one or more of the following</P
-><P
-></P
-><TABLE
-BORDER="0"
-><TBODY
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_CENTERED</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_UP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHT</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_DOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFT</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_RIGHTDOWN</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTUP</TT
-></TD
-></TR
-><TR
-><TD
-><TT
-CLASS="LITERAL"
->SDL_HAT_LEFTDOWN</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6395"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoysticknumhats.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickNumHats</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickgetaxis.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickgetbutton.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickGetAxis</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickGetButton</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickindex.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,218 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickIndex</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickOpened"
-HREF="sdljoystickopened.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickNumAxes"
-HREF="sdljoysticknumaxes.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickopened.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumaxes.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKINDEX"
-></A
->SDL_JoystickIndex</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6158"
-></A
-><H2
->Name</H2
->SDL_JoystickIndex&nbsp;--&nbsp;Get the index of an SDL_Joystick.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6161"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6162"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickIndex</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6168"
-></A
-><H2
->Description</H2
-><P
->Returns the index of a given <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
-> structure.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6172"
-></A
-><H2
->Return Value</H2
-><P
->Index number of the joystick.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6175"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickopened.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoysticknumaxes.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickOpened</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickNumAxes</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickname.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickName</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_NumJoysticks"
-HREF="sdlnumjoysticks.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickOpen"
-HREF="sdljoystickopen.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlnumjoysticks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickopen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKNAME"
-></A
->SDL_JoystickName</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6066"
-></A
-><H2
->Name</H2
->SDL_JoystickName&nbsp;--&nbsp;Get joystick name.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6069"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6070"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->const char *<B
-CLASS="FSFUNC"
->SDL_JoystickName</B
-></CODE
->(int index);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6076"
-></A
-><H2
->Description</H2
-><P
->Get the implementation dependent name of joystick. The <TT
-CLASS="PARAMETER"
-><I
->index</I
-></TT
-> parameter refers to the N'th joystick on the system.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6080"
-></A
-><H2
->Return Value</H2
-><P
->Returns a char pointer to the joystick name.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6083"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->/* Print the names of all attached joysticks */
-int num_joy, i;
-num_joy=SDL_NumJoysticks();
-printf("%d joysticks found\n", num_joy);
-for(i=0;i&#60;num_joy;i++)
-  printf("%s\n", SDL_JoystickName(i));</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6087"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlnumjoysticks.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickopen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_NumJoysticks</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickOpen</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoysticknumaxes.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickNumAxes</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickIndex"
-HREF="sdljoystickindex.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickNumBalls"
-HREF="sdljoysticknumballs.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickindex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumballs.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKNUMAXES"
-></A
->SDL_JoystickNumAxes</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6184"
-></A
-><H2
->Name</H2
->SDL_JoystickNumAxes&nbsp;--&nbsp;Get the number of joystick axes</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6187"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6188"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickNumAxes</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6194"
-></A
-><H2
->Description</H2
-><P
->Return the number of axes available from a previously opened <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6198"
-></A
-><H2
->Return Value</H2
-><P
->Number of axes.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6201"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickgetaxis.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetAxis</TT
-></A
->,
-<A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickindex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoysticknumballs.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickIndex</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickNumBalls</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoysticknumballs.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickNumBalls</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickNumAxes"
-HREF="sdljoysticknumaxes.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickNumHats"
-HREF="sdljoysticknumhats.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumaxes.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumhats.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKNUMBALLS"
-></A
->SDL_JoystickNumBalls</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6212"
-></A
-><H2
->Name</H2
->SDL_JoystickNumBalls&nbsp;--&nbsp;Get the number of joystick trackballs</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6215"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6216"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickNumBalls</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6222"
-></A
-><H2
->Description</H2
-><P
->Return the number of trackballs available from a previously opened <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6226"
-></A
-><H2
->Return Value</H2
-><P
->Number of trackballs.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6229"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickgetball.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetBall</TT
-></A
->,
-<A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoysticknumaxes.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoysticknumhats.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickNumAxes</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickNumHats</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoysticknumbuttons.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickNumButtons</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickNumHats"
-HREF="sdljoysticknumhats.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickUpdate"
-HREF="sdljoystickupdate.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumhats.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickupdate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKNUMBUTTONS"
-></A
->SDL_JoystickNumButtons</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6268"
-></A
-><H2
->Name</H2
->SDL_JoystickNumButtons&nbsp;--&nbsp;Get the number of joysitck buttons</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6271"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6272"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickNumButtons</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6278"
-></A
-><H2
->Description</H2
-><P
->Return the number of buttons available from a previously opened <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6282"
-></A
-><H2
->Return Value</H2
-><P
->Number of buttons.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6285"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickgetbutton.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetButton</TT
-></A
->,
-<A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoysticknumhats.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickupdate.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickNumHats</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickUpdate</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoysticknumhats.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickNumHats</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickNumBalls"
-HREF="sdljoysticknumballs.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickNumButtons"
-HREF="sdljoysticknumbuttons.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumballs.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumbuttons.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKNUMHATS"
-></A
->SDL_JoystickNumHats</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6240"
-></A
-><H2
->Name</H2
->SDL_JoystickNumHats&nbsp;--&nbsp;Get the number of joystick hats</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6243"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6244"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickNumHats</B
-></CODE
->(SDL_Joystick *joystick);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6250"
-></A
-><H2
->Description</H2
-><P
->Return the number of hats available from a previously opened <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6254"
-></A
-><H2
->Return Value</H2
-><P
->Number of hats.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6257"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickgethat.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickGetHat</TT
-></A
->,
-<A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoysticknumballs.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoysticknumbuttons.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickNumBalls</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickNumButtons</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickopen.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,259 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickOpen</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickName"
-HREF="sdljoystickname.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickOpened"
-HREF="sdljoystickopened.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickopened.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKOPEN"
-></A
->SDL_JoystickOpen</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6096"
-></A
-><H2
->Name</H2
->SDL_JoystickOpen&nbsp;--&nbsp;Opens a joystick for use.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6099"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6100"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Joystick *<B
-CLASS="FSFUNC"
->SDL_JoystickOpen</B
-></CODE
->(int index);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6106"
-></A
-><H2
->Description</H2
-><P
->Opens a joystick for use within SDL. The <TT
-CLASS="PARAMETER"
-><I
->index</I
-></TT
-> refers to the N'th joystick in the system. A joystick must be opened before it game be used.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6110"
-></A
-><H2
->Return Value</H2
-><P
->Returns a <SPAN
-CLASS="STRUCTNAME"
->SDL_Joystick</SPAN
-> structure on success. <SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> on failure.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6115"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_Joystick *joy;
-// Check for joystick
-if(SDL_NumJoysticks()&#62;0){
-  // Open joystick
-  joy=SDL_JoystickOpen(0);
-  
-  if(joy)
-  {
-    printf("Opened Joystick 0\n");
-    printf("Name: %s\n", SDL_JoystickName(0));
-    printf("Number of Axes: %d\n", SDL_JoystickNumAxes(joy));
-    printf("Number of Buttons: %d\n", SDL_JoystickNumButtons(joy));
-    printf("Number of Balls: %d\n", SDL_JoystickNumBalls(joy));
-  }
-  else
-    printf("Couldn't open Joystick 0\n");
-  
-  // Close if opened
-  if(SDL_JoystickOpened(0))
-    SDL_JoystickClose(joy);
-}</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6119"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickclose.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickClose</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickname.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickopened.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickName</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickOpened</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickopened.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickOpened</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickOpen"
-HREF="sdljoystickopen.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickIndex"
-HREF="sdljoystickindex.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoystickopen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickindex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKOPENED"
-></A
->SDL_JoystickOpened</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6128"
-></A
-><H2
->Name</H2
->SDL_JoystickOpened&nbsp;--&nbsp;Determine if a joystick has been opened</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6131"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6132"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_JoystickOpened</B
-></CODE
->(int index);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6138"
-></A
-><H2
->Description</H2
-><P
->Determines whether a joystick has already been opened within the application. <TT
-CLASS="PARAMETER"
-><I
->index</I
-></TT
-> refers to the N'th joystick on the system.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6142"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
-> if the joystick has been opened, or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if it has not.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6147"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
->,
-<A
-HREF="sdljoystickclose.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickClose</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoystickopen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickindex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickOpen</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickIndex</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdljoystickupdate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,211 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_JoystickUpdate</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoystickNumButtons"
-HREF="sdljoysticknumbuttons.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickGetAxis"
-HREF="sdljoystickgetaxis.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoysticknumbuttons.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickgetaxis.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLJOYSTICKUPDATE"
-></A
->SDL_JoystickUpdate</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6296"
-></A
-><H2
->Name</H2
->SDL_JoystickUpdate&nbsp;--&nbsp;Updates the state of all joysticks</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6299"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6300"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_JoystickUpdate</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6306"
-></A
-><H2
->Description</H2
-><P
->Updates the state(position, buttons, etc.) of all open joysticks. If joystick events have been enabled with <A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
-> then this is called automatically in the event loop.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6311"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickeventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickEventState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoysticknumbuttons.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickgetaxis.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoystickNumButtons</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickGetAxis</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlkey.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2630 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDLKey</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_keysym"
-HREF="sdlkeysym.html"><LINK
-REL="NEXT"
-TITLE="Event Functions."
-HREF="eventfunctions.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlkeysym.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLKEY"
-></A
->SDLKey</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4714"
-></A
-><H2
->Name</H2
->SDLKey&nbsp;--&nbsp;Keysym definitions.</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4717"
-></A
-><H2
->Description</H2
-><P
->&#13;<DIV
-CLASS="TABLE"
-><A
-NAME="AEN4720"
-></A
-><P
-><B
->Table 8-1. SDL Keysym definitions</B
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><THEAD
-><TR
-><TH
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLKey</TH
-><TH
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->ASCII value</TH
-><TH
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Common name</TH
-></TR
-></THEAD
-><TBODY
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_BACKSPACE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'\b'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->backspace</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_TAB</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'\t'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->tab</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_CLEAR</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->clear</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RETURN</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'\r'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->return</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PAUSE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->pause</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_ESCAPE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'^['</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->escape</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_SPACE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->' '</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->space</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_EXCLAIM</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'!'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->exclaim</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_QUOTEDBL</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'"'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->quotedbl</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_HASH</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'#'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->hash</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_DOLLAR</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'$'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->dollar</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_AMPERSAND</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'&#38;'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->ampersand</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_QUOTE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'''</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->quote</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LEFTPAREN</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'('</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left parenthesis</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RIGHTPAREN</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->')'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right parenthesis</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_ASTERISK</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'*'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->asterisk</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PLUS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'+'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->plus sign</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_COMMA</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->','</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->comma</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_MINUS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'-'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->minus sign</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PERIOD</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'.'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->period</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_SLASH</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'/'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->forward slash</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_0</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'0'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->0</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_1</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'1'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->1</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_2</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'2'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->2</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_3</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'3'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->3</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_4</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'4'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->4</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_5</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'5'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->5</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_6</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'6'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->6</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_7</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'7'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->7</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_8</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'8'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->8</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_9</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'9'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->9</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_COLON</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->':'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->colon</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_SEMICOLON</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->';'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->semicolon</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LESS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'&lt;'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->less-than sign</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_EQUALS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'='</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->equals sign</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_GREATER</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'&gt;'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->greater-than sign</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_QUESTION</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'?'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->question mark</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_AT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'@'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->at</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LEFTBRACKET</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'['</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left bracket</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_BACKSLASH</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'\'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->backslash</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RIGHTBRACKET</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->']'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right bracket</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_CARET</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'^'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->caret</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_UNDERSCORE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'_'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->underscore</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_BACKQUOTE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'`'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->grave</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_a</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'a'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->a</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_b</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'b'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->b</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_c</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'c'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->c</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_d</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'d'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->d</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_e</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'e'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->e</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_f</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'f'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->f</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_g</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'g'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->g</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_h</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'h'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->h</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_i</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'i'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->i</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_j</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'j'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->j</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_k</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'k'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->k</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_l</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'l'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->l</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_m</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'m'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->m</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_n</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'n'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->n</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_o</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'o'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->o</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_p</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'p'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->p</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_q</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'q'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->q</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_r</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'r'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->r</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_s</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'s'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->s</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_t</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'t'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->t</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_u</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'u'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->u</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_v</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'v'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->v</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_w</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'w'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->w</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_x</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'x'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->x</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_y</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'y'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->y</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_z</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'z'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->z</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_DELETE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'^?'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->delete</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP0</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 0</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP1</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 1</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP2</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 2</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP3</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 3</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP4</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 4</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP5</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 5</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP6</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 6</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP7</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 7</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP8</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 8</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP9</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad 9</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_PERIOD</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'.'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad period</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_DIVIDE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'/'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad divide</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_MULTIPLY</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'*'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad multiply</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_MINUS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'-'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad minus</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_PLUS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'+'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad plus</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_ENTER</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'\r'</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad enter</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_KP_EQUALS</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->'='</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->keypad equals</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_UP</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->up arrow</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_DOWN</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->down arrow</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RIGHT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right arrow</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LEFT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left arrow</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_INSERT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->insert</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_HOME</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->home</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_END</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->end</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PAGEUP</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->page up</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PAGEDOWN</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->page down</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F1</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F1</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F2</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F2</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F3</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F3</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F4</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F4</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F5</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F5</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F6</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F6</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F7</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F7</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F8</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F8</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F9</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F9</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F10</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F10</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F11</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F11</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F12</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F12</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F13</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F13</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F14</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F14</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_F15</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->F15</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_NUMLOCK</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->numlock</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_CAPSLOCK</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->capslock</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_SCROLLOCK</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->scrollock</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RSHIFT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right shift</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LSHIFT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left shift</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RCTRL</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right ctrl</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LCTRL</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left ctrl</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RALT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right alt</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LALT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left alt</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RMETA</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right meta</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LMETA</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left meta</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_LSUPER</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->left windows key</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_RSUPER</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->right windows key</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_MODE</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->mode shift</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_HELP</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->help</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_PRINT</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->print-screen</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_SYSREQ</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SysRq</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_BREAK</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->break</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_MENU</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->menu</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_POWER</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->power</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDLK_EURO</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->&nbsp;</TD
-><TD
-WIDTH="33%"
-ALIGN="LEFT"
-VALIGN="TOP"
->euro</TD
-></TR
-></TBODY
-></TABLE
-></DIV
->
-
-<DIV
-CLASS="TABLE"
-><A
-NAME="SDLMOD"
-></A
-><P
-><B
->Table 8-2. SDL modifier definitions</B
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><THEAD
-><TR
-><TH
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->SDL Modifier</TH
-><TH
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Meaning</TH
-></TR
-></THEAD
-><TBODY
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_NONE</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->No modifiers applicable</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_NUM</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Numlock is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_CAPS</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Capslock is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_LCTRL</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Left Control is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_RCTRL</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Right Control is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_RSHIFT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Right Shift is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_LSHIFT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Left Shift is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_RALT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Right Alt is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_LALT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->Left Alt is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_CTRL</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->A Control key is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_SHIFT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->A Shift key is down</TD
-></TR
-><TR
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->KMOD_ALT</TD
-><TD
-WIDTH="50%"
-ALIGN="LEFT"
-VALIGN="TOP"
->An Alt key is down</TD
-></TR
-></TBODY
-></TABLE
-></DIV
->&#13;</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlkeysym.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_keysym</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Event Functions.</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlkeyboardevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,375 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_KeyboardEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ActiveEvent"
-HREF="sdlactiveevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_MouseMotionEvent"
-HREF="sdlmousemotionevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlactiveevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmousemotionevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLKEYBOARDEVENT"
-></A
->SDL_KeyboardEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4011"
-></A
-><H2
->Name</H2
->SDL_KeyboardEvent&nbsp;--&nbsp;Keyboard event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4014"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 state;
-  SDL_keysym keysym;
-} SDL_KeyboardEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4017"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4019"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_KEYUP</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
-> or <TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->keysym</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Contains key press information</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4038"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_KEYUP</TT
-> is reported.</P
-><P
->The <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-> actually report the same information, they just use different values to do it! A keyboard event occurs when a key is released (<TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
->=<TT
-CLASS="LITERAL"
->SDK_KEYUP</TT
-> or <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
->=<TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
->) and when a key is pressed (<TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
->=<TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
-> or <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
->=<TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
->). The information on what key was pressed or released is in the <A
-HREF="sdlkeysym.html"
-><SPAN
-CLASS="STRUCTNAME"
->keysym</SPAN
-></A
-> structure.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Repeating <TT
-CLASS="LITERAL"
->SDL_KEYDOWN</TT
-> events will occur if key repeat is enabled (see <A
-HREF="sdlenablekeyrepeat.html"
-><TT
-CLASS="FUNCTION"
->SDL_EnableKeyRepeat</TT
-></A
->).</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4064"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlkeysym.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-></A
->,
-<A
-HREF="sdlenablekeyrepeat.html"
-><TT
-CLASS="FUNCTION"
->SDL_EnableKeyRepeat</TT
-></A
->,
-<A
-HREF="sdlenableunicode.html"
-><TT
-CLASS="FUNCTION"
->SDL_EnableUNICODE</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlactiveevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmousemotionevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ActiveEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_MouseMotionEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlkeysym.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,355 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_keysym</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_QuitEvent"
-HREF="sdlquitevent.html"><LINK
-REL="NEXT"
-TITLE="SDLKey"
-HREF="sdlkey.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlquitevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlkey.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLKEYSYM"
-></A
->SDL_keysym</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4659"
-></A
-><H2
->Name</H2
->SDL_keysym&nbsp;--&nbsp;Keysym structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4662"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 scancode;
-  SDLKey sym;
-  SDLMod mod;
-  Uint16 unicode;
-} SDL_keysym;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4665"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4667"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->scancode</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Hardware specific scancode</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->sym</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->SDL virtual keysym</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->mod</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Current key modifiers</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->unicode</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Translated character</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4686"
-></A
-><H2
->Description</H2
-><P
->The <SPAN
-CLASS="STRUCTNAME"
->SDL_keysym</SPAN
-> structure is used by reporting key presses and releases since it is a part of the <A
-HREF="sdlkeyboardevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-></A
->.</P
-><P
->The <TT
-CLASS="STRUCTFIELD"
-><I
->scancode</I
-></TT
-> field should generally be left alone, it is the hardware dependent scancode returned by the keyboard. The <TT
-CLASS="STRUCTFIELD"
-><I
->sym</I
-></TT
-> field is extremely useful. It is the SDL-defined value of the key (see <A
-HREF="sdlkey.html"
->SDL Key Syms</A
->. This field is very useful when you are checking for certain key presses, like so:
-<PRE
-CLASS="PROGRAMLISTING"
->.
-.
-while(SDL_PollEvent(&#38;event)){
-  switch(event.type){
-    case SDL_KEYDOWN:
-      if(event.key.keysym.sym==SDLK_LEFT)
-        move_left();
-      break;
-    .
-    .
-    .
-  }
-}
-.
-.</PRE
->
-<TT
-CLASS="STRUCTFIELD"
-><I
->mod</I
-></TT
-> stores the current state of the keyboard modifiers as explained in <A
-HREF="sdlgetmodstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetModState</TT
-></A
->. The <TT
-CLASS="STRUCTFIELD"
-><I
->unicode</I
-></TT
-> is only used when UNICODE translation is enabled with <A
-HREF="sdlenableunicode.html"
-><TT
-CLASS="FUNCTION"
->SDL_EnableUNICODE</TT
-></A
->. If <TT
-CLASS="STRUCTFIELD"
-><I
->unicode</I
-></TT
-> is non-zero then this a the UNICODE character corresponding to the keypress. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character:
-<PRE
-CLASS="PROGRAMLISTING"
->char ch;
-if ( (keysym.unicode &#38; 0xFF80) == 0 ) {
-  ch = keysym.unicode &#38; 0x7F;
-}
-else {
-  printf("An International Character.\n");
-}</PRE
->
-UNICODE translation does have a slight overhead so don't enable it unless its needed.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4705"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlkey.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDLKey</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlquitevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlkey.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_QuitEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDLKey</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlkillthread.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,223 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_KillThread</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WaitThread"
-HREF="sdlwaitthread.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateMutex"
-HREF="sdlcreatemutex.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwaitthread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatemutex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLKILLTHREAD"
-></A
->SDL_KillThread</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7794"
-></A
-><H2
->Name</H2
->SDL_KillThread&nbsp;--&nbsp;Gracelessly terminates the thread.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7797"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7798"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_KillThread</B
-></CODE
->(SDL_Thread *thread);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7804"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_KillThread</TT
-> gracelessly terminates the thread 
-associated with <TT
-CLASS="PARAMETER"
-><I
->thread</I
-></TT
->.  If possible, you should 
-use some other form of IPC to signal the thread to quit.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7809"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatethread.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateThread</TT
-></A
->,
-<A
-HREF="sdlwaitthread.html"
-><TT
-CLASS="FUNCTION"
->SDL_WaitThread</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwaitthread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatemutex.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WaitThread</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateMutex</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdllistmodes.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,310 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ListModes</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_VideoDriverName"
-HREF="sdlvideodrivername.html"><LINK
-REL="NEXT"
-TITLE="SDL_VideoModeOK"
-HREF="sdlvideomodeok.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlvideodrivername.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlvideomodeok.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLISTMODES"
-></A
->SDL_ListModes</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1159"
-></A
-><H2
->Name</H2
->SDL_ListModes&nbsp;--&nbsp;Returns a pointer to an array of available screen dimensions for 
-the given format and video flags</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1162"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1163"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Rect **<B
-CLASS="FSFUNC"
->SDL_ListModes</B
-></CODE
->(SDL_PixelFormat *format, Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1169"
-></A
-><H2
->Description</H2
-><P
->Return a pointer to an array of available screen dimensions for the given
-format and video flags, sorted largest to smallest.  Returns
-<TT
-CLASS="LITERAL"
->NULL</TT
-> if there are no dimensions available for a particular
-format, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if any dimension is okay for
-the given format.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->format</I
-></TT
-> is <TT
-CLASS="LITERAL"
->NULL</TT
->, the mode list
-will be for the format returned by <A
-HREF="sdlgetvideoinfo.html"
->SDL_GetVideoInfo()</A
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->vfmt</I
-></TT
->. The <TT
-CLASS="PARAMETER"
-><I
->flag</I
-></TT
-> parameter is an OR'd combination of <A
-HREF="sdlsurface.html"
->surface</A
-> flags. The flags are the same as those used <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-> and they play a strong role in deciding what modes are valid. For instance, if you pass <TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-> as a flag only modes that support hardware video surfaces will be returned.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1184"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_Rect **modes;
-int i;
-.
-.
-.
-
-/* Get available fullscreen/hardware modes */
-modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
-
-/* Check is there are any modes available */
-if(modes == (SDL_Rect **)0){
-  printf("No modes available!\n");
-  exit(-1);
-}
-
-/* Check if our resolution is restricted */
-if(modes == (SDL_Rect **)-1){
-  printf("All resolutions available.\n");
-}
-else{
-  /* Print valid modes */
-  printf("Available Modes\n");
-  for(i=0;modes[i];++i)
-    printf("  %d x %d\n", modes[i]-&#62;w, modes[i]-&#62;h);
-}
-.
-.</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1187"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlgetvideoinfo.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetVideoInfo</TT
-></A
->,
-<A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
->,
-<A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlvideodrivername.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlvideomodeok.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_VideoDriverName</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_VideoModeOK</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlloadbmp.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_LoadBMP</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UnlockSurface"
-HREF="sdlunlocksurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_SaveBMP"
-HREF="sdlsavebmp.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlunlocksurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsavebmp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLOADBMP"
-></A
->SDL_LoadBMP</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1989"
-></A
-><H2
->Name</H2
->SDL_LoadBMP&nbsp;--&nbsp;Load a Windows BMP file into an SDL_Surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1992"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1993"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_LoadBMP</B
-></CODE
->(const char *file);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1999"
-></A
-><H2
->Description</H2
-><P
->Loads a surface from a named Windows BMP file.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2002"
-></A
-><H2
->Return Value</H2
-><P
->Returns the new surface, or <TT
-CLASS="LITERAL"
->NULL</TT
-> 
-if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2006"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsavebmp.html"
-><TT
-CLASS="FUNCTION"
->SDL_SaveBMP</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlunlocksurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsavebmp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UnlockSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SaveBMP</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlloadwav.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,296 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_LoadWAV</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetAudioStatus"
-HREF="sdlgetaudiostatus.html"><LINK
-REL="NEXT"
-TITLE="SDL_FreeWAV"
-HREF="sdlfreewav.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetaudiostatus.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlfreewav.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLOADWAV"
-></A
->SDL_LoadWAV</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6816"
-></A
-><H2
->Name</H2
->SDL_LoadWAV&nbsp;--&nbsp;Load a WAVE file</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6819"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6820"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_AudioSpec *<B
-CLASS="FSFUNC"
->SDL_LoadWAV</B
-></CODE
->(const char *file, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6826"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_LoadWAV</TT
->
-This function loads a WAVE <TT
-CLASS="PARAMETER"
-><I
->file</I
-></TT
-> into memory.</P
-><P
->If this function succeeds, it returns the given 
-<A
-HREF="sdlaudiospec.html"
-><TT
-CLASS="FUNCTION"
->SDL_AudioSpec</TT
-></A
->, 
-filled with the audio data format of the wave data, and sets 
-<TT
-CLASS="PARAMETER"
-><I
->audio_buf</I
-></TT
-> to a <TT
-CLASS="FUNCTION"
->malloc</TT
->'d 
-buffer containing the audio data, and sets <TT
-CLASS="PARAMETER"
-><I
->audio_len</I
-></TT
-> 
-to the length of that audio buffer, in bytes.  You need to free the audio 
-buffer with <A
-HREF="sdlfreewav.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeWAV</TT
-></A
-> when you are
-done with it.</P
-><P
->This function returns <TT
-CLASS="LITERAL"
->NULL</TT
-> and sets the SDL 
-error message if the wave file cannot be opened, uses an unknown data format, 
-or is corrupt.  Currently raw, MS-ADPCM and IMA-ADPCM WAVE files are supported.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6841"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_AudioSpec wav_spec;
-Uint32 wav_length;
-Uint8 *wav_buffer;
-
-/* Load the WAV */
-if( SDL_LoadWAV("test.wav", &#38;wav_spec, &#38;wav_buffer, &#38;wav_length) == NULL ){
-  fprintf(stderr, "Could not open test.wav: %s\n", SDL_GetError());
-  exit(-1);
-}
-.
-.
-.
-/* Do stuff with the WAV */
-.
-.
-/* Free It */
-SDL_FreeWAV(wav_buffer);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6844"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-></A
->,
-<A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
->,
-<A
-HREF="sdlfreewav.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeWAV</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetaudiostatus.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlfreewav.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetAudioStatus</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_FreeWAV</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdllockaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_LockAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_MixAudio"
-HREF="sdlmixaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_UnlockAudio"
-HREF="sdlunlockaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmixaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlunlockaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLOCKAUDIO"
-></A
->SDL_LockAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7134"
-></A
-><H2
->Name</H2
->SDL_LockAudio&nbsp;--&nbsp;Lock out the callback function</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7137"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7138"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_LockAudio</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7144"
-></A
-><H2
->Description</H2
-><P
->The lock manipulated by these functions protects the callback function.
-During a LockAudio period, you can be guaranteed that the
-callback function is not running.  Do not call these from the callback
-function or you will cause deadlock.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7147"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmixaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlunlockaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_MixAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UnlockAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdllocksurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,306 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_LockSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_FreeSurface"
-HREF="sdlfreesurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_UnlockSurface"
-HREF="sdlunlocksurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlfreesurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlunlocksurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLOCKSURFACE"
-></A
->SDL_LockSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1919"
-></A
-><H2
->Name</H2
->SDL_LockSurface&nbsp;--&nbsp;Lock a surface for directly access.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1922"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1923"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_LockSurface</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1929"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-> sets up a surface for directly 
-accessing the pixels.  Between calls to <TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
->
-and <TT
-CLASS="FUNCTION"
->SDL_UnlockSurface</TT
->, you can write to and read from 
-<TT
-CLASS="PARAMETER"
-><I
->surface-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-></I
-></TT
->, using the pixel format stored in
-<TT
-CLASS="PARAMETER"
-><I
->surface-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></I
-></TT
->.  Once you are done accessing the
-surface, you should use <TT
-CLASS="FUNCTION"
->SDL_UnlockSurface</TT
-> to release it.</P
-><P
->Not all surfaces require locking.  
-If <TT
-CLASS="LITERAL"
->SDL_MUSTLOCK</TT
->(<TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
->)
-evaluates to <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, then you can read and write to the 
-surface at any time, and the pixel format of the surface will not change. </P
-><P
->No operating system or library calls should be made between lock/unlock
-pairs, as critical system locks may be held during this time.</P
-><P
->It should be noted, that since SDL 1.1.8 surface locks are recursive. This means that you can lock a surface multiple times, but each lock must have a match unlock.
-<PRE
-CLASS="PROGRAMLISTING"
->    .
-    .
-    SDL_LockSurface( surface );
-    .
-    /* Surface is locked */
-    /* Direct pixel access on surface here */
-    .
-    SDL_LockSurface( surface );
-    .
-    /* More direct pixel access on surface */
-    .
-    SDL_UnlockSurface( surface );
-    /* Surface is still locked */
-    /* Note: Is versions &#60; 1.1.8, the surface would have been */
-    /* no longer locked at this stage                         */
-    .
-    SDL_UnlockSurface( surface );
-    /* Surface is now unlocked */
-    .
-    .</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1947"
-></A
-><H2
->Return Value</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-> returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, 
-or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if the surface couldn't be locked.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1953"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlunlocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlfreesurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlunlocksurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_FreeSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UnlockSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdllockyuvoverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,252 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_LockYUVOverlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateYUVOverlay"
-HREF="sdlcreateyuvoverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_UnlockYUVOverlay"
-HREF="sdlunlockyuvoverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreateyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlunlockyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLLOCKYUVOVERLAY"
-></A
->SDL_LockYUVOverlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2844"
-></A
-><H2
->Name</H2
->SDL_LockYUVOverlay&nbsp;--&nbsp;Lock an overlay</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2847"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2848"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_LockYUVOverlay</B
-></CODE
->(SDL_Overlay *overlay);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2854"
-></A
-><H2
->Description</H2
-><P
->Much the same as <A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
->, <TT
-CLASS="FUNCTION"
->SDL_LockYUVOverlay</TT
-> locks the <A
-HREF="sdloverlay.html"
-><TT
-CLASS="PARAMETER"
-><I
->overlay</I
-></TT
-></A
-> for direct access to pixel data.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2862"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2867"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlunlockyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
->,
-<A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreateyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlunlockyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateYUVOverlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UnlockYUVOverlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmaprgb.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,254 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_MapRGB</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetGammaRamp"
-HREF="sdlsetgammaramp.html"><LINK
-REL="NEXT"
-TITLE="SDL_MapRGBA"
-HREF="sdlmaprgba.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetgammaramp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmaprgba.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMAPRGB"
-></A
->SDL_MapRGB</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1652"
-></A
-><H2
->Name</H2
->SDL_MapRGB&nbsp;--&nbsp;Map a RGB color value to a pixel format.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1655"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1656"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_MapRGB</B
-></CODE
->(SDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1662"
-></A
-><H2
->Description</H2
-><P
->Maps the RGB color value to the specified pixel format and returns the
-pixel value as a 32-bit int.</P
-><P
->If the format has a palette (8-bit) the index of the closest matching
-color in the palette will be returned.</P
-><P
->If the specified pixel format has an alpha component it will be returned
-as all 1 bits (fully opaque).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1667"
-></A
-><H2
->Return Value</H2
-><P
->A pixel value best approximating the given RGB color value for a given
-pixel format. If the pixel format bpp (color depth) is less than 32-bpp
-then the unused upper bits of the return value can safely be ignored
-(e.g., with a 16-bpp format the return value can be assigned to a
-<SPAN
-CLASS="TYPE"
->Uint16</SPAN
->, and similarly a <SPAN
-CLASS="TYPE"
->Uint8</SPAN
-> for an 8-bpp
-format).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1672"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetrgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetRGB</TT
-></A
->,
-<A
-HREF="sdlgetrgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetRGBA</TT
-></A
->,
-<A
-HREF="sdlmaprgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGBA</TT
-></A
->,
-<A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetgammaramp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmaprgba.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetGammaRamp</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_MapRGBA</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmaprgba.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,242 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_MapRGBA</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_MapRGB"
-HREF="sdlmaprgb.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetRGB"
-HREF="sdlgetrgb.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmaprgb.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetrgb.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMAPRGBA"
-></A
->SDL_MapRGBA</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1687"
-></A
-><H2
->Name</H2
->SDL_MapRGBA&nbsp;--&nbsp;Map a RGBA color value to a pixel format.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1690"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1691"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_MapRGBA</B
-></CODE
->(SDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b, Uint8 a);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1697"
-></A
-><H2
->Description</H2
-><P
->Maps the RGBA color value to the specified pixel format and returns the
-pixel value as a 32-bit int.</P
-><P
->If the format has a palette (8-bit) the index of the closest matching
-color in the palette will be returned.</P
-><P
->If the specified pixel format has no alpha component the alpha value
-will be ignored (as it will be in formats with a palette).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1702"
-></A
-><H2
->Return Value</H2
-><P
->A pixel value best approximating the given RGBA color value for a given
-pixel format. If the pixel format bpp (color depth) is less than 32-bpp
-then the unused upper bits of the return value can safely be ignored
-(e.g., with a 16-bpp format the return value can be assigned to a
-<SPAN
-CLASS="TYPE"
->Uint16</SPAN
->, and similarly a <SPAN
-CLASS="TYPE"
->Uint8</SPAN
-> for an 8-bpp
-format).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1707"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetrgb.html"
->SDL_GetRGB</A
->,
-<A
-HREF="sdlgetrgba.html"
->SDL_GetRGBA</A
->,
-<A
-HREF="sdlmaprgb.html"
->SDL_MapRGB</A
->,
-<A
-HREF="sdlpixelformat.html"
->SDL_PixelFormat</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmaprgb.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetrgb.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_MapRGB</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetRGB</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmixaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,237 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_MixAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ConvertAudio"
-HREF="sdlconvertaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_LockAudio"
-HREF="sdllockaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlconvertaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdllockaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMIXAUDIO"
-></A
->SDL_MixAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7107"
-></A
-><H2
->Name</H2
->SDL_MixAudio&nbsp;--&nbsp;Mix audio data</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7110"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7111"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_MixAudio</B
-></CODE
->(Uint8 *dst, Uint8 *src, Uint32 len, int volume);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7117"
-></A
-><H2
->Description</H2
-><P
->This function takes two audio buffers of <TT
-CLASS="PARAMETER"
-><I
->len</I
-></TT
-> bytes each
-of the playing audio format and mixes them, performing addition, volume
-adjustment, and overflow clipping. The <TT
-CLASS="PARAMETER"
-><I
->volume</I
-></TT
-> ranges
-from 0 to <TT
-CLASS="LITERAL"
->SDL_MIX_MAXVOLUME</TT
-> and should be set to the maximum
-value for full audio volume. Note this does not change hardware volume. This is
-provided for convenience -- you can mix your own audio data.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Do not use this function for mixing together more than two streams of sample
-data. The output from repeated application of this function may be distorted
-by clipping, because there is no accumulator with greater range than the
-input (not to mention this being an inefficient way of doing it).
-Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7125"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlconvertaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdllockaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ConvertAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_LockAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmousebuttonevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,346 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_MouseButtonEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_MouseMotionEvent"
-HREF="sdlmousemotionevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoyAxisEvent"
-HREF="sdljoyaxisevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmousemotionevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoyaxisevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMOUSEBUTTONEVENT"
-></A
->SDL_MouseButtonEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4144"
-></A
-><H2
->Name</H2
->SDL_MouseButtonEvent&nbsp;--&nbsp;Mouse button event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4147"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 button;
-  Uint8 state;
-  Uint16 x, y;
-} SDL_MouseButtonEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4150"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4152"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_MOUSEBUTTONDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_MOUSEBUTTONUP</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->button</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_PRESSED</TT
-> or <TT
-CLASS="LITERAL"
->SDL_RELEASED</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->x</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->y</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The X/Y coordinates of the mouse at press/release time</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4176"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseButtonEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_MOUSEBUTTONDOWN</TT
-> or <TT
-CLASS="LITERAL"
->SDL_MOUSEBUTTONUP</TT
-> is reported.</P
-><P
->When a mouse button press or release is detected then number of the button pressed (from 1 to 255, with 1 usually being the left button and 2 the right) is placed into <TT
-CLASS="STRUCTFIELD"
-><I
->button</I
-></TT
->, the position of the mouse when this event occured is stored in the <TT
-CLASS="STRUCTFIELD"
-><I
->x</I
-></TT
-> and the <TT
-CLASS="STRUCTFIELD"
-><I
->y</I
-></TT
-> fields. Like <A
-HREF="sdlkeyboardevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_KeyboardEvent</SPAN
-></A
->, information on whether the event was a press or a release event is stored in both the <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-> fields, but this should be obvious.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4192"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlmousemotionevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseMotionEvent</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmousemotionevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoyaxisevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_MouseMotionEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoyAxisEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmousemotionevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,365 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_MouseMotionEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_KeyboardEvent"
-HREF="sdlkeyboardevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_MouseButtonEvent"
-HREF="sdlmousebuttonevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlkeyboardevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmousebuttonevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMOUSEMOTIONEVENT"
-></A
->SDL_MouseMotionEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4079"
-></A
-><H2
->Name</H2
->SDL_MouseMotionEvent&nbsp;--&nbsp;Mouse motion event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4082"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  Uint8 state;
-  Uint16 x, y;
-  Sint16 xrel, yrel;
-} SDL_MouseMotionEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4085"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4087"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The current button state</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->x</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->y</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The X/Y coordinates of the mouse</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->xrel</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->yrel</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Relative motion in the X/Y direction</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4109"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseMotionEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-> is reported.</P
-><P
->Simply put, a <TT
-CLASS="LITERAL"
->SDL_MOUSEMOTION</TT
-> type event occurs when a user moves the mouse within the application window or when <A
-HREF="sdlwarpmouse.html"
-><TT
-CLASS="FUNCTION"
->SDL_WarpMouse</TT
-></A
-> is called. Both the absolute (<TT
-CLASS="STRUCTFIELD"
-><I
->x</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->y</I
-></TT
->) and relative (<TT
-CLASS="STRUCTFIELD"
-><I
->xrel</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->yrel</I
-></TT
->) coordinates are reported along with the current button states (<TT
-CLASS="STRUCTFIELD"
-><I
->state</I
-></TT
->). The button state can be interpreted using the <TT
-CLASS="LITERAL"
->SDL_BUTTON</TT
-> macro (see <A
-HREF="sdlgetmousestate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetMouseState</TT
-></A
->).</P
-><P
->If the cursor is hidden (<A
-HREF="sdlshowcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_ShowCursor</TT
->(0)</A
->) and the input is grabbed (<A
-HREF="sdlwmgrabinput.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_GrabInput</TT
->(SDL_GRAB_ON)</A
->), then the mouse will give relative motion events even when the cursor reaches the edge fo the screen. This is currently only implemented on Windows and Linux/Unix-a-likes.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4133"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlmousebuttonevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseButtonEvent</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlkeyboardevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmousebuttonevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_KeyboardEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_MouseButtonEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmutexp.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,241 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_mutexP</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DestroyMutex"
-HREF="sdldestroymutex.html"><LINK
-REL="NEXT"
-TITLE="SDL_mutexV"
-HREF="sdlmutexv.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldestroymutex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmutexv.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMUTEXP"
-></A
->SDL_mutexP</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7872"
-></A
-><H2
->Name</H2
->SDL_mutexP&nbsp;--&nbsp;Lock a mutex</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7875"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7876"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_mutexP</B
-></CODE
->(SDL_mutex *mutex);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7882"
-></A
-><H2
->Description</H2
-><P
->Locks the <TT
-CLASS="PARAMETER"
-><I
->mutex</I
-></TT
->, which was previously created with <A
-HREF="sdlcreatemutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateMutex</TT
-></A
->. If the mutex is already locked then <TT
-CLASS="FUNCTION"
->SDL_mutexP</TT
-> will not return until it is <A
-HREF="sdlmutexv.html"
->unlocked</A
->. Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-><P
->SDL also defines a macro <TT
-CLASS="LITERAL"
->#define SDL_LockMutex(m) SDL_mutexP(m)</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7894"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatemutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateMutex</TT
-></A
->,
-<A
-HREF="sdlmutexv.html"
-><TT
-CLASS="FUNCTION"
->SDL_mutexV</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldestroymutex.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmutexv.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DestroyMutex</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_mutexV</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlmutexv.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,235 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_mutexV</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_mutexP"
-HREF="sdlmutexp.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateSemaphore"
-HREF="sdlcreatesemaphore.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlmutexp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatesemaphore.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLMUTEXV"
-></A
->SDL_mutexV</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7905"
-></A
-><H2
->Name</H2
->SDL_mutexV&nbsp;--&nbsp;Unlock a mutex</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7908"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7909"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_mutexV</B
-></CODE
->(SDL_mutex *mutex);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7915"
-></A
-><H2
->Description</H2
-><P
->Unlocks the <TT
-CLASS="PARAMETER"
-><I
->mutex</I
-></TT
->, which was previously created with <A
-HREF="sdlcreatemutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateMutex</TT
-></A
->. Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success, or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> on an error.</P
-><P
->SDL also defines a macro <TT
-CLASS="LITERAL"
->#define SDL_UnlockMutex(m) SDL_mutexV(m)</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7925"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatemutex.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateMutex</TT
-></A
->,
-<A
-HREF="sdlmutexp.html"
-><TT
-CLASS="FUNCTION"
->SDL_mutexP</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlmutexp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatesemaphore.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_mutexP</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateSemaphore</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlnumjoysticks.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_NumJoysticks</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="PREVIOUS"
-TITLE="Joystick"
-HREF="joystick.html"><LINK
-REL="NEXT"
-TITLE="SDL_JoystickName"
-HREF="sdljoystickname.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="joystick.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdljoystickname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLNUMJOYSTICKS"
-></A
->SDL_NumJoysticks</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6039"
-></A
-><H2
->Name</H2
->SDL_NumJoysticks&nbsp;--&nbsp;Count available joysticks.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6042"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6043"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_NumJoysticks</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6049"
-></A
-><H2
->Description</H2
-><P
->Counts the number of joysticks attached to the system.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6052"
-></A
-><H2
->Return Value</H2
-><P
->Returns the number of attached joysticks</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6055"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdljoystickname.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickName</TT
-></A
->,
-<A
-HREF="sdljoystickopen.html"
-><TT
-CLASS="FUNCTION"
->SDL_JoystickOpen</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdljoystickname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Joystick</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="joystick.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_JoystickName</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlopenaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,578 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_OpenAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_AudioSpec"
-HREF="sdlaudiospec.html"><LINK
-REL="NEXT"
-TITLE="SDL_PauseAudio"
-HREF="sdlpauseaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlaudiospec.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpauseaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLOPENAUDIO"
-></A
->SDL_OpenAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6650"
-></A
-><H2
->Name</H2
->SDL_OpenAudio&nbsp;--&nbsp;Opens the audio device with the desired parameters.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6653"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6654"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_OpenAudio</B
-></CODE
->(SDL_AudioSpec *desired, SDL_AudioSpec *obtained);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6660"
-></A
-><H2
->Description</H2
-><P
->This function opens the audio device with the <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> parameters, and
-returns 0 if successful, placing the actual hardware parameters in the
-structure pointed to by <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
->.  If <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
-> is NULL, the audio
-data passed to the callback function will be guaranteed to be in the
-requested format, and will be automatically converted to the hardware
-audio format if necessary.  This function returns -1 if it failed 
-to open the audio device, or couldn't set up the audio thread.</P
-><P
->To open the audio device a <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> <A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-></A
-> must be created.
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_AudioSpec *desired;
-.
-.
-desired = malloc(sizeof(SDL_AudioSpec));</PRE
->
-You must then fill this structure with your desired audio specifications.</P
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
-><SPAN
-CLASS="STRUCTNAME"
->desired</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->freq</I
-></TT
-></DT
-><DD
-><P
->The desired audio frequency in samples-per-second.</P
-></DD
-><DT
-><SPAN
-CLASS="STRUCTNAME"
->desired</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></DT
-><DD
-><P
->The desired audio format (see <A
-HREF="sdlaudiospec.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-></A
->)</P
-></DD
-><DT
-><SPAN
-CLASS="STRUCTNAME"
->desired</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->samples</I
-></TT
-></DT
-><DD
-><P
->The desired size of the audio buffer in samples. This number should be a power of two, and may be adjusted by the audio driver to a value more suitable for the hardware.  Good values seem to range between 512 and 8192 inclusive, depending on the application and CPU speed.  Smaller values yield faster response time, but can lead to underflow if the application is doing heavy processing and cannot fill the audio buffer in time.  A stereo sample consists of both right and left channels in LR ordering.  Note that the number of samples is directly related to time by the following formula:  ms = (samples*1000)/freq</P
-></DD
-><DT
-><SPAN
-CLASS="STRUCTNAME"
->desired</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->callback</I
-></TT
-></DT
-><DD
-><P
->This should be set to a function that will be called when the audio device is ready for more data.  It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling <A
-HREF="sdllockaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockAudio</TT
-></A
-> and <A
-HREF="sdlunlockaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockAudio</TT
-></A
-> in your code. The callback prototype is:
-<PRE
-CLASS="PROGRAMLISTING"
->void callback(void *userdata, Uint8 *stream, int len);</PRE
->
-<TT
-CLASS="PARAMETER"
-><I
->userdata</I
-></TT
-> is the pointer stored in <TT
-CLASS="STRUCTFIELD"
-><I
->userdata</I
-></TT
-> field of the <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
->. <TT
-CLASS="PARAMETER"
-><I
->stream</I
-></TT
-> is a pointer to the audio buffer you want to fill with information and <TT
-CLASS="PARAMETER"
-><I
->len</I
-></TT
-> is the length of the audio buffer in bytes.</P
-></DD
-><DT
-><SPAN
-CLASS="STRUCTNAME"
->desired</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->userdata</I
-></TT
-></DT
-><DD
-><P
->This pointer is passed as the first parameter to the <TT
-CLASS="FUNCTION"
->callback</TT
-> function.</P
-></DD
-></DL
-></DIV
-><P
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-> reads these fields from the <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-> structure pass to the function and attempts to find an audio configuration matching your <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
->. As mentioned above, if the <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
-> parameter is <TT
-CLASS="LITERAL"
->NULL</TT
-> then SDL with convert from your <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> audio settings to the hardware settings as it plays.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
-> is <TT
-CLASS="LITERAL"
->NULL</TT
-> then the <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-> is your working specification, otherwise the <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
-> <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioSpec</SPAN
-> becomes the working specification and the <TT
-CLASS="PARAMETER"
-><I
->desirec</I
-></TT
-> specification can be deleted. The data in the working specification is used when building <SPAN
-CLASS="STRUCTNAME"
->SDL_AudioCVT</SPAN
->'s for converting loaded data to the hardware format.</P
-><P
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-> calculates the <TT
-CLASS="STRUCTFIELD"
-><I
->size</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->silence</I
-></TT
-> fields for both the <TT
-CLASS="PARAMETER"
-><I
->desired</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->obtained</I
-></TT
-> specifications. The <TT
-CLASS="STRUCTFIELD"
-><I
->size</I
-></TT
-> field stores the total size of the audio buffer in bytes, while the <TT
-CLASS="STRUCTFIELD"
-><I
->silence</I
-></TT
-> stores the value used to represent silence in the audio buffer</P
-><P
->The audio device starts out playing <TT
-CLASS="STRUCTFIELD"
-><I
->silence</I
-></TT
-> when it's opened, and should be enabled for playing by calling <A
-HREF="sdlpauseaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_PauseAudio</TT
->(<TT
-CLASS="PARAMETER"
-><I
->0</I
-></TT
->)</A
-> when you are ready for your audio <TT
-CLASS="STRUCTFIELD"
-><I
->callback</I
-></TT
-> function to be called.  Since the audio driver may modify the requested <TT
-CLASS="STRUCTFIELD"
-><I
->size</I
-></TT
-> of the audio buffer, you should allocate any local mixing buffers after you open the audio device.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6747"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* Prototype of our callback function */
-void my_audio_callback(void *userdata, Uint8 *stream, int len);
-
-/* Open the audio device */
-SDL_AudioSpec *desired, *obtained;
-SDL_AudioSpec *hardware_spec;
-
-/* Allocate a desired SDL_AudioSpec */
-desired = malloc(sizeof(SDL_AudioSpec));
-
-/* Allocate space for the obtained SDL_AudioSpec */
-obtained = malloc(sizeof(SDL_AudioSpec));
-
-/* 22050Hz - FM Radio quality */
-desired-&#62;freq=22050;
-
-/* 16-bit signed audio */
-desired-&#62;format=AUDIO_S16LSB;
-
-/* Mono */
-desired-&#62;channels=0;
-
-/* Large audio buffer reduces risk of dropouts but increases response time */
-desired-&#62;samples=8192;
-
-/* Our callback function */
-desired-&#62;callback=my_audio_callback;
-
-desired-&#62;userdata=NULL;
-
-/* Open the audio device */
-if ( SDL_OpenAudio(desired, obtained) &#60; 0 ){
-  fprintf(stderr, "Couldn't open audio: %s\n", SDL_GetError());
-  exit(-1);
-}
-/* desired spec is no longer needed */
-free(desired);
-hardware_spec=obtained;
-.
-.
-/* Prepare callback for playing */
-.
-.
-.
-/* Start playing */
-SDL_PauseAudio(0);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6750"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlaudiospec.html"
-><TT
-CLASS="FUNCTION"
->SDL_AudioSpec</TT
-></A
->,
-<A
-HREF="sdllockaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockAudio</TT
-></A
->,
-<A
-HREF="sdlunlockaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockAudio</TT
-></A
->,
-<A
-HREF="sdlpauseaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_PauseAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlaudiospec.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpauseaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_AudioSpec</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PauseAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdloverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,362 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Overlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_VideoInfo"
-HREF="sdlvideoinfo.html"><LINK
-REL="NEXT"
-TITLE="Window Management"
-HREF="wm.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlvideoinfo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="wm.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLOVERLAY"
-></A
->SDL_Overlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3464"
-></A
-><H2
->Name</H2
->SDL_Overlay&nbsp;--&nbsp;YUV video overlay</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3467"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint32 format;
-  int w, h;
-  int planes;
-  Uint16 *pitches;
-  Uint8 **pixels;
-  Uint32 hw_overlay:1;
-} SDL_Overlay;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3470"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3472"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Overlay format (see below)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->w, h</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Width and height of overlay</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->planes</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Number of planes in the overlay. Usually either 1 or 3</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->pitches</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->An array of pitches, one for each plane. Pitch is the length of a row in bytes.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->An array of pointers to teh data of each plane. The overlay should be locked before these pointers are used.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->hw_overlay</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->This will be set to 1 if the overlay is hardware accelerated.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3499"
-></A
-><H2
->Description</H2
-><P
->A <SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-> is similar to a <A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-> except it stores a YUV overlay. All the fields are read only, except for <TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-> which should be <A
-HREF="sdllockyuvoverlay.html"
->locked</A
-> before use. The <TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-> field stores the format of the overlay which is one of the following:
-<PRE
-CLASS="PROGRAMLISTING"
->#define SDL_YV12_OVERLAY  0x32315659  /* Planar mode: Y + V + U */
-#define SDL_IYUV_OVERLAY  0x56555949  /* Planar mode: Y + U + V */
-#define SDL_YUY2_OVERLAY  0x32595559  /* Packed mode: Y0+U0+Y1+V0 */
-#define SDL_UYVY_OVERLAY  0x59565955  /* Packed mode: U0+Y0+V0+Y1 */
-#define SDL_YVYU_OVERLAY  0x55595659  /* Packed mode: Y0+V0+Y1+U0 */</PRE
->
-More information on YUV formats can be found at <A
-HREF="http://www.webartz.com/fourcc/indexyuv.htm"
-TARGET="_top"
->http://www.webartz.com/fourcc/indexyuv.htm</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3510"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
->,
-<A
-HREF="sdllockyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlunlockyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlfreeyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_FreeYUVOverlay</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlvideoinfo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_VideoInfo</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Window Management</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpalette.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,301 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Palette</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Color"
-HREF="sdlcolor.html"><LINK
-REL="NEXT"
-TITLE="SDL_PixelFormat"
-HREF="sdlpixelformat.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcolor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpixelformat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPALETTE"
-></A
->SDL_Palette</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3129"
-></A
-><H2
->Name</H2
->SDL_Palette&nbsp;--&nbsp;Color palette for 8-bit pixel formats</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3132"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  int ncolors;
-  SDL_Color *colors;
-} SDL_Palette;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3135"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3137"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->ncolors</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Number of colors used in this palette</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->colors</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pointer to <A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
-> structures that make up the palette.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3150"
-></A
-><H2
->Description</H2
-><P
->Each pixel in an 8-bit surface is an index into the <TT
-CLASS="STRUCTFIELD"
-><I
->colors</I
-></TT
-> field of the <SPAN
-CLASS="STRUCTNAME"
->SDL_Palette</SPAN
-> structure store in <A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->. A <SPAN
-CLASS="STRUCTNAME"
->SDL_Palette</SPAN
-> should never need to be created manually. It is automatically created when SDL allocates a <SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-> for a surface. The colors values of a <A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->s palette can be set with the <A
-HREF="sdlsetcolors.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3163"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdlsetcolors.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-></A
->
-<A
-HREF="sdlsetpalette.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetPalette</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcolor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpixelformat.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Color</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PixelFormat</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpauseaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,221 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PauseAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_OpenAudio"
-HREF="sdlopenaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetAudioStatus"
-HREF="sdlgetaudiostatus.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlopenaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetaudiostatus.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPAUSEAUDIO"
-></A
->SDL_PauseAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN6765"
-></A
-><H2
->Name</H2
->SDL_PauseAudio&nbsp;--&nbsp;Pauses and unpauses the audio callback processing</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN6768"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN6769"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_PauseAudio</B
-></CODE
->(int pause_on);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6775"
-></A
-><H2
->Description</H2
-><P
->This function pauses and unpauses the audio callback processing.
-It should be called with <TT
-CLASS="PARAMETER"
-><I
->pause_on</I
-></TT
->=0 after opening the audio
-device to start playing sound.  This is so you can safely initialize
-data for your callback function after opening the audio device.
-Silence will be written to the audio device during the pause.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN6779"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetaudiostatus.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetAudioStatus</TT
-></A
->,
-<A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlopenaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetaudiostatus.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_OpenAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetAudioStatus</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpeepevents.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,321 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PeepEvents</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PumpEvents"
-HREF="sdlpumpevents.html"><LINK
-REL="NEXT"
-TITLE="SDL_PollEvent"
-HREF="sdlpollevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpumpevents.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpollevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPEEPEVENTS"
-></A
->SDL_PeepEvents</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5421"
-></A
-><H2
->Name</H2
->SDL_PeepEvents&nbsp;--&nbsp;Checks the event queue for messages and optionally returns them.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5424"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5425"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_PeepEvents</B
-></CODE
->(SDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5431"
-></A
-><H2
->Description</H2
-><P
->Checks the event queue for messages and optionally returns them.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->action</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_ADDEVENT</TT
->, up to 
-<TT
-CLASS="PARAMETER"
-><I
->numevents</I
-></TT
-> events will be added to the back of the event
- queue.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->action</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_PEEKEVENT</TT
->, up to
-<TT
-CLASS="PARAMETER"
-><I
->numevents</I
-></TT
-> events at the front of the event queue, 
-matching <A
-HREF="sdlevent.html"
-><TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-></A
->, 
-will be returned and will not be removed from the queue.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->action</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_GETEVENT</TT
->, up to 
-<TT
-CLASS="PARAMETER"
-><I
->numevents</I
-></TT
-> events at the front of the event queue, 
-matching <A
-HREF="sdlevent.html"
-><TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-></A
->, 
-will be returned and will be removed from the queue.</P
-><P
->The <TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-> parameter is an bitwise OR of
-<TT
-CLASS="LITERAL"
->SDL_EVENTMASK</TT
->(<TT
-CLASS="PARAMETER"
-><I
->event_type</I
-></TT
->), for all
-event types you are interested in.</P
-><P
->This function is thread-safe.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5455"
-></A
-><H2
->Return Value</H2
-><P
->This function returns the number of events actually stored, or 
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error.  </P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5459"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
->,
-<A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpumpevents.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpollevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PumpEvents</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PollEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpixelformat.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,528 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PixelFormat</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Palette"
-HREF="sdlpalette.html"><LINK
-REL="NEXT"
-TITLE="SDL_Surface"
-HREF="sdlsurface.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpalette.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPIXELFORMAT"
-></A
->SDL_PixelFormat</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3178"
-></A
-><H2
->Name</H2
->SDL_PixelFormat&nbsp;--&nbsp;Stores surface format information</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3181"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct SDL_PixelFormat {
-  SDL_Palette *palette;
-  Uint8  BitsPerPixel;
-  Uint8  BytesPerPixel;
-  Uint8  Rloss, Gloss, Bloss, Aloss;
-  Uint8  Rshift, Gshift, Bshift, Ashift;
-  Uint32 Rmask, Gmask, Bmask, Amask;
-  Uint32 colorkey;
-  Uint8  alpha;
-} SDL_PixelFormat;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3184"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3186"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->palette</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pointer to the <A
-HREF="sdlpalette.html"
->palette</A
->, or <TT
-CLASS="LITERAL"
->NULL</TT
-> if the <TT
-CLASS="STRUCTFIELD"
-><I
->BitsPerPixel</I
-></TT
->&#62;8</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->BitsPerPixel</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The number of bits used to represent each pixel in a surface. Usually 8, 16, 24 or 32.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->BytesPerPixel</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The number of bytes used to represent each pixel in a surface. Usually one to four.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->[RGBA]mask</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Binary mask used to retrieve individual color values</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->[RGBA]loss</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Precision loss of each color component (2<SUP
->[RGBA]loss</SUP
->)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->[RGBA]shift</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Binary left shift of each color component in the pixel value</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->colorkey</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pixel value of transparent pixels</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->alpha</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Overall surface alpha value</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3225"
-></A
-><H2
->Description</H2
-><P
->A <SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-> describes the format of the pixel data stored at the <TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-> field of a <A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->. Every surface stores a <SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-> in the <TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-> field.</P
-><P
->If you wish to do pixel level modifications on a surface, then understanding how SDL stores its color information is essential.</P
-><P
->8-bit pixel formats are the easiest to understand. Since its an 8-bit format, we have 8 <TT
-CLASS="STRUCTFIELD"
-><I
->BitsPerPixel</I
-></TT
-> and 1 <TT
-CLASS="STRUCTFIELD"
-><I
->BytesPerPixel</I
-></TT
->. Since <TT
-CLASS="STRUCTFIELD"
-><I
->BytesPerPixel</I
-></TT
-> is 1, all pixels are represented by a Uint8 which contains an index into <TT
-CLASS="STRUCTFIELD"
-><I
->palette</I
-></TT
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->colors</I
-></TT
->. So, to determine the color of a pixel in a 8-bit surface: we read the color index from <SPAN
-CLASS="STRUCTNAME"
->surface</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-> and we use that index to read the <A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
-> structure from <SPAN
-CLASS="STRUCTNAME"
->surface</SPAN
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->palette</I
-></TT
->-&#62;<TT
-CLASS="STRUCTFIELD"
-><I
->colors</I
-></TT
->. Like so:
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_Surface *surface;
-SDL_PixelFormat *fmt;
-SDL_Color *color;
-Uint8 index;
-
-.
-.
-
-/* Create surface */
-.
-.
-fmt=surface-&#62;format;
-
-/* Check the bitdepth of the surface */
-if(fmt-&#62;BitsPerPixel!=8){
-  fprintf(stderr, "Not an 8-bit surface.\n");
-  return(-1);
-}
-
-/* Lock the surface */
-SDL_LockSurface(surface);
-
-/* Get the topleft pixel */
-index=*(Uint8 *)surface-&#62;pixels;
-color=fmt-&#62;palette-&#62;colors[index];
-
-/* Unlock the surface */
-SDL_UnlockSurface(surface);
-printf("Pixel Color-&#62; Red: %d, Green: %d, Blue: %d. Index: %d\n",
-          color-&#62;r, color-&#62;g, color-&#62;b, index);
-.
-.</PRE
-></P
-><P
->Pixel formats above 8-bit are an entirely different experience. They are
-considered to be "TrueColor" formats and the color information is stored in the
-pixels themselves, not in a palette. The mask, shift and loss fields tell us
-how the color information is encoded. The mask fields allow us to isolate each
-color component, the shift fields tell us the number of bits to the right of
-each component in the pixel value and the loss fields tell us the number of
-bits lost from each component when packing 8-bit color component in a pixel.
-<PRE
-CLASS="PROGRAMLISTING"
->/* Extracting color components from a 32-bit color value */
-SDL_PixelFormat *fmt;
-SDL_Surface *surface;
-Uint32 temp, pixel;
-Uint8 red, green, blue, alpha;
-.
-.
-.
-fmt=surface-&#62;format;
-SDL_LockSurface(surface);
-pixel=*((Uint32*)surface-&#62;pixels);
-SDL_UnlockSurface(surface);
-
-/* Get Red component */
-temp=pixel&#38;fmt-&#62;Rmask; /* Isolate red component */
-temp=temp&#62;&#62;fmt-&#62;Rshift;/* Shift it down to 8-bit */
-temp=temp&#60;&#60;fmt-&#62;Rloss; /* Expand to a full 8-bit number */
-red=(Uint8)temp;
-
-/* Get Green component */
-temp=pixel&#38;fmt-&#62;Gmask; /* Isolate green component */
-temp=temp&#62;&#62;fmt-&#62;Gshift;/* Shift it down to 8-bit */
-temp=temp&#60;&#60;fmt-&#62;Gloss; /* Expand to a full 8-bit number */
-green=(Uint8)temp;
-
-/* Get Blue component */
-temp=pixel&#38;fmt-&#62;Bmask; /* Isolate blue component */
-temp=temp&#62;&#62;fmt-&#62;Bshift;/* Shift it down to 8-bit */
-temp=temp&#60;&#60;fmt-&#62;Bloss; /* Expand to a full 8-bit number */
-blue=(Uint8)temp;
-
-/* Get Alpha component */
-temp=pixel&#38;fmt-&#62;Amask; /* Isolate alpha component */
-temp=temp&#62;&#62;fmt-&#62;Ashift;/* Shift it down to 8-bit */
-temp=temp&#60;&#60;fmt-&#62;Aloss; /* Expand to a full 8-bit number */
-alpha=(Uint8)temp;
-
-printf("Pixel Color -&#62; R: %d,  G: %d,  B: %d,  A: %d\n", red, green, blue, alpha);
-.
-.
-.</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3252"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpalette.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Palette</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Surface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
--- a/docs/html/sdlpollevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,269 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PollEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PeepEvents"
-HREF="sdlpeepevents.html"><LINK
-REL="NEXT"
-TITLE="SDL_WaitEvent"
-HREF="sdlwaitevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpeepevents.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwaitevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPOLLEVENT"
-></A
->SDL_PollEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5472"
-></A
-><H2
->Name</H2
->SDL_PollEvent&nbsp;--&nbsp;Polls for currently pending events.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5475"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5476"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_PollEvent</B
-></CODE
->(SDL_Event *event);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5482"
-></A
-><H2
->Description</H2
-><P
->Polls for currently pending events, and returns <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
-> 
-if there are any pending events, or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if there 
-are none available.  </P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->event</I
-></TT
-> is not <TT
-CLASS="LITERAL"
->NULL</TT
->, the next 
-event is removed from the queue and stored in that area.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5490"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_Event event; /* Event structure */
-
-.
-.
-.
-/* Check for events */
-while(SDL_PollEvent(&#38;event)){  /* Loop until there are no events left on the queue */
-  switch(event.type){  /* Process the appropiate event type */
-    case SDL_KEYDOWN:  /* Handle a KEYDOWN event */         
-      printf("Oh! Key press\n");
-      break;
-    case SDL_MOUSEMOTION:
-      .
-      .
-      .
-    default: /* Report an unhandled event */
-      printf("I don't know what this event is!\n");
-  }
-}</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5494"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlwaitevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_WaitEvent</TT
-></A
->,
-<A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpeepevents.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwaitevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PeepEvents</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WaitEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpumpevents.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,244 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PumpEvents</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="NEXT"
-TITLE="SDL_PeepEvents"
-HREF="sdlpeepevents.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpeepevents.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPUMPEVENTS"
-></A
->SDL_PumpEvents</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5387"
-></A
-><H2
->Name</H2
->SDL_PumpEvents&nbsp;--&nbsp;Pumps the event loop, gathering events from the input devices.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5390"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5391"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_PumpEvents</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5397"
-></A
-><H2
->Description</H2
-><P
->Pumps the event loop, gathering events from the input devices.</P
-><P
-><TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-> gathers all the pending input information from devices and places it on the event queue. Without calls to <TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-> no events would ever be placed on the queue. Often calls the need for <TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-> is hidden from the user since <A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-> and <A
-HREF="sdlwaitevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_WaitEvent</TT
-></A
-> implicitly call <TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
->. However, if you are not polling or waiting for events (e.g. you are filtering them), then you must call <TT
-CLASS="FUNCTION"
->SDL_PumpEvents</TT
-> to force an event queue update.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->You can only call this function in the thread that set the video mode.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5412"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpeepevents.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Event Functions.</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PeepEvents</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlpushevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,266 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_PushEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WaitEvent"
-HREF="sdlwaitevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetEventFilter"
-HREF="sdlseteventfilter.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwaitevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlseteventfilter.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLPUSHEVENT"
-></A
->SDL_PushEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5536"
-></A
-><H2
->Name</H2
->SDL_PushEvent&nbsp;--&nbsp;Pushes an event onto the event queue</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5539"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5540"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_PushEvent</B
-></CODE
->(SDL_Event *event);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5546"
-></A
-><H2
->Description</H2
-><P
->The event queue can actually be used as a two way communication channel. Not only can events be read from the queue, but the user can also push their own events onto it. <TT
-CLASS="PARAMETER"
-><I
->event</I
-></TT
-> is a pointer to the event structure you wish to push onto the queue.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Pushing device input events onto the queue doesn't modify the state of the device within SDL.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5552"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on success or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if the event couldn't be pushed.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5557"
-></A
-><H2
->Examples</H2
-><P
->See <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5562"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
->,
-<A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
->,
-<A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwaitevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlseteventfilter.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WaitEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetEventFilter</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlquit.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,244 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Quit</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_QuitSubSystem"
-HREF="sdlquitsubsystem.html"><LINK
-REL="NEXT"
-TITLE="SDL_WasInit"
-HREF="sdlwasinit.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlquitsubsystem.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwasinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLQUIT"
-></A
->SDL_Quit</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN585"
-></A
-><H2
->Name</H2
->SDL_Quit&nbsp;--&nbsp;Shut down SDL</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN588"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN589"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_Quit</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN595"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-> shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit. For the sake of simplicity you can set <TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-> as your <TT
-CLASS="FUNCTION"
->atexit</TT
-> call, like:
-<PRE
-CLASS="PROGRAMLISTING"
->SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO);
-atexit(SDL_Quit);
-.
-.</PRE
-></P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->While using <TT
-CLASS="FUNCTION"
->atexit</TT
-> maybe be fine for small programs, more advanced users should shut down SDL in their own cleanup code. Plus, using <TT
-CLASS="FUNCTION"
->atexit</TT
-> in a library is a sure way to crash dynamically loaded code</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN606"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlquitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_QuitSubsystem</TT
-></A
->,
-<A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlquitsubsystem.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwasinit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_QuitSubSystem</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WasInit</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlquitevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,263 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_QuitEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UserEvent"
-HREF="sdluserevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_keysym"
-HREF="sdlkeysym.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdluserevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlkeysym.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLQUITEVENT"
-></A
->SDL_QuitEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4621"
-></A
-><H2
->Name</H2
->SDL_QuitEvent&nbsp;--&nbsp;Quit requested event</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4624"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type
-} SDL_QuitEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4627"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4629"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_QUIT</TT
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4637"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_QuitEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used whan an event of type <TT
-CLASS="LITERAL"
->SDL_QUIT</TT
-> is reported.</P
-><P
->As can be seen, the SDL_QuitEvent structure serves no useful purpose. The event itself, on the other hand, is very important. If you filter out or ignore a quit event then it is impossible for the user to close the window. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->The macro <TT
-CLASS="FUNCTION"
->SDL_QuitRequested</TT
-> will return non-zero if a quit event is pending</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4648"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlseteventfilter.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetEventFilter</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdluserevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlkeysym.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UserEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_keysym</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlquitsubsystem.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,248 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_QuitSubSystem</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_InitSubSystem"
-HREF="sdlinitsubsystem.html"><LINK
-REL="NEXT"
-TITLE="SDL_Quit"
-HREF="sdlquit.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlinitsubsystem.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlquit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLQUITSUBSYSTEM"
-></A
->SDL_QuitSubSystem</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN550"
-></A
-><H2
->Name</H2
->SDL_QuitSubSystem&nbsp;--&nbsp;Shut down a subsystem</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN553"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN554"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_QuitSubSystem</B
-></CODE
->(Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN560"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_QuitSubSystem</TT
-> allows you to shut down a subsystem that has been previously initialized by <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-> or <A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
->. The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> tells <TT
-CLASS="FUNCTION"
->SDL_QuitSubSystem</TT
-> which subsystems to shut down, it uses the same values that are passed to <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN572"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlquit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Quit</TT
-></A
->,
-<A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->,
-<A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlinitsubsystem.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlquit.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_InitSubSystem</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Quit</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlrect.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,258 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Rect</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GLattr"
-HREF="sdlglattr.html"><LINK
-REL="NEXT"
-TITLE="SDL_Color"
-HREF="sdlcolor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlglattr.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcolor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLRECT"
-></A
->SDL_Rect</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3046"
-></A
-><H2
->Name</H2
->SDL_Rect&nbsp;--&nbsp;Defines a rectangular area</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3049"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Sint16 x, y;
-  Uint16 w, h;
-} SDL_Rect;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3052"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3054"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->x, y</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Position of the upper-left corner of the rectangle</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->w, h</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->The width and height of the rectangle</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3065"
-></A
-><H2
->Description</H2
-><P
->A <SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-> defines a rectangular area of pixels. It is used by <A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
-> to define blitting regions and by several other video functions.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3071"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
->,
-<A
-HREF="sdlupdaterect.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRect</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlglattr.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcolor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GLattr</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Color</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlremovetimer.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,236 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_RemoveTimer</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_AddTimer"
-HREF="sdladdtimer.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetTimer"
-HREF="sdlsettimer.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdladdtimer.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsettimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLREMOVETIMER"
-></A
->SDL_RemoveTimer</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8526"
-></A
-><H2
->Name</H2
->SDL_RemoveTimer&nbsp;--&nbsp;Remove a timer which was added with
-<A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8530"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8531"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_bool <B
-CLASS="FSFUNC"
->SDL_RemoveTimer</B
-></CODE
->(SDL_TimerID id);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8537"
-></A
-><H2
->Description</H2
-><P
->Removes a timer callback previously added with
-<A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8541"
-></A
-><H2
->Return Value</H2
-><P
->Returns a boolean value indicating success.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8544"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_RemoveTimer(my_timer_id);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8548"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdladdtimer.html"
-><TT
-CLASS="FUNCTION"
->SDL_AddTimer</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdladdtimer.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsettimer.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_AddTimer</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetTimer</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlresizeevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,307 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ResizeEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_JoyBallEvent"
-HREF="sdljoyballevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_ExposeEvent"
-HREF="sdlexposeevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdljoyballevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlexposeevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLRESIZEEVENT"
-></A
->SDL_ResizeEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4453"
-></A
-><H2
->Name</H2
->SDL_ResizeEvent&nbsp;--&nbsp;Window resize event structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4456"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  int w, h;
-} SDL_ResizeEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4459"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4461"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->w</I
-></TT
->, <TT
-CLASS="STRUCTFIELD"
-><I
->h</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->New width and height of the window</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4474"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_ResizeEvent</SPAN
-> is a member of the <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
-> union and is used when an event of type <TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-> is reported.</P
-><P
->When <TT
-CLASS="LITERAL"
->SDL_RESIZABLE</TT
-> is passed as a <TT
-CLASS="PARAMETER"
-><I
->flag</I
-></TT
-> to <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-> the user is allowed to resize the applications window. When the window is resized an <TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-> is report, with the new window width and height values stored in <TT
-CLASS="STRUCTFIELD"
-><I
->w</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->h</I
-></TT
->, respectively. When an <TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-> is recieved the window should be resized to the new dimensions using <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4492"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdljoyballevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlexposeevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_JoyBallEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ExposeEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsavebmp.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,236 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SaveBMP</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_LoadBMP"
-HREF="sdlloadbmp.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetColorKey"
-HREF="sdlsetcolorkey.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlloadbmp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetcolorkey.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSAVEBMP"
-></A
->SDL_SaveBMP</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2015"
-></A
-><H2
->Name</H2
->SDL_SaveBMP&nbsp;--&nbsp;Save an SDL_Surface as a Windows BMP file.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2018"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2019"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SaveBMP</B
-></CODE
->(SDL_Surface *surface, const char *file);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2025"
-></A
-><H2
->Description</H2
-><P
->Saves the <SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-> <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> as a Windows BMP file named <TT
-CLASS="PARAMETER"
-><I
->file</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2031"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if successful or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
->
-if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2036"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlloadbmp.html"
-><TT
-CLASS="FUNCTION"
->SDL_LoadBMP</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlloadbmp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetcolorkey.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_LoadBMP</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetColorKey</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsempost.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,299 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SemPost</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SemWaitTimeout"
-HREF="sdlsemwaittimeout.html"><LINK
-REL="NEXT"
-TITLE="SDL_SemValue"
-HREF="sdlsemvalue.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsemwaittimeout.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsemvalue.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSEMPOST"
-></A
->SDL_SemPost</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8170"
-></A
-><H2
->Name</H2
->SDL_SemPost&nbsp;--&nbsp;Unlock a semaphore.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8173"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8174"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SemPost</B
-></CODE
->(SDL_sem *sem);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8180"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-> unlocks the semaphore pointed to by
-<TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
-> and atomically increments the semaphores value.
-Threads that were blocking on the semaphore may be scheduled after this call
-succeeds.</P
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-> should be called after a semaphore is locked by a successful call to
-<A
-HREF="sdlsemwait.html"
->SDL_SemWait</A
->,
-<A
-HREF="sdlsemtrywait.html"
->SDL_SemTryWait</A
-> or
-<A
-HREF="sdlsemwaittimeout.html"
->SDL_SemWaitTimeout</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8190"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if successful or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error (leaving the semaphore unchanged).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8195"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_SemPost(my_sem);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8199"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsemwaittimeout.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsemvalue.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SemWaitTimeout</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SemValue</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsemtrywait.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,319 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SemTryWait</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SemWait"
-HREF="sdlsemwait.html"><LINK
-REL="NEXT"
-TITLE="SDL_SemWaitTimeout"
-HREF="sdlsemwaittimeout.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsemwait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsemwaittimeout.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSEMTRYWAIT"
-></A
->SDL_SemTryWait</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8069"
-></A
-><H2
->Name</H2
->SDL_SemTryWait&nbsp;--&nbsp;Attempt to lock a semaphore but don't suspend the thread.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8072"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8073"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SemTryWait</B
-></CODE
->(SDL_sem *sem);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8079"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-> is a non-blocking varient of
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->. If the value of the semaphore
-pointed to by <TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
-> is positive it will atomically
-decrement the semaphore value and return 0, otherwise it will return
-<SPAN
-CLASS="RETURNVALUE"
->SDL_MUTEX_TIMEDOUT</SPAN
-> instead of suspending the thread.</P
-><P
->After <TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-> is successful, the semaphore
-can be released and its count atomically incremented by a successful call to
-<A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8090"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if the semaphore was successfully locked or
-either <SPAN
-CLASS="RETURNVALUE"
->SDL_MUTEX_TIMEDOUT</SPAN
-> or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
->
-if the thread would have suspended or there was an error, respectivly.</P
-><P
->If the semaphore was not successfully locked, the semaphore will be unchanged.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8097"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->res = SDL_SemTryWait(my_sem);
-
-if (res == SDL_MUTEX_TIMEDOUT) {
-        return TRY_AGAIN;
-}
-if (res == -1) {
-        return WAIT_ERROR;
-}
-
-...
-
-SDL_SemPost(my_sem);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8101"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsemwait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsemwaittimeout.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SemWait</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SemWaitTimeout</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsemvalue.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,273 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SemValue</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SemPost"
-HREF="sdlsempost.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateCond"
-HREF="sdlcreatecond.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsempost.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatecond.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSEMVALUE"
-></A
->SDL_SemValue</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8218"
-></A
-><H2
->Name</H2
->SDL_SemValue&nbsp;--&nbsp;Return the current value of a semaphore.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8221"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8222"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL/SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_SemValue</B
-></CODE
->(SDL_sem *sem);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8228"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemValue()</TT
-> returns the current semaphore value from
-the semaphore pointed to by <TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8233"
-></A
-><H2
->Return Value</H2
-><P
->Returns current value of the semaphore.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8236"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->  sem_value = SDL_SemValue(my_sem);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8240"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsempost.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatecond.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SemPost</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateCond</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsemwait.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,298 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SemWait</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DestroySemaphore"
-HREF="sdldestroysemaphore.html"><LINK
-REL="NEXT"
-TITLE="SDL_SemTryWait"
-HREF="sdlsemtrywait.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldestroysemaphore.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsemtrywait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSEMWAIT"
-></A
->SDL_SemWait</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8023"
-></A
-><H2
->Name</H2
->SDL_SemWait&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8026"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8027"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SemWait</B
-></CODE
->(SDL_sem *sem);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8033"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemWait()</TT
-> suspends the calling thread until either
-the semaphore pointed to by <TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
-> has a positive value,
-the call is interrupted by a signal or error. If the call is successful it
-will atomically decrement the semaphore value.</P
-><P
->After <TT
-CLASS="FUNCTION"
->SDL_SemWait()</TT
-> is successful, the semaphore
-can be released and its count atomically incremented by a successful call to
-<A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8041"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if successful or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error (leaving the semaphore unchanged).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8046"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->if (SDL_SemWait(my_sem) == -1) {
-        return WAIT_FAILED;
-}
-
-...
-
-SDL_SemPost(my_sem);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8050"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsemwaittimeout.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldestroysemaphore.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsemtrywait.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DestroySemaphore</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SemTryWait</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsemwaittimeout.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,322 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SemWaitTimeout</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SemTryWait"
-HREF="sdlsemtrywait.html"><LINK
-REL="NEXT"
-TITLE="SDL_SemPost"
-HREF="sdlsempost.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsemtrywait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsempost.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSEMWAITTIMEOUT"
-></A
->SDL_SemWaitTimeout</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8120"
-></A
-><H2
->Name</H2
->SDL_SemWaitTimeout&nbsp;--&nbsp;Lock a semaphore, but only wait up to a specified maximum time.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8123"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8124"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SemWaitTimeout</B
-></CODE
->(SDL_sem *sem, Uint32 timeout);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8130"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout()</TT
-> is a varient of
-<A
-HREF="sdlsemwait.html"
->SDL_SemWait</A
->
-with a maximum timeout value.
-If the value of the semaphore pointed to by <TT
-CLASS="PARAMETER"
-><I
->sem</I
-></TT
-> is
-positive (greater than zero) it will atomically decrement the semaphore value
-and return 0, otherwise it will wait up to <TT
-CLASS="PARAMETER"
-><I
->timeout</I
-></TT
->
-milliseconds trying to lock the semaphore. This function is to be avoided if
-possible since on some platforms it is implemented by polling the semaphore
-every millisecond in a busy loop.</P
-><P
->After <TT
-CLASS="FUNCTION"
->SDL_SemWaitTimeout()</TT
-> is successful, the semaphore
-can be released and its count atomically incremented by a successful call to
-<A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8140"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if the semaphore was successfully locked or
-either <SPAN
-CLASS="RETURNVALUE"
->SDL_MUTEX_TIMEDOUT</SPAN
-> or <SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
->
-if the timeout period was exceeded or there was an error, respectivly.</P
-><P
->If the semaphore was not successfully locked, the semaphore will be unchanged.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8147"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->res = SDL_SemWaitTimeout(my_sem, WAIT_TIMEOUT_MILLISEC);
-
-if (res == SDL_MUTEX_TIMEDOUT) {
-        return TRY_AGAIN;
-}
-if (res == -1) {
-        return WAIT_ERROR;
-}
-
-...
-
-SDL_SemPost(my_sem);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8151"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatesemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateSemaphore</TT
-></A
->,
-<A
-HREF="sdldestroysemaphore.html"
-><TT
-CLASS="FUNCTION"
->SDL_DestroySemaphore</TT
-></A
->,
-<A
-HREF="sdlsemwait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemWait</TT
-></A
->,
-<A
-HREF="sdlsemtrywait.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemTryWait</TT
-></A
->,
-<A
-HREF="sdlsempost.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemPost</TT
-></A
->,
-<A
-HREF="sdlsemvalue.html"
-><TT
-CLASS="FUNCTION"
->SDL_SemValue</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsemtrywait.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsempost.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SemTryWait</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SemPost</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetalpha.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,500 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetAlpha</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetColorKey"
-HREF="sdlsetcolorkey.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetClipRect"
-HREF="sdlsetcliprect.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetcolorkey.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetcliprect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETALPHA"
-></A
->SDL_SetAlpha</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2096"
-></A
-><H2
->Name</H2
->SDL_SetAlpha&nbsp;--&nbsp;Adjust the alpha properties of a surface</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2099"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2100"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetAlpha</B
-></CODE
->(SDL_Surface *surface, Uint32 flag, Uint8 alpha);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2106"
-></A
-><H2
->Description</H2
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->This function and the semantics of SDL alpha blending have changed since version 1.1.4. Up until version 1.1.5, an alpha value of 0 was considered opaque and a value of 255 was considered transparent. This has now been inverted: 0 (<TT
-CLASS="LITERAL"
->SDL_ALPHA_TRANSPARENT</TT
->) is now considered transparent and 255 (<TT
-CLASS="LITERAL"
->SDL_ALPHA_OPAQUE</TT
->) is now considered opaque.</P
-></BLOCKQUOTE
-></DIV
-><P
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-> is used for setting the per-surface alpha
-value and/or enabling and disabling alpha blending.</P
-><P
->The<TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> parameter specifies which surface whose alpha
-attributes you wish to adjust. <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> is used to specify
-whether alpha blending should be used (<TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
->) and
-whether the surface should use RLE acceleration for blitting
-(<TT
-CLASS="LITERAL"
->SDL_RLEACCEL</TT
->). <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> can be an OR'd
-combination of these two options, one of these options or 0. If
-<TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-> is not passed as a flag then all alpha
-information is ignored when blitting the surface. The
-<TT
-CLASS="PARAMETER"
-><I
->alpha</I
-></TT
-> parameter is the per-surface alpha value; a
-surface need not have an alpha channel to use per-surface alpha and blitting
-can still be accelerated with <TT
-CLASS="LITERAL"
->SDL_RLEACCEL</TT
->.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->The per-surface alpha value of 128 is considered a special case and
-is optimised, so it's much faster than other per-surface values.</P
-></BLOCKQUOTE
-></DIV
-><P
->Alpha effects surface blitting in the following ways:</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN2126"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGBA-&#62;RGB with <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The source is alpha-blended with the destination, using the alpha channel. <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> and the per-surface alpha are ignored.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGBA-&#62;RGB without <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The RGB data is copied from the source. The source alpha channel and the per-surface alpha value are ignored.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGB-&#62;RGBA with <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The source is alpha-blended with the destination using the per-surface alpha
-value. If <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is set, only the pixels not
-matching the colorkey value are copied. The alpha channel of the copied pixels
-is set to opaque.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGB-&#62;RGBA without <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The RGB data is copied from the source and the alpha value of the copied pixels
-is set to opaque. If <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is set, only the pixels
-not matching the colorkey value are copied. </P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGBA-&#62;RGBA with <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The source is alpha-blended with the destination using the source alpha
-channel. The alpha channel in the destination surface is left untouched.
-<TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is ignored.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGBA-&#62;RGBA without <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The RGBA data is copied to the destination surface. If <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is set, only the pixels not matching the colorkey value are copied.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGB-&#62;RGB with <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The source is alpha-blended with the destination using the per-surface alpha value. If <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is set, only the pixels not matching the colorkey value are copied.</P
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->RGB-&#62;RGB without <TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><P
->The RGB data is copied from the source. If <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> is set, only the pixels not matching the colorkey value are copied.</P
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
-> Note that RGBA-&#62;RGBA blits (with SDL_SRCALPHA set) keep the alpha
-of the destination surface. This means that you cannot compose two arbitrary
-RGBA surfaces this way and get the result you would expect from "overlaying"
-them; the destination alpha will work as a mask.</P
-><P
->Also note that per-pixel and per-surface alpha cannot be combined;
-the per-pixel alpha is always used if available</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2179"
-></A
-><H2
->Return Value</H2
-><P
->This function returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2184"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlmaprgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGBA</TT
-></A
->,
-<A
-HREF="sdlgetrgba.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetRGBA</TT
-></A
->,
-<A
-HREF="sdldisplayformatalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayFormatAlpha</TT
-></A
->,
-<A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetcolorkey.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetcliprect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetColorKey</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetClipRect</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetcliprect.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,241 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetClipRect</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetAlpha"
-HREF="sdlsetalpha.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetClipRect"
-HREF="sdlgetcliprect.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetalpha.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetcliprect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETCLIPRECT"
-></A
->SDL_SetClipRect</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2199"
-></A
-><H2
->Name</H2
->SDL_SetClipRect&nbsp;--&nbsp;Sets the clipping rectangle for a surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2202"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2203"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_SetClipRect</B
-></CODE
->(SDL_Surface *surface, SDL_Rect *rect);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2209"
-></A
-><H2
->Description</H2
-><P
->Sets the clipping rectangle for a surface.  When this surface is the
-destination of a blit, only the area within the clip rectangle will be
-drawn into.</P
-><P
->The rectangle pointed to by <TT
-CLASS="PARAMETER"
-><I
->rect</I
-></TT
-> will be
-clipped to the edges of the surface so that the clip rectangle for a
-surface can never fall outside the edges of the surface.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->rect</I
-></TT
-> is <TT
-CLASS="LITERAL"
->NULL</TT
-> the clipping
-rectangle will be set to the full size of the surface.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2217"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetcliprect.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetClipRect</TT
-></A
->,
-<A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetalpha.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetcliprect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetAlpha</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetClipRect</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetcolorkey.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,321 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetColorKey</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SaveBMP"
-HREF="sdlsavebmp.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetAlpha"
-HREF="sdlsetalpha.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsavebmp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetalpha.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETCOLORKEY"
-></A
->SDL_SetColorKey</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2045"
-></A
-><H2
->Name</H2
->SDL_SetColorKey&nbsp;--&nbsp;Sets the color key (transparent pixel) in a blittable surface and
-RLE acceleration.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2048"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2049"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetColorKey</B
-></CODE
->(SDL_Surface *surface, Uint32 flag, Uint32 key);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2055"
-></A
-><H2
->Description</H2
-><P
-> Sets the color key (transparent pixel) in a blittable surface and enables or
- disables RLE blit acceleration.</P
-><P
->RLE acceleration can substantially speed up blitting of images with large
-horizontal runs of transparent pixels (i.e., pixels that match the
-<TT
-CLASS="PARAMETER"
-><I
->key</I
-></TT
-> value). The <TT
-CLASS="PARAMETER"
-><I
->key</I
-></TT
-> must be of the same pixel format as the <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
->, <A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
-> is often useful for obtaining an acceptable value.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->flag</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-> then
-<TT
-CLASS="PARAMETER"
-><I
->key</I
-></TT
-> is the transparent pixel value in the source image of a
-blit.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->flag</I
-></TT
-> is OR'd with
-<TT
-CLASS="LITERAL"
->SDL_RLEACCEL</TT
-> then the surface will be draw using RLE
-acceleration when drawn with
-<A
-HREF="sdlblitsurface.html"
->SDL_BlitSurface</A
->.  The surface will
-actually be encoded for RLE acceleration the first time
-<A
-HREF="sdlblitsurface.html"
->SDL_BlitSurface</A
-> or
-<A
-HREF="sdldisplayformat.html"
->SDL_DisplayFormat</A
-> is called on the
-surface.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->flag</I
-></TT
-> is 0, this function clears
-any current color key.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2076"
-></A
-><H2
->Return Value</H2
-><P
->This function returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, or
-<SPAN
-CLASS="RETURNVALUE"
->-1</SPAN
-> if there was an error.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2081"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlblitsurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_BlitSurface</TT
-></A
->,
-<A
-HREF="sdldisplayformat.html"
-><TT
-CLASS="FUNCTION"
->SDL_DisplayFormat</TT
-></A
->,
-<A
-HREF="sdlmaprgb.html"
-><TT
-CLASS="FUNCTION"
->SDL_MapRGB</TT
-></A
->,
-<A
-HREF="sdlsetalpha.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetAlpha</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsavebmp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetalpha.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SaveBMP</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetAlpha</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetcolors.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,358 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetColors</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Flip"
-HREF="sdlflip.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetPalette"
-HREF="sdlsetpalette.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlflip.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetpalette.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETCOLORS"
-></A
->SDL_SetColors</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1462"
-></A
-><H2
->Name</H2
->SDL_SetColors&nbsp;--&nbsp;Sets a portion of the colormap for the given 8-bit surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1465"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1466"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetColors</B
-></CODE
->(SDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1472"
-></A
-><H2
->Description</H2
-><P
->Sets a portion of the colormap for the given 8-bit surface.</P
-><P
->When <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> is the surface associated with the current
-display, the display colormap will be updated with the requested colors.  If
-<TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
-> was set in <A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
-> flags,
-<TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-> will always return <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->,
-and the palette is guaranteed to be set the way you desire, even if the window
-colormap has to be warped or run under emulation.</P
-><P
->The color components of a
-<A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
->
-structure are 8-bits in size, giving you a total of 256<SUP
->3</SUP
->
-=16777216 colors.</P
-><P
->Palettized (8-bit) screen surfaces with the <TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
->
-flag have two palettes, a logical palette that is used for mapping blits
-to/from the surface and a physical palette (that determines how the
-hardware will map the colors to the display). <TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
->
-modifies both palettes (if present), and is equivalent to calling
-<A
-HREF="sdlsetpalette.html"
->SDL_SetPalette</A
-> with the
-<TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> set to
-<TT
-CLASS="LITERAL"
->(SDL_LOGPAL | SDL_PHYSPAL)</TT
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1491"
-></A
-><H2
->Return Value</H2
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> is not a palettized surface, this function
-does nothing, returning <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->.  If all of the colors were set
-as passed to <TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
->, it will return
-<SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->.  If not all the color entries were set exactly as
-given, it will return <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, and you should look at the
-surface palette to determine the actual color palette.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1499"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->/* Create a display surface with a grayscale palette */
-SDL_Surface *screen;
-SDL_Color colors[256];
-int i;
-.
-.
-.
-/* Fill colors with color information */
-for(i=0;i&#60;256;i++){
-  colors[i].r=i;
-  colors[i].g=i;
-  colors[i].b=i;
-}
-
-/* Create display */
-screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
-if(!screen){
-  printf("Couldn't set video mode: %s\n", SDL_GetError());
-  exit(-1);
-}
-
-/* Set palette */
-SDL_SetColors(screen, colors, 0, 256);
-.
-.
-.
-.</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1502"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
->
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdlsetpalette.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetPalette</TT
-></A
->,
-<A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlflip.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetpalette.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Flip</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetPalette</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetcursor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetCursor</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_FreeCursor"
-HREF="sdlfreecursor.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetCursor"
-HREF="sdlgetcursor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlfreecursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETCURSOR"
-></A
->SDL_SetCursor</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2563"
-></A
-><H2
->Name</H2
->SDL_SetCursor&nbsp;--&nbsp;Set the currently active mouse cursor.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2566"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2567"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_SetCursor</B
-></CODE
->(SDL_Cursor *cursor);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2573"
-></A
-><H2
->Description</H2
-><P
->Sets the currently active cursor to 
-the specified one.
-If the cursor is currently visible, the change will be immediately 
-represented on the display.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2576"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetCursor</TT
-></A
->,
-<A
-HREF="sdlcreatecursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateCursor</TT
-></A
->,
-<A
-HREF="sdlshowcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_ShowCursor</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlfreecursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetcursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_FreeCursor</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetCursor</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
--- a/docs/html/sdlseteventfilter.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,284 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetEventFilter</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PushEvent"
-HREF="sdlpushevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetEventFilter"
-HREF="sdlgeteventfilter.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpushevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgeteventfilter.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETEVENTFILTER"
-></A
->SDL_SetEventFilter</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5575"
-></A
-><H2
->Name</H2
->SDL_SetEventFilter&nbsp;--&nbsp;Sets up a filter to process all events before they are posted 
-to the event queue.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5578"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5579"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_SetEventFilter</B
-></CODE
->(SDL_EventFilter filter);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5585"
-></A
-><H2
->Description</H2
-><P
->This function sets up a filter to process all events before they are posted 
-to the event queue.  This is a very powerful and flexible feature.  The filter 
-is prototyped as:
-<PRE
-CLASS="PROGRAMLISTING"
->typedef int (*SDL_EventFilter)(const SDL_Event *event);</PRE
->
-If the filter returns <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->, then the event will be 
-added to the internal queue.  If it returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, 
-then the event will be dropped from the queue.  This allows selective
-filtering of dynamically.</P
-><P
->There is one caveat when dealing with the <TT
-CLASS="LITERAL"
->SDL_QUITEVENT</TT
-> event type.  The
-event filter is only called when the window manager desires to close the
-application window.  If the event filter returns 1, then the window will
-be closed, otherwise the window will remain open if possible.
-If the quit event is generated by an interrupt signal, it will bypass the
-internal queue and be delivered to the application at the next event poll.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Events pushed onto the queue with <A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-> or <A
-HREF="sdlpeepevents.html"
-><TT
-CLASS="FUNCTION"
->SDL_PeepEvents</TT
-></A
-> do not get passed through the event filter.</P
-></BLOCKQUOTE
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
-><SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->Be Careful!</I
-></SPAN
-> The event filter function may run in a different thread so be careful what you do within it.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5602"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlgeteventfilter.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetEventFilter</TT
-></A
->,
-<A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpushevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgeteventfilter.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PushEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetEventFilter</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetgamma.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetGamma</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetPalette"
-HREF="sdlsetpalette.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetGammaRamp"
-HREF="sdlgetgammaramp.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetpalette.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetgammaramp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETGAMMA"
-></A
->SDL_SetGamma</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1569"
-></A
-><H2
->Name</H2
->SDL_SetGamma&nbsp;--&nbsp;Sets the color gamma function for the display</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1572"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1573"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetGamma</B
-></CODE
->(float redgamma, float greengamma, float bluegamma);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1579"
-></A
-><H2
->Description</H2
-><P
->Sets the "gamma function" for the display of each color component.  Gamma
-controls the brightness/contrast of colors displayed on the screen.
-A gamma value of <TT
-CLASS="CONSTANT"
->1.0</TT
-> is identity (i.e., no adjustment
-is made).</P
-><P
->This function adjusts the gamma based on the "gamma function" parameter,
-you can directly specify lookup tables for gamma adjustment with
-<A
-HREF="sdlsetgammaramp.html"
->SDL_SetGammaRamp</A
->.</P
-><P
->Not all display hardware is able to change gamma.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1586"
-></A
-><H2
->Return Value</H2
-><P
->Returns -1 on error (or if gamma adjustment is not supported).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1589"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetgammaramp.html"
->SDL_GetGammaRamp</A
->
-<A
-HREF="sdlsetgammaramp.html"
->SDL_SetGammaRamp</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetpalette.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetgammaramp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetPalette</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetGammaRamp</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetgammaramp.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,230 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetGammaRamp</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetGammaRamp"
-HREF="sdlgetgammaramp.html"><LINK
-REL="NEXT"
-TITLE="SDL_MapRGB"
-HREF="sdlmaprgb.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetgammaramp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlmaprgb.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETGAMMARAMP"
-></A
->SDL_SetGammaRamp</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1624"
-></A
-><H2
->Name</H2
->SDL_SetGammaRamp&nbsp;--&nbsp;Sets the color gamma lookup tables for the display</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1627"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1628"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetGammaRamp</B
-></CODE
->(Uint16 *redtable, Uint16 *greentable, Uint16 *bluetable);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1634"
-></A
-><H2
->Description</H2
-><P
->Sets the gamma lookup tables for the display for each color component.
-Each table is an array of 256 Uint16 values, representing a mapping
-between the input and output for that channel. The input is the index
-into the array, and the output is the 16-bit gamma value at that index,
-scaled to the output color precision. You may pass NULL to any of the
-channels to leave them unchanged.</P
-><P
->This function adjusts the gamma based on lookup tables, you can also
-have the gamma calculated based on a "gamma function" parameter with
-<A
-HREF="sdlsetgamma.html"
->SDL_SetGamma</A
->.</P
-><P
->Not all display hardware is able to change gamma.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1640"
-></A
-><H2
->Return Value</H2
-><P
->Returns -1 on error (or if gamma adjustment is not supported).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1643"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetgamma.html"
->SDL_SetGamma</A
->
-<A
-HREF="sdlgetgammaramp.html"
->SDL_GetGammaRamp</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetgammaramp.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlmaprgb.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetGammaRamp</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_MapRGB</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetmodstate.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,237 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetModState</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetModState"
-HREF="sdlgetmodstate.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetKeyName"
-HREF="sdlgetkeyname.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetmodstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetkeyname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETMODSTATE"
-></A
->SDL_SetModState</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5752"
-></A
-><H2
->Name</H2
->SDL_SetModState&nbsp;--&nbsp;Set the current key modifier state</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5755"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5756"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_SetModState</B
-></CODE
->(SDLMod modstate);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5762"
-></A
-><H2
->Description</H2
-><P
->The inverse of <A
-HREF="sdlgetmodstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetModState</TT
-></A
->, <TT
-CLASS="FUNCTION"
->SDL_SetModState</TT
-> allows you to impose modifier key states on your application.</P
-><P
->Simply pass your desired modifier states into <TT
-CLASS="PARAMETER"
-><I
->modstate</I
-></TT
->. This value my be a logical OR'd combination of the following:</P
-><PRE
-CLASS="PROGRAMLISTING"
->typedef enum {
-  KMOD_NONE  = 0x0000,
-  KMOD_LSHIFT= 0x0001,
-  KMOD_RSHIFT= 0x0002,
-  KMOD_LCTRL = 0x0040,
-  KMOD_RCTRL = 0x0080,
-  KMOD_LALT  = 0x0100,
-  KMOD_RALT  = 0x0200,
-  KMOD_LMETA = 0x0400,
-  KMOD_RMETA = 0x0800,
-  KMOD_NUM   = 0x1000,
-  KMOD_CAPS  = 0x2000,
-  KMOD_MODE  = 0x4000,
-} SDLMod;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5771"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlgetmodstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetModState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetmodstate.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetkeyname.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetModState</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetKeyName</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetpalette.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,352 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetPalette</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetColors"
-HREF="sdlsetcolors.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetGamma"
-HREF="sdlsetgamma.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetcolors.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetgamma.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETPALETTE"
-></A
->SDL_SetPalette</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1517"
-></A
-><H2
->Name</H2
->SDL_SetPalette&nbsp;--&nbsp;Sets the colors in the palette of an 8-bit surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1520"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1521"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetPalette</B
-></CODE
->(SDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1527"
-></A
-><H2
->Description</H2
-><P
->Sets a portion of the palette for the given 8-bit surface.</P
-><P
->Palettized (8-bit) screen surfaces with the
-<TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
-> flag have two palettes, a logical
-palette that is used for mapping blits to/from the surface and a
-physical palette (that determines how the hardware will map the colors
-to the display). <A
-HREF="sdlblitsurface.html"
->SDL_BlitSurface</A
->
-always uses the logical palette when blitting surfaces (if it has to
-convert between surface pixel formats). Because of this, it is often
-useful to modify only one or the other palette to achieve various
-special color effects (e.g., screen fading, color flashes, screen dimming).</P
-><P
->This function can modify either the logical or physical palette by
-specifing <TT
-CLASS="LITERAL"
->SDL_LOGPAL</TT
-> or
-<TT
-CLASS="LITERAL"
->SDL_PHYSPAL</TT
->the in the <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
->
-parameter.</P
-><P
->When <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> is the surface associated with the current
-display, the display colormap will be updated with the requested colors.  If
-<TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
-> was set in <A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
-> flags,
-<TT
-CLASS="FUNCTION"
->SDL_SetPalette</TT
-> will always return <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->,
-and the palette is guaranteed to be set the way you desire, even if the window
-colormap has to be warped or run under emulation.</P
-><P
->The color components of a
-<A
-HREF="sdlcolor.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Color</SPAN
-></A
-> structure
-are 8-bits in size, giving you a total of
-256<SUP
->3</SUP
->=16777216 colors.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1547"
-></A
-><H2
->Return Value</H2
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->surface</I
-></TT
-> is not a palettized surface, this function
-does nothing, returning <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->.  If all of the colors were set
-as passed to <TT
-CLASS="FUNCTION"
->SDL_SetPalette</TT
->, it will return
-<SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->.  If not all the color entries were set exactly as
-given, it will return <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, and you should look at the
-surface palette to determine the actual color palette.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1555"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->        /* Create a display surface with a grayscale palette */
-        SDL_Surface *screen;
-        SDL_Color colors[256];
-        int i;
-        .
-        .
-        .
-        /* Fill colors with color information */
-        for(i=0;i&#60;256;i++){
-          colors[i].r=i;
-          colors[i].g=i;
-          colors[i].b=i;
-        }
-
-        /* Create display */
-        screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
-        if(!screen){
-          printf("Couldn't set video mode: %s\n", SDL_GetError());
-          exit(-1);
-        }
-
-        /* Set palette */
-        SDL_SetPalette(screen, SDL_LOGPAL|SDL_PHYSPAL, colors, 0, 256);
-        .
-        .
-        .
-        .</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1558"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetcolors.html"
->SDL_SetColors</A
->,
-<A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->,
-<A
-HREF="sdlsurface.html"
->SDL_Surface</A
->,
-<A
-HREF="sdlcolor.html"
->SDL_Color</A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetcolors.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetgamma.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetColors</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetGamma</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsettimer.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,267 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetTimer</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Time"
-HREF="time.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_RemoveTimer"
-HREF="sdlremovetimer.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlremovetimer.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
->&nbsp;</TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETTIMER"
-></A
->SDL_SetTimer</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN8557"
-></A
-><H2
->Name</H2
->SDL_SetTimer&nbsp;--&nbsp;Set a callback to run after the specified number of milliseconds has
-elapsed.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN8560"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN8561"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_SetTimer</B
-></CODE
->(Uint32 interval, SDL_TimerCallback callback);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="SDLTIMERCALLBACK"
-></A
-><H2
->Callback</H2
-><P
->/* Function prototype for the timer callback function */
-typedef Uint32 (*SDL_TimerCallback)(Uint32 interval);</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8570"
-></A
-><H2
->Description</H2
-><P
->Set a callback to run after the specified number of milliseconds has
-elapsed. The callback function is passed the current timer interval
-and returns the next timer interval.  If the returned value is the
-same as the one passed in, the periodic alarm continues, otherwise a
-new alarm is scheduled.</P
-><P
->To cancel a currently running timer, call
-<TT
-CLASS="FUNCTION"
->SDL_SetTimer(0, NULL);</TT
-></P
-><P
->The timer callback function may run in a different thread than your
-main constant, and so shouldn't call any functions from within itself.</P
-><P
->The maximum resolution of this timer is 10 ms, which means that if
-you request a 16 ms timer, your callback will run approximately 20 ms
-later on an unloaded system.  If you wanted to set a flag signaling
-a frame update at 30 frames per second (every 33 ms), you might set a
-timer for 30 ms (see example below).</P
-><P
->If you use this function, you need to pass <TT
-CLASS="LITERAL"
->SDL_INIT_TIMER</TT
->
-to <TT
-CLASS="FUNCTION"
->SDL_Init()</TT
->.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->This function is kept for compatibility but has been superseded
-by the new timer functions
-<A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
-> and
-<A
-HREF="sdlremovetimer.html"
->SDL_RemoveTimer</A
-> which support
-multiple timers.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8584"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_SetTimer((33/10)*10, my_callback);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN8588"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdladdtimer.html"
-><TT
-CLASS="FUNCTION"
->SDL_AddTimer</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlremovetimer.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->&nbsp;</TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_RemoveTimer</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="time.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->&nbsp;</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsetvideomode.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,558 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SetVideoMode</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_VideoModeOK"
-HREF="sdlvideomodeok.html"><LINK
-REL="NEXT"
-TITLE="SDL_UpdateRect"
-HREF="sdlupdaterect.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlvideomodeok.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlupdaterect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSETVIDEOMODE"
-></A
->SDL_SetVideoMode</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1239"
-></A
-><H2
->Name</H2
->SDL_SetVideoMode&nbsp;--&nbsp;Set up a video mode with the specified width, height and bits-per-pixel.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1242"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1243"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_Surface *<B
-CLASS="FSFUNC"
->SDL_SetVideoMode</B
-></CODE
->(int width, int height, int bpp, Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1249"
-></A
-><H2
->Description</H2
-><P
->Set up a video mode with the specified width, height and bits-per-pixel.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->bpp</I
-></TT
-> is 0, it is treated as the 
-current display bits per pixel.</P
-><P
->The <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> parameter is the same as the <TT
-CLASS="STRUCTFIELD"
-><I
->flags</I
-></TT
-> field of the <A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-> structure. OR'd combinations of the following values are valid.</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN1259"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Create the video surface in system memory</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Create the video surface in video memory</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_ASYNCBLIT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Enables the use of asynchronous updates of the display surface. This will
-usually slow down blitting on single CPU machines, but may provide a speed
-increase on SMP systems.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_ANYFORMAT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Normally, if a video surface of the requested bits-per-pixel (<TT
-CLASS="PARAMETER"
-><I
->bpp</I
-></TT
->) is not available, SDL will emulate one with a shadow surface. Passing <TT
-CLASS="LITERAL"
->SDL_ANYFORMAT</TT
-> prevents this and causes SDL to use the video surface, regardless of its pixel depth.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Give SDL exclusive palette access. Without this flag you may not always get the the colors you request with <A
-HREF="sdlsetcolors.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-></A
-> or <A
-HREF="sdlsetpalette.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetPalette</TT
-></A
->.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Enable hardware double buffering; only valid with SDL_HWSURFACE. Calling
-<A
-HREF="sdlflip.html"
-><TT
-CLASS="FUNCTION"
->SDL_Flip</TT
-></A
-> will flip the
-buffers and update the screen. All drawing will take place on the surface
-that is not displayed at the moment. If double buffering could not be enabled
-then <TT
-CLASS="FUNCTION"
->SDL_Flip</TT
-> will just perform a
-<A
-HREF="sdlupdaterect.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRect</TT
-></A
->
-on the entire screen.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_FULLSCREEN</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->SDL will attempt to use a fullscreen mode. If a hardware resolution change is
-not possible (for whatever reason), the next higher resolution will be used and
-the display window centered on a black background.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_OPENGL</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Create an OpenGL rendering context. You should have previously set OpenGL video attributes with <A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
->.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_OPENGLBLIT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Create an OpenGL rendering context, like above, but allow normal blitting
-operations. The screen (2D) surface may have an alpha channel, and
-<A
-HREF="sdlupdaterects.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRects</TT
-></A
->
-must be used for updating changes to the screen surface. NOTE: This option
-is kept for compatibility only, and is <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->not</I
-></SPAN
-> recommended for
-new code.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_RESIZABLE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Create a resizable window. When the window is resized by the user a <A
-HREF="sdlresizeevent.html"
-><TT
-CLASS="LITERAL"
->SDL_VIDEORESIZE</TT
-></A
-> event is generated and <TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-> can be called again with the new size.</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_NOFRAME</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->If possible, <TT
-CLASS="LITERAL"
->SDL_NOFRAME</TT
-> causes SDL to create a window with no title bar or frame decoration. Fullscreen modes automatically have this flag set.</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->Whatever <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> <TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-> could satisfy are set in the <TT
-CLASS="STRUCTFIELD"
-><I
->flags</I
-></TT
-> member of the returned surface.</P
-></BLOCKQUOTE
-></DIV
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->The <TT
-CLASS="PARAMETER"
-><I
->bpp</I
-></TT
-> parameter is the number of bits per pixel,
-so a <TT
-CLASS="PARAMETER"
-><I
->bpp</I
-></TT
-> of 24 uses the packed representation of
-3 bytes/pixel. For the more common 4 bytes/pixel mode, use a
-<TT
-CLASS="PARAMETER"
-><I
->bpp</I
-></TT
-> of 32. Somewhat oddly, both 15 and 16 will
-request a 2 bytes/pixel mode, but different pixel formats.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1336"
-></A
-><H2
->Return Value</H2
-><P
->The framebuffer surface, or <SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
-> if it fails.
-The surface returned is freed by SDL_Quit() and should nt be freed by
-the caller.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1340"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
->,
-<A
-HREF="sdlsetcolors.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetColors</TT
-></A
->,
-<A
-HREF="sdlflip.html"
-><TT
-CLASS="FUNCTION"
->SDL_Flip</TT
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlvideomodeok.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlupdaterect.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_VideoModeOK</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UpdateRect</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlshowcursor.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,239 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ShowCursor</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetCursor"
-HREF="sdlgetcursor.html"><LINK
-REL="NEXT"
-TITLE="SDL_GL_LoadLibrary"
-HREF="sdlglloadlibrary.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlglloadlibrary.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSHOWCURSOR"
-></A
->SDL_ShowCursor</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2615"
-></A
-><H2
->Name</H2
->SDL_ShowCursor&nbsp;--&nbsp;Toggle whether or not the cursor is shown on the screen.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2618"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2619"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_ShowCursor</B
-></CODE
->(int toggle);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2625"
-></A
-><H2
->Description</H2
-><P
->Toggle whether or not the cursor is shown on the screen. Passing <TT
-CLASS="LITERAL"
->SDL_ENABLE</TT
-> displays the cursor and passing <TT
-CLASS="LITERAL"
->SDL_DISABLE</TT
-> hides it. The current state of the mouse cursor can be queried by passing <TT
-CLASS="LITERAL"
->SDL_QUERY</TT
->, either <TT
-CLASS="LITERAL"
->SDL_DISABLE</TT
-> or <TT
-CLASS="LITERAL"
->SDL_ENABLE</TT
-> will be returned.</P
-><P
->The cursor starts off displayed, but can be turned off.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2634"
-></A
-><H2
->Return Value</H2
-><P
->Returns the current state of the cursor.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2637"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatecursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateCursor</TT
-></A
->,
-<A
-HREF="sdlsetcursor.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetCursor</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetcursor.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlglloadlibrary.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetCursor</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GL_LoadLibrary</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,597 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_Surface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PixelFormat"
-HREF="sdlpixelformat.html"><LINK
-REL="NEXT"
-TITLE="SDL_VideoInfo"
-HREF="sdlvideoinfo.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpixelformat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlvideoinfo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSURFACE"
-></A
->SDL_Surface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3263"
-></A
-><H2
->Name</H2
->SDL_Surface&nbsp;--&nbsp;Graphical Surface Structure</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3266"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct SDL_Surface {
-        Uint32 flags;                           /* Read-only */
-        SDL_PixelFormat *format;                /* Read-only */
-        int w, h;                               /* Read-only */
-        Uint16 pitch;                           /* Read-only */
-        void *pixels;                           /* Read-write */
-
-        /* clipping information */
-        SDL_Rect clip_rect;                     /* Read-only */
-
-        /* Reference count -- used when freeing surface */
-        int refcount;                           /* Read-mostly */
-
-	/* This structure also contains private fields not shown here */
-} SDL_Surface;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3269"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3271"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->flags</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface flags</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->format</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pixel <A
-HREF="sdlpixelformat.html"
->format</A
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->w, h</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Width and height of the surface</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->pitch</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Length of a surface scanline in bytes</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Pointer to the actual pixel data</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->clip_rect</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->surface clip <A
-HREF="sdlrect.html"
->rectangle</A
-></TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3300"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
->'s represent areas of "graphical"
-memory, memory that can be drawn to. The video framebuffer is returned
-as a <SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-> by
-<A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->
-and <A
-HREF="sdlgetvideosurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetVideoSurface</TT
-></A
->.
-Most of the fields should be pretty obvious.
-<TT
-CLASS="STRUCTFIELD"
-><I
->w</I
-></TT
-> and <TT
-CLASS="STRUCTFIELD"
-><I
->h</I
-></TT
-> are the
-width and height of the surface in pixels.
-<TT
-CLASS="STRUCTFIELD"
-><I
->pixels</I
-></TT
-> is a pointer to the actual pixel data,
-the surface should be <A
-HREF="sdllocksurface.html"
->locked</A
->
-before accessing this field. The <TT
-CLASS="STRUCTFIELD"
-><I
->clip_rect</I
-></TT
-> field
-is the clipping rectangle as set by
-<A
-HREF="sdlsetcliprect.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetClipRect</TT
-></A
->.</P
-><P
->The following are supported in the
-<TT
-CLASS="STRUCTFIELD"
-><I
->flags</I
-></TT
-> field.</P
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3318"
-></A
-><P
-></P
-><TABLE
-BORDER="1"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface is stored in system memory</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWSURFACE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface is stored in video memory</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_ASYNCBLIT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface uses asynchronous blits if possible</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_ANYFORMAT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Allows any pixel-format (Display surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWPALETTE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface has exclusive palette</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface is double buffered (Display surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_FULLSCREEN</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface is full screen (Display Surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_OPENGL</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface has an OpenGL context (Display Surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_OPENGLBLIT</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface supports OpenGL blitting (Display Surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_RESIZABLE</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface is resizable (Display Surface)</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_HWACCEL</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface blit uses hardware acceleration</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SRCCOLORKEY</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface use colorkey blitting</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_RLEACCEL</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Colorkey blitting is accelerated with RLE</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_SRCALPHA</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface blit uses alpha blending</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_PREALLOC</TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Surface uses preallocated memory</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3381"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpixelformat.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlvideoinfo.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PixelFormat</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_VideoInfo</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlsyswmevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,233 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_SysWMEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ExposeEvent"
-HREF="sdlexposeevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_UserEvent"
-HREF="sdluserevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlexposeevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdluserevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLSYSWMEVENT"
-></A
->SDL_SysWMEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4538"
-></A
-><H2
->Name</H2
->SDL_SysWMEvent&nbsp;--&nbsp;Platform-dependent window manager event.</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4541"
-></A
-><H2
->Description</H2
-><P
->The system window manager event contains a pointer to system-specific 
-information about unknown window manager events.  If you enable this event
-using 
-<A
-HREF="sdleventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_EventState()</TT
-></A
->, 
-it will be generated whenever unhandled events are received from the window 
-manager.  This can be used, for example, to implement cut-and-paste in your 
-application.
-
-<PRE
-CLASS="PROGRAMLISTING"
->typedef struct {
-         Uint8 type;   /* Always SDL_SYSWMEVENT */
-         SDL_SysWMmsg *msg;
- } SDL_SysWMEvent;</PRE
->
-
-If you want to obtain system-specific information about the window manager,
-you can fill the version member of a <SPAN
-CLASS="STRUCTNAME"
->SDL_SysWMinfo</SPAN
-> 
-structure (details can be found in <TT
-CLASS="FILENAME"
->SDL_syswm.h</TT
->, which must be included) using the <TT
-CLASS="FUNCTION"
->SDL_VERSION()</TT
-> macro found in 
-<TT
-CLASS="FILENAME"
->SDL_version.h</TT
->, and pass it to the 
-function:
-<DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN4551"
-></A
-><P
-></P
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_GetWMInfo</B
-></CODE
->(SDL_SysWMinfo *info);</CODE
-></P
-><P
-></P
-></DIV
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4556"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdleventstate.html"
-><TT
-CLASS="FUNCTION"
->SDL_EventState</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlexposeevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdluserevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ExposeEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UserEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlthreadid.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_ThreadID</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CreateThread"
-HREF="sdlcreatethread.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetThreadID"
-HREF="sdlgetthreadid.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcreatethread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetthreadid.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLTHREADID"
-></A
->SDL_ThreadID</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7726"
-></A
-><H2
->Name</H2
->SDL_ThreadID&nbsp;--&nbsp;Get the 32-bit thread identifier for the current thread.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7729"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7730"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_ThreadID</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7736"
-></A
-><H2
->Description</H2
-><P
->Get the 32-bit thread identifier for the current thread.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcreatethread.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetthreadid.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CreateThread</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetThreadID</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlunlockaudio.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,211 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UnlockAudio</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Audio"
-HREF="audio.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_LockAudio"
-HREF="sdllockaudio.html"><LINK
-REL="NEXT"
-TITLE="SDL_CloseAudio"
-HREF="sdlcloseaudio.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdllockaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcloseaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUNLOCKAUDIO"
-></A
->SDL_UnlockAudio</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7156"
-></A
-><H2
->Name</H2
->SDL_UnlockAudio&nbsp;--&nbsp;Unlock the callback function</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7159"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7160"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_UnlockAudio</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7166"
-></A
-><H2
->Description</H2
-><P
->Unlocks a previous <A
-HREF="sdllockaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockAudio</TT
-></A
-> call.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7171"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlopenaudio.html"
-><TT
-CLASS="FUNCTION"
->SDL_OpenAudio</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdllockaudio.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcloseaudio.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_LockAudio</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="audio.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CloseAudio</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlunlocksurface.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,219 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UnlockSurface</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_LockSurface"
-HREF="sdllocksurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_LoadBMP"
-HREF="sdlloadbmp.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdllocksurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlloadbmp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUNLOCKSURFACE"
-></A
->SDL_UnlockSurface</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1962"
-></A
-><H2
->Name</H2
->SDL_UnlockSurface&nbsp;--&nbsp;Unlocks a previously locked surface.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1965"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1966"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_UnlockSurface</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1972"
-></A
-><H2
->Description</H2
-><P
->Surfaces that were previously locked using <TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-> must be unlocked with <TT
-CLASS="FUNCTION"
->SDL_UnlockSurface</TT
->. Surfaces should be unlocked as soon as possible.</P
-><P
->It should be noted that since 1.1.8, surface locks are recursive. See <A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1980"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdllocksurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlloadbmp.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_LockSurface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_LoadBMP</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlunlockyuvoverlay.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,225 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UnlockYUVOverlay</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_LockYUVOverlay"
-HREF="sdllockyuvoverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_DisplayYUVOverlay"
-HREF="sdldisplayyuvoverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdllockyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdldisplayyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUNLOCKYUVOVERLAY"
-></A
->SDL_UnlockYUVOverlay</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2880"
-></A
-><H2
->Name</H2
->SDL_UnlockYUVOverlay&nbsp;--&nbsp;Unlock an overlay</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2883"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2884"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_UnlockYUVOverlay</B
-></CODE
->(SDL_Overlay *overlay);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2890"
-></A
-><H2
->Description</H2
-><P
->The opposite to <A
-HREF="sdllockyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockYUVOverlay</TT
-></A
->. Unlocks a previously locked overlay. An overlay must be unlocked before it can be displayed.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2895"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdllockyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_UnlockYUVOverlay</TT
-></A
->,
-<A
-HREF="sdlcreateyuvoverlay.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateYUVOverlay</TT
-></A
->,
-<A
-HREF="sdloverlay.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Overlay</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdllockyuvoverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdldisplayyuvoverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_LockYUVOverlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_DisplayYUVOverlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlupdaterect.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,266 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UpdateRect</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SetVideoMode"
-HREF="sdlsetvideomode.html"><LINK
-REL="NEXT"
-TITLE="SDL_UpdateRects"
-HREF="sdlupdaterects.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsetvideomode.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlupdaterects.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUPDATERECT"
-></A
->SDL_UpdateRect</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1355"
-></A
-><H2
->Name</H2
->SDL_UpdateRect&nbsp;--&nbsp;Makes sure the given area is updated on the given screen.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1358"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1359"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_UpdateRect</B
-></CODE
->(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1365"
-></A
-><H2
->Description</H2
-><P
->Makes sure the given area is updated on the given screen. The rectangle must
-be confined within the screen boundaries (no clipping is done).</P
-><P
->If '<TT
-CLASS="PARAMETER"
-><I
->x</I
-></TT
->', '<TT
-CLASS="PARAMETER"
-><I
->y</I
-></TT
->', '<TT
-CLASS="PARAMETER"
-><I
->w</I
-></TT
->'
-and '<TT
-CLASS="PARAMETER"
-><I
->h</I
-></TT
->' are all 0,
-<TT
-CLASS="FUNCTION"
->SDL_UpdateRect</TT
-> will update the
-entire screen.</P
-><P
->This function should not be called while '<TT
-CLASS="PARAMETER"
-><I
->screen</I
-></TT
->' is
-<A
-HREF="sdllocksurface.html"
->locked</A
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1377"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlupdaterects.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRects</TT
-></A
->,
-<A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsetvideomode.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlupdaterects.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SetVideoMode</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_UpdateRects</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlupdaterects.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,255 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UpdateRects</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_UpdateRect"
-HREF="sdlupdaterect.html"><LINK
-REL="NEXT"
-TITLE="SDL_Flip"
-HREF="sdlflip.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlupdaterect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlflip.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUPDATERECTS"
-></A
->SDL_UpdateRects</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1392"
-></A
-><H2
->Name</H2
->SDL_UpdateRects&nbsp;--&nbsp;Makes sure the given list of rectangles is updated on the given screen.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1395"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1396"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_UpdateRects</B
-></CODE
->(SDL_Surface *screen, int numrects, SDL_Rect *rects);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1402"
-></A
-><H2
->Description</H2
-><P
->Makes sure the given list of rectangles is updated on the given screen.
-The rectangles must all be confined within the screen boundaries (no
-clipping is done).</P
-><P
->This function should not be called while <TT
-CLASS="PARAMETER"
-><I
->screen</I
-></TT
-> is
-<A
-HREF="sdllocksurface.html"
->locked</A
->.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->It is adviced to call this function only once per frame, since each
-call has some processing overhead. This is no restriction since you
-can pass any number of rectangles each time.</P
-><P
->The rectangles are not automatically merged or checked for overlap. In
-general, the programmer can use his knowledge about his particular
-rectangles to merge them in an efficient way, to avoid overdraw.</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1411"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlupdaterect.html"
-><TT
-CLASS="FUNCTION"
->SDL_UpdateRect</TT
-></A
->,
-<A
-HREF="sdlrect.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Rect</SPAN
-></A
->,
-<A
-HREF="sdlsurface.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Surface</SPAN
-></A
->,
-<A
-HREF="sdllocksurface.html"
-><TT
-CLASS="FUNCTION"
->SDL_LockSurface</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlupdaterect.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlflip.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_UpdateRect</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Flip</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdluserevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,337 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_UserEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Event Structures."
-HREF="eventstructures.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_SysWMEvent"
-HREF="sdlsyswmevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_QuitEvent"
-HREF="sdlquitevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsyswmevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlquitevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLUSEREVENT"
-></A
->SDL_UserEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN4565"
-></A
-><H2
->Name</H2
->SDL_UserEvent&nbsp;--&nbsp;A user-defined event type</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4568"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint8 type;
-  int code;
-  void *data1;
-  void *data2;
-} SDL_UserEvent;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4571"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN4573"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="LITERAL"
->SDL_USEREVENT</TT
-> through to <TT
-CLASS="LITERAL"
->SDL_NUMEVENTS-1</TT
-></TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->code</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->User defined event code</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->data1</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->User defined data pointer</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->data2</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->User defined data pointer</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4594"
-></A
-><H2
->Description</H2
-><P
-><SPAN
-CLASS="STRUCTNAME"
->SDL_UserEvent</SPAN
-> is in the <TT
-CLASS="STRUCTFIELD"
-><I
->user</I
-></TT
-> member of the structure <A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->. This event is unique, it is never created by SDL but only by the user. The event can be pushed onto the event queue using <A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
->. The contents of the structure members or completely up to the programmer, the only requirement is that <TT
-CLASS="STRUCTFIELD"
-><I
->type</I
-></TT
-> is a value from <TT
-CLASS="LITERAL"
->SDL_USEREVENT</TT
-> to <TT
-CLASS="LITERAL"
->SDL_NUMEVENTS-1</TT
-> (inclusive).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4606"
-></A
-><H2
->Examples</H2
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_Event event;
-
-event.type = SDL_USEREVENT;
-event.user.code = my_event_code;
-event.user.data1 = significant_data;
-event.user.data2 = 0;
-SDL_PushEvent(&#38;event);</PRE
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN4610"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlpushevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PushEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsyswmevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlquitevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_SysWMEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventstructures.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_QuitEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlvideodrivername.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,243 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_VideoDriverName</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetVideoInfo"
-HREF="sdlgetvideoinfo.html"><LINK
-REL="NEXT"
-TITLE="SDL_ListModes"
-HREF="sdllistmodes.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetvideoinfo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdllistmodes.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLVIDEODRIVERNAME"
-></A
->SDL_VideoDriverName</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1127"
-></A
-><H2
->Name</H2
->SDL_VideoDriverName&nbsp;--&nbsp;Obtain the name of the video driver</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1130"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1131"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->char *<B
-CLASS="FSFUNC"
->SDL_VideoDriverName</B
-></CODE
->(char *namebuf, int maxlen);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1137"
-></A
-><H2
->Description</H2
-><P
->The buffer pointed to by <TT
-CLASS="PARAMETER"
-><I
->namebuf</I
-></TT
-> is filled up to a maximum of <TT
-CLASS="PARAMETER"
-><I
->maxlen</I
-></TT
-> characters (include the NULL terminator) with the name of the initialised video driver. The driver name is a simple one word identifier like "x11" or "windib".</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1142"
-></A
-><H2
->Return Value</H2
-><P
->Returns <TT
-CLASS="LITERAL"
->NULL</TT
-> if video has not been initialised with <TT
-CLASS="FUNCTION"
->SDL_Init</TT
-> or a pointer to <TT
-CLASS="PARAMETER"
-><I
->namebuf</I
-></TT
-> otherwise.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1148"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->
-<A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_InitSubSystem</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetvideoinfo.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdllistmodes.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetVideoInfo</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_ListModes</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlvideoinfo.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,408 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_VideoInfo</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Surface"
-HREF="sdlsurface.html"><LINK
-REL="NEXT"
-TITLE="SDL_Overlay"
-HREF="sdloverlay.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdloverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLVIDEOINFO"
-></A
->SDL_VideoInfo</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3390"
-></A
-><H2
->Name</H2
->SDL_VideoInfo&nbsp;--&nbsp;Video Target information</DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3393"
-></A
-><H2
->Structure Definition</H2
-><PRE
-CLASS="PROGRAMLISTING"
->typedef struct{
-  Uint32 hw_available:1;
-  Uint32 wm_available:1;
-  Uint32 blit_hw:1;
-  Uint32 blit_hw_CC:1;
-  Uint32 blit_hw_A:1;
-  Uint32 blit_sw:1;
-  Uint32 blit_sw_CC:1;
-  Uint32 blit_sw_A:1;
-  Uint32 blit_fill;
-  Uint32 video_mem;
-  SDL_PixelFormat *vfmt;
-} SDL_VideoInfo;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3396"
-></A
-><H2
->Structure Data</H2
-><DIV
-CLASS="INFORMALTABLE"
-><A
-NAME="AEN3398"
-></A
-><P
-></P
-><TABLE
-BORDER="0"
-CLASS="CALSTABLE"
-><TBODY
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->hw_available</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Is it possible to create hardware surfaces?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->wm_available</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Is there a window manager available</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_hw</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are hardware to hardware blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_hw_CC</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are hardware to hardware colorkey blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_hw_A</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are hardware to hardware alpha blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_sw</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are software to hardware blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_sw_CC</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are software to hardware colorkey blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_sw_A</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are software to hardware alpha blits accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->blit_fill</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Are color fills accelerated?</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->video_mem</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
->Total amount of video memory in Kilobytes</TD
-></TR
-><TR
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><TT
-CLASS="STRUCTFIELD"
-><I
->vfmt</I
-></TT
-></TD
-><TD
-ALIGN="LEFT"
-VALIGN="TOP"
-><A
-HREF="sdlpixelformat.html"
->Pixel format</A
-> of the video device</TD
-></TR
-></TBODY
-></TABLE
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3446"
-></A
-><H2
->Description</H2
-><P
->This (read-only) structure is returned by <A
-HREF="sdlgetvideoinfo.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetVideoInfo</TT
-></A
->. It contains information on either the 'best' available mode  (if called before <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->) or the current video mode.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3453"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlpixelformat.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_PixelFormat</SPAN
-></A
->,
-<A
-HREF="sdlgetvideoinfo.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetVideoInfo</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlsurface.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdloverlay.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Surface</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_Overlay</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlvideomodeok.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,270 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_VideoModeOK</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_ListModes"
-HREF="sdllistmodes.html"><LINK
-REL="NEXT"
-TITLE="SDL_SetVideoMode"
-HREF="sdlsetvideomode.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdllistmodes.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlsetvideomode.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLVIDEOMODEOK"
-></A
->SDL_VideoModeOK</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN1202"
-></A
-><H2
->Name</H2
->SDL_VideoModeOK&nbsp;--&nbsp;Check to see if a particular video mode is supported.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN1205"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN1206"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_VideoModeOK</B
-></CODE
->(int width, int height, int bpp, Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1212"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_VideoModeOK</TT
-> returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> 
-if the requested mode is not supported under any bit depth, or returns the 
-bits-per-pixel of the closest available mode with the given width, height and requested <A
-HREF="sdlsurface.html"
->surface</A
-> flags (see <A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->).</P
-><P
->The bits-per-pixel value returned is only a suggested mode. You can usually request and bpp you want when <A
-HREF="sdlsetvideomode.html"
->setting</A
->  the video mode and SDL will emulate that color depth with a shadow video surface.</P
-><P
->The arguments to <TT
-CLASS="FUNCTION"
->SDL_VideoModeOK</TT
-> are the same ones you 
-would pass to <A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
-></P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1225"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_Surface *screen;
-Uint32 bpp;
-.
-.
-.
-printf("Checking mode 640x480@16bpp.\n");
-bpp=SDL_VideoModeOK(640, 480, 16, SDL_HWSURFACE);
-
-if(!bpp){
-  printf("Mode not available.\n");
-  exit(-1);
-}
-
-printf("SDL Recommends 640x480@%dbpp.\n", bpp);
-screen=SDL_SetVideoMode(640, 480, bpp, SDL_HWSURFACE);
-.
-.</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN1228"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlgetvideoinfo.html"
-><TT
-CLASS="FUNCTION"
->SDL_GetVideoInfo</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdllistmodes.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlsetvideomode.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_ListModes</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_SetVideoMode</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwaitevent.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WaitEvent</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Event Functions."
-HREF="eventfunctions.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_PollEvent"
-HREF="sdlpollevent.html"><LINK
-REL="NEXT"
-TITLE="SDL_PushEvent"
-HREF="sdlpushevent.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlpollevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlpushevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWAITEVENT"
-></A
->SDL_WaitEvent</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN5507"
-></A
-><H2
->Name</H2
->SDL_WaitEvent&nbsp;--&nbsp;Waits indefinitely for the next available event.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN5510"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN5511"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_WaitEvent</B
-></CODE
->(SDL_Event *event);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5517"
-></A
-><H2
->Description</H2
-><P
->Waits indefinitely for the next available event, returning 
-<SPAN
-CLASS="RETURNVALUE"
->1</SPAN
->, or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if there was 
-an error while waiting for events.  </P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->event</I
-></TT
-> is not <TT
-CLASS="LITERAL"
->NULL</TT
->, the next 
-event is removed from the queue and stored in that area.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN5525"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_Event</SPAN
-></A
->,
-<A
-HREF="sdlpollevent.html"
-><TT
-CLASS="FUNCTION"
->SDL_PollEvent</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlpollevent.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlpushevent.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_PollEvent</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="eventfunctions.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_PushEvent</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwaitthread.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WaitThread</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Multi-threaded Programming"
-HREF="thread.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_GetThreadID"
-HREF="sdlgetthreadid.html"><LINK
-REL="NEXT"
-TITLE="SDL_KillThread"
-HREF="sdlkillthread.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlgetthreadid.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlkillthread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWAITTHREAD"
-></A
->SDL_WaitThread</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN7766"
-></A
-><H2
->Name</H2
->SDL_WaitThread&nbsp;--&nbsp;Wait for a thread to finish.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN7769"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN7770"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"
-#include "SDL_thread.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_WaitThread</B
-></CODE
->(SDL_Thread *thread, int *status);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7776"
-></A
-><H2
->Description</H2
-><P
->Wait for a thread to finish (timeouts are not supported).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7779"
-></A
-><H2
->Return Value</H2
-><P
->The return code for the thread function is placed in the area pointed to by
-<TT
-CLASS="PARAMETER"
-><I
->status</I
-></TT
->, if <TT
-CLASS="PARAMETER"
-><I
->status</I
-></TT
-> is not
-<SPAN
-CLASS="RETURNVALUE"
->NULL</SPAN
->.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN7785"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlcreatethread.html"
-><TT
-CLASS="FUNCTION"
->SDL_CreateThread</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlgetthreadid.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlkillthread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_GetThreadID</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="thread.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_KillThread</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwarpmouse.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WarpMouse</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Video"
-HREF="video.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_DisplayFormatAlpha"
-HREF="sdldisplayformatalpha.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateCursor"
-HREF="sdlcreatecursor.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdldisplayformatalpha.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatecursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWARPMOUSE"
-></A
->SDL_WarpMouse</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN2465"
-></A
-><H2
->Name</H2
->SDL_WarpMouse&nbsp;--&nbsp;Set the position of the mouse cursor.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN2468"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN2469"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_WarpMouse</B
-></CODE
->(Uint16 x, Uint16 y);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2475"
-></A
-><H2
->Description</H2
-><P
->Set the position of the mouse cursor (generates a mouse motion event).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN2478"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlmousemotionevent.html"
-><SPAN
-CLASS="STRUCTNAME"
->SDL_MouseMotionEvent</SPAN
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdldisplayformatalpha.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatecursor.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_DisplayFormatAlpha</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="video.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateCursor</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwasinit.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,284 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WasInit</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="General"
-HREF="general.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Quit"
-HREF="sdlquit.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetError"
-HREF="sdlgeterror.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlquit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgeterror.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWASINIT"
-></A
->SDL_WasInit</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN617"
-></A
-><H2
->Name</H2
->SDL_WasInit&nbsp;--&nbsp;Check which subsystems are initialized</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN620"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN621"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->Uint32 <B
-CLASS="FSFUNC"
->SDL_WasInit</B
-></CODE
->(Uint32 flags);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN627"
-></A
-><H2
->Description</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_WasInit</TT
-> allows you to see which SDL subsytems have been <A
-HREF="sdlinit.html"
->initialized</A
->. <TT
-CLASS="PARAMETER"
-><I
->flags</I
-></TT
-> is a bitwise OR'd combination of the subsystems you wish to check (see <A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
-> for a list of subsystem flags).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN635"
-></A
-><H2
->Return Value</H2
-><P
-><TT
-CLASS="FUNCTION"
->SDL_WasInit</TT
-> returns a bitwised OR'd combination of the initialized subsystems.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN639"
-></A
-><H2
->Examples</H2
-><PRE
-CLASS="PROGRAMLISTING"
->&#13;/* Here are several ways you can use SDL_WasInit() */
-
-/* Get init data on all the subsystems */
-Uint32 subsystem_init;
-
-subsystem_init=SDL_WasInit(SDL_INIT_EVERYTHING);
-
-if(subsystem_init&#38;SDL_INIT_VIDEO)
-  printf("Video is initialized.\n");
-else
-  printf("Video is not initialized.\n");
-
-
-
-/* Just check for one specfic subsystem */
-
-if(SDL_WasInit(SDL_INIT_VIDEO)!=0)
-  printf("Video is initialized.\n");
-else
-  printf("Video is not initialized.\n");
-
-
-
-
-/* Check for two subsystems */
-
-Uint32 subsystem_mask=SDL_INIT_VIDEO|SDL_INIT_AUDIO;
-
-if(SDL_WasInit(subsystem_mask)==subsystem_mask)
-  printf("Video and Audio initialized.\n");
-else
-  printf("Video and Audio not initialized.\n");&#13;</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN642"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlinit.html"
-><TT
-CLASS="FUNCTION"
->SDL_Init</TT
-></A
->,
-<A
-HREF="sdlinitsubsystem.html"
-><TT
-CLASS="FUNCTION"
->SDL_Subsystem</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlquit.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgeterror.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Quit</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="general.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetError</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmgetcaption.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,222 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_GetCaption</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_SetCaption"
-HREF="sdlwmsetcaption.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_SetIcon"
-HREF="sdlwmseticon.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmsetcaption.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmseticon.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMGETCAPTION"
-></A
->SDL_WM_GetCaption</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3556"
-></A
-><H2
->Name</H2
->SDL_WM_GetCaption&nbsp;--&nbsp;Gets the window title and icon name.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3559"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3560"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_WM_GetCaption</B
-></CODE
->(char **title, char **icon);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3566"
-></A
-><H2
->Description</H2
-><P
->Set pointers to the window <TT
-CLASS="PARAMETER"
-><I
->title</I
-></TT
-> and <TT
-CLASS="PARAMETER"
-><I
->icon</I
-></TT
-> name.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3571"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlwmsetcaption.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_SetCaption</TT
-></A
->,
-<A
-HREF="sdlwmseticon.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_SetIcon</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmsetcaption.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmseticon.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_SetCaption</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_SetIcon</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmgrabinput.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,224 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_GrabInput</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_ToggleFullScreen"
-HREF="sdlwmtogglefullscreen.html"><LINK
-REL="NEXT"
-TITLE="Events"
-HREF="event.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmtogglefullscreen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="event.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMGRABINPUT"
-></A
->SDL_WM_GrabInput</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3663"
-></A
-><H2
->Name</H2
->SDL_WM_GrabInput&nbsp;--&nbsp;Grabs mouse and keyboard input.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3666"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3667"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->SDL_GrabMode <B
-CLASS="FSFUNC"
->SDL_WM_GrabInput</B
-></CODE
->(SDL_GrabMode mode);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3673"
-></A
-><H2
->Description</H2
-><P
->Grabbing means that the mouse is confined to the application window,
-and nearly all keyboard input is passed directly to the application,
-and not interpreted by a window manager, if any.</P
-><P
->When <TT
-CLASS="PARAMETER"
-><I
->mode</I
-></TT
-> is <TT
-CLASS="LITERAL"
->SDL_GRAB_QUERY</TT
-> the grab mode is not changed, but the current grab mode is returned.</P
-><P
-><PRE
-CLASS="PROGRAMLISTING"
->typedef enum {
-  SDL_GRAB_QUERY,
-  SDL_GRAB_OFF,
-  SDL_GRAB_ON
-} SDL_GrabMode;</PRE
->
-                    </P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3681"
-></A
-><H2
->Return Value</H2
-><P
->The current/new <SPAN
-CLASS="STRUCTNAME"
->SDL_GrabMode</SPAN
->.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmtogglefullscreen.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="event.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_ToggleFullScreen</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->Events</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmiconifywindow.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,211 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_IconifyWindow</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_SetIcon"
-HREF="sdlwmseticon.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_ToggleFullScreen"
-HREF="sdlwmtogglefullscreen.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmseticon.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmtogglefullscreen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMICONIFYWINDOW"
-></A
->SDL_WM_IconifyWindow</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3617"
-></A
-><H2
->Name</H2
->SDL_WM_IconifyWindow&nbsp;--&nbsp;Iconify/Minimise the window</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3620"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3621"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_WM_IconifyWindow</B
-></CODE
->(void);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3627"
-></A
-><H2
->Description</H2
-><P
->If the application is running in a window managed environment SDL attempts to iconify/minimise it. If <TT
-CLASS="FUNCTION"
->SDL_WM_IconifyWindow</TT
-> is successful, the application will receive a <A
-HREF="sdlactiveevent.html"
-><TT
-CLASS="LITERAL"
->SDL_APPACTIVE</TT
-></A
-> loss event.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3633"
-></A
-><H2
->Return Value</H2
-><P
->Returns non-zero on success or <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> if iconification is not support or was refused by the window manager.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmseticon.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmtogglefullscreen.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_SetIcon</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_ToggleFullScreen</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmsetcaption.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,212 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_SetCaption</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_GetCaption"
-HREF="sdlwmgetcaption.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="wm.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmgetcaption.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMSETCAPTION"
-></A
->SDL_WM_SetCaption</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3532"
-></A
-><H2
->Name</H2
->SDL_WM_SetCaption&nbsp;--&nbsp;Sets the window tile and icon name.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3535"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3536"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_WM_SetCaption</B
-></CODE
->(const char *title, const char *icon);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3542"
-></A
-><H2
->Description</H2
-><P
->Sets the title-bar and icon name of the display window.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3545"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlwmgetcaption.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_GetCaption</TT
-></A
->,
-<A
-HREF="sdlwmseticon.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_SetIcon</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmgetcaption.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->Window Management</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_GetCaption</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmseticon.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,260 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_SetIcon</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_GetCaption"
-HREF="sdlwmgetcaption.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_IconifyWindow"
-HREF="sdlwmiconifywindow.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmgetcaption.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmiconifywindow.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMSETICON"
-></A
->SDL_WM_SetIcon</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3582"
-></A
-><H2
->Name</H2
->SDL_WM_SetIcon&nbsp;--&nbsp;Sets the icon for the display window.</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3585"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3586"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->void <B
-CLASS="FSFUNC"
->SDL_WM_SetIcon</B
-></CODE
->(SDL_Surface *icon, Uint8 *mask);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3592"
-></A
-><H2
->Description</H2
-><P
->Sets the icon for the display window. Win32 icons must be 32x32.</P
-><P
->This function must be called before the first call to 
-<A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->.</P
-><P
->The <TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-> is a bitmask that describes the shape of the
-icon. If <TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-> is NULL, then the shape is determined by
-the colorkey of <TT
-CLASS="PARAMETER"
-><I
->icon</I
-></TT
->, if any, or makes the icon
-rectangular (no transparency) otherwise.</P
-><P
->If <TT
-CLASS="PARAMETER"
-><I
->mask</I
-></TT
-> is non-NULL, it points to a bitmap with bits set
-where the corresponding pixel should be visible. The format of the bitmap is as
-follows: Scanlines come in the usual top-down order. Each scanline consists of
-(width / 8) bytes, rounded up. The most significant bit of each byte represents
-the leftmost pixel.</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3603"
-></A
-><H2
->Example</H2
-><PRE
-CLASS="PROGRAMLISTING"
->SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL);</PRE
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3606"
-></A
-><H2
->See Also</H2
-><P
-><A
-HREF="sdlsetvideomode.html"
-><TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
-></A
->,
-<A
-HREF="sdlwmsetcaption.html"
-><TT
-CLASS="FUNCTION"
->SDL_WM_SetCaption</TT
-></A
-></P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmgetcaption.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmiconifywindow.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_GetCaption</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_IconifyWindow</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/sdlwmtogglefullscreen.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,205 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->SDL_WM_ToggleFullScreen</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="Window Management"
-HREF="wm.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_WM_IconifyWindow"
-HREF="sdlwmiconifywindow.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_GrabInput"
-HREF="sdlwmgrabinput.html"></HEAD
-><BODY
-CLASS="REFENTRY"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlwmiconifywindow.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmgrabinput.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><H1
-><A
-NAME="SDLWMTOGGLEFULLSCREEN"
-></A
->SDL_WM_ToggleFullScreen</H1
-><DIV
-CLASS="REFNAMEDIV"
-><A
-NAME="AEN3641"
-></A
-><H2
->Name</H2
->SDL_WM_ToggleFullScreen&nbsp;--&nbsp;Toggles fullscreen mode</DIV
-><DIV
-CLASS="REFSYNOPSISDIV"
-><A
-NAME="AEN3644"
-></A
-><H2
->Synopsis</H2
-><DIV
-CLASS="FUNCSYNOPSIS"
-><A
-NAME="AEN3645"
-></A
-><P
-></P
-><PRE
-CLASS="FUNCSYNOPSISINFO"
->#include "SDL.h"</PRE
-><P
-><CODE
-><CODE
-CLASS="FUNCDEF"
->int <B
-CLASS="FSFUNC"
->SDL_WM_ToggleFullScreen</B
-></CODE
->(SDL_Surface *surface);</CODE
-></P
-><P
-></P
-></DIV
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3651"
-></A
-><H2
->Description</H2
-><P
->Toggles the application between windowed and fullscreen mode, if supported. (X11 is the only target currently supported, BeOS support is experimental).</P
-></DIV
-><DIV
-CLASS="REFSECT1"
-><A
-NAME="AEN3654"
-></A
-><H2
->Return Value</H2
-><P
->Returns <SPAN
-CLASS="RETURNVALUE"
->0</SPAN
-> on failure or <SPAN
-CLASS="RETURNVALUE"
->1</SPAN
-> on success.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlwmiconifywindow.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmgrabinput.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_WM_IconifyWindow</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="wm.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_GrabInput</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/thread.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,313 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Multi-threaded Programming</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CDtrack"
-HREF="sdlcdtrack.html"><LINK
-REL="NEXT"
-TITLE="SDL_CreateThread"
-HREF="sdlcreatethread.html"><META
-NAME="KEYWORD"
-CONTENT="threads"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcdtrack.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlcreatethread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="THREAD"
-></A
->Chapter 12. Multi-threaded Programming</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlcreatethread.html"
->SDL_CreateThread</A
->&nbsp;--&nbsp;Creates a new thread of execution that shares its parent's properties.</DT
-><DT
-><A
-HREF="sdlthreadid.html"
->SDL_ThreadID</A
->&nbsp;--&nbsp;Get the 32-bit thread identifier for the current thread.</DT
-><DT
-><A
-HREF="sdlgetthreadid.html"
->SDL_GetThreadID</A
->&nbsp;--&nbsp;Get the SDL thread ID of a SDL_Thread</DT
-><DT
-><A
-HREF="sdlwaitthread.html"
->SDL_WaitThread</A
->&nbsp;--&nbsp;Wait for a thread to finish.</DT
-><DT
-><A
-HREF="sdlkillthread.html"
->SDL_KillThread</A
->&nbsp;--&nbsp;Gracelessly terminates the thread.</DT
-><DT
-><A
-HREF="sdlcreatemutex.html"
->SDL_CreateMutex</A
->&nbsp;--&nbsp;Create a mutex</DT
-><DT
-><A
-HREF="sdldestroymutex.html"
->SDL_DestroyMutex</A
->&nbsp;--&nbsp;Destroy a mutex</DT
-><DT
-><A
-HREF="sdlmutexp.html"
->SDL_mutexP</A
->&nbsp;--&nbsp;Lock a mutex</DT
-><DT
-><A
-HREF="sdlmutexv.html"
->SDL_mutexV</A
->&nbsp;--&nbsp;Unlock a mutex</DT
-><DT
-><A
-HREF="sdlcreatesemaphore.html"
->SDL_CreateSemaphore</A
->&nbsp;--&nbsp;Creates a new semaphore and assigns an initial value to it.</DT
-><DT
-><A
-HREF="sdldestroysemaphore.html"
->SDL_DestroySemaphore</A
->&nbsp;--&nbsp;Destroys a semaphore that was created by <A
-HREF="sdlcreatesemaphore.html"
->SDL_CreateSemaphore</A
->.</DT
-><DT
-><A
-HREF="sdlsemwait.html"
->SDL_SemWait</A
->&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DT
-><DT
-><A
-HREF="sdlsemtrywait.html"
->SDL_SemTryWait</A
->&nbsp;--&nbsp;Attempt to lock a semaphore but don't suspend the thread.</DT
-><DT
-><A
-HREF="sdlsemwaittimeout.html"
->SDL_SemWaitTimeout</A
->&nbsp;--&nbsp;Lock a semaphore, but only wait up to a specified maximum time.</DT
-><DT
-><A
-HREF="sdlsempost.html"
->SDL_SemPost</A
->&nbsp;--&nbsp;Unlock a semaphore.</DT
-><DT
-><A
-HREF="sdlsemvalue.html"
->SDL_SemValue</A
->&nbsp;--&nbsp;Return the current value of a semaphore.</DT
-><DT
-><A
-HREF="sdlcreatecond.html"
->SDL_CreateCond</A
->&nbsp;--&nbsp;Create a condition variable</DT
-><DT
-><A
-HREF="sdldestroycond.html"
->SDL_DestroyCond</A
->&nbsp;--&nbsp;Destroy a condition variable</DT
-><DT
-><A
-HREF="sdlcondsignal.html"
->SDL_CondSignal</A
->&nbsp;--&nbsp;Restart a thread wait on a condition variable</DT
-><DT
-><A
-HREF="sdlcondbroadcast.html"
->SDL_CondBroadcast</A
->&nbsp;--&nbsp;Restart all threads waiting on a condition variable</DT
-><DT
-><A
-HREF="sdlcondwait.html"
->SDL_CondWait</A
->&nbsp;--&nbsp;Wait on a condition variable</DT
-><DT
-><A
-HREF="sdlcondwaittimeout.html"
->SDL_CondWaitTimeout</A
->&nbsp;--&nbsp;Wait on a condition variable, with timeout</DT
-></DL
-></DIV
-><P
->SDL provides functions for creating threads, mutexes, semphores and condition variables.</P
-><P
->In general, you must be very aware of concurrency and data integrity issues
-when writing multi-threaded programs.  Some good guidelines include:
-<P
-></P
-><UL
-><LI
-><P
->Don't call SDL video/event functions from separate threads</P
-></LI
-><LI
-><P
->Don't use any library functions in separate threads</P
-></LI
-><LI
-><P
->Don't perform any memory management in separate threads</P
-></LI
-><LI
-><P
->Lock global variables which may be accessed by multiple threads</P
-></LI
-><LI
-><P
->Never terminate threads, always set a flag and wait for them to quit</P
-></LI
-><LI
-><P
->Think very carefully about all possible ways your code may interact</P
-></LI
-></UL
-></P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
-><P
-><B
->Note: </B
->SDL's threading is not implemented on MacOS, due to that lack of preemptive thread support (Mac OS X dos nt suffer from this problem)</P
-></BLOCKQUOTE
-></DIV
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcdtrack.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlcreatethread.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CDtrack</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_CreateThread</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/time.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,206 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Time</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_CondWaitTimeout"
-HREF="sdlcondwaittimeout.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetTicks"
-HREF="sdlgetticks.html"><META
-NAME="KEYWORD"
-CONTENT="time"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlcondwaittimeout.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetticks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="TIME"
-></A
->Chapter 13. Time</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlgetticks.html"
->SDL_GetTicks</A
->&nbsp;--&nbsp;Get the number of milliseconds since the SDL library initialization.</DT
-><DT
-><A
-HREF="sdldelay.html"
->SDL_Delay</A
->&nbsp;--&nbsp;Wait a specified number of milliseconds before returning.</DT
-><DT
-><A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->&nbsp;--&nbsp;Add a timer which will call a callback after the specified number of milliseconds has
-elapsed.</DT
-><DT
-><A
-HREF="sdlremovetimer.html"
->SDL_RemoveTimer</A
->&nbsp;--&nbsp;Remove a timer which was added with
-<A
-HREF="sdladdtimer.html"
->SDL_AddTimer</A
->.</DT
-><DT
-><A
-HREF="sdlsettimer.html"
->SDL_SetTimer</A
->&nbsp;--&nbsp;Set a callback to run after the specified number of milliseconds has
-elapsed.</DT
-></DL
-></DIV
-><P
->SDL provides several cross-platform functions for dealing with time.
-It provides a way to get the current time, a way to wait a little while,
-and a simple timer mechanism.  These functions give you two ways of moving an
-object every x milliseconds:
-
-<P
-></P
-><UL
-><LI
-><P
->Use a timer callback function.  This may have the bad effect that it runs in a seperate thread or uses alarm signals, but it's easier to implement.</P
-></LI
-><LI
-><P
->Or you can get the number of milliseconds passed, and move the object if, for example, 30 ms passed.</P
-></LI
-></UL
->&#13;</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlcondwaittimeout.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetticks.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_CondWaitTimeout</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetTicks</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/video.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,507 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Video</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_envvars"
-HREF="sdlenvvars.html"><LINK
-REL="NEXT"
-TITLE="SDL_GetVideoSurface"
-HREF="sdlgetvideosurface.html"><META
-NAME="KEYWORD"
-CONTENT="video"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdlenvvars.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlgetvideosurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="VIDEO"
-></A
->Chapter 6. Video</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlgetvideosurface.html"
->SDL_GetVideoSurface</A
->&nbsp;--&nbsp;returns a pointer to the current display surface</DT
-><DT
-><A
-HREF="sdlgetvideoinfo.html"
->SDL_GetVideoInfo</A
->&nbsp;--&nbsp;returns a pointer to information about the video hardware</DT
-><DT
-><A
-HREF="sdlvideodrivername.html"
->SDL_VideoDriverName</A
->&nbsp;--&nbsp;Obtain the name of the video driver</DT
-><DT
-><A
-HREF="sdllistmodes.html"
->SDL_ListModes</A
->&nbsp;--&nbsp;Returns a pointer to an array of available screen dimensions for 
-the given format and video flags</DT
-><DT
-><A
-HREF="sdlvideomodeok.html"
->SDL_VideoModeOK</A
->&nbsp;--&nbsp;Check to see if a particular video mode is supported.</DT
-><DT
-><A
-HREF="sdlsetvideomode.html"
->SDL_SetVideoMode</A
->&nbsp;--&nbsp;Set up a video mode with the specified width, height and bits-per-pixel.</DT
-><DT
-><A
-HREF="sdlupdaterect.html"
->SDL_UpdateRect</A
->&nbsp;--&nbsp;Makes sure the given area is updated on the given screen.</DT
-><DT
-><A
-HREF="sdlupdaterects.html"
->SDL_UpdateRects</A
->&nbsp;--&nbsp;Makes sure the given list of rectangles is updated on the given screen.</DT
-><DT
-><A
-HREF="sdlflip.html"
->SDL_Flip</A
->&nbsp;--&nbsp;Swaps screen buffers</DT
-><DT
-><A
-HREF="sdlsetcolors.html"
->SDL_SetColors</A
->&nbsp;--&nbsp;Sets a portion of the colormap for the given 8-bit surface.</DT
-><DT
-><A
-HREF="sdlsetpalette.html"
->SDL_SetPalette</A
->&nbsp;--&nbsp;Sets the colors in the palette of an 8-bit surface.</DT
-><DT
-><A
-HREF="sdlsetgamma.html"
->SDL_SetGamma</A
->&nbsp;--&nbsp;Sets the color gamma function for the display</DT
-><DT
-><A
-HREF="sdlgetgammaramp.html"
->SDL_GetGammaRamp</A
->&nbsp;--&nbsp;Gets the color gamma lookup tables for the display</DT
-><DT
-><A
-HREF="sdlsetgammaramp.html"
->SDL_SetGammaRamp</A
->&nbsp;--&nbsp;Sets the color gamma lookup tables for the display</DT
-><DT
-><A
-HREF="sdlmaprgb.html"
->SDL_MapRGB</A
->&nbsp;--&nbsp;Map a RGB color value to a pixel format.</DT
-><DT
-><A
-HREF="sdlmaprgba.html"
->SDL_MapRGBA</A
->&nbsp;--&nbsp;Map a RGBA color value to a pixel format.</DT
-><DT
-><A
-HREF="sdlgetrgb.html"
->SDL_GetRGB</A
->&nbsp;--&nbsp;Get RGB values from a pixel in the specified pixel format.</DT
-><DT
-><A
-HREF="sdlgetrgba.html"
->SDL_GetRGBA</A
->&nbsp;--&nbsp;Get RGBA values from a pixel in the specified pixel format.</DT
-><DT
-><A
-HREF="sdlcreatergbsurface.html"
->SDL_CreateRGBSurface</A
->&nbsp;--&nbsp;Create an empty SDL_Surface</DT
-><DT
-><A
-HREF="sdlcreatergbsurfacefrom.html"
->SDL_CreateRGBSurfaceFrom</A
->&nbsp;--&nbsp;Create an SDL_Surface from pixel data</DT
-><DT
-><A
-HREF="sdlfreesurface.html"
->SDL_FreeSurface</A
->&nbsp;--&nbsp;Frees (deletes) a SDL_Surface</DT
-><DT
-><A
-HREF="sdllocksurface.html"
->SDL_LockSurface</A
->&nbsp;--&nbsp;Lock a surface for directly access.</DT
-><DT
-><A
-HREF="sdlunlocksurface.html"
->SDL_UnlockSurface</A
->&nbsp;--&nbsp;Unlocks a previously locked surface.</DT
-><DT
-><A
-HREF="sdlloadbmp.html"
->SDL_LoadBMP</A
->&nbsp;--&nbsp;Load a Windows BMP file into an SDL_Surface.</DT
-><DT
-><A
-HREF="sdlsavebmp.html"
->SDL_SaveBMP</A
->&nbsp;--&nbsp;Save an SDL_Surface as a Windows BMP file.</DT
-><DT
-><A
-HREF="sdlsetcolorkey.html"
->SDL_SetColorKey</A
->&nbsp;--&nbsp;Sets the color key (transparent pixel) in a blittable surface and
-RLE acceleration.</DT
-><DT
-><A
-HREF="sdlsetalpha.html"
->SDL_SetAlpha</A
->&nbsp;--&nbsp;Adjust the alpha properties of a surface</DT
-><DT
-><A
-HREF="sdlsetcliprect.html"
->SDL_SetClipRect</A
->&nbsp;--&nbsp;Sets the clipping rectangle for a surface.</DT
-><DT
-><A
-HREF="sdlgetcliprect.html"
->SDL_GetClipRect</A
->&nbsp;--&nbsp;Gets the clipping rectangle for a surface.</DT
-><DT
-><A
-HREF="sdlconvertsurface.html"
->SDL_ConvertSurface</A
->&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DT
-><DT
-><A
-HREF="sdlblitsurface.html"
->SDL_BlitSurface</A
->&nbsp;--&nbsp;This performs a fast blit from the source surface to the destination surface.</DT
-><DT
-><A
-HREF="sdlfillrect.html"
->SDL_FillRect</A
->&nbsp;--&nbsp;This function performs a fast fill of the given rectangle with some color</DT
-><DT
-><A
-HREF="sdldisplayformat.html"
->SDL_DisplayFormat</A
->&nbsp;--&nbsp;Convert a surface to the display format</DT
-><DT
-><A
-HREF="sdldisplayformatalpha.html"
->SDL_DisplayFormatAlpha</A
->&nbsp;--&nbsp;Convert a surface to the display format</DT
-><DT
-><A
-HREF="sdlwarpmouse.html"
->SDL_WarpMouse</A
->&nbsp;--&nbsp;Set the position of the mouse cursor.</DT
-><DT
-><A
-HREF="sdlcreatecursor.html"
->SDL_CreateCursor</A
->&nbsp;--&nbsp;Creates a new mouse cursor.</DT
-><DT
-><A
-HREF="sdlfreecursor.html"
->SDL_FreeCursor</A
->&nbsp;--&nbsp;Frees a cursor created with SDL_CreateCursor.</DT
-><DT
-><A
-HREF="sdlsetcursor.html"
->SDL_SetCursor</A
->&nbsp;--&nbsp;Set the currently active mouse cursor.</DT
-><DT
-><A
-HREF="sdlgetcursor.html"
->SDL_GetCursor</A
->&nbsp;--&nbsp;Get the currently active mouse cursor.</DT
-><DT
-><A
-HREF="sdlshowcursor.html"
->SDL_ShowCursor</A
->&nbsp;--&nbsp;Toggle whether or not the cursor is shown on the screen.</DT
-><DT
-><A
-HREF="sdlglloadlibrary.html"
->SDL_GL_LoadLibrary</A
->&nbsp;--&nbsp;Specify an OpenGL library</DT
-><DT
-><A
-HREF="sdlglgetprocaddress.html"
->SDL_GL_GetProcAddress</A
->&nbsp;--&nbsp;Get the address of a GL function</DT
-><DT
-><A
-HREF="sdlglgetattribute.html"
->SDL_GL_GetAttribute</A
->&nbsp;--&nbsp;Get the value of a special SDL/OpenGL attribute</DT
-><DT
-><A
-HREF="sdlglsetattribute.html"
->SDL_GL_SetAttribute</A
->&nbsp;--&nbsp;Set a special SDL/OpenGL attribute</DT
-><DT
-><A
-HREF="sdlglswapbuffers.html"
->SDL_GL_SwapBuffers</A
->&nbsp;--&nbsp;Swap OpenGL framebuffers/Update Display</DT
-><DT
-><A
-HREF="sdlcreateyuvoverlay.html"
->SDL_CreateYUVOverlay</A
->&nbsp;--&nbsp;Create a YUV video overlay</DT
-><DT
-><A
-HREF="sdllockyuvoverlay.html"
->SDL_LockYUVOverlay</A
->&nbsp;--&nbsp;Lock an overlay</DT
-><DT
-><A
-HREF="sdlunlockyuvoverlay.html"
->SDL_UnlockYUVOverlay</A
->&nbsp;--&nbsp;Unlock an overlay</DT
-><DT
-><A
-HREF="sdldisplayyuvoverlay.html"
->SDL_DisplayYUVOverlay</A
->&nbsp;--&nbsp;Blit the overlay to the display</DT
-><DT
-><A
-HREF="sdlfreeyuvoverlay.html"
->SDL_FreeYUVOverlay</A
->&nbsp;--&nbsp;Free a YUV video overlay</DT
-><DT
-><A
-HREF="sdlglattr.html"
->SDL_GLattr</A
->&nbsp;--&nbsp;SDL GL Attributes</DT
-><DT
-><A
-HREF="sdlrect.html"
->SDL_Rect</A
->&nbsp;--&nbsp;Defines a rectangular area</DT
-><DT
-><A
-HREF="sdlcolor.html"
->SDL_Color</A
->&nbsp;--&nbsp;Format independent color description</DT
-><DT
-><A
-HREF="sdlpalette.html"
->SDL_Palette</A
->&nbsp;--&nbsp;Color palette for 8-bit pixel formats</DT
-><DT
-><A
-HREF="sdlpixelformat.html"
->SDL_PixelFormat</A
->&nbsp;--&nbsp;Stores surface format information</DT
-><DT
-><A
-HREF="sdlsurface.html"
->SDL_Surface</A
->&nbsp;--&nbsp;Graphical Surface Structure</DT
-><DT
-><A
-HREF="sdlvideoinfo.html"
->SDL_VideoInfo</A
->&nbsp;--&nbsp;Video Target information</DT
-><DT
-><A
-HREF="sdloverlay.html"
->SDL_Overlay</A
->&nbsp;--&nbsp;YUV video overlay</DT
-></DL
-></DIV
-><P
->SDL presents a very simple interface to the display framebuffer.  The
-framebuffer is represented as an offscreen surface to which you can write
-directly.  If you want the screen to show what you have written, call the <A
-HREF="sdlupdaterects.html"
->update</A
-> function which will
-guarantee that the desired portion of the screen is updated.</P
-><P
->Before you call any of the SDL video functions, you must first call
-<SPAN
-CLASS="TOKEN"
->SDL_Init(SDL_INIT_VIDEO)</SPAN
->, which initializes the video
-and events in the SDL library.  Check the return code, which should be
-<SPAN
-CLASS="RETURNVALUE"
->0</SPAN
->, to see if there were any errors in starting up.</P
-><P
->If you use both sound and video in your application, you need to call
-<SPAN
-CLASS="TOKEN"
->SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO)</SPAN
-> before opening the
-sound device, otherwise under Win32 DirectX, you won't be able to set
-full-screen display modes.</P
-><P
->After you have initialized the library, you can start up the video display in a
-number of ways.  The easiest way is to pick a common screen resolution and
-depth and just initialize the video, checking for errors.  You will probably
-get what you want, but SDL may be emulating your requested mode and converting
-the display on update.  The best way is to
-<A
-HREF="sdlgetvideoinfo.html"
->query</A
->, for the best
-video mode closest to the desired one, and then
-<A
-HREF="sdldisplayformat.html"
->convert</A
->
-your images to that pixel format.</P
-><P
->SDL currently supports any bit depth &gt;= 8 bits per pixel.  8 bpp formats are
-considered 8-bit palettized modes, while 12, 15, 16, 24, and 32 bits per pixel
-are considered "packed pixel" modes, meaning each pixel contains the RGB color
-components packed in the bits of the pixel.</P
-><P
->After you have initialized your video mode, you can take the surface that was
-returned, and write to it like any other framebuffer, calling the update
-routine as you go.</P
-><P
->When you have finished your video access and are ready to quit your
-application, you should call "<SPAN
-CLASS="TOKEN"
->SDL_Quit()</SPAN
->" to shutdown the
-video and events.</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdlenvvars.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlgetvideosurface.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_envvars</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_GetVideoSurface</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
--- a/docs/html/wm.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,188 +0,0 @@
-<HTML
-><HEAD
-><TITLE
->Window Management</TITLE
-><META
-NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
-"><LINK
-REL="HOME"
-TITLE="SDL Library Documentation"
-HREF="index.html"><LINK
-REL="UP"
-TITLE="SDL Reference"
-HREF="reference.html"><LINK
-REL="PREVIOUS"
-TITLE="SDL_Overlay"
-HREF="sdloverlay.html"><LINK
-REL="NEXT"
-TITLE="SDL_WM_SetCaption"
-HREF="sdlwmsetcaption.html"><META
-NAME="KEYWORD"
-CONTENT="wm"><META
-NAME="KEYWORD"
-CONTENT="function"></HEAD
-><BODY
-CLASS="CHAPTER"
-BGCOLOR="#FFF8DC"
-TEXT="#000000"
-LINK="#0000ee"
-VLINK="#551a8b"
-ALINK="#ff0000"
-><DIV
-CLASS="NAVHEADER"
-><TABLE
-SUMMARY="Header navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TH
-COLSPAN="3"
-ALIGN="center"
->SDL Library Documentation</TH
-></TR
-><TR
-><TD
-WIDTH="10%"
-ALIGN="left"
-VALIGN="bottom"
-><A
-HREF="sdloverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="80%"
-ALIGN="center"
-VALIGN="bottom"
-></TD
-><TD
-WIDTH="10%"
-ALIGN="right"
-VALIGN="bottom"
-><A
-HREF="sdlwmsetcaption.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-></TABLE
-><HR
-ALIGN="LEFT"
-WIDTH="100%"></DIV
-><DIV
-CLASS="CHAPTER"
-><H1
-><A
-NAME="WM"
-></A
->Chapter 7. Window Management</H1
-><DIV
-CLASS="TOC"
-><DL
-><DT
-><B
->Table of Contents</B
-></DT
-><DT
-><A
-HREF="sdlwmsetcaption.html"
->SDL_WM_SetCaption</A
->&nbsp;--&nbsp;Sets the window tile and icon name.</DT
-><DT
-><A
-HREF="sdlwmgetcaption.html"
->SDL_WM_GetCaption</A
->&nbsp;--&nbsp;Gets the window title and icon name.</DT
-><DT
-><A
-HREF="sdlwmseticon.html"
->SDL_WM_SetIcon</A
->&nbsp;--&nbsp;Sets the icon for the display window.</DT
-><DT
-><A
-HREF="sdlwmiconifywindow.html"
->SDL_WM_IconifyWindow</A
->&nbsp;--&nbsp;Iconify/Minimise the window</DT
-><DT
-><A
-HREF="sdlwmtogglefullscreen.html"
->SDL_WM_ToggleFullScreen</A
->&nbsp;--&nbsp;Toggles fullscreen mode</DT
-><DT
-><A
-HREF="sdlwmgrabinput.html"
->SDL_WM_GrabInput</A
->&nbsp;--&nbsp;Grabs mouse and keyboard input.</DT
-></DL
-></DIV
-><P
->SDL provides a small set of window management functions which allow applications to change their title and toggle from windowed mode to fullscreen (if available)</P
-></DIV
-><DIV
-CLASS="NAVFOOTER"
-><HR
-ALIGN="LEFT"
-WIDTH="100%"><TABLE
-SUMMARY="Footer navigation table"
-WIDTH="100%"
-BORDER="0"
-CELLPADDING="0"
-CELLSPACING="0"
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
-><A
-HREF="sdloverlay.html"
-ACCESSKEY="P"
->Prev</A
-></TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="index.html"
-ACCESSKEY="H"
->Home</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
-><A
-HREF="sdlwmsetcaption.html"
-ACCESSKEY="N"
->Next</A
-></TD
-></TR
-><TR
-><TD
-WIDTH="33%"
-ALIGN="left"
-VALIGN="top"
->SDL_Overlay</TD
-><TD
-WIDTH="34%"
-ALIGN="center"
-VALIGN="top"
-><A
-HREF="reference.html"
-ACCESSKEY="U"
->Up</A
-></TD
-><TD
-WIDTH="33%"
-ALIGN="right"
-VALIGN="top"
->SDL_WM_SetCaption</TD
-></TR
-></TABLE
-></DIV
-></BODY
-></HTML
->
\ No newline at end of file
Binary file docs/images/rainbow.gif has changed
--- a/docs/index.html	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN">
-<HTML>
-<HEAD><TITLE>Simple DirectMedia Layer Introduction</TITLE></HEAD>
-<BODY BGCOLOR="#FFF8DC" TEXT="#000000" LINK="#0000ee" VLINK="#551a8b" ALINK="#ff0000">
-<DIV CLASS="NAVHEADER">
-<HR ALIGN="LEFT" WIDTH="100%">
-</DIV>
-<DIV CLASS="PREFACE">
-<H2><A NAME="AEN8">Simple DirectMedia Layer Introduction</A></H2>
-<P>
-This library is designed to make it easy to write games that run on many
-different platforms using the various native high-performance media interfaces,
-(for video, audio, etc) and presenting a single source-code level API to
-your application.  This is a fairly low level API, but using this, completely
-portable applications can be written with a great deal of flexibility.
-</P><P>
-An introduction to SDL can be found online at:
-<A HREF="http://www.libsdl.org/intro.php" TARGET="_top">
-         http://www.libsdl.org/intro.php</A>
-</P><P>
-Tutorials on a variety of topics can be found online at:
-<A HREF="http://www.libsdl.org/tutorials.php" TARGET="_top">
-         http://www.libsdl.org/tutorials.php</A>
-</P><P>
-Documentation in Wiki form can be found online at:
-<A HREF="http://www.libsdl.org/cgi/docwiki.cgi/" TARGET="_top">
-         http://www.libsdl.org/cgi/docwiki.cgi/</A>
-</P><P>
-Enjoy!
-</P><P>
-&nbsp;&nbsp;&nbsp; Sam Lantinga
-<TT CLASS="EMAIL">&#60;<A HREF="mailto:slouken@libsdl.org"><A HREF="mailto:slouken@libsdl.org" TARGET="_top" >slouken@libsdl.org</A></A>&#62;</TT>
-</P> <P>
-<br><br><HR>
-<H1>Table of Contents</H1>
-<UL>
-<LI><A HREF="html/index.html">Full Table of Contents</A></LI>
-<LI><A HREF="html/guide.html">The SDL Guide</A></LI>
-<LI><A HREF="html/reference.html">The SDL Reference</A></LI>
-<UL>
-<LI><A HREF="html/general.html">Initialization</A></LI>
-<LI><A HREF="html/video.html">Video</A></LI>
-<LI><A HREF="html/wm.html">Window Manager</A></LI>
-<LI><A HREF="html/event.html">Event Handling</A></LI>
-<LI><A HREF="html/joystick.html">Joystick</A></LI>
-<LI><A HREF="html/audio.html">Audio</A></LI>
-<LI><A HREF="html/cdrom.html">CDROM</A></LI>
-<LI><A HREF="html/thread.html">Threads</A></LI>
-<LI><A HREF="html/time.html">Timers</A></LI>
-</UL>
-</UL>
-</DIV
-></BODY
-></HTML
->
--- a/docs/man3/SDLKey.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-.TH "SDLKey" "3" "Wed 11 Oct 2000, 22:28" "SDL" "SDL API Reference"
-.SH "NAME"
-SDLKey \- SDL Keysym Definitions
-.SH "SDL Keysym definitions"
-.PP
-\fBSDLKey               ASCII value    Common Name\fR
-.nf
-\f(CWSDLK_BACKSPACE       '\\b'           backspace
-SDLK_TAB             '\\t'           tab
-SDLK_CLEAR                          clear
-SDLK_RETURN          '\\r'           return
-SDLK_PAUSE                          pause
-SDLK_ESCAPE          '^['           escape
-SDLK_SPACE           ' '            space
-SDLK_EXCLAIM         '!'            exclaim
-SDLK_QUOTEDBL        '"'            quotedbl
-SDLK_HASH            '#'            hash
-SDLK_DOLLAR          '$'            dollar
-SDLK_AMPERSAND       '&'            ampersand
-SDLK_QUOTE           '''            quote
-SDLK_LEFTPAREN       '('            left parenthesis
-SDLK_RIGHTPAREN      ')'            right parenthesis
-SDLK_ASTERISK        '*'            asterisk
-SDLK_PLUS            '+'            plus sign
-SDLK_COMMA           ','            comma
-SDLK_MINUS           '-'            minus sign
-SDLK_PERIOD          '.'            period
-SDLK_SLASH           '/'            forward slash
-SDLK_0               '0'            0
-SDLK_1               '1'            1
-SDLK_2               '2'            2
-SDLK_3               '3'            3
-SDLK_4               '4'            4
-SDLK_5               '5'            5
-SDLK_6               '6'            6
-SDLK_7               '7'            7
-SDLK_8               '8'            8
-SDLK_9               '9'            9
-SDLK_COLON           ':'            colon
-SDLK_SEMICOLON       ';'            semicolon
-SDLK_LESS            '<'            less-than sign
-SDLK_EQUALS          '='            equals sign
-SDLK_GREATER         '>'            greater-than sign
-SDLK_QUESTION        '?'            question mark
-SDLK_AT              '@'            at
-SDLK_LEFTBRACKET     '['            left bracket
-SDLK_BACKSLASH       '\\'            backslash
-SDLK_RIGHTBRACKET    ']'            right bracket
-SDLK_CARET           '^'            caret
-SDLK_UNDERSCORE      '_'            underscore
-SDLK_BACKQUOTE       '`'            grave
-SDLK_a               'a'            a
-SDLK_b               'b'            b
-SDLK_c               'c'            c
-SDLK_d               'd'            d
-SDLK_e               'e'            e
-SDLK_f               'f'            f
-SDLK_g               'g'            g
-SDLK_h               'h'            h
-SDLK_i               'i'            i
-SDLK_j               'j'            j
-SDLK_k               'k'            k
-SDLK_l               'l'            l
-SDLK_m               'm'            m
-SDLK_n               'n'            n
-SDLK_o               'o'            o
-SDLK_p               'p'            p
-SDLK_q               'q'            q
-SDLK_r               'r'            r
-SDLK_s               's'            s
-SDLK_t               't'            t
-SDLK_u               'u'            u
-SDLK_v               'v'            v
-SDLK_w               'w'            w
-SDLK_x               'x'            x
-SDLK_y               'y'            y
-SDLK_z               'z'            z
-SDLK_DELETE          '^?'           delete
-SDLK_KP0                            keypad 0
-SDLK_KP1                            keypad 1
-SDLK_KP2                            keypad 2
-SDLK_KP3                            keypad 3
-SDLK_KP4                            keypad 4
-SDLK_KP5                            keypad 5
-SDLK_KP6                            keypad 6
-SDLK_KP7                            keypad 7
-SDLK_KP8                            keypad 8
-SDLK_KP9                            keypad 9
-SDLK_KP_PERIOD       '.'            keypad period
-SDLK_KP_DIVIDE       '/'            keypad divide
-SDLK_KP_MULTIPLY     '*'            keypad multiply
-SDLK_KP_MINUS        '-'            keypad minus
-SDLK_KP_PLUS         '+'            keypad plus
-SDLK_KP_ENTER        '\\r'           keypad enter
-SDLK_KP_EQUALS       '='            keypad equals
-SDLK_UP                             up arrow
-SDLK_DOWN                           down arrow
-SDLK_RIGHT                          right arrow
-SDLK_LEFT                           left arrow
-SDLK_INSERT                         insert
-SDLK_HOME                           home
-SDLK_END                            end
-SDLK_PAGEUP                         page up
-SDLK_PAGEDOWN                       page down
-SDLK_F1                             F1
-SDLK_F2                             F2
-SDLK_F3                             F3
-SDLK_F4                             F4
-SDLK_F5                             F5
-SDLK_F6                             F6
-SDLK_F7                             F7
-SDLK_F8                             F8
-SDLK_F9                             F9
-SDLK_F10                            F10
-SDLK_F11                            F11
-SDLK_F12                            F12
-SDLK_F13                            F13
-SDLK_F14                            F14
-SDLK_F15                            F15
-SDLK_NUMLOCK                        numlock
-SDLK_CAPSLOCK                       capslock
-SDLK_SCROLLOCK                      scrollock
-SDLK_RSHIFT                         right shift
-SDLK_LSHIFT                         left shift
-SDLK_RCTRL                          right ctrl
-SDLK_LCTRL                          left ctrl
-SDLK_RALT                           right alt
-SDLK_LALT                           left alt
-SDLK_RMETA                          right meta
-SDLK_LMETA                          left meta
-SDLK_LSUPER                         left windows key
-SDLK_RSUPER                         right windows key
-SDLK_MODE                           mode shift
-SDLK_HELP                           help
-SDLK_PRINT                          print-screen
-SDLK_SYSREQ                         SysRq
-SDLK_BREAK                          break
-SDLK_MENU                           menu
-SDLK_POWER                          power
-SDLK_EURO                           euro\fR
-.fi
-
-
-.SH "SDL modifier definitions"
-.PP
-\fBSDL Modifier    Meaning\fR
-.nf
-\f(CWKMOD_NONE       No modifiers applicable
-KMOD_NUM        Numlock is down
-KMOD_CAPS       Capslock is down
-KMOD_LCTRL      Left Control is down
-KMOD_RCTRL      Right Control is down
-KMOD_RSHIFT     Right Shift is down
-KMOD_LSHIFT     Left Shift is down
-KMOD_RALT       Right Alt is down
-KMOD_LALT       Left Alt is down
-KMOD_CTRL       A Control key is down
-KMOD_SHIFT      A Shift key is down
-KMOD_ALT        An Alt key is down\fR
-.fi
-
--- a/docs/man3/SDL_ActiveEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-.TH "SDL_ActiveEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ActiveEvent \- Application visibility event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 gain;
-  Uint8 state;
-} SDL_ActiveEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_ACTIVEEVENT\&.\fP
-.TP 20
-\fBgain\fR
-0 if the event is a loss or 1 if it is a gain\&.
-.TP 20
-\fBstate\fR
-\fBSDL_APPMOUSEFOCUS\fP if mouse focus was gained or lost, \fBSDL_APPINPUTFOCUS\fP if input focus was gained or lost, or \fBSDL_APPACTIVE\fP if the application was iconified (\fBgain\fR=0) or restored(\fBgain\fR=1)\&.
-.SH "DESCRIPTION"
-.PP
-\fBSDL_ActiveEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_ACTIVEEVENT\fP is reported\&.
-.PP
-When the mouse leaves or enters the window area a \fBSDL_APPMOUSEFOCUS\fP type activation event occurs, if the mouse entered the window then \fBgain\fR will be 1, otherwise \fBgain\fR will be 0\&. A \fBSDL_APPINPUTFOCUS\fP type activation event occurs when the application loses or gains keyboard focus\&. This usually occurs when another application is made active\&. Finally, a \fBSDL_APPACTIVE\fP type event occurs when the application is either minimised/iconified (\fBgain\fR=0) or restored\&.
-.PP
-.RS
-\fBNote:  
-.PP
-This event does not occur when an application window is first created\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_GetAppState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_AddTimer.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-.TH "SDL_AddTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_AddTimer \- Add a timer which will call a callback after the specified number of milliseconds has elapsed\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_TimerID \fBSDL_AddTimer\fP\fR(\fBUint32 interval, SDL_NewTimerCallback callback, void *param\fR);
-.SH "CALLBACK"
-.PP
-.nf
-\f(CW/* type definition for the "new" timer callback function */
-typedef Uint32 (*SDL_NewTimerCallback)(Uint32 interval, void *param);\fR
-.fi
-.PP
-.SH "DESCRIPTION"
-.PP
-Adds a callback function to be run after the specified number of milliseconds has elapsed\&. The callback function is passed the current timer interval and the user supplied parameter from the \fBSDL_AddTimer\fP call and returns the next timer interval\&. If the returned value from the callback is the same as the one passed in, the periodic alarm continues, otherwise a new alarm is scheduled\&.
-.PP
-To cancel a currently running timer call \fISDL_RemoveTimer\fR with the timer ID returned from \fBSDL_AddTimer\fP\&.
-.PP
-The timer callback function may run in a different thread than your main program, and so shouldn\&'t call any functions from within itself\&. You may always call \fISDL_PushEvent\fR, however\&.
-.PP
-The granularity of the timer is platform-dependent, but you should count on it being at least 10 ms as this is the most common number\&. This means that if you request a 16 ms timer, your callback will run approximately 20 ms later on an unloaded system\&. If you wanted to set a flag signaling a frame update at 30 frames per second (every 33 ms), you might set a timer for 30 ms (see example below)\&. If you use this function, you need to pass \fBSDL_INIT_TIMER\fP to \fISDL_Init\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns an ID value for the added timer or \fBNULL\fR if there was an error\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWmy_timer_id = SDL_AddTimer((33/10)*10, my_callbackfunc, my_callback_param);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_RemoveTimer\fP\fR, \fI\fBSDL_PushEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_AudioCVT.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-.TH "SDL_AudioCVT" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_AudioCVT \- Audio Conversion Structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  int needed;
-  Uint16 src_format;
-  Uint16 dest_format;
-  double rate_incr;
-  Uint8 *buf;
-  int len;
-  int len_cvt;
-  int len_mult;
-  double len_ratio;
-  void (*filters[10])(struct SDL_AudioCVT *cvt, Uint16 format);
-  int filter_index;
-} SDL_AudioCVT;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBneeded\fR
-Set to one if the conversion is possible
-.TP 20
-\fBsrc_format\fR
-Audio format of the source
-.TP 20
-\fBdest_format\fR
-Audio format of the destination
-.TP 20
-\fBrate_incr\fR
-Rate conversion increment
-.TP 20
-\fBbuf\fR
-Audio buffer
-.TP 20
-\fBlen\fR
-Length of the original audio buffer in bytes
-.TP 20
-\fBlen_cvt\fR
-Length of converted audio buffer in bytes (calculated)
-.TP 20
-\fBlen_mult\fR
-\fBbuf\fR must be \fBlen\fR*\fBlen_mult\fR bytes in size(calculated)
-.TP 20
-\fBlen_ratio\fR
-Final audio size is \fBlen\fR*\fBlen_ratio\fR
-.TP 20
-\fBfilters[10](\&.\&.)\fR
-Pointers to functions needed for this conversion
-.TP 20
-\fBfilter_index\fR
-Current conversion function
-.SH "DESCRIPTION"
-.PP
-The \fBSDL_AudioCVT\fR is used to convert audio data between different formats\&. A \fBSDL_AudioCVT\fR structure is created with the \fI\fBSDL_BuildAudioCVT\fP\fR function, while the actual conversion is done by the \fI\fBSDL_ConvertAudio\fP\fR function\&.
-.PP
-Many of the fields in the \fBSDL_AudioCVT\fR structure should be considered private and their function will not be discussed here\&.
-.IP "\fBUint8 *\fP\fBbuf\fR" 10This points to the audio data that will be used in the conversion\&. It is both the source and the destination, which means the converted audio data overwrites the original data\&. It also means that the converted data may be larger than the original data (if you were converting from 8-bit to 16-bit, for instance), so you must ensure \fBbuf\fR is large enough\&. See below\&.
-.IP "\fBint\fP \fBlen\fR" 10This is the length of the original audio data in bytes\&.
-.IP "\fBint\fP \fBlen_mult\fR" 10As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data\&. The length of \fBbuf\fR should be \fBlen\fR*\fBlen_mult\fR\&.
-.IP "\fBdouble\fP \fBlen_ratio\fR" 10When you have finished converting your audio data, you need to know how much of your audio buffer is valid\&. \fBlen\fR*\fBlen_ratio\fR is the size of the converted audio data in bytes\&. This is very similar to \fBlen_mult\fR, however when the convert audio data is shorter than the original \fBlen_mult\fR would be 1\&. \fBlen_ratio\fR, on the other hand, would be a fractional number between 0 and 1\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_BuildAudioCVT\fP\fR, \fI\fBSDL_ConvertAudio\fP\fR, \fI\fBSDL_AudioSpec\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_AudioSpec.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-.TH "SDL_AudioSpec" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_AudioSpec \- Audio Specification Structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  int freq;
-  Uint16 format;
-  Uint8 channels;
-  Uint8 silence;
-  Uint16 samples;
-  Uint32 size;
-  void (*callback)(void *userdata, Uint8 *stream, int len);
-  void *userdata;
-} SDL_AudioSpec;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBfreq\fR
-Audio frequency in samples per second
-.TP 20
-\fBformat\fR
-Audio data format
-.TP 20
-\fBchannels\fR
-Number of channels: 1 mono, 2 stereo
-.TP 20
-\fBsilence\fR
-Audio buffer silence value (calculated)
-.TP 20
-\fBsamples\fR
-Audio buffer size in samples
-.TP 20
-\fBsize\fR
-Audio buffer size in bytes (calculated)
-.TP 20
-\fBcallback(\&.\&.)\fR
-Callback function for filling the audio buffer
-.TP 20
-\fBuserdata\fR
-Pointer the user data which is passed to the callback function
-.SH "DESCRIPTION"
-.PP
-The \fBSDL_AudioSpec\fR structure is used to describe the format of some audio data\&. This structure is used by \fI\fBSDL_OpenAudio\fP\fR and \fI\fBSDL_LoadWAV\fP\fR\&. While all fields are used by \fBSDL_OpenAudio\fP only \fBfreq\fR, \fBformat\fR, \fBsamples\fR and \fBchannels\fR are used by \fBSDL_LoadWAV\fP\&. We will detail these common members here\&.
-.TP 20
-\fBfreq\fR
-The number of samples sent to the sound device every second\&. Common values are 11025, 22050 and 44100\&. The higher the better\&.
-.TP 20
-\fBformat\fR
-Specifies the size and type of each sample element 
-.IP "\fBAUDIO_U8\fP" 10Unsigned 8-bit samples
-.IP "\fBAUDIO_S8\fP" 10Signed 8-bit samples
-.IP "\fBAUDIO_U16\fP or \fBAUDIO_U16LSB\fP" 10Unsigned 16-bit little-endian samples
-.IP "\fBAUDIO_S16\fP or \fBAUDIO_S16LSB\fP" 10Signed 16-bit little-endian samples
-.IP "\fBAUDIO_U16MSB\fP" 10Unsigned 16-bit big-endian samples
-.IP "\fBAUDIO_S16MSB\fP" 10Signed 16-bit big-endian samples
-.IP "\fBAUDIO_U16SYS\fP" 10Either \fBAUDIO_U16LSB\fP or \fBAUDIO_U16MSB\fP depending on you systems endianness
-.IP "\fBAUDIO_S16SYS\fP" 10Either \fBAUDIO_S16LSB\fP or \fBAUDIO_S16MSB\fP depending on you systems endianness
-.TP 20
-\fBchannels\fR
-The number of seperate sound channels\&. 1 is mono (single channel), 2 is stereo (dual channel)\&.
-.TP 20
-\fBsamples\fR
-When used with \fI\fBSDL_OpenAudio\fP\fR this refers to the size of the audio buffer in samples\&. A sample a chunk of audio data of the size specified in \fBformat\fR mulitplied by the number of channels\&. When the \fBSDL_AudioSpec\fR is used with \fI\fBSDL_LoadWAV\fP\fR \fBsamples\fR is set to 4096\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_OpenAudio\fP\fR, \fI\fBSDL_LoadWAV\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_BlitSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-.TH "SDL_BlitSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_BlitSurface \- This performs a fast blit from the source surface to the destination surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_BlitSurface\fP\fR(\fBSDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect\fR);
-.SH "DESCRIPTION"
-.PP
-This performs a fast blit from the source surface to the destination surface\&.
-.PP
-Only the position is used in the \fBdstrect\fR (the width and height are ignored)\&.
-.PP
-If either \fBsrcrect\fR or \fBdstrect\fR are \fBNULL\fP, the entire surface (\fBsrc\fR or \fBdst\fR) is copied\&.
-.PP
-The final blit rectangle is saved in \fBdstrect\fR after all clipping is performed (\fBsrcrect\fR is not modified)\&.
-.PP
-The blit function should not be called on a locked surface\&.
-.PP
-The results of blitting operations vary greatly depending on whether \fBSDL_SRCAPLHA\fP is set or not\&. See \fISDL_SetAlpha\fR for an explaination of how this affects your results\&. Colorkeying and alpha attributes also interact with surface blitting, as the following pseudo-code should hopefully explain\&. 
-.PP
-.nf
-\f(CWif (source surface has SDL_SRCALPHA set) {
-    if (source surface has alpha channel (that is, format->Amask != 0))
-        blit using per-pixel alpha, ignoring any colour key
-    else {
-        if (source surface has SDL_SRCCOLORKEY set)
-            blit using the colour key AND the per-surface alpha value
-        else
-            blit using the per-surface alpha value
-    }
-} else {
-    if (source surface has SDL_SRCCOLORKEY set)
-        blit using the colour key
-    else
-        ordinary opaque rectangular blit
-}\fR
-.fi
-.PP
-.SH "RETURN VALUE"
-.PP
-If the blit is successful, it returns \fB0\fR, otherwise it returns \fB-1\fR\&.
-.PP
-If either of the surfaces were in video memory, and the blit returns \fB-2\fR, the video memory was lost, so it should be reloaded with artwork and re-blitted: 
-.PP
-.nf
-\f(CW        while ( SDL_BlitSurface(image, imgrect, screen, dstrect) == -2 ) {
-                while ( SDL_LockSurface(image)) < 0 )
-                        Sleep(10);
-                -- Write image pixels to image->pixels --
-                SDL_UnlockSurface(image);
-        }\fR
-.fi
-.PP
- This happens under DirectX 5\&.0 when the system switches away from your fullscreen application\&. Locking the surface will also fail until you have access to the video memory again\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_FillRect\fP\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_Rect\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_BuildAudioCVT.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.TH "SDL_BuildAudioCVT" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_BuildAudioCVT \- Initializes a SDL_AudioCVT structure for conversion
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_BuildAudioCVT\fP\fR(\fBSDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate\fR);
-.SH "DESCRIPTION"
-.PP
-Before an \fI\fBSDL_AudioCVT\fR\fR structure can be used to convert audio data it must be initialized with source and destination information\&. 
-.PP
-\fBsrc_format\fR and \fBdst_format\fR are the source and destination format of the conversion\&. (For information on audio formats see \fI\fB SDL_AudioSpec\fR\fR)\&. \fBsrc_channels\fR and \fBdst_channels\fR are the number of channels in the source and destination formats\&. Finally, \fBsrc_rate\fR and \fBdst_rate\fR are the frequency or samples-per-second of the source and destination formats\&. Once again, see \fI\fBSDL_AudioSpec\fR\fR\&.
-.SH "RETURN VALUES"
-.PP
-Returns \fB-1\fR if the filter could not be built or 1 if it could\&.
-.SH "EXAMPLES"
-.PP
-See \fI\fBSDL_ConvertAudio\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_ConvertAudio\fP\fR, \fI\fBSDL_AudioCVT\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CD.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-.TH "SDL_CD" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CD \- CDROM Drive Information
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  int id;
-  CDstatus status;
-  int numtracks;
-  int cur_track;
-  int cur_frame;
-  SDL_CDtrack track[SDL_MAX_TRACKS+1];
-} SDL_CD;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBid\fR
-Private drive identifier
-.TP 20
-\fBstatus\fR
-Drive \fIstatus\fR
-.TP 20
-\fBnumtracks\fR
-Number of tracks on the CD
-.TP 20
-\fBcur_track\fR
-Current track
-.TP 20
-\fBcur_frame\fR
-Current frame offset within the track
-.TP 20
-\fBtrack\fR[SDL_MAX_TRACKS+1]
-Array of track descriptions\&. (see \fI\fBSDL_CDtrack\fR\fR)
-.SH "DESCRIPTION"
-.PP
-An \fBSDL_CD\fR structure is returned by \fI\fBSDL_CDOpen\fP\fR\&. It represents an opened CDROM device and stores information on the layout of the tracks on the disc\&.
-.PP
-A frame is the base data unit of a CD\&. \fBCD_FPS\fP frames is equal to 1 second of music\&. SDL provides two macros for converting between time and frames: \fBFRAMES_TO_MSF(f, M,S,F)\fP and \fBMSF_TO_FRAMES\fP\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CWint min, sec, frame;
-int frame_offset;
-
-FRAMES_TO_MSF(cdrom->cur_frame, &min, &sec, &frame);
-printf("Current Position: %d minutes, %d seconds, %d frames
-", min, sec, frame);
-
-frame_offset=MSF_TO_FRAMES(min, sec, frame);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDOpen\fP\fR, \fI\fBSDL_CDtrack\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDClose.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_CDClose" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDClose \- Closes a SDL_CD handle
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_CDClose\fP\fR(\fBSDL_CD *cdrom\fR);
-.SH "DESCRIPTION"
-.PP
-Closes the given \fBcdrom\fR handle\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDOpen\fP\fR, \fI\fBSDL_CD\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDEject.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_CDEject" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDEject \- Ejects a CDROM
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDEject\fP\fR(\fBSDL_CD *cdrom\fR);
-.SH "DESCRIPTION"
-.PP
-Ejects the given \fBcdrom\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CD\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDName.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.TH "SDL_CDName" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDName \- Returns a human-readable, system-dependent identifier for the CD-ROM\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBconst char *\fBSDL_CDName\fP\fR(\fBint drive\fR);
-.SH "DESCRIPTION"
-.PP
-Returns a human-readable, system-dependent identifier for the CD-ROM\&. \fBdrive\fR is the index of the drive\&. Drive indices start to 0 and end at \fBSDL_CDNumDrives()\fP-1\&.
-.SH "EXAMPLES"
-.PP
-.IP "   \(bu" 6
-"/dev/cdrom"
-.IP "   \(bu" 6
-"E:"
-.IP "   \(bu" 6
-"/dev/disk/ide/1/master"
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDNumDrives\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDNumDrives.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_CDNumDrives" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDNumDrives \- Returns the number of CD-ROM drives on the system\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDNumDrives\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-Returns the number of CD-ROM drives on the system\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDOpen.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-.TH "SDL_CDOpen" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDOpen \- Opens a CD-ROM drive for access\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_CD *\fBSDL_CDOpen\fP\fR(\fBint drive\fR);
-.SH "DESCRIPTION"
-.PP
-Opens a CD-ROM drive for access\&. It returns a \fI\fBSDL_CD\fR\fR structure on success, or \fBNULL\fP if the drive was invalid or busy\&. This newly opened CD-ROM becomes the default CD used when other CD functions are passed a \fBNULL\fP CD-ROM handle\&. 
-.PP
-Drives are numbered starting with 0\&. Drive 0 is the system default CD-ROM\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CWSDL_CD *cdrom;
-int cur_track;
-int min, sec, frame;
-SDL_Init(SDL_INIT_CDROM);
-atexit(SDL_Quit);
-
-/* Check for CD drives */
-if(!SDL_CDNumDrives()){
-  /* None found */
-  fprintf(stderr, "No CDROM devices available
-");
-  exit(-1);
-}
-
-/* Open the default drive */
-cdrom=SDL_CDOpen(0);
-
-/* Did if open? Check if cdrom is NULL */
-if(!cdrom){
-  fprintf(stderr, "Couldn\&'t open drive: %s
-", SDL_GetError());
-  exit(-1);
-}
-
-/* Print Volume info */
-printf("Name: %s
-", SDL_CDName(0));
-printf("Tracks: %d
-", cdrom->numtracks);
-for(cur_track=0;cur_track < cdrom->numtracks; cur_track++){
-  FRAMES_TO_MSF(cdrom->track[cur_track]\&.length, &min, &sec, &frame);
-  printf("	Track %d: Length %d:%d
-", cur_track, min, sec);
-}
-
-SDL_CDClose(cdrom);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CD\fR\fR, \fI\fBSDL_CDtrack\fR\fR, \fI\fBSDL_CDClose\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDPause.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_CDPause" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDPause \- Pauses a CDROM
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDPause\fP\fR(\fBSDL_CD *cdrom\fR);
-.SH "DESCRIPTION"
-.PP
-Pauses play on the given \fBcdrom\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDResume\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDPlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_CDPlay" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDPlay \- Play a CD
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDPlay\fP\fR(\fBSDL_CD *cdrom, int start, int length\fR);
-.SH "DESCRIPTION"
-.PP
-Plays the given \fBcdrom\fR, starting a frame \fBstart\fR for \fBlength\fR frames\&.
-.SH "RETURN VALUES"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDPlayTracks\fP\fR, \fI\fBSDL_CDStop\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDPlayTracks.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-.TH "SDL_CDPlayTracks" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDPlayTracks \- Play the given CD track(s)
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDPlayTracks\fP\fR(\fBSDL_CD *cdrom, int start_track, int start_frame, int ntracks, int nframes)\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_CDPlayTracks\fP plays the given CD starting at track \fBstart_track\fR, for \fBntracks\fR tracks\&. 
-.PP
-\fBstart_frame\fR is the frame offset, from the beginning of the \fBstart_track\fR, at which to start\&. \fBnframes\fR is the frame offset, from the beginning of the last track (\fBstart_track\fR+\fBntracks\fR), at which to end playing\&.
-.PP
-\fBSDL_CDPlayTracks\fP should only be called after calling \fI\fBSDL_CDStatus\fP\fR to get track information about the CD\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Data tracks are ignored\&.
-.RE
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR, or \fB-1\fR if there was an error\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CW/* assuming cdrom is a previously opened device */
-/* Play the entire CD */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 0, 0, 0, 0);
-
-/* Play the first track */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 0, 0, 1, 0);
-
-/* Play first 15 seconds of the 2nd track */
-if(CD_INDRIVE(SDL_CDStatus(cdrom)))
-  SDL_CDPlayTracks(cdrom, 1, 0, 0, CD_FPS*15);\fR
-.fi
-.PP
- 
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDStatus\fP\fR, \fI\fBSDL_CD\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDResume.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_CDResume" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDResume \- Resumes a CDROM
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDResume\fP\fR(\fBSDL_CD *cdrom\fR);
-.SH "DESCRIPTION"
-.PP
-Resumes play on the given \fBcdrom\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDPlay\fP\fR, \fI\fBSDL_CDPause\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDStatus.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-.TH "SDL_CDStatus" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDStatus \- Returns the current status of the given drive\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBCDstatus \fBSDL_CDStatus\fP\fR(\fBSDL_CD *cdrom\fR);
-\fB/* Given a status, returns true if there\&'s a disk in the drive */
-#define CD_INDRIVE(status)      ((int)status > 0)
-.SH "DESCRIPTION"
-.PP
-This function returns the current status of the given drive\&. Status is described like so: 
-.PP
-.nf
-\f(CWtypedef enum {
-  CD_TRAYEMPTY,
-  CD_STOPPED,
-  CD_PLAYING,
-  CD_PAUSED,
-  CD_ERROR = -1
-} CDstatus;\fR
-.fi
-.PP
-.PP
-If the drive has a CD in it, the table of contents of the CD and current play position of the CD will be stored in the SDL_CD structure\&.
-.PP
-The macro \fBCD_INDRIVE\fP is provided for convenience, and given a status returns true if there\&'s a disk in the drive\&.
-.PP
-.RS
-\fBNote:  
-.PP
-\fBSDL_CDStatus\fP also updates the \fI\fBSDL_CD\fR\fR structure passed to it\&.
-.RE
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWint playTrack(int track)
-{
-  int playing = 0;
-
-  if ( CD_INDRIVE(SDL_CDStatus(cdrom)) ) {
-  /* clamp to the actual number of tracks on the CD */
-    if (track >= cdrom->numtracks) {
-      track = cdrom->numtracks-1;
-    }
-
-    if ( SDL_CDPlayTracks(cdrom, track, 0, 1, 0) == 0 ) {
-      playing = 1;
-    }
-  }
-  return playing;
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CD\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_CDStop.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_CDStop" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDStop \- Stops a CDROM
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_CDStop\fP\fR(\fBSDL_CD *cdrom\fR);
-.SH "DESCRIPTION"
-.PP
-Stops play on the given \fBcdrom\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CDPlay\fP\fR,
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_CDtrack.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-.TH "SDL_CDtrack" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CDtrack \- CD Track Information Structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 id;
-  Uint8 type;
-  Uint32 length;
-  Uint32 offset;
-} SDL_CDtrack;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBid\fR
-Track number (0-99)
-.TP 20
-\fBtype\fR
-\fBSDL_AUDIO_TRACK\fP or \fBSDL_DATA_TRACK\fP
-.TP 20
-\fBlength\fR
-Length, in frames, of this track
-.TP 20
-\fBoffset\fR
-Frame offset to the beginning of this track
-.SH "DESCRIPTION"
-.PP
-\fBSDL_CDtrack\fR stores data on each track on a CD, its fields should be pretty self explainatory\&. It is a member a the \fI\fBSDL_CD\fR\fR structure\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Frames can be converted to standard timings\&. There are \fBCD_FPS\fP frames per second, so \fBSDL_CDtrack\fR\&.\fBlength\fR/\fBCD_FPS\fP=length_in_seconds\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CD\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_CloseAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_CloseAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CloseAudio \- Shuts down audio processing and closes the audio device\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_CloseAudio\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-This function shuts down audio processing and closes the audio device\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_OpenAudio\fP\fR 
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_Color.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-.TH "SDL_Color" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Color \- Format independent color description
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 r;
-  Uint8 g;
-  Uint8 b;
-  Uint8 unused;
-} SDL_Color;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBr\fR
-Red intensity
-.TP 20
-\fBg\fR
-Green intensity
-.TP 20
-\fBb\fR
-Blue intensity
-.TP 20
-\fBunused\fR
-Unused
-.SH "DESCRIPTION"
-.PP
-\fBSDL_Color\fR describes a color in a format independent way\&. You can convert a \fBSDL_Color\fR to a pixel value for a certain pixel format using \fI\fBSDL_MapRGB\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Palette\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_CondBroadcast.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_CondBroadcast" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CondBroadcast \- Restart all threads waiting on a condition variable
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_CondBroadcast\fP\fR(\fBSDL_cond *cond\fR);
-.SH "DESCRIPTION"
-.PP
-Restarts all threads that are waiting on the condition variable, \fBcond\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CondSignal\fP\fR, \fI\fBSDL_CondWait\fP\fR 
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CondSignal.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_CondSignal" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CondSignal \- Restart a thread wait on a condition variable
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_CondSignal\fP\fR(\fBSDL_cond *cond\fR);
-.SH "DESCRIPTION"
-.PP
-Restart one of the threads that are waiting on the condition variable, \fBcond\fR\&. Returns \fB0\fR on success of \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CondWait\fP\fR, \fI\fBSDL_CondBroadcast\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CondWait.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_CondWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CondWait \- Wait on a condition variable
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_CondWait\fP\fR(\fBSDL_cond *cond, SDL_mutex *mut\fR);
-.SH "DESCRIPTION"
-.PP
-Wait on the condition variable \fBcond\fR and unlock the provided mutex\&. The mutex must the locked before entering this function\&. Returns \fB0\fR when it is signalled, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CondWaitTimeout\fP\fR, \fI\fBSDL_CondSignal\fP\fR, \fI\fBSDL_mutexP\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CondWaitTimeout.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_CondWaitTimeout" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CondWaitTimeout \- Wait on a condition variable, with timeout
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_CondWaitTimeout\fP\fR(\fBSDL_cond *cond, SDL_mutex *mutex, Uint32 ms\fR);
-.SH "DESCRIPTION"
-.PP
-Wait on the condition variable \fBcond\fR for, at most, \fBms\fR milliseconds\&. \fBmut\fR is unlocked so it must be locked when the function is called\&. Returns \fBSDL_MUTEX_TIMEDOUT\fP if the condition is not signalled in the allotted time, \fB0\fR if it was signalled or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CondWait\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_ConvertAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,95 +0,0 @@
-.TH "SDL_ConvertAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ConvertAudio \- Convert audio data to a desired audio format\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_ConvertAudio\fP\fR(\fBSDL_AudioCVT *cvt\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_ConvertAudio\fP takes one parameter, \fBcvt\fR, which was previously initilized\&. Initilizing a \fI\fBSDL_AudioCVT\fR\fR is a two step process\&. First of all, the structure must be passed to \fI\fBSDL_BuildAudioCVT\fP\fR along with source and destination format parameters\&. Secondly, the \fBcvt\fR->\fBbuf\fR and \fBcvt\fR->\fBlen\fR fields must be setup\&. \fBcvt\fR->\fBbuf\fR should point to the audio data and \fBcvt\fR->\fBlen\fR should be set to the length of the audio data in bytes\&. Remember, the length of the buffer pointed to by \fBbuf\fR show be \fBlen\fR*\fBlen_mult\fR bytes in length\&.
-.PP
-Once the \fBSDL_AudioCVT\fRstructure is initilized then we can pass it to \fBSDL_ConvertAudio\fP, which will convert the audio data pointer to by \fBcvt\fR->\fBbuf\fR\&. If \fBSDL_ConvertAudio\fP returned \fB0\fR then the conversion was completed successfully, otherwise \fB-1\fR is returned\&.
-.PP
-If the conversion completed successfully then the converted audio data can be read from \fBcvt\fR->\fBbuf\fR\&. The amount of valid, converted, audio data in the buffer is equal to \fBcvt\fR->\fBlen\fR*\fBcvt\fR->\fBlen_ratio\fR\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CW/* Converting some WAV data to hardware format */
-void my_audio_callback(void *userdata, Uint8 *stream, int len);
-
-SDL_AudioSpec *desired, *obtained;
-SDL_AudioSpec wav_spec;
-SDL_AudioCVT  wav_cvt;
-Uint32 wav_len;
-Uint8 *wav_buf;
-int ret;
-
-/* Allocated audio specs */
-desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));
-obtained=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));
-
-/* Set desired format */
-desired->freq=22050;
-desired->format=AUDIO_S16LSB;
-desired->samples=8192;
-desired->callback=my_audio_callback;
-desired->userdata=NULL;
-
-/* Open the audio device */
-if ( SDL_OpenAudio(desired, obtained) < 0 ){
-  fprintf(stderr, "Couldn\&'t open audio: %s
-", SDL_GetError());
-  exit(-1);
-}
-        
-free(desired);
-
-/* Load the test\&.wav */
-if( SDL_LoadWAV("test\&.wav", &wav_spec, &wav_buf, &wav_len) == NULL ){
-  fprintf(stderr, "Could not open test\&.wav: %s
-", SDL_GetError());
-  SDL_CloseAudio();
-  free(obtained);
-  exit(-1);
-}
-                                            
-/* Build AudioCVT */
-ret = SDL_BuildAudioCVT(&wav_cvt,
-                        wav_spec\&.format, wav_spec\&.channels, wav_spec\&.freq,
-                        obtained->format, obtained->channels, obtained->freq);
-
-/* Check that the convert was built */
-if(ret==-1){
-  fprintf(stderr, "Couldn\&'t build converter!
-");
-  SDL_CloseAudio();
-  free(obtained);
-  SDL_FreeWAV(wav_buf);
-}
-
-/* Setup for conversion */
-wav_cvt\&.buf=(Uint8 *)malloc(wav_len*wav_cvt\&.len_mult);
-wav_cvt\&.len=wav_len;
-memcpy(wav_cvt\&.buf, wav_buf, wav_len);
-
-/* We can delete to original WAV data now */
-SDL_FreeWAV(wav_buf);
-
-/* And now we\&'re ready to convert */
-SDL_ConvertAudio(&wav_cvt);
-
-/* do whatever */
-\&.
-\&.
-\&.
-\&.
-
-\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_BuildAudioCVT\fP\fR, \fI\fBSDL_AudioCVT\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_ConvertSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_ConvertSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ConvertSurface \- Converts a surface to the same format as another surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL/SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_ConvertSurface\fP\fR(\fBSDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-Creates a new surface of the specified format, and then copies and maps the given surface to it\&. If this function fails, it returns \fBNULL\fP\&.
-.PP
-The \fBflags\fR parameter is passed to \fI\fBSDL_CreateRGBSurface\fP\fR and has those semantics\&.
-.PP
-This function is used internally by \fI\fBSDL_DisplayFormat\fP\fR\&.
-.PP
-This function can only be called after SDL_Init\&.
-.SH "RETURN VALUE"
-.PP
-Returns either a pointer to the new surface, or \fBNULL\fP on error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateRGBSurface\fP\fR, \fI\fBSDL_DisplayFormat\fP\fR, \fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_CreateCond.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-.TH "SDL_CreateCond" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateCond \- Create a condition variable
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBSDL_cond *\fBSDL_CreateCond\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Creates a condition variable\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CWSDL_cond *cond;
-
-cond=SDL_CreateCond();
-\&.
-\&.
-/* Do stuff */
-
-\&.
-\&.
-SDL_DestroyCond(cond);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_DestroyCond\fP\fR, \fI\fBSDL_CondWait\fP\fR, \fI\fBSDL_CondSignal\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CreateCursor.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-.TH "SDL_CreateCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateCursor \- Creates a new mouse cursor\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Cursor *\fBSDL_CreateCursor\fP\fR(\fBUint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y\fR);
-.SH "DESCRIPTION"
-.PP
-Create a cursor using the specified \fBdata\fR and \fBmask\fR (in MSB format)\&. The cursor width must be a multiple of 8 bits\&.
-.PP
-The cursor is created in black and white according to the following: 
-.TP 20
-\fBData / Mask\fR
-\fBResulting pixel on screen\fR
-.TP 20
-0 / 1
-White
-.TP 20
-1 / 1
-Black
-.TP 20
-0 / 0
-Transparent
-.TP 20
-1 / 0
-Inverted color if possible, black if not\&.
-.PP
-Cursors created with this function must be freed with \fISDL_FreeCursor\fR\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CW/* Stolen from the mailing list */
-/* Creates a new mouse cursor from an XPM */
-
-
-/* XPM */
-static const char *arrow[] = {
-  /* width height num_colors chars_per_pixel */
-  "    32    32        3            1",
-  /* colors */
-  "X c #000000",
-  "\&. c #ffffff",
-  "  c None",
-  /* pixels */
-  "X                               ",
-  "XX                              ",
-  "X\&.X                             ",
-  "X\&.\&.X                            ",
-  "X\&.\&.\&.X                           ",
-  "X\&.\&.\&.\&.X                          ",
-  "X\&.\&.\&.\&.\&.X                         ",
-  "X\&.\&.\&.\&.\&.\&.X                        ",
-  "X\&.\&.\&.\&.\&.\&.\&.X                       ",
-  "X\&.\&.\&.\&.\&.\&.\&.\&.X                      ",
-  "X\&.\&.\&.\&.\&.XXXXX                     ",
-  "X\&.\&.X\&.\&.X                         ",
-  "X\&.X X\&.\&.X                        ",
-  "XX  X\&.\&.X                        ",
-  "X    X\&.\&.X                       ",
-  "     X\&.\&.X                       ",
-  "      X\&.\&.X                      ",
-  "      X\&.\&.X                      ",
-  "       XX                       ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "                                ",
-  "0,0"
-};
-
-static SDL_Cursor *init_system_cursor(const char *image[])
-{
-  int i, row, col;
-  Uint8 data[4*32];
-  Uint8 mask[4*32];
-  int hot_x, hot_y;
-
-  i = -1;
-  for ( row=0; row<32; ++row ) {
-    for ( col=0; col<32; ++col ) {
-      if ( col % 8 ) {
-        data[i] <<= 1;
-        mask[i] <<= 1;
-      } else {
-        ++i;
-        data[i] = mask[i] = 0;
-      }
-      switch (image[4+row][col]) {
-        case \&'X\&':
-          data[i] |= 0x01;
-          k[i] |= 0x01;
-          break;
-        case \&'\&.\&':
-          mask[i] |= 0x01;
-          break;
-        case \&' \&':
-          break;
-      }
-    }
-  }
-  sscanf(image[4+row], "%d,%d", &hot_x, &hot_y);
-  return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_FreeCursor\fP\fR, \fI\fBSDL_SetCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_CreateMutex.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-.TH "SDL_CreateMutex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateMutex \- Create a mutex
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBSDL_mutex *\fBSDL_CreateMutex\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Create a new, unlocked mutex\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CWSDL_mutex *mut;
-
-mut=SDL_CreateMutex();
-\&.
-\&.
-if(SDL_mutexP(mut)==-1){
-  fprintf(stderr, "Couldn\&'t lock mutex
-");
-  exit(-1);
-}
-\&.
-/* Do stuff while mutex is locked */
-\&.
-\&.
-if(SDL_mutexV(mut)==-1){
-  fprintf(stderr, "Couldn\&'t unlock mutex
-");
-  exit(-1);
-}
-
-SDL_DestroyMutex(mut);
-\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_mutexP\fP\fR, \fI\fBSDL_mutexV\fP\fR, \fI\fBSDL_DestroyMutex\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CreateRGBSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-.TH "SDL_CreateRGBSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateRGBSurface \- Create an empty SDL_Surface
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_CreateRGBSurface\fP\fR(\fBUint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask\fR);
-.SH "DESCRIPTION"
-.PP
-Allocate an empty surface (must be called after \fISDL_SetVideoMode\fR)
-.PP
-If \fBdepth\fR is 8 bits an empty palette is allocated for the surface, otherwise a \&'packed-pixel\&' \fI\fBSDL_PixelFormat\fR\fR is created using the \fB[RGBA]mask\fR\&'s provided (see \fI\fBSDL_PixelFormat\fR\fR)\&. The \fBflags\fR specifies the type of surface that should be created, it is an OR\&'d combination of the following possible values\&.
-.TP 20
-\fBSDL_SWSURFACE\fP
-SDL will create the surface in system memory\&. This improves the performance of pixel level access, however you may not be able to take advantage of some types of hardware blitting\&.
-.TP 20
-\fBSDL_HWSURFACE\fP
-SDL will attempt to create the surface in video memory\&. This will allow SDL to take advantage of Video->Video blits (which are often accelerated)\&.
-.TP 20
-\fBSDL_SRCCOLORKEY\fP
-This flag turns on colourkeying for blits from this surface\&. If \fBSDL_HWSURFACE\fP is also specified and colourkeyed blits are hardware-accelerated, then SDL will attempt to place the surface in video memory\&. Use \fI\fBSDL_SetColorKey\fP\fR to set or clear this flag after surface creation\&.
-.TP 20
-\fBSDL_SRCALPHA\fP
-This flag turns on alpha-blending for blits from this surface\&. If \fBSDL_HWSURFACE\fP is also specified and alpha-blending blits are hardware-accelerated, then the surface will be placed in video memory if possible\&. Use \fI\fBSDL_SetAlpha\fP\fR to set or clear this flag after surface creation\&.
-.PP
-.RS
-\fBNote:  
-.PP
-If an alpha-channel is specified (that is, if \fBAmask\fR is nonzero), then the \fBSDL_SRCALPHA\fP flag is automatically set\&. You may remove this flag by calling \fI\fBSDL_SetAlpha\fP\fR after surface creation\&.
-.RE
-.SH "RETURN VALUE"
-.PP
-Returns the created surface, or \fBNULL\fR upon error\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CW    /* Create a 32-bit surface with the bytes of each pixel in R,G,B,A order,
-       as expected by OpenGL for textures */
-    SDL_Surface *surface;
-    Uint32 rmask, gmask, bmask, amask;
-
-    /* SDL interprets each pixel as a 32-bit number, so our masks must depend
-       on the endianness (byte order) of the machine */
-#if SDL_BYTEORDER == SDL_BIG_ENDIAN
-    rmask = 0xff000000;
-    gmask = 0x00ff0000;
-    bmask = 0x0000ff00;
-    amask = 0x000000ff;
-#else
-    rmask = 0x000000ff;
-    gmask = 0x0000ff00;
-    bmask = 0x00ff0000;
-    amask = 0xff000000;
-#endif
-
-    surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 32,
-                                   rmask, gmask, bmask, amask);
-    if(surface == NULL) {
-        fprintf(stderr, "CreateRGBSurface failed: %s
-", SDL_GetError());
-        exit(1);
-    }\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateRGBSurfaceFrom\fP\fR, \fI\fBSDL_FreeSurface\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_Surface\fR\fR \fI\fBSDL_SetAlpha\fP\fR \fI\fBSDL_SetColorKey\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_CreateRGBSurfaceFrom.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_CreateRGBSurfaceFrom" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateRGBSurfaceFrom \- Create an SDL_Surface from pixel data
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_CreateRGBSurfaceFrom\fP\fR(\fBvoid *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask\fR);
-.SH "DESCRIPTION"
-.PP
-Creates an SDL_Surface from the provided pixel data\&.
-.PP
-The data stored in \fBpixels\fR is assumed to be of the \fBdepth\fR specified in the parameter list\&. The pixel data is not copied into the \fBSDL_Surface\fR structure so it should not be freed until the surface has been freed with a called to \fISDL_FreeSurface\fR\&. \fBpitch\fR is the length of each scanline in bytes\&. 
-.PP
-See \fI\fBSDL_CreateRGBSurface\fP\fR for a more detailed description of the other parameters\&.
-.SH "RETURN VALUE"
-.PP
-Returns the created surface, or \fBNULL\fR upon error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateRGBSurface\fP\fR, \fI\fBSDL_FreeSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_CreateSemaphore.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-.TH "SDL_CreateSemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateSemaphore \- Creates a new semaphore and assigns an initial value to it\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBSDL_sem *\fBSDL_CreateSemaphore\fP\fR(\fBUint32 initial_value\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_CreateSemaphore()\fP creates a new semaphore and initializes it with the value \fBinitial_value\fR\&. Each locking operation on the semaphore by \fISDL_SemWait\fR, \fISDL_SemTryWait\fR or \fISDL_SemWaitTimeout\fR will atomically decrement the semaphore value\&. The locking operation will be blocked if the semaphore value is not positive (greater than zero)\&. Each unlock operation by \fISDL_SemPost\fR will atomically increment the semaphore value\&.
-.SH "RETURN VALUE"
-.PP
-Returns a pointer to an initialized semaphore or \fBNULL\fR if there was an error\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_sem *my_sem;
-
-my_sem = SDL_CreateSemaphore(INITIAL_SEM_VALUE);
-
-if (my_sem == NULL) {
-        return CREATE_SEM_FAILED;
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CreateThread.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_CreateThread" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateThread \- Creates a new thread of execution that shares its parent\&'s properties\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBSDL_Thread *\fBSDL_CreateThread\fP\fR(\fBint (*fn)(void *), void *data\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_CreateThread\fP creates a new thread of execution that shares all of its parent\&'s global memory, signal handlers, file descriptors, etc, and runs the function \fBfn\fR passed the void pointer \fBdata\fR The thread quits when this function returns\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_KillThread\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_CreateYUVOverlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_CreateYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_CreateYUVOverlay \- Create a YUV video overlay
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Overlay *\fBSDL_CreateYUVOverlay\fP\fR(\fBint width, int height, Uint32 format, SDL_Surface *display\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_CreateYUVOverlay\fP creates a YUV overlay of the specified \fBwidth\fR, \fBheight\fR and \fBformat\fR (see \fI\fBSDL_Overlay\fR\fR for a list of available formats), for the provided \fBdisplay\fR\&. A \fI\fBSDL_Overlay\fR\fR structure is returned\&.
-.PP
-The term \&'overlay\&' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_DisplayYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_Delay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-.TH "SDL_Delay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Delay \- Wait a specified number of milliseconds before returning\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_Delay\fP\fR(\fBUint32 ms\fR);
-.SH "DESCRIPTION"
-.PP
-Wait a specified number of milliseconds before returning\&. \fBSDL_Delay\fP will wait at \fIleast\fP the specified time, but possible longer due to OS scheduling\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Count on a delay granularity of \fIat least\fP 10 ms\&. Some platforms have shorter clock ticks but this is the most common\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_AddTimer\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_DestroyCond.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_DestroyCond" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DestroyCond \- Destroy a condition variable
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBvoid \fBSDL_DestroyCond\fP\fR(\fBSDL_cond *cond\fR);
-.SH "DESCRIPTION"
-.PP
-Destroys a condition variable\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateCond\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_DestroyMutex.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_DestroyMutex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DestroyMutex \- Destroy a mutex
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBvoid \fBSDL_DestroyMutex\fP\fR(\fBSDL_mutex *mutex\fR);
-.SH "DESCRIPTION"
-.PP
-Destroy a previously \fIcreated\fR mutex\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateMutex\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_DestroySemaphore.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_DestroySemaphore" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DestroySemaphore \- Destroys a semaphore that was created by \fISDL_CreateSemaphore\fR\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBvoid \fBSDL_DestroySemaphore\fP\fR(\fBSDL_sem *sem\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_DestroySemaphore\fP destroys the semaphore pointed to by \fBsem\fR that was created by \fI\fBSDL_CreateSemaphore\fP\fR\&. It is not safe to destroy a semaphore if there are threads currently blocked waiting on it\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWif (my_sem != NULL) {
-        SDL_DestroySemaphore(my_sem);
-        my_sem = NULL;
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_DisplayFormat.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_DisplayFormat" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DisplayFormat \- Convert a surface to the display format
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_DisplayFormat\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer, suitable for fast blitting onto the display surface\&. It calls \fISDL_ConvertSurface\fR
-.PP
-If you want to take advantage of hardware colorkey or alpha blit acceleration, you should set the colorkey and alpha value before calling this function\&.
-.PP
-If you want an alpha channel, see \fISDL_DisplayFormatAlpha\fR\&.
-.SH "RETURN VALUE"
-.PP
-If the conversion fails or runs out of memory, it returns \fBNULL\fR
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_ConvertSurface\fP\fR, \fI\fBSDL_DisplayFormatAlpha\fP\fR \fI\fBSDL_SetAlpha\fP\fR, \fI\fBSDL_SetColorKey\fP\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_DisplayFormatAlpha.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_DisplayFormatAlpha" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DisplayFormatAlpha \- Convert a surface to the display format
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_DisplayFormatAlpha\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer plus an alpha channel, suitable for fast blitting onto the display surface\&. It calls \fISDL_ConvertSurface\fR
-.PP
-If you want to take advantage of hardware colorkey or alpha blit acceleration, you should set the colorkey and alpha value before calling this function\&.
-.PP
-This function can be used to convert a colourkey to an alpha channel, if the \fBSDL_SRCCOLORKEY\fP flag is set on the surface\&. The generated surface will then be transparent (alpha=0) where the pixels match the colourkey, and opaque (alpha=255) elsewhere\&.
-.SH "RETURN VALUE"
-.PP
-If the conversion fails or runs out of memory, it returns \fBNULL\fR
-.SH "SEE ALSO"
-.PP
-\fISDL_ConvertSurface\fR, \fISDL_SetAlpha\fR, \fISDL_SetColorKey\fR, \fISDL_DisplayFormat\fR, \fISDL_Surface\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_DisplayYUVOverlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_DisplayYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_DisplayYUVOverlay \- Blit the overlay to the display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_DisplayYUVOverlay\fP\fR(\fBSDL_Overlay *overlay, SDL_Rect *dstrect\fR);
-.SH "DESCRIPTION"
-.PP
-Blit the \fBoverlay\fR to the surface specified when it was \fIcreated\fR\&. The \fI\fBSDL_Rect\fR\fR structure, \fBdstrect\fR, specifies the position and size of the destination\&. If the \fBdstrect\fR is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling\&.
-.SH "RETURN VALUES"
-.PP
-Returns 0 on success
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_EnableKeyRepeat.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_EnableKeyRepeat" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_EnableKeyRepeat \- Set keyboard repeat rate\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_EnableKeyRepeat\fP\fR(\fBint delay, int interval\fR);
-.SH "DESCRIPTION"
-.PP
-Enables or disables the keyboard repeat rate\&. \fBdelay\fR specifies how long the key must be pressed before it begins repeating, it then repeats at the speed specified by \fBinterval\fR\&. Both \fBdelay\fR and \fBinterval\fR are expressed in milliseconds\&.
-.PP
-Setting \fBdelay\fR to 0 disables key repeating completely\&. Good default values are \fBSDL_DEFAULT_REPEAT_DELAY\fP and \fISDL_DEFAULT_REPEAT_INTERVAL\fP\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success and \fB-1\fR on failure\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_EnableUNICODE.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_EnableUNICODE" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_EnableUNICODE \- Enable UNICODE translation
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_EnableUNICODE\fP\fR(\fBint enable\fR);
-.SH "DESCRIPTION"
-.PP
-Enables/Disables Unicode keyboard translation\&.
-.PP
-To obtain the character codes corresponding to received keyboard events, Unicode translation must first be turned on using this function\&. The translation incurs a slight overhead for each keyboard event and is therefore disabled by default\&. For each subsequently received key down event, the \fBunicode\fR member of the \fI\fBSDL_keysym\fR\fR structure will then contain the corresponding character code, or zero for keysyms that do not correspond to any character code\&.
-.PP
-A value of 1 for \fBenable\fR enables Unicode translation; 0 disables it, and -1 leaves it unchanged (useful for querying the current translation mode)\&.
-.PP
-Note that only key press events will be translated, not release events\&.
-.SH "RETURN VALUE"
-.PP
-Returns the previous translation mode (\fB0\fR or \fB1\fR)\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_keysym\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_Event.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,182 +0,0 @@
-.TH "SDL_Event" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Event \- General event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef union{
-  Uint8 type;
-  SDL_ActiveEvent active;
-  SDL_KeyboardEvent key;
-  SDL_MouseMotionEvent motion;
-  SDL_MouseButtonEvent button;
-  SDL_JoyAxisEvent jaxis;
-  SDL_JoyBallEvent jball;
-  SDL_JoyHatEvent jhat;
-  SDL_JoyButtonEvent jbutton;
-  SDL_ResizeEvent resize;
-  SDL_ExposeEvent expose;
-  SDL_QuitEvent quit;
-  SDL_UserEvent user;
-  SDL_SysWMEvent syswm;
-} SDL_Event;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-The type of event
-.TP 20
-\fBactive\fR
-\fIActivation event\fR
-.TP 20
-\fBkey\fR
-\fIKeyboard event\fR
-.TP 20
-\fBmotion\fR
-\fIMouse motion event\fR
-.TP 20
-\fBbutton\fR
-\fIMouse button event\fR
-.TP 20
-\fBjaxis\fR
-\fIJoystick axis motion event\fR
-.TP 20
-\fBjball\fR
-\fIJoystick trackball motion event\fR
-.TP 20
-\fBjhat\fR
-\fIJoystick hat motion event\fR
-.TP 20
-\fBjbutton\fR
-\fIJoystick button event\fR
-.TP 20
-\fBresize\fR
-\fIApplication window resize event\fR
-.TP 20
-\fBexpose\fR
-\fIApplication window expose event\fR
-.TP 20
-\fBquit\fR
-\fIApplication quit request event\fR
-.TP 20
-\fBuser\fR
-\fIUser defined event\fR
-.TP 20
-\fBsyswm\fR
-\fIUndefined window manager event\fR
-.SH "DESCRIPTION"
-.PP
-The \fBSDL_Event\fR union is the core to all event handling is SDL, its probably the most important structure after \fBSDL_Surface\fR\&. \fBSDL_Event\fR is a union of all event structures used in SDL, using it is a simple matter of knowing which union member relates to which event \fBtype\fR\&.
-.PP
-.TP 20
-\fBEvent \fBtype\fR\fR
-\fBEvent Structure\fR
-.TP 20
-\fBSDL_ACTIVEEVENT\fP
-\fI\fBSDL_ActiveEvent\fR\fR
-.TP 20
-\fBSDL_KEYDOWN/UP\fP
-\fI\fBSDL_KeyboardEvent\fR\fR
-.TP 20
-\fBSDL_MOUSEMOTION\fP
-\fI\fBSDL_MouseMotionEvent\fR\fR
-.TP 20
-\fBSDL_MOUSEBUTTONDOWN/UP\fP
-\fI\fBSDL_MouseButtonEvent\fR\fR
-.TP 20
-\fBSDL_JOYAXISMOTION\fP
-\fI\fBSDL_JoyAxisEvent\fR\fR
-.TP 20
-\fBSDL_JOYBALLMOTION\fP
-\fI\fBSDL_JoyBallEvent\fR\fR
-.TP 20
-\fBSDL_JOYHATMOTION\fP
-\fI\fBSDL_JoyHatEvent\fR\fR
-.TP 20
-\fBSDL_JOYBUTTONDOWN/UP\fP
-\fI\fBSDL_JoyButtonEvent\fR\fR
-.TP 20
-\fBSDL_QUIT\fP
-\fI\fBSDL_QuitEvent\fR\fR
-.TP 20
-\fBSDL_SYSWMEVENT\fP
-\fI\fBSDL_SysWMEvent\fR\fR
-.TP 20
-\fBSDL_VIDEORESIZE\fP
-\fI\fBSDL_ResizeEvent\fR\fR
-.TP 20
-\fBSDL_VIDEOEXPOSE\fP
-\fI\fBSDL_ExposeEvent\fR\fR
-.TP 20
-\fBSDL_USEREVENT\fP
-\fI\fBSDL_UserEvent\fR\fR
-.SH "USE"
-.PP
-The \fBSDL_Event\fR structure has two uses
-.IP "   \(bu" 6
-Reading events on the event queue
-.IP "   \(bu" 6
-Placing events on the event queue
-.PP
-Reading events from the event queue is done with either \fI\fBSDL_PollEvent\fP\fR or \fI\fBSDL_PeepEvents\fP\fR\&. We\&'ll use \fBSDL_PollEvent\fP and step through an example\&.
-.PP
-First off, we create an empty \fBSDL_Event\fR structure\&. 
-.PP
-.nf
-\f(CWSDL_Event test_event;\fR
-.fi
-.PP
- \fBSDL_PollEvent\fP removes the next event from the event queue, if there are no events on the queue it returns \fB0\fR otherwise it returns \fB1\fR\&. We use a \fBwhile\fP loop to process each event in turn\&. 
-.PP
-.nf
-\f(CWwhile(SDL_PollEvent(&test_event)) {\fR
-.fi
-.PP
- The \fBSDL_PollEvent\fP function take a pointer to an \fBSDL_Event\fR structure that is to be filled with event information\&. We know that if \fBSDL_PollEvent\fP removes an event from the queue then the event information will be placed in our \fBtest_event\fR structure, but we also know that the \fItype\fP of event will be placed in the \fBtype\fR member of \fBtest_event\fR\&. So to handle each event \fBtype\fR seperately we use a \fBswitch\fP statement\&. 
-.PP
-.nf
-\f(CW  switch(test_event\&.type) {\fR
-.fi
-.PP
- We need to know what kind of events we\&'re looking for \fIand\fP the event \fBtype\fR\&'s of those events\&. So lets assume we want to detect where the user is moving the mouse pointer within our application\&. We look through our event types and notice that \fBSDL_MOUSEMOTION\fP is, more than likely, the event we\&'re looking for\&. A little \fImore\fR research tells use that \fBSDL_MOUSEMOTION\fP events are handled within the \fI\fBSDL_MouseMotionEvent\fR\fR structure which is the \fBmotion\fR member of \fBSDL_Event\fR\&. We can check for the \fBSDL_MOUSEMOTION\fP event \fBtype\fR within our \fBswitch\fP statement like so: 
-.PP
-.nf
-\f(CW    case SDL_MOUSEMOTION:\fR
-.fi
-.PP
- All we need do now is read the information out of the \fBmotion\fR member of \fBtest_event\fR\&. 
-.PP
-.nf
-\f(CW      printf("We got a motion event\&.
-");
-      printf("Current mouse position is: (%d, %d)
-", test_event\&.motion\&.x, test_event\&.motion\&.y);
-      break;
-    default:
-      printf("Unhandled Event!
-");
-      break;
-  }
-}
-printf("Event queue empty\&.
-");\fR
-.fi
-.PP
-.PP
-It is also possible to push events onto the event queue and so use it as a two-way communication path\&. Both \fI\fBSDL_PushEvent\fP\fR and \fI\fBSDL_PeepEvents\fP\fR allow you to place events onto the event queue\&. This is usually used to place a \fBSDL_USEREVENT\fP on the event queue, however you could use it to post fake input events if you wished\&. Creating your own events is a simple matter of choosing the event type you want, setting the \fBtype\fR member and filling the appropriate member structure with information\&. 
-.PP
-.nf
-\f(CWSDL_Event user_event;
-
-user_event\&.type=SDL_USEREVENT;
-user_event\&.user\&.code=2;
-user_event\&.user\&.data1=NULL;
-user_event\&.user\&.data2=NULL;
-SDL_PushEvent(&user_event);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PushEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_EventState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.TH "SDL_EventState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_EventState \- This function allows you to set the state of processing certain events\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_EventState\fP\fR(\fBUint8 type, int state\fR);
-.SH "DESCRIPTION"
-.PP
-This function allows you to set the state of processing certain event \fBtype\fR\&'s\&.
-.PP
-If \fBstate\fR is set to \fBSDL_IGNORE\fP, that event \fBtype\fR will be automatically dropped from the event queue and will not be filtered\&.
-.PP
-If \fBstate\fR is set to \fBSDL_ENABLE\fP, that event \fBtype\fR will be processed normally\&.
-.PP
-If \fBstate\fR is set to \fBSDL_QUERY\fP, \fBSDL_EventState\fP will return the current processing state of the specified event \fBtype\fR\&.
-.PP
-A list of event \fBtype\fR\&'s can be found in the \fI\fBSDL_Event\fR\fR section\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_ExposeEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_ExposeEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ExposeEvent \- Quit requested event
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type
-} SDL_ExposeEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_VIDEOEXPOSE\fP
-.SH "DESCRIPTION"
-.PP
-\fBSDL_ExposeEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used whan an event of type \fBSDL_VIDEOEXPOSE\fP is reported\&.
-.PP
-A VIDEOEXPOSE event is triggered when the screen has been modified outside of the application, usually by the window manager and needs to be redrawn\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_FillRect.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_FillRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FillRect \- This function performs a fast fill of the given rectangle with some color
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_FillRect\fP\fR(\fBSDL_Surface *dst, SDL_Rect *dstrect, Uint32 color\fR);
-.SH "DESCRIPTION"
-.PP
-This function performs a fast fill of the given rectangle with \fBcolor\fR\&. If \fBdstrect\fR is \fBNULL\fP, the whole surface will be filled with \fBcolor\fR\&.
-.PP
-The color should be a pixel of the format used by the surface, and can be generated by the \fISDL_MapRGB\fR or \fISDL_MapRGBA\fR functions\&. If the color value contains an alpha value then the destination is simply "filled" with that alpha information, no blending takes place\&.
-.PP
-If there is a clip rectangle set on the destination (set via \fISDL_SetClipRect\fR) then this function will clip based on the intersection of the clip rectangle and the \fBdstrect\fR rectangle and the dstrect rectangle will be modified to represent the area actually filled\&.
-.SH "RETURN VALUE"
-.PP
-This function returns \fB0\fR on success, or \fB-1\fR on error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Rect\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_Flip.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-.TH "SDL_Flip" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Flip \- Swaps screen buffers
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_Flip\fP\fR(\fBSDL_Surface *screen\fR);
-.SH "DESCRIPTION"
-.PP
-On hardware that supports double-buffering, this function sets up a flip and returns\&. The hardware will wait for vertical retrace, and then swap video buffers before the next video surface blit or lock will return\&. On hardware that doesn\&'t support double-buffering, this is equivalent to calling \fISDL_UpdateRect\fR\fB(screen, 0, 0, 0, 0)\fR
-.PP
-The \fBSDL_DOUBLEBUF\fP flag must have been passed to \fISDL_SetVideoMode\fR, when setting the video mode for this function to perform hardware flipping\&.
-.SH "RETURN VALUE"
-.PP
-This function returns \fB0\fR if successful, or \fB-1\fR if there was an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_UpdateRect\fP\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_FreeCursor.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_FreeCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FreeCursor \- Frees a cursor created with SDL_CreateCursor\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_FreeCursor\fP\fR(\fBSDL_Cursor *cursor\fR);
-.SH "DESCRIPTION"
-.PP
-Frees a \fBSDL_Cursor\fR that was created using \fISDL_CreateCursor\fR\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_CreateCursor\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_FreeSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_FreeSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FreeSurface \- Frees (deletes) a SDL_Surface
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_FreeSurface\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-Frees the resources used by a previously created \fBSDL_Surface\fR\&. If the surface was created using \fISDL_CreateRGBSurfaceFrom\fR then the pixel data is not freed\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateRGBSurface\fP\fR \fI\fBSDL_CreateRGBSurfaceFrom\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_FreeWAV.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_FreeWAV" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FreeWAV \- Frees previously opened WAV data
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_FreeWAV\fP\fR(\fBUint8 *audio_buf\fR);
-.SH "DESCRIPTION"
-.PP
-After a WAVE file has been opened with \fI\fBSDL_LoadWAV\fP\fR its data can eventually be freed with \fBSDL_FreeWAV\fP\&. \fBaudio_buf\fR is a pointer to the buffer created by \fBSDL_LoadWAV\fP\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_LoadWAV\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_FreeYUVOverlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_FreeYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FreeYUVOverlay \- Free a YUV video overlay
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_FreeYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR);
-.SH "DESCRIPTION"
-.PP
-Frees and \fI\fBoverlay\fR\fR created by \fI\fBSDL_CreateYUVOverlay\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Overlay\fR\fR, \fI\fBSDL_DisplayYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GL_GetAttribute.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_GL_GetAttribute" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GL_GetAttribute \- Get the value of a special SDL/OpenGL attribute
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_GL_GetAttribute\fP\fR(\fBSDLGLattr attr, int *value\fR);
-.SH "DESCRIPTION"
-.PP
-Places the value of the SDL/OpenGL \fIattribute\fR \fBattr\fR into \fBvalue\fR\&. This is useful after a call to \fI\fBSDL_SetVideoMode\fP\fR to check whether your attributes have been \fIset\fR as you expected\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GL_SetAttribute\fP\fR, \fIGL Attributes\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GL_GetProcAddress.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-.TH "SDL_GL_GetProcAddress" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GL_GetProcAddress \- Get the address of a GL function
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid *\fBSDL_GL_GetProcAddress\fP\fR(\fBconst char* proc\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the address of the GL function \fBproc\fR, or \fBNULL\fR if the function is not found\&. If the GL library is loaded at runtime, with \fI\fBSDL_GL_LoadLibrary\fP\fR, then \fIall\fP GL functions must be retrieved this way\&. Usually this is used to retrieve function pointers to OpenGL extensions\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWtypedef void (*GL_ActiveTextureARB_Func)(unsigned int);
-GL_ActiveTextureARB_Func glActiveTextureARB_ptr = 0;
-int has_multitexture=1;
-\&.
-\&.
-\&.
-/* Get function pointer */
-glActiveTextureARB_ptr=(GL_ActiveTextureARB_Func) SDL_GL_GetProcAddress("glActiveTextureARB");
-
-/* Check for a valid function ptr */
-if(!glActiveTextureARB_ptr){
-  fprintf(stderr, "Multitexture Extensions not present\&.
-");
-  has_multitexture=0;
-}
-\&.
-\&.
-\&.
-\&.
-if(has_multitexture){
-  glActiveTextureARB_ptr(GL_TEXTURE0_ARB);
-  \&.
-  \&.
-}
-else{
-  \&.
-  \&.
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GL_LoadLibrary\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GL_LoadLibrary.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GL_LoadLibrary" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GL_LoadLibrary \- Specify an OpenGL library
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_GL_LoadLibrary\fP\fR(\fBconst char *path\fR);
-.SH "DESCRIPTION"
-.PP
-If you wish, you may load the OpenGL library at runtime, this must be done before \fI\fBSDL_SetVideoMode\fP\fR is called\&. The \fBpath\fR of the GL library is passed to \fBSDL_GL_LoadLibrary\fP and it returns \fB0\fR on success, or \fB-1\fR on an error\&. You must then use \fI\fBSDL_GL_GetProcAddress\fP\fR to retrieve function pointers to GL functions\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GL_GetProcAddress\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GL_SetAttribute.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-.TH "SDL_GL_SetAttribute" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GL_SetAttribute \- Set a special SDL/OpenGL attribute
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_GL_SetAttribute\fP\fR(\fBSDL_GLattr attr, int value\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the OpenGL \fIattribute\fR \fBattr\fR to \fBvalue\fR\&. The attributes you set don\&'t take effect until after a call to \fI\fBSDL_SetVideoMode\fP\fR\&. You should use \fI\fBSDL_GL_GetAttribute\fP\fR to check the values after a \fBSDL_SetVideoMode\fP call\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on error\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
-SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
-SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
-if ( (screen=SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL )) == NULL ) {
-  fprintf(stderr, "Couldn\&'t set GL mode: %s
-", SDL_GetError());
-  SDL_Quit();
-  return;
-}\fR
-.fi
-.PP
-.PP
-.RS
-\fBNote:  
-.PP
-The \fBSDL_DOUBLEBUF\fP flag is not required to enable double buffering when setting an OpenGL video mode\&. Double buffering is enabled or disabled using the SDL_GL_DOUBLEBUFFER attribute\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GL_GetAttribute\fP\fR, \fIGL Attributes\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GL_SwapBuffers.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GL_SwapBuffers" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GL_SwapBuffers \- Swap OpenGL framebuffers/Update Display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_GL_SwapBuffers\fP\fR(\fBvoid \fR);
-.SH "DESCRIPTION"
-.PP
-Swap the OpenGL buffers, if double-buffering is supported\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GL_SetAttribute\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GLattr.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-.TH "SDL_GLattr" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GLattr \- SDL GL Attributes
-.SH "ATTRIBUTES"
-.TP 20
-\fBSDL_GL_RED_SIZE\fP
-Size of the framebuffer red component, in bits
-.TP 20
-\fBSDL_GL_GREEN_SIZE\fP
-Size of the framebuffer green component, in bits
-.TP 20
-\fBSDL_GL_BLUE_SIZE\fP
-Size of the framebuffer blue component, in bits
-.TP 20
-\fBSDL_GL_ALPHA_SIZE\fP
-Size of the framebuffer alpha component, in bits
-.TP 20
-\fBSDL_GL_DOUBLEBUFFER\fP
-0 or 1, enable or disable double buffering
-.TP 20
-\fBSDL_GL_BUFFER_SIZE\fP
-Size of the framebuffer, in bits
-.TP 20
-\fBSDL_GL_DEPTH_SIZE\fP
-Size of the depth buffer, in bits
-.TP 20
-\fBSDL_GL_STENCIL_SIZE\fP
-Size of the stencil buffer, in bits
-.TP 20
-\fBSDL_GL_ACCUM_RED_SIZE\fP
-Size of the accumulation buffer red component, in bits
-.TP 20
-\fBSDL_GL_ACCUM_GREEN_SIZE\fP
-Size of the accumulation buffer green component, in bits
-.TP 20
-\fBSDL_GL_ACCUM_BLUE_SIZE\fP
-Size of the accumulation buffer blue component, in bits
-.TP 20
-\fBSDL_GL_ACCUM_ALPHA_SIZE\fP
-Size of the accumulation buffer alpha component, in bits
-.SH "DESCRIPTION"
-.PP
-While you can set most OpenGL attributes normally, the attributes list above must be known \fIbefore\fP SDL sets the video mode\&. These attributes a set and read with \fI\fBSDL_GL_SetAttribute\fP\fR and \fI\fBSDL_GL_GetAttribute\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GL_SetAttribute\fP\fR, \fI\fBSDL_GL_GetAttribute\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetAppState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_GetAppState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-\fBSDL_GetAppState\fP \- Get the state of the application
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_GetAppState\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-This function returns the current state of the application\&. The value returned is a bitwise combination of:
-.TP 20
-\fBSDL_APPMOUSEFOCUS\fP
-The application has mouse focus\&.
-.TP 20
-\fBSDL_APPINPUTFOCUS\fP
-The application has keyboard focus
-.TP 20
-\fBSDL_APPACTIVE\fP
-The application is visible
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_ActiveEvent\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetAudioStatus.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_GetAudioStatus" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetAudioStatus \- Get the current audio state
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_audiostatus\fBSDL_GetAudioStatus\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-.nf
-\f(CWtypedef enum{
-  SDL_AUDIO_STOPPED,
-  SDL_AUDIO_PAUSED,
-  SDL_AUDIO_PLAYING
-} SDL_audiostatus;\fR
-.fi
-.PP
-.PP
-Returns either \fBSDL_AUDIO_STOPPED\fP, \fBSDL_AUDIO_PAUSED\fP or \fBSDL_AUDIO_PLAYING\fP depending on the current audio state\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PauseAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_GetClipRect.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_GetClipRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetClipRect \- Gets the clipping rectangle for a surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_GetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR);
-.SH "DESCRIPTION"
-.PP
-Gets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle is drawn into\&.
-.PP
-The rectangle pointed to by \fBrect\fR will be filled with the clipping rectangle of the surface\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetClipRect\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetCursor.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetCursor \- Get the currently active mouse cursor\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Cursor *\fBSDL_GetCursor\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the currently active mouse cursor\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetCursor\fP\fR, \fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetError.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetError" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetError \- Get SDL error string
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL/SDL\&.h"
-.sp
-\fBchar *\fBSDL_GetError\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_GetError\fP returns a NULL terminated string containing information about the last internal SDL error\&.
-.SH "RETURN VALUE"
-.PP
-\fBSDL_GetError\fP returns a string containing the last error\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_GetEventFilter.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.TH "SDL_GetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetEventFilter \- Retrieves a pointer to he event filter
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_EventFilter \fBSDL_GetEventFilter\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-This function retrieces a pointer to the event filter that was previously set using \fI\fBSDL_SetEventFilter\fP\fR\&. An SDL_EventFilter function is defined as: 
-.PP
-.nf
-\f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR
-.fi
-.PP
-.SH "RETURN VALUE"
-.PP
-Returns a pointer to the event filter or \fBNULL\fP if no filter has been set\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetGamma.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-.TH "SDL_GetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetGamma \- Gets the gamma of the display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_GetGamma\fP\fR(\fBfloat *red, float *green, float *blue\fR);
-.SH "DESCRIPTION"
-.PP
-Gets the color gamma of the display\&. The gamma value for each color component will be place in the parameters \fBred\fR, \fBgreen\fR and \fBblue\fR\&. The values can range from 0\&.1 to 10\&.
-.PP
-.RS
-\fBNote:  
-.PP
-This function currently only works on XFreee 4\&.0 and up\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetGamma\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetGammaRamp.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-.TH "SDL_GetGammaRamp" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetGammaRamp \- Gets the color gamma lookup tables for the display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_GetGammaRamp\fP\fR(\fBUint16 *redtable, Uint16 *greentable, Uint16 *bluetable\fR);
-.SH "DESCRIPTION"
-.PP
-Gets the gamma translation lookup tables currently used by the display\&. Each table is an array of 256 Uint16 values\&.
-.PP
-Not all display hardware is able to change gamma\&.
-.SH "RETURN VALUE"
-.PP
-Returns -1 on error\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_SetGamma\fR \fISDL_SetGammaRamp\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetKeyName.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetKeyName" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetKeyName \- Get the name of an SDL virtual keysym
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBchar *\fBSDL_GetKeyName\fP\fR(\fBSDLKey key\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the SDL-defined name of the \fI\fBSDLKey\fR\fR \fBkey\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDLKey\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetKeyState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-.TH "SDL_GetKeyState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetKeyState \- Get a snapshot of the current keyboard state
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 *\fBSDL_GetKeyState\fP\fR(\fBint *numkeys\fR);
-.SH "DESCRIPTION"
-.PP
-Gets a snapshot of the current keyboard state\&. The current state is return as a pointer to an array, the size of this array is stored in \fBnumkeys\fR\&. The array is indexed by the \fI\fBSDLK_*\fP\fR symbols\&. A value of 1 means the key is pressed and a value of 0 means its not\&. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Use \fI\fBSDL_PumpEvents\fP\fR to update the state array\&.
-.RE
-.SH "EXAMPLE"
-.PP
-.PP
-.nf
-\f(CWUint8 *keystate = SDL_GetKeyState(NULL);
-if ( keystate[SDLK_RETURN] ) printf("Return Key Pressed\&.
-");\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL Key Symbols\fP\fR, \fI\fBSDL_PumpEvents\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetModState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-.TH "SDL_GetModState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetModState \- Get the state of modifier keys\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDLMod \fBSDL_GetModState\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the current state of the modifier keys (CTRL, ALT, etc\&.)\&.
-.SH "RETURN VALUE"
-.PP
-The return value can be an OR\&'d combination of the SDLMod enum\&.
-.PP
-.PP
-.RS
-\fBSDLMod\fR
-.PP
-.PP
-.nf
-\f(CWtypedef enum {
-  KMOD_NONE  = 0x0000,
-  KMOD_LSHIFT= 0x0001,
-  KMOD_RSHIFT= 0x0002,
-  KMOD_LCTRL = 0x0040,
-  KMOD_RCTRL = 0x0080,
-  KMOD_LALT  = 0x0100,
-  KMOD_RALT  = 0x0200,
-  KMOD_LMETA = 0x0400,
-  KMOD_RMETA = 0x0800,
-  KMOD_NUM   = 0x1000,
-  KMOD_CAPS  = 0x2000,
-  KMOD_MODE  = 0x4000,
-} SDLMod;\fR
-.fi
-.PP
-.RE
- SDL also defines the following symbols for convenience: 
-.PP
-.RS
-.PP
-.nf
-\f(CW#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
-#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
-#define KMOD_ALT  (KMOD_LALT|KMOD_RALT)
-#define KMOD_META (KMOD_LMETA|KMOD_RMETA)\fR
-.fi
-.PP
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetKeyState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetMouseState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_GetMouseState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetMouseState \- Retrieve the current state of the mouse
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_GetMouseState\fP\fR(\fBint *x, int *y\fR);
-.SH "DESCRIPTION"
-.PP
-The current button state is returned as a button bitmask, which can be tested using the \fBSDL_BUTTON(X)\fP macros, and \fBx\fR and \fBy\fR are set to the current mouse cursor position\&. You can pass \fBNULL\fP for either \fBx\fR or \fBy\fR\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_PumpEvents();
-if(SDL_GetMouseState(NULL, NULL)&SDL_BUTTON(1))
-  printf("Mouse Button 1(left) is pressed\&.
-");\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetRelativeMouseState\fP\fR, \fI\fBSDL_PumpEvents\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetRGB.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_GetRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetRGB \- Get RGB values from a pixel in the specified pixel format\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_GetRGB\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b\fR);
-.SH "DESCRIPTION"
-.PP
-Get RGB component values from a pixel stored in the specified pixel format\&.
-.PP
-This function uses the entire 8-bit [0\&.\&.255] range when converting color components from pixel formats with less than 8-bits per RGB component (e\&.g\&., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8])\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_PixelFormat\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetRGBA.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-.TH "SDL_GetRGBA" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetRGBA \- Get RGBA values from a pixel in the specified pixel format\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_GetRGBA\fP\fR(\fBUint32 pixel, SDL_PixelFormat *fmt, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a\fR);
-.SH "DESCRIPTION"
-.PP
-Get RGBA component values from a pixel stored in the specified pixel format\&.
-.PP
-This function uses the entire 8-bit [0\&.\&.255] range when converting color components from pixel formats with less than 8-bits per RGB component (e\&.g\&., a completely white pixel in 16-bit RGB565 format would return [0xff, 0xff, 0xff] not [0xf8, 0xfc, 0xf8])\&.
-.PP
-If the surface has no alpha component, the alpha will be returned as 0xff (100% opaque)\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_GetRGB\fR, \fISDL_MapRGB\fR, \fISDL_MapRGBA\fR, \fISDL_PixelFormat\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetRelativeMouseState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetRelativeMouseState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetRelativeMouseState \- Retrieve the current state of the mouse
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_GetRelativeMouseState\fP\fR(\fBint *x, int *y\fR);
-.SH "DESCRIPTION"
-.PP
-The current button state is returned as a button bitmask, which can be tested using the \fBSDL_BUTTON(X)\fP macros, and \fBx\fR and \fBy\fR are set to the change in the mouse position since the last call to \fBSDL_GetRelativeMouseState\fP or since event initialization\&. You can pass \fBNULL\fP for either \fBx\fR or \fBy\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetMouseState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_GetThreadID.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_GetThreadID" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetThreadID \- Get the SDL thread ID of a SDL_Thread
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBUint32 \fBSDL_GetThreadID\fP\fR(\fBSDL_Thread *thread\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the ID of a \fBSDL_Thread\fR created by \fISDL_CreateThread\fR\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_CreateThread\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_GetTicks.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetTicks" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetTicks \- Get the number of milliseconds since the SDL library initialization\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint32 \fBSDL_GetTicks\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-Get the number of milliseconds since the SDL library initialization\&. Note that this value wraps if the program runs for more than ~49 days\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Delay\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetVideoInfo.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetVideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetVideoInfo \- returns a pointer to information about the video hardware
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_VideoInfo *\fBSDL_GetVideoInfo\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-This function returns a read-only pointer to \fIinformation\fR about the video hardware\&. If this is called before \fISDL_SetVideoMode\fR, the \fBvfmt\fR member of the returned structure will contain the pixel format of the "best" video mode\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_VideoInfo\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_GetVideoSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_GetVideoSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_GetVideoSurface \- returns a pointer to the current display surface
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_GetVideoSurface\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-This function returns a pointer to the current display surface\&. If SDL is doing format conversion on the display surface, this function returns the publicly visible surface, not the real video surface\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_Init.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-.TH "SDL_Init" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Init \- Initializes SDL
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_Init\fP\fR(\fBUint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-Initializes SDL\&. This should be called before all other SDL functions\&. The \fBflags\fR parameter specifies what part(s) of SDL to initialize\&.
-.TP 20
-\fBSDL_INIT_TIMER\fP
-Initializes the \fItimer\fR subsystem\&.
-.TP 20
-\fBSDL_INIT_AUDIO\fP
-Initializes the \fIaudio\fR subsystem\&.
-.TP 20
-\fBSDL_INIT_VIDEO\fP
-Initializes the \fIvideo\fR subsystem\&.
-.TP 20
-\fBSDL_INIT_CDROM\fP
-Initializes the \fIcdrom\fR subsystem\&.
-.TP 20
-\fBSDL_INIT_JOYSTICK\fP
-Initializes the \fIjoystick\fR subsystem\&.
-.TP 20
-\fBSDL_INIT_EVERYTHING\fP
-Initialize all of the above\&.
-.TP 20
-\fBSDL_INIT_NOPARACHUTE\fP
-Prevents SDL from catching fatal signals\&.
-.TP 20
-\fBSDL_INIT_EVENTTHREAD\fP
-.SH "RETURN VALUE"
-.PP
-Returns \fB-1\fR on an error or \fB0\fR on success\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Quit\fP\fR, \fI\fBSDL_InitSubSystem\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_InitSubSystem.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-.TH "SDL_InitSubSystem" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_InitSubSystem \- Initialize subsystems
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_InitSubSystem\fP\fR(\fBUint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-After SDL has been initialized with \fI\fBSDL_Init\fP\fR you may initialize uninitialized subsystems with \fBSDL_InitSubSystem\fP\&. The \fBflags\fR parameter is the same as that used in \fI\fBSDL_Init\fP\fR\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CW/* Seperating Joystick and Video initialization\&. */
-SDL_Init(SDL_INIT_VIDEO);
-\&.
-\&.
-SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN);
-\&.
-/* Do Some Video stuff */
-\&.
-\&.
-/* Initialize the joystick subsystem */
-SDL_InitSubSystem(SDL_INIT_JOYSTICK);
-
-/* Do some stuff with video and joystick */
-\&.
-\&.
-\&.
-/* Shut them both down */
-SDL_Quit();\fR
-.fi
-.PP
-.SH "RETURN VALUE"
-.PP
-Returns \fB-1\fR on an error or \fB0\fR on success\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Init\fP\fR, \fI\fBSDL_Quit\fP\fR, \fI\fBSDL_QuitSubSystem\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoyAxisEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-.TH "SDL_JoyAxisEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoyAxisEvent \- Joystick axis motion event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 axis;
-  Sint16 value;
-} SDL_JoyAxisEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_JOYAXISMOTION\fP
-.TP 20
-\fBwhich\fR
-Joystick device index
-.TP 20
-\fBaxis\fR
-Joystick axis index
-.TP 20
-\fBvalue\fR
-Axis value (range: -32768 to 32767)
-.SH "DESCRIPTION"
-.PP
-\fBSDL_JoyAxisEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYAXISMOTION\fP is reported\&.
-.PP
-A \fBSDL_JOYAXISMOTION\fP event occurs when ever a user moves an axis on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBaxis\fR is the index of the axis (for a more detailed explaination see the \fIJoystick section\fR)\&. \fBvalue\fR is the current position of the axis\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetAxis\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_JoyBallEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-.TH "SDL_JoyBallEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoyBallEvent \- Joystick trackball motion event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 ball;
-  Sint16 xrel, yrel;
-} SDL_JoyBallEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_JOYBALLMOTION\fP
-.TP 20
-\fBwhich\fR
-Joystick device index
-.TP 20
-\fBball\fR
-Joystick trackball index
-.TP 20
-\fBxrel\fR, \fByrel\fR
-The relative motion in the X/Y direction
-.SH "DESCRIPTION"
-.PP
-\fBSDL_JoyBallEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYBALLMOTION\fP is reported\&.
-.PP
-A \fBSDL_JOYBALLMOTION\fP event occurs when a user moves a trackball on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBball\fR is the index of the trackball (for a more detailed explaination see the \fIJoystick section\fR)\&. Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in \fBxrel\fR and \fByrel\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetBall\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_JoyButtonEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-.TH "SDL_JoyButtonEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoyButtonEvent \- Joystick button event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 button;
-  Uint8 state;
-} SDL_JoyButtonEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP
-.TP 20
-\fBwhich\fR
-Joystick device index
-.TP 20
-\fBbutton\fR
-Joystick button index
-.TP 20
-\fBstate\fR
-\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP
-.SH "DESCRIPTION"
-.PP
-\fBSDL_JoyButtonEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP is reported\&.
-.PP
-A \fBSDL_JOYBUTTONDOWN\fP or \fBSDL_JOYBUTTONUP\fP event occurs when ever a user presses or releases a button on a joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBbutton\fR is the index of the button (for a more detailed explaination see the \fIJoystick section\fR)\&. \fBstate\fR is the current state or the button which is either \fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetButton\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_JoyHatEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-.TH "SDL_JoyHatEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoyHatEvent \- Joystick hat position change event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 which;
-  Uint8 hat;
-  Uint8 value;
-} SDL_JoyHatEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_JOY\fP
-.TP 20
-\fBwhich\fR
-Joystick device index
-.TP 20
-\fBhat\fR
-Joystick hat index
-.TP 20
-\fBvalue\fR
-Hat position
-.SH "DESCRIPTION"
-.PP
-\fBSDL_JoyHatEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_JOYHATMOTION\fP is reported\&.
-.PP
-A \fBSDL_JOYHATMOTION\fP event occurs when ever a user moves a hat on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBhat\fR is the index of the hat (for a more detailed exlaination see the \fIJoystick section\fR)\&. \fBvalue\fR is the current position of the hat\&. It is a logically OR\&'d combination of the following values (whose meanings should be pretty obvious:) :
-.IP "" 10
-\fBSDL_HAT_CENTERED\fP
-.IP "" 10
-\fBSDL_HAT_UP\fP
-.IP "" 10
-\fBSDL_HAT_RIGHT\fP
-.IP "" 10
-\fBSDL_HAT_DOWN\fP
-.IP "" 10
-\fBSDL_HAT_LEFT\fP
-.PP
-The following defines are also provided:
-.IP "" 10
-\fBSDL_HAT_RIGHTUP\fP
-.IP "" 10
-\fBSDL_HAT_RIGHTDOWN\fP
-.IP "" 10
-\fBSDL_HAT_LEFTUP\fP
-.IP "" 10
-\fBSDL_HAT_LEFTDOWN\fP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fIJoystick Functions\fR, \fI\fBSDL_JoystickEventState\fP\fR, \fI\fBSDL_JoystickGetHat\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_JoystickClose.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_JoystickClose" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickClose \- Closes a previously opened joystick
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_JoystickClose\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Close a \fBjoystick\fR that was previously opened with \fI\fBSDL_JoystickOpen\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickOpened\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickEventState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-.TH "SDL_JoystickEventState" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickEventState \- Enable/disable joystick event polling
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickEventState\fP\fR(\fBint state\fR);
-.SH "DESCRIPTION"
-.PP
-This function is used to enable or disable joystick event processing\&. With joystick event processing disabled you will have to update joystick states with \fI\fBSDL_JoystickUpdate\fP\fR and read the joystick information manually\&. \fBstate\fR is either \fBSDL_QUERY\fP, \fBSDL_ENABLE\fP or \fBSDL_IGNORE\fP\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Joystick event handling is prefered
-.RE
-.SH "RETURN VALUE"
-.PP
-If \fBstate\fR is \fBSDL_QUERY\fP then the current state is returned, otherwise the new processing \fBstate\fR is returned\&.
-.SH "SEE ALSO"
-.PP
-\fISDL Joystick Functions\fR, \fI\fBSDL_JoystickUpdate\fP\fR, \fI\fBSDL_JoyAxisEvent\fR\fR, \fI\fBSDL_JoyBallEvent\fR\fR, \fI\fBSDL_JoyButtonEvent\fR\fR, \fI\fBSDL_JoyHatEvent\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_JoystickGetAxis.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-.TH "SDL_JoystickGetAxis" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickGetAxis \- Get the current state of an axis
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSint16 \fBSDL_JoystickGetAxis\fP\fR(\fBSDL_Joystick *joystick, int axis\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_JoystickGetAxis\fP returns the current state of the given \fBaxis\fR on the given \fBjoystick\fR\&.
-.PP
-On most modern joysticks the X axis is usually represented by \fBaxis\fR 0 and the Y axis by \fBaxis\fR 1\&. The value returned by \fBSDL_JoystickGetAxis\fP is a signed integer (-32768 to 32768) representing the current position of the \fBaxis\fR, it maybe necessary to impose certain tolerances on these values to account for jitter\&. It is worth noting that some joysticks use axes 2 and 3 for extra buttons\&.
-.SH "RETURN VALUE"
-.PP
-Returns a 16-bit signed integer representing the current position of the \fBaxis\fR\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSint16 x_move, y_move;
-SDL_Joystick *joy1;
-\&.
-\&.
-x_move=SDL_JoystickGetAxis(joy1, 0);
-y_move=SDL_JoystickGetAxis(joy1, 1);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickNumAxes\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickGetBall.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-.TH "SDL_JoystickGetBall" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickGetBall \- Get relative trackball motion
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickGetBall\fP\fR(\fBSDL_Joystick *joystick, int ball, int *dx, int *dy\fR);
-.SH "DESCRIPTION"
-.PP
-Get the \fBball\fR axis change\&.
-.PP
-Trackballs can only return relative motion since the last call to \fBSDL_JoystickGetBall\fP, these motion deltas a placed into \fBdx\fR and \fBdy\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success or \fB-1\fR on failure
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWint delta_x, delta_y;
-SDL_Joystick *joy;
-\&.
-\&.
-\&.
-SDL_JoystickUpdate();
-if(SDL_JoystickGetBall(joy, 0, &delta_x, &delta_y)==-1)
-  printf("TrackBall Read Error!
-");
-printf("Trackball Delta- X:%d, Y:%d
-", delta_x, delta_y);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickNumBalls\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickGetButton.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickGetButton" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickGetButton \- Get the current state of a given button on a given joystick
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_JoystickGetButton\fP\fR(\fBSDL_Joystick *joystick, int button\fR);
-.SH "DESCRIPTION"
-.PP
-SDL_JoystickGetButton returns the current state of the given \fBbutton\fR on the given \fBjoystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-\fB1\fR if the button is pressed\&. Otherwise, \fB0\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickNumButtons\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickGetHat.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-.TH "SDL_JoystickGetHat" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickGetHat \- Get the current state of a joystick hat
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint8 \fBSDL_JoystickGetHat\fP\fR(\fBSDL_Joystick *joystick, int hat\fR);
-.SH "DESCRIPTION"
-.PP
-SDL_JoystickGetHat returns the current state of the given \fBhat\fR on the given \fBjoystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-The current state is returned as a Uint8 which is defined as an OR\&'d combination of one or more of the following
-.IP "" 10
-\fBSDL_HAT_CENTERED\fP
-.IP "" 10
-\fBSDL_HAT_UP\fP
-.IP "" 10
-\fBSDL_HAT_RIGHT\fP
-.IP "" 10
-\fBSDL_HAT_DOWN\fP
-.IP "" 10
-\fBSDL_HAT_LEFT\fP
-.IP "" 10
-\fBSDL_HAT_RIGHTUP\fP
-.IP "" 10
-\fBSDL_HAT_RIGHTDOWN\fP
-.IP "" 10
-\fBSDL_HAT_LEFTUP\fP
-.IP "" 10
-\fBSDL_HAT_LEFTDOWN\fP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickNumHats\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickIndex.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickIndex" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickIndex \- Get the index of an SDL_Joystick\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickIndex\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Returns the index of a given \fBSDL_Joystick\fR structure\&.
-.SH "RETURN VALUE"
-.PP
-Index number of the joystick\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickName.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-.TH "SDL_JoystickName" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickName \- Get joystick name\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBconst char *\fBSDL_JoystickName\fP\fR(\fBint index\fR);
-.SH "DESCRIPTION"
-.PP
-Get the implementation dependent name of joystick\&. The \fBindex\fR parameter refers to the N\&'th joystick on the system\&.
-.SH "RETURN VALUE"
-.PP
-Returns a char pointer to the joystick name\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CW/* Print the names of all attached joysticks */
-int num_joy, i;
-num_joy=SDL_NumJoysticks();
-printf("%d joysticks found
-", num_joy);
-for(i=0;i<num_joy;i++)
-  printf("%s
-", SDL_JoystickName(i));\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickNumAxes.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickNumAxes" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickNumAxes \- Get the number of joystick axes
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickNumAxes\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Return the number of axes available from a previously opened \fBSDL_Joystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-Number of axes\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickGetAxis\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickNumBalls.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickNumBalls" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickNumBalls \- Get the number of joystick trackballs
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickNumBalls\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Return the number of trackballs available from a previously opened \fBSDL_Joystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-Number of trackballs\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickGetBall\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickNumButtons.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickNumButtons" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickNumButtons \- Get the number of joysitck buttons
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickNumButtons\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Return the number of buttons available from a previously opened \fBSDL_Joystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-Number of buttons\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickGetButton\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickNumHats.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickNumHats" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickNumHats \- Get the number of joystick hats
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickNumHats\fP\fR(\fBSDL_Joystick *joystick\fR);
-.SH "DESCRIPTION"
-.PP
-Return the number of hats available from a previously opened \fBSDL_Joystick\fR\&.
-.SH "RETURN VALUE"
-.PP
-Number of hats\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickGetHat\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickOpen.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-.TH "SDL_JoystickOpen" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickOpen \- Opens a joystick for use\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Joystick *\fBSDL_JoystickOpen\fP\fR(\fBint index\fR);
-.SH "DESCRIPTION"
-.PP
-Opens a joystick for use within SDL\&. The \fBindex\fR refers to the N\&'th joystick in the system\&. A joystick must be opened before it game be used\&.
-.SH "RETURN VALUE"
-.PP
-Returns a \fBSDL_Joystick\fR structure on success\&. \fBNULL\fR on failure\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_Joystick *joy;
-// Check for joystick
-if(SDL_NumJoysticks()>0){
-  // Open joystick
-  joy=SDL_JoystickOpen(0);
-  
-  if(joy)
-  {
-    printf("Opened Joystick 0
-");
-    printf("Name: %s
-", SDL_JoystickName(0));
-    printf("Number of Axes: %d
-", SDL_JoystickNumAxes(joy));
-    printf("Number of Buttons: %d
-", SDL_JoystickNumButtons(joy));
-    printf("Number of Balls: %d
-", SDL_JoystickNumBalls(joy));
-  }
-  else
-    printf("Couldn\&'t open Joystick 0
-");
-  
-  // Close if opened
-  if(SDL_JoystickOpened(0))
-    SDL_JoystickClose(joy);
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickClose\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickOpened.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_JoystickOpened" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickOpened \- Determine if a joystick has been opened
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_JoystickOpened\fP\fR(\fBint index\fR);
-.SH "DESCRIPTION"
-.PP
-Determines whether a joystick has already been opened within the application\&. \fBindex\fR refers to the N\&'th joystick on the system\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB1\fR if the joystick has been opened, or \fB0\fR if it has not\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickOpen\fP\fR, \fI\fBSDL_JoystickClose\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_JoystickUpdate.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_JoystickUpdate" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_JoystickUpdate \- Updates the state of all joysticks
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_JoystickUpdate\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Updates the state(position, buttons, etc\&.) of all open joysticks\&. If joystick events have been enabled with \fI\fBSDL_JoystickEventState\fP\fR then this is called automatically in the event loop\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickEventState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_KeyboardEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-.TH "SDL_KeyboardEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_KeyboardEvent \- Keyboard event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 state;
-  SDL_keysym keysym;
-} SDL_KeyboardEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_KEYDOWN\fP or \fBSDL_KEYUP\fP
-.TP 20
-\fBstate\fR
-\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP
-.TP 20
-\fBkeysym\fR
-Contains key press information
-.SH "DESCRIPTION"
-.PP
-\fBSDL_KeyboardEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_KEYDOWN\fP or \fBSDL_KEYUP\fP is reported\&.
-.PP
-The \fBtype\fR and \fBstate\fR actually report the same information, they just use different values to do it! A keyboard event occurs when a key is released (\fBtype\fR=\fBSDK_KEYUP\fP or \fBstate\fR=\fBSDL_RELEASED\fP) and when a key is pressed (\fBtype\fR=\fBSDL_KEYDOWN\fP or \fBstate\fR=\fBSDL_PRESSED\fP)\&. The information on what key was pressed or released is in the \fI\fBkeysym\fR\fR structure\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Repeating \fBSDL_KEYDOWN\fP events will occur if key repeat is enabled (see \fI\fBSDL_EnableKeyRepeat\fP\fR)\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_keysym\fR\fR, \fI\fBSDL_EnableKeyRepeat\fP\fR, \fI\fBSDL_EnableUNICODE\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_KillThread.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-.TH "SDL_KillThread" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_KillThread \- Gracelessly terminates the thread\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBvoid \fBSDL_KillThread\fP\fR(\fBSDL_Thread *thread\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_KillThread\fP gracelessly terminates the thread associated with \fBthread\fR\&. If possible, you should use some other form of IPC to signal the thread to quit\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateThread\fP\fR, \fI\fBSDL_WaitThread\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_ListModes.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-.TH "SDL_ListModes" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ListModes \- Returns a pointer to an array of available screen dimensions for the given format and video flags
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Rect **\fBSDL_ListModes\fP\fR(\fBSDL_PixelFormat *format, Uint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-Return a pointer to an array of available screen dimensions for the given format and video flags, sorted largest to smallest\&. Returns \fBNULL\fP if there are no dimensions available for a particular format, or \fB-1\fR if any dimension is okay for the given format\&.
-.PP
-If \fBformat\fR is \fBNULL\fP, the mode list will be for the format returned by \fISDL_GetVideoInfo()\fR->\fBvfmt\fR\&. The \fBflag\fR parameter is an OR\&'d combination of \fIsurface\fR flags\&. The flags are the same as those used \fI\fBSDL_SetVideoMode\fP\fR and they play a strong role in deciding what modes are valid\&. For instance, if you pass \fBSDL_HWSURFACE\fP as a flag only modes that support hardware video surfaces will be returned\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_Rect **modes;
-int i;
-\&.
-\&.
-\&.
-
-/* Get available fullscreen/hardware modes */
-modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
-
-/* Check is there are any modes available */
-if(modes == (SDL_Rect **)0){
-  printf("No modes available!
-");
-  exit(-1);
-}
-
-/* Check if or resolution is restricted */
-if(modes == (SDL_Rect **)-1){
-  printf("All resolutions available\&.
-");
-}
-else{
-  /* Print valid modes */
-  printf("Available Modes
-");
-  for(i=0;modes[i];++i)
-    printf("  %d x %d
-", modes[i]->w, modes[i]->h);
-}
-\&.
-\&.\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GetVideoInfo\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_PixelFormat\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_LoadBMP.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_LoadBMP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_LoadBMP \- Load a Windows BMP file into an SDL_Surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_LoadBMP\fP\fR(\fBconst char *file\fR);
-.SH "DESCRIPTION"
-.PP
-Loads a surface from a named Windows BMP file\&.
-.SH "RETURN VALUE"
-.PP
-Returns the new surface, or \fBNULL\fP if there was an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SaveBMP\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_LoadWAV.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-.TH "SDL_LoadWAV" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_LoadWAV \- Load a WAVE file
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_AudioSpec *\fBSDL_LoadWAV\fP\fR(\fBconst char *file, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_LoadWAV\fP This function loads a WAVE \fBfile\fR into memory\&.
-.PP
-If this function succeeds, it returns the given \fI\fBSDL_AudioSpec\fP\fR, filled with the audio data format of the wave data, and sets \fBaudio_buf\fR to a \fBmalloc\fP\&'d buffer containing the audio data, and sets \fBaudio_len\fR to the length of that audio buffer, in bytes\&. You need to free the audio buffer with \fI\fBSDL_FreeWAV\fP\fR when you are done with it\&.
-.PP
-This function returns \fBNULL\fP and sets the SDL error message if the wave file cannot be opened, uses an unknown data format, or is corrupt\&. Currently raw, MS-ADPCM and IMA-ADPCM WAVE files are supported\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_AudioSpec wav_spec;
-Uint32 wav_length;
-Uint8 *wav_buffer;
-
-/* Load the WAV */
-if( SDL_LoadWAV("test\&.wav", &wav_spec, &wav_buffer, &wav_length) == NULL ){
-  fprintf(stderr, "Could not open test\&.wav: %s
-", SDL_GetError());
-  exit(-1);
-}
-\&.
-\&.
-\&.
-/* Do stuff with the WAV */
-\&.
-\&.
-/* Free It */
-SDL_FreeWAV(wav_buffer);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_AudioSpec\fR\fR, \fI\fBSDL_OpenAudio\fP\fR, \fI\fBSDL_FreeWAV\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_LockAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_LockAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_LockAudio \- Lock out the callback function
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_LockAudio\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-The lock manipulated by these functions protects the callback function\&. During a LockAudio period, you can be guaranteed that the callback function is not running\&. Do not call these from the callback function or you will cause deadlock\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_OpenAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_LockSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-.TH "SDL_LockSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_LockSurface \- Lock a surface for directly access\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_LockSurface\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_LockSurface\fP sets up a surface for directly accessing the pixels\&. Between calls to \fBSDL_LockSurface\fP and \fBSDL_UnlockSurface\fP, you can write to and read from \fBsurface->\fBpixels\fR\fR, using the pixel format stored in \fBsurface->\fBformat\fR\fR\&. Once you are done accessing the surface, you should use \fBSDL_UnlockSurface\fP to release it\&.
-.PP
-Not all surfaces require locking\&. If \fBSDL_MUSTLOCK\fP(\fBsurface\fR) evaluates to \fB0\fR, then you can read and write to the surface at any time, and the pixel format of the surface will not change\&. 
-.PP
-No operating system or library calls should be made between lock/unlock pairs, as critical system locks may be held during this time\&.
-.PP
-It should be noted, that since SDL 1\&.1\&.8 surface locks are recursive\&. This means that you can lock a surface multiple times, but each lock must have a match unlock\&. 
-.PP
-.nf
-\f(CW    \&.
-    \&.
-    SDL_LockSurface( surface );
-    \&.
-    /* Surface is locked */
-    /* Direct pixel access on surface here */
-    \&.
-    SDL_LockSurface( surface );
-    \&.
-    /* More direct pixel access on surface */
-    \&.
-    SDL_UnlockSurface( surface );
-    /* Surface is still locked */
-    /* Note: Is versions < 1\&.1\&.8, the surface would have been */
-    /* no longer locked at this stage                         */
-    \&.
-    SDL_UnlockSurface( surface );
-    /* Surface is now unlocked */
-    \&.
-    \&.\fR
-.fi
-.PP
-.SH "RETURN VALUE"
-.PP
-\fBSDL_LockSurface\fP returns \fB0\fR, or \fB-1\fR if the surface couldn\&'t be locked\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_UnlockSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_LockYUVOverlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_LockYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_LockYUVOverlay \- Lock an overlay
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_LockYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR);
-.SH "DESCRIPTION"
-.PP
-Much the same as \fI\fBSDL_LockSurface\fP\fR, \fBSDL_LockYUVOverlay\fP locks the \fI\fBoverlay\fR\fR for direct access to pixel data\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_Overlay\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_MapRGB.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_MapRGB" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_MapRGB \- Map a RGB color value to a pixel format\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint32 \fBSDL_MapRGB\fP\fR(\fBSDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b\fR);
-.SH "DESCRIPTION"
-.PP
-Maps the RGB color value to the specified pixel format and returns the pixel value as a 32-bit int\&.
-.PP
-If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&.
-.PP
-If the specified pixel format has an alpha component it will be returned as all 1 bits (fully opaque)\&.
-.SH "RETURN VALUE"
-.PP
-A pixel value best approximating the given RGB color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetRGB\fP\fR, \fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_PixelFormat\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_MapRGBA.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_MapRGBA" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_MapRGBA \- Map a RGBA color value to a pixel format\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint32 \fBSDL_MapRGBA\fP\fR(\fBSDL_PixelFormat *fmt, Uint8 r, Uint8 g, Uint8 b, Uint8 a\fR);
-.SH "DESCRIPTION"
-.PP
-Maps the RGBA color value to the specified pixel format and returns the pixel value as a 32-bit int\&.
-.PP
-If the format has a palette (8-bit) the index of the closest matching color in the palette will be returned\&.
-.PP
-If the specified pixel format has no alpha component the alpha value will be ignored (as it will be in formats with a palette)\&.
-.SH "RETURN VALUE"
-.PP
-A pixel value best approximating the given RGBA color value for a given pixel format\&. If the pixel format bpp (color depth) is less than 32-bpp then the unused upper bits of the return value can safely be ignored (e\&.g\&., with a 16-bpp format the return value can be assigned to a \fBUint16\fP, and similarly a \fBUint8\fP for an 8-bpp format)\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_GetRGB\fR, \fISDL_GetRGBA\fR, \fISDL_MapRGB\fR, \fISDL_PixelFormat\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_MixAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-.TH "SDL_MixAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_MixAudio \- Mix audio data
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_MixAudio\fP\fR(\fBUint8 *dst, Uint8 *src, Uint32 len, int volume\fR);
-.SH "DESCRIPTION"
-.PP
-This function takes two audio buffers of \fBlen\fR bytes each of the playing audio format and mixes them, performing addition, volume adjustment, and overflow clipping\&. The \fBvolume\fR ranges from 0 to \fBSDL_MIX_MAXVOLUME\fP and should be set to the maximum value for full audio volume\&. Note this does not change hardware volume\&. This is provided for convenience -- you can mix your own audio data\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Do not use this function for mixing together more than two streams of sample data\&. The output from repeated application of this function may be distorted by clipping, because there is no accumulator with greater range than the input (not to mention this being an inefficient way of doing it)\&. Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_OpenAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_MouseButtonEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-.TH "SDL_MouseButtonEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_MouseButtonEvent \- Mouse button event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 button;
-  Uint8 state;
-  Uint16 x, y;
-} SDL_MouseButtonEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_MOUSEBUTTONDOWN\fP or \fBSDL_MOUSEBUTTONUP\fP
-.TP 20
-\fBbutton\fR
-The mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT)
-.TP 20
-\fBstate\fR
-\fBSDL_PRESSED\fP or \fBSDL_RELEASED\fP
-.TP 20
-\fBx\fR, \fBy\fR
-The X/Y coordinates of the mouse at press/release time
-.SH "DESCRIPTION"
-.PP
-\fBSDL_MouseButtonEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_MOUSEBUTTONDOWN\fP or \fBSDL_MOUSEBUTTONUP\fP is reported\&.
-.PP
-When a mouse button press or release is detected then number of the button pressed (from 1 to 255, with 1 usually being the left button and 2 the right) is placed into \fBbutton\fR, the position of the mouse when this event occured is stored in the \fBx\fR and the \fBy\fR fields\&. Like \fI\fBSDL_KeyboardEvent\fR\fR, information on whether the event was a press or a release event is stored in both the \fBtype\fR and \fBstate\fR fields, but this should be obvious\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_MouseMotionEvent\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_MouseMotionEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-.TH "SDL_MouseMotionEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_MouseMotionEvent \- Mouse motion event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  Uint8 state;
-  Uint16 x, y;
-  Sint16 xrel, yrel;
-} SDL_MouseMotionEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_MOUSEMOTION\fP
-.TP 20
-\fBstate\fR
-The current button state
-.TP 20
-\fBx\fR, \fBy\fR
-The X/Y coordinates of the mouse
-.TP 20
-\fBxrel\fR, \fByrel\fR
-Relative motion in the X/Y direction
-.SH "DESCRIPTION"
-.PP
-\fBSDL_MouseMotionEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_MOUSEMOTION\fP is reported\&.
-.PP
-Simply put, a \fBSDL_MOUSEMOTION\fP type event occurs when a user moves the mouse within the application window or when \fI\fBSDL_WarpMouse\fP\fR is called\&. Both the absolute (\fBx\fR and \fBy\fR) and relative (\fBxrel\fR and \fByrel\fR) coordinates are reported along with the current button states (\fBstate\fR)\&. The button state can be interpreted using the \fBSDL_BUTTON\fP macro (see \fI\fBSDL_GetMouseState\fP\fR)\&.
-.PP
-If the cursor is hidden (\fI\fBSDL_ShowCursor\fP(0)\fR) and the input is grabbed (\fI\fBSDL_WM_GrabInput\fP(SDL_GRAB_ON)\fR), then the mouse will give relative motion events even when the cursor reaches the edge fo the screen\&. This is currently only implemented on Windows and Linux/Unix-a-likes\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_MouseButtonEvent\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_NumJoysticks.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_NumJoysticks" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_NumJoysticks \- Count available joysticks\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_NumJoysticks\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Counts the number of joysticks attached to the system\&.
-.SH "RETURN VALUE"
-.PP
-Returns the number of attached joysticks
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_JoystickName\fP\fR, \fI\fBSDL_JoystickOpen\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_OpenAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +0,0 @@
-.TH "SDL_OpenAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_OpenAudio \- Opens the audio device with the desired parameters\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_OpenAudio\fP\fR(\fBSDL_AudioSpec *desired, SDL_AudioSpec *obtained\fR);
-.SH "DESCRIPTION"
-.PP
-This function opens the audio device with the \fBdesired\fR parameters, and returns 0 if successful, placing the actual hardware parameters in the structure pointed to by \fBobtained\fR\&. If \fBobtained\fR is NULL, the audio data passed to the callback function will be guaranteed to be in the requested format, and will be automatically converted to the hardware audio format if necessary\&. This function returns -1 if it failed to open the audio device, or couldn\&'t set up the audio thread\&.
-.PP
-To open the audio device a \fBdesired\fR \fI\fBSDL_AudioSpec\fR\fR must be created\&. 
-.PP
-.nf
-\f(CWSDL_AudioSpec *desired;
-\&.
-\&.
-desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));\fR
-.fi
-.PP
- You must then fill this structure with your desired audio specifications\&.
-.IP "\fBdesired\fR->\fBfreq\fR" 10The desired audio frequency in samples-per-second\&.
-.IP "\fBdesired\fR->\fBformat\fR" 10The desired audio format (see \fI\fBSDL_AudioSpec\fR\fR)
-.IP "\fBdesired\fR->\fBsamples\fR" 10The desired size of the audio buffer in samples\&. This number should be a power of two, and may be adjusted by the audio driver to a value more suitable for the hardware\&. Good values seem to range between 512 and 8192 inclusive, depending on the application and CPU speed\&. Smaller values yield faster response time, but can lead to underflow if the application is doing heavy processing and cannot fill the audio buffer in time\&. A stereo sample consists of both right and left channels in LR ordering\&. Note that the number of samples is directly related to time by the following formula: ms = (samples*1000)/freq
-.IP "\fBdesired\fR->\fBcallback\fR" 10This should be set to a function that will be called when the audio device is ready for more data\&. It is passed a pointer to the audio buffer, and the length in bytes of the audio buffer\&. This function usually runs in a separate thread, and so you should protect data structures that it accesses by calling \fI\fBSDL_LockAudio\fP\fR and \fI\fBSDL_UnlockAudio\fP\fR in your code\&. The callback prototype is: 
-.PP
-.nf
-\f(CWvoid callback(void *userdata, Uint8 *stream, int len);\fR
-.fi
-.PP
- \fBuserdata\fR is the pointer stored in \fBuserdata\fR field of the \fBSDL_AudioSpec\fR\&. \fBstream\fR is a pointer to the audio buffer you want to fill with information and \fBlen\fR is the length of the audio buffer in bytes\&.
-.IP "\fBdesired\fR->\fBuserdata\fR" 10This pointer is passed as the first parameter to the \fBcallback\fP function\&.
-.PP
-\fBSDL_OpenAudio\fP reads these fields from the \fBdesired\fR \fBSDL_AudioSpec\fR structure pass to the function and attempts to find an audio configuration matching your \fBdesired\fR\&. As mentioned above, if the \fBobtained\fR parameter is \fBNULL\fP then SDL with convert from your \fBdesired\fR audio settings to the hardware settings as it plays\&.
-.PP
-If \fBobtained\fR is \fBNULL\fP then the \fBdesired\fR \fBSDL_AudioSpec\fR is your working specification, otherwise the \fBobtained\fR \fBSDL_AudioSpec\fR becomes the working specification and the \fBdesirec\fR specification can be deleted\&. The data in the working specification is used when building \fBSDL_AudioCVT\fR\&'s for converting loaded data to the hardware format\&.
-.PP
-\fBSDL_OpenAudio\fP calculates the \fBsize\fR and \fBsilence\fR fields for both the \fBdesired\fR and \fBobtained\fR specifications\&. The \fBsize\fR field stores the total size of the audio buffer in bytes, while the \fBsilence\fR stores the value used to represent silence in the audio buffer
-.PP
-The audio device starts out playing \fBsilence\fR when it\&'s opened, and should be enabled for playing by calling \fI\fBSDL_PauseAudio\fP(\fB0\fR)\fR when you are ready for your audio \fBcallback\fR function to be called\&. Since the audio driver may modify the requested \fBsize\fR of the audio buffer, you should allocate any local mixing buffers after you open the audio device\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CW/* Prototype of our callback function */
-void my_audio_callback(void *userdata, Uint8 *stream, int len);
-
-/* Open the audio device */
-SDL_AudioSpec *desired, *obtained;
-SDL_AudioSpec *hardware_spec;
-
-/* Allocate a desired SDL_AudioSpec */
-desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));
-
-/* Allocate space for the obtained SDL_AudioSpec */
-obtained=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec));
-
-/* 22050Hz - FM Radio quality */
-desired->freq=22050;
-
-/* 16-bit signed audio */
-desired->format=AUDIO_S16LSB;
-
-/* Mono */
-desired->channels=0;
-
-/* Large audio buffer reduces risk of dropouts but increases response time */
-desired->samples=8192;
-
-/* Our callback function */
-desired->callback=my_audio_callback;
-
-desired->userdata=NULL;
-
-/* Open the audio device */
-if ( SDL_OpenAudio(desired, obtained) < 0 ){
-  fprintf(stderr, "Couldn\&'t open audio: %s
-", SDL_GetError());
-  exit(-1);
-}
-/* desired spec is no longer needed */
-free(desired);
-hardware_spec=obtained;
-\&.
-\&.
-/* Prepare callback for playing */
-\&.
-\&.
-\&.
-/* Start playing */
-SDL_PauseAudio(0);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_AudioSpec\fP\fR, \fI\fBSDL_LockAudio\fP\fR, \fI\fBSDL_UnlockAudio\fP\fR, \fI\fBSDL_PauseAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_Overlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-.TH "SDL_Overlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Overlay \- YUV video overlay
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint32 format;
-  int w, h;
-  int planes;
-  Uint16 *pitches;
-  Uint8 **pixels;
-  Uint32 hw_overlay:1;
-} SDL_Overlay;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBformat\fR
-Overlay format (see below)
-.TP 20
-\fBw, h\fR
-Width and height of overlay
-.TP 20
-\fBplanes\fR
-Number of planes in the overlay\&. Usually either 1 or 3
-.TP 20
-\fBpitches\fR
-An array of pitches, one for each plane\&. Pitch is the length of a row in bytes\&.
-.TP 20
-\fBpixels\fR
-An array of pointers to teh data of each plane\&. The overlay should be locked before these pointers are used\&.
-.TP 20
-\fBhw_overlay\fR
-This will be set to 1 if the overlay is hardware accelerated\&.
-.SH "DESCRIPTION"
-.PP
-A \fBSDL_Overlay\fR is similar to a \fI\fBSDL_Surface\fR\fR except it stores a YUV overlay\&. All the fields are read only, except for \fBpixels\fR which should be \fIlocked\fR before use\&. The \fBformat\fR field stores the format of the overlay which is one of the following: 
-.PP
-.nf
-\f(CW#define SDL_YV12_OVERLAY  0x32315659  /* Planar mode: Y + V + U */
-#define SDL_IYUV_OVERLAY  0x56555949  /* Planar mode: Y + U + V */
-#define SDL_YUY2_OVERLAY  0x32595559  /* Packed mode: Y0+U0+Y1+V0 */
-#define SDL_UYVY_OVERLAY  0x59565955  /* Packed mode: U0+Y0+V0+Y1 */
-#define SDL_YVYU_OVERLAY  0x55595659  /* Packed mode: Y0+V0+Y1+U0 */\fR
-.fi
-.PP
- More information on YUV formats can be found at \fIhttp://www\&.webartz\&.com/fourcc/indexyuv\&.htm (link to URL http://www.webartz.com/fourcc/indexyuv.htm) \fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_LockYUVOverlay\fP\fR, \fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_FreeYUVOverlay\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_Palette.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_Palette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Palette \- Color palette for 8-bit pixel formats
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  int ncolors;
-  SDL_Color *colors;
-} SDL_Palette;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBncolors\fR
-Number of colors used in this palette
-.TP 20
-\fBcolors\fR
-Pointer to \fI\fBSDL_Color\fR\fR structures that make up the palette\&.
-.SH "DESCRIPTION"
-.PP
-Each pixel in an 8-bit surface is an index into the \fBcolors\fR field of the \fBSDL_Palette\fR structure store in \fI\fBSDL_PixelFormat\fR\fR\&. A \fBSDL_Palette\fR should never need to be created manually\&. It is automatically created when SDL allocates a \fBSDL_PixelFormat\fR for a surface\&. The colors values of a \fI\fBSDL_Surface\fR\fRs palette can be set with the \fI\fBSDL_SetColors\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Color\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_SetColors\fP\fR \fI\fBSDL_SetPalette\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_PauseAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_PauseAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PauseAudio \- Pauses and unpauses the audio callback processing
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_PauseAudio\fP\fR(\fBint pause_on\fR);
-.SH "DESCRIPTION"
-.PP
-This function pauses and unpauses the audio callback processing\&. It should be called with \fBpause_on\fR=0 after opening the audio device to start playing sound\&. This is so you can safely initialize data for your callback function after opening the audio device\&. Silence will be written to the audio device during the pause\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetAudioStatus\fP\fR, \fI\fBSDL_OpenAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_PeepEvents.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_PeepEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PeepEvents \- Checks the event queue for messages and optionally returns them\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_PeepEvents\fP\fR(\fBSDL_Event *events, int numevents, SDL_eventaction action, Uint32 mask\fR);
-.SH "DESCRIPTION"
-.PP
-Checks the event queue for messages and optionally returns them\&.
-.PP
-If \fBaction\fR is \fBSDL_ADDEVENT\fP, up to \fBnumevents\fR events will be added to the back of the event queue\&.
-.PP
-If \fBaction\fR is \fBSDL_PEEKEVENT\fP, up to \fBnumevents\fR events at the front of the event queue, matching \fI\fBmask\fR\fR, will be returned and will not be removed from the queue\&.
-.PP
-If \fBaction\fR is \fBSDL_GETEVENT\fP, up to \fBnumevents\fR events at the front of the event queue, matching \fI\fBmask\fR\fR, will be returned and will be removed from the queue\&.
-.PP
-This function is thread-safe\&.
-.SH "RETURN VALUE"
-.PP
-This function returns the number of events actually stored, or \fB-1\fR if there was an error\&. 
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PushEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_PixelFormat.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-.TH "SDL_PixelFormat" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PixelFormat \- Stores surface format information
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct SDL_PixelFormat {
-  SDL_Palette *palette;
-  Uint8  BitsPerPixel;
-  Uint8  BytesPerPixel;
-  Uint8  Rloss, Gloss, Bloss, Aloss;
-  Uint8  Rshift, Gshift, Bshift, Ashift;
-  Uint32 Rmask, Gmask, Bmask, Amask;
-  Uint32 colorkey;
-  Uint8  alpha;
-} SDL_PixelFormat;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBpalette\fR
-Pointer to the \fIpalette\fR, or \fBNULL\fP if the \fBBitsPerPixel\fR>8
-.TP 20
-\fBBitsPerPixel\fR
-The number of bits used to represent each pixel in a surface\&. Usually 8, 16, 24 or 32\&.
-.TP 20
-\fBBytesPerPixel\fR
-The number of bytes used to represent each pixel in a surface\&. Usually one to four\&.
-.TP 20
-\fB[RGBA]mask\fR
-Binary mask used to retrieve individual color values
-.TP 20
-\fB[RGBA]loss\fR
-Precision loss of each color component (2^[RGBA]loss)
-.TP 20
-\fB[RGBA]shift\fR
-Binary left shift of each color component in the pixel value
-.TP 20
-\fBcolorkey\fR
-Pixel value of transparent pixels
-.TP 20
-\fBalpha\fR
-Overall surface alpha value
-.SH "DESCRIPTION"
-.PP
-A \fBSDL_PixelFormat\fR describes the format of the pixel data stored at the \fBpixels\fR field of a \fI\fBSDL_Surface\fR\fR\&. Every surface stores a \fBSDL_PixelFormat\fR in the \fBformat\fR field\&.
-.PP
-If you wish to do pixel level modifications on a surface, then understanding how SDL stores its color information is essential\&.
-.PP
-8-bit pixel formats are the easiest to understand\&. Since its an 8-bit format, we have 8 \fBBitsPerPixel\fR and 1 \fBBytesPerPixel\fR\&. Since \fBBytesPerPixel\fR is 1, all pixels are represented by a Uint8 which contains an index into \fBpalette\fR->\fBcolors\fR\&. So, to determine the color of a pixel in a 8-bit surface: we read the color index from \fBsurface\fR->\fBpixels\fR and we use that index to read the \fI\fBSDL_Color\fR\fR structure from \fBsurface\fR->\fBformat\fR->\fBpalette\fR->\fBcolors\fR\&. Like so: 
-.PP
-.nf
-\f(CWSDL_Surface *surface;
-SDL_PixelFormat *fmt;
-SDL_Color *color;
-Uint8 index;
-
-\&.
-\&.
-
-/* Create surface */
-\&.
-\&.
-fmt=surface->format;
-
-/* Check the bitdepth of the surface */
-if(fmt->BitsPerPixel!=8){
-  fprintf(stderr, "Not an 8-bit surface\&.
-");
-  return(-1);
-}
-
-/* Lock the surface */
-SDL_LockSurface(surface);
-
-/* Get the topleft pixel */
-index=*(Uint8 *)surface->pixels;
-color=fmt->palette->colors[index];
-
-/* Unlock the surface */
-SDL_UnlockSurface(surface);
-printf("Pixel Color-> Red: %d, Green: %d, Blue: %d\&. Index: %d
-",
-          color->r, color->g, color->b, index);
-\&.
-\&.\fR
-.fi
-.PP
-.PP
-Pixel formats above 8-bit are an entirely different experience\&. They are considered to be "TrueColor" formats and the color information is stored in the pixels themselves, not in a palette\&. The mask, shift and loss fields tell us how the color information is encoded\&. The mask fields allow us to isolate each color component, the shift fields tell us the number of bits to the right of each component in the pixel value and the loss fields tell us the number of bits lost from each component when packing 8-bit color component in a pixel\&. 
-.PP
-.nf
-\f(CW/* Extracting color components from a 32-bit color value */
-SDL_PixelFormat *fmt;
-SDL_Surface *surface;
-Uint32 temp, pixel;
-Uint8 red, green, blue, alpha;
-\&.
-\&.
-\&.
-fmt=surface->format;
-SDL_LockSurface(surface);
-pixel=*((Uint32*)surface->pixels);
-SDL_UnlockSurface(surface);
-
-/* Get Red component */
-temp=pixel&fmt->Rmask; /* Isolate red component */
-temp=temp>>fmt->Rshift;/* Shift it down to 8-bit */
-temp=temp<<fmt->Rloss; /* Expand to a full 8-bit number */
-red=(Uint8)temp;
-
-/* Get Green component */
-temp=pixel&fmt->Gmask; /* Isolate green component */
-temp=temp>>fmt->Gshift;/* Shift it down to 8-bit */
-temp=temp<<fmt->Gloss; /* Expand to a full 8-bit number */
-green=(Uint8)temp;
-
-/* Get Blue component */
-temp=pixel&fmt->Bmask; /* Isolate blue component */
-temp=temp>>fmt->Bshift;/* Shift it down to 8-bit */
-temp=temp<<fmt->Bloss; /* Expand to a full 8-bit number */
-blue=(Uint8)temp;
-
-/* Get Alpha component */
-temp=pixel&fmt->Amask; /* Isolate alpha component */
-temp=temp>>fmt->Ashift;/* Shift it down to 8-bit */
-temp=temp<<fmt->Aloss; /* Expand to a full 8-bit number */
-alpha=(Uint8)temp;
-
-printf("Pixel Color -> R: %d,  G: %d,  B: %d,  A: %d
-", red, green, blue, alpha);
-\&.
-\&.
-\&.\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Surface\fR\fR, \fI\fBSDL_MapRGB\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_PollEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-.TH "SDL_PollEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PollEvent \- Polls for currently pending events\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_PollEvent\fP\fR(\fBSDL_Event *event\fR);
-.SH "DESCRIPTION"
-.PP
-Polls for currently pending events, and returns \fB1\fR if there are any pending events, or \fB0\fR if there are none available\&. 
-.PP
-If \fBevent\fR is not \fBNULL\fP, the next event is removed from the queue and stored in that area\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_Event event; /* Event structure */
-
-\&.
-\&.
-\&.
-/* Check for events */
-while(SDL_PollEvent(&event)){  /* Loop until there are no events left on the queue */
-  switch(event\&.type){  /* Process the appropiate event type */
-    case SDL_KEYDOWN:  /* Handle a KEYDOWN event */         
-      printf("Oh! Key press
-");
-      break;
-    case SDL_MOUSEMOTION:
-      \&.
-      \&.
-      \&.
-    default: /* Report an unhandled event */
-      printf("I don\&'t know what this event is!
-");
-  }
-}\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_WaitEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_PumpEvents.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-.TH "SDL_PumpEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PumpEvents \- Pumps the event loop, gathering events from the input devices\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_PumpEvents\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-Pumps the event loop, gathering events from the input devices\&.
-.PP
-\fBSDL_PumpEvents\fP gathers all the pending input information from devices and places it on the event queue\&. Without calls to \fBSDL_PumpEvents\fP no events would ever be placed on the queue\&. Often calls the need for \fBSDL_PumpEvents\fP is hidden from the user since \fI\fBSDL_PollEvent\fP\fR and \fI\fBSDL_WaitEvent\fP\fR implicitly call \fBSDL_PumpEvents\fP\&. However, if you are not polling or waiting for events (e\&.g\&. your filtering them), then you must call \fBSDL_PumpEvents\fP to force an event queue update\&.
-.PP
-.RS
-\fBNote:  
-.PP
-You can only call this function in the thread that set the video mode\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PollEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_PushEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-.TH "SDL_PushEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_PushEvent \- Pushes an event onto the event queue
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_PushEvent\fP\fR(\fBSDL_Event *event\fR);
-.SH "DESCRIPTION"
-.PP
-The event queue can actually be used as a two way communication channel\&. Not only can events be read from the queue, but the user can also push their own events onto it\&. \fBevent\fR is a pointer to the event structure you wish to push onto the queue\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Pushing device input events onto the queue doesn\&'t modify the state of the device within SDL\&.
-.RE
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on success or \fB-1\fR if the event couldn\&'t be pushed\&.
-.SH "EXAMPLES"
-.PP
-See \fI\fBSDL_Event\fR\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PollEvent\fP\fR, \fI\fBSDL_PeepEvents\fP\fR, \fI\fBSDL_Event\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_Quit.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-.TH "SDL_Quit" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Quit \- Shut down SDL
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_Quit\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_Quit\fP shuts down all SDL subsystems and frees the resources allocated to them\&. This should always be called before you exit\&. For the sake of simplicity you can set \fBSDL_Quit\fP as your \fBatexit\fP call, like: 
-.PP
-.nf
-\f(CWSDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO);
-atexit(SDL_Quit);
-\&.
-\&.\fR
-.fi
-.PP
-.PP
-.RS
-\fBNote:  
-.PP
-While using \fBatexit\fP maybe be fine for small programs, more advanced users should shut down SDL in their own cleanup code\&. Plus, using \fBatexit\fP in a library is a sure way to crash dynamically loaded code
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_QuitSubsystem\fP\fR, \fI\fBSDL_Init\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_QuitEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-.TH "SDL_QuitEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_QuitEvent \- Quit requested event
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type
-} SDL_QuitEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_QUIT\fP
-.SH "DESCRIPTION"
-.PP
-\fBSDL_QuitEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used whan an event of type \fBSDL_QUIT\fP is reported\&.
-.PP
-As can be seen, the SDL_QuitEvent structure serves no useful purpose\&. The event itself, on the other hand, is very important\&. If you filter out or ignore a quit event then it is impossible for the user to close the window\&. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible\&.
-.PP
-.RS
-\fBNote:  
-.PP
-The macro \fBSDL_QuitRequested\fP will return non-zero if a quit event is pending
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_QuitSubSystem.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_QuitSubSystem" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_QuitSubSystem \- Shut down a subsystem
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_QuitSubSystem\fP\fR(\fBUint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_QuitSubSystem\fP allows you to shut down a subsystem that has been previously initialized by \fI\fBSDL_Init\fP\fR or \fI\fBSDL_InitSubSystem\fP\fR\&. The \fBflags\fR tells \fBSDL_QuitSubSystem\fP which subsystems to shut down, it uses the same values that are passed to \fI\fBSDL_Init\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Quit\fP\fR, \fI\fBSDL_Init\fP\fR, \fI\fBSDL_InitSubSystem\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_RWFromFile.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_FunctionName" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_FunctionName \- Short description of function
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBreturn type\fBSDL_FunctionName\fP\fR(\fBparameter\fR);
-.SH "DESCRIPTION"
-.PP
-Full description
-.SH "EXAMPLES"
-.PP
-examples here
-.SH "SEE ALSO"
-.PP
-\fISDL_AnotherFunction\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_Rect.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_Rect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Rect \- Defines a rectangular area
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Sint16 x, y;
-  Uint16 w, h;
-} SDL_Rect;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBx, y\fR
-Position of the upper-left corner of the rectangle
-.TP 20
-\fBw, h\fR
-The width and height of the rectangle
-.SH "DESCRIPTION"
-.PP
-A \fBSDL_Rect\fR defines a rectangular area of pixels\&. It is used by \fI\fBSDL_BlitSurface\fP\fR to define blitting regions and by several other video functions\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_UpdateRect\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_RemoveTimer.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-.TH "SDL_RemoveTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_RemoveTimer \- Remove a timer which was added with \fISDL_AddTimer\fR\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_bool \fBSDL_RemoveTimer\fP\fR(\fBSDL_TimerID id\fR);
-.SH "DESCRIPTION"
-.PP
-Removes a timer callback previously added with \fISDL_AddTimer\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns a boolean value indicating success\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_RemoveTimer(my_timer_id);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_AddTimer\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_ResizeEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-.TH "SDL_ResizeEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ResizeEvent \- Window resize event structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  int w, h;
-} SDL_ResizeEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_VIDEORESIZE\fP
-.TP 20
-\fBw\fR, \fBh\fR
-New width and height of the window
-.SH "DESCRIPTION"
-.PP
-\fBSDL_ResizeEvent\fR is a member of the \fI\fBSDL_Event\fR\fR union and is used when an event of type \fBSDL_VIDEORESIZE\fP is reported\&.
-.PP
-When \fBSDL_RESIZABLE\fP is passed as a \fBflag\fR to \fI\fBSDL_SetVideoMode\fP\fR the user is allowed to resize the applications window\&. When the window is resized an \fBSDL_VIDEORESIZE\fP is report, with the new window width and height values stored in \fBw\fR and \fBh\fR, respectively\&. When an \fBSDL_VIDEORESIZE\fP is received the window should be resized to the new dimensions using \fI\fBSDL_SetVideoMode\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetVideoMode\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_SaveBMP.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_SaveBMP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SaveBMP \- Save an SDL_Surface as a Windows BMP file\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SaveBMP\fP\fR(\fBSDL_Surface *surface, const char *file\fR);
-.SH "DESCRIPTION"
-.PP
-Saves the \fBSDL_Surface\fR \fBsurface\fR as a Windows BMP file named \fBfile\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR if successful or \fB-1\fR if there was an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_LoadBMP\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SemPost.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-.TH "SDL_SemPost" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SemPost \- Unlock a semaphore\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_SemPost\fP\fR(\fBSDL_sem *sem\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_SemPost\fP unlocks the semaphore pointed to by \fBsem\fR and atomically increments the semaphores value\&. Threads that were blocking on the semaphore may be scheduled after this call succeeds\&.
-.PP
-\fBSDL_SemPost\fP should be called after a semaphore is locked by a successful call to \fISDL_SemWait\fR, \fISDL_SemTryWait\fR or \fISDL_SemWaitTimeout\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR if successful or \fB-1\fR if there was an error (leaving the semaphore unchanged)\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_SemPost(my_sem);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SemTryWait.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-.TH "SDL_SemTryWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SemTryWait \- Attempt to lock a semaphore but don\&'t suspend the thread\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_SemTryWait\fP\fR(\fBSDL_sem *sem\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_SemTryWait\fP is a non-blocking varient of \fI\fBSDL_SemWait\fP\fR\&. If the value of the semaphore pointed to by \fBsem\fR is positive it will atomically decrement the semaphore value and return 0, otherwise it will return \fBSDL_MUTEX_TIMEOUT\fR instead of suspending the thread\&.
-.PP
-After \fBSDL_SemTryWait\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR if the semaphore was successfully locked or either \fBSDL_MUTEX_TIMEOUT\fR or \fB-1\fR if the thread would have suspended or there was an error, respectivly\&.
-.PP
-If the semaphore was not successfully locked, the semaphore will be unchanged\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWres = SDL_SemTryWait(my_sem);
-
-if (res == SDL_MUTEX_TIMEOUT) {
-        return TRY_AGAIN;
-}
-if (res == -1) {
-        return WAIT_ERROR;
-}
-
-\&.\&.\&.
-
-SDL_SemPost(my_sem);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SemValue.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_SemValue" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SemValue \- Return the current value of a semaphore\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL/SDL_thread\&.h"
-.sp
-\fBUint32 \fBSDL_SemValue\fP\fR(\fBSDL_sem *sem\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_SemValue()\fP returns the current semaphore value from the semaphore pointed to by \fBsem\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns current value of the semaphore\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CW  sem_value = SDL_SemValue(my_sem);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SemWait.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-.TH "SDL_SemWait" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SemWait \- Lock a semaphore and suspend the thread if the semaphore value is zero\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_SemWait\fP\fR(\fBSDL_sem *sem\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_SemWait()\fP suspends the calling thread until either the semaphore pointed to by \fBsem\fR has a positive value, the call is interrupted by a signal or error\&. If the call is successful it will atomically decrement the semaphore value\&.
-.PP
-After \fBSDL_SemWait()\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR if successful or \fB-1\fR if there was an error (leaving the semaphore unchanged)\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWif (SDL_SemWait(my_sem) == -1) {
-        return WAIT_FAILED;
-}
-
-\&.\&.\&.
-
-SDL_SemPost(my_sem);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemWaitTimeout\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SemWaitTimeout.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-.TH "SDL_SemWaitTimeout" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SemWaitTimeout \- Lock a semaphore, but only wait up to a specified maximum time\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_SemWaitTimeout\fP\fR(\fBSDL_sem *sem, Uint32 timeout\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_SemWaitTimeout()\fP is a varient of \fISDL_SemWait\fR with a maximum timeout value\&. If the value of the semaphore pointed to by \fBsem\fR is positive (greater than zero) it will atomically decrement the semaphore value and return 0, otherwise it will wait up to \fBtimeout\fR milliseconds trying to lock the semaphore\&. This function is to be avoided if possible since on some platforms it is implemented by polling the semaphore every millisecond in a busy loop\&.
-.PP
-After \fBSDL_SemWaitTimeout()\fP is successful, the semaphore can be released and its count atomically incremented by a successful call to \fISDL_SemPost\fR\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR if the semaphore was successfully locked or either \fBSDL_MUTEX_TIMEOUT\fR or \fB-1\fR if the timeout period was exceeded or there was an error, respectivly\&.
-.PP
-If the semaphore was not successfully locked, the semaphore will be unchanged\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWres = SDL_SemWaitTimeout(my_sem, WAIT_TIMEOUT_MILLISEC);
-
-if (res == SDL_MUTEX_TIMEOUT) {
-        return TRY_AGAIN;
-}
-if (res == -1) {
-        return WAIT_ERROR;
-}
-
-\&.\&.\&.
-
-SDL_SemPost(my_sem);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateSemaphore\fP\fR, \fI\fBSDL_DestroySemaphore\fP\fR, \fI\fBSDL_SemWait\fP\fR, \fI\fBSDL_SemTryWait\fP\fR, \fI\fBSDL_SemPost\fP\fR, \fI\fBSDL_SemValue\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SetAlpha.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-.TH "SDL_SetAlpha" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetAlpha \- Adjust the alpha properties of a surface
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetAlpha\fP\fR(\fBSDL_Surface *surface, Uint32 flag, Uint8 alpha\fR);
-.SH "DESCRIPTION"
-.PP
-.RS
-\fBNote:  
-.PP
-This function and the semantics of SDL alpha blending have changed since version 1\&.1\&.4\&. Up until version 1\&.1\&.5, an alpha value of 0 was considered opaque and a value of 255 was considered transparent\&. This has now been inverted: 0 (\fBSDL_ALPHA_TRANSPARENT\fP) is now considered transparent and 255 (\fBSDL_ALPHA_OPAQUE\fP) is now considered opaque\&.
-.RE
-.PP
-\fBSDL_SetAlpha\fP is used for setting the per-surface alpha value and/or enabling and disabling alpha blending\&.
-.PP
-The\fBsurface\fR parameter specifies which surface whose alpha attributes you wish to adjust\&. \fBflags\fR is used to specify whether alpha blending should be used (\fBSDL_SRCALPHA\fP) and whether the surface should use RLE acceleration for blitting (\fBSDL_RLEACCEL\fP)\&. \fBflags\fR can be an OR\&'d combination of these two options, one of these options or 0\&. If \fBSDL_SRCALPHA\fP is not passed as a flag then all alpha information is ignored when blitting the surface\&. The \fBalpha\fR parameter is the per-surface alpha value; a surface need not have an alpha channel to use per-surface alpha and blitting can still be accelerated with \fBSDL_RLEACCEL\fP\&.
-.PP
-.RS
-\fBNote:  
-.PP
-The per-surface alpha value of 128 is considered a special case and is optimised, so it\&'s much faster than other per-surface values\&.
-.RE
-.PP
-Alpha effects surface blitting in the following ways:
-.TP 20
-RGBA->RGB with \fBSDL_SRCALPHA\fP
-The source is alpha-blended with the destination, using the alpha channel\&. \fBSDL_SRCCOLORKEY\fP and the per-surface alpha are ignored\&.
-.TP 20
-RGBA->RGB without \fBSDL_SRCALPHA\fP
-The RGB data is copied from the source\&. The source alpha channel and the per-surface alpha value are ignored\&.
-.TP 20
-RGB->RGBA with \fBSDL_SRCALPHA\fP
-The source is alpha-blended with the destination using the per-surface alpha value\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. The alpha channel of the copied pixels is set to opaque\&.
-.TP 20
-RGB->RGBA without \fBSDL_SRCALPHA\fP
-The RGB data is copied from the source and the alpha value of the copied pixels is set to opaque\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&. 
-.TP 20
-RGBA->RGBA with \fBSDL_SRCALPHA\fP
-The source is alpha-blended with the destination using the source alpha channel\&. The alpha channel in the destination surface is left untouched\&. \fBSDL_SRCCOLORKEY\fP is ignored\&.
-.TP 20
-RGBA->RGBA without \fBSDL_SRCALPHA\fP
-The RGBA data is copied to the destination surface\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&.
-.TP 20
-RGB->RGB with \fBSDL_SRCALPHA\fP
-The source is alpha-blended with the destination using the per-surface alpha value\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&.
-.TP 20
-RGB->RGB without \fBSDL_SRCALPHA\fP
-The RGB data is copied from the source\&. If \fBSDL_SRCCOLORKEY\fP is set, only the pixels not matching the colorkey value are copied\&.
-.PP
-.RS
-\fBNote:  
-.PP
- Note that RGBA->RGBA blits (with SDL_SRCALPHA set) keep the alpha of the destination surface\&. This means that you cannot compose two arbitrary RGBA surfaces this way and get the result you would expect from "overlaying" them; the destination alpha will work as a mask\&.
-.PP
-Also note that per-pixel and per-surface alpha cannot be combined; the per-pixel alpha is always used if available
-.RE
-.SH "RETURN VALUE"
-.PP
-This function returns \fB0\fR, or \fB-1\fR if there was an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_MapRGBA\fP\fR, \fI\fBSDL_GetRGBA\fP\fR, \fI\fBSDL_DisplayFormatAlpha\fP\fR, \fI\fBSDL_BlitSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetClipRect.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-.TH "SDL_SetClipRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetClipRect \- Sets the clipping rectangle for a surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_SetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle will be drawn into\&.
-.PP
-The rectangle pointed to by \fBrect\fR will be clipped to the edges of the surface so that the clip rectangle for a surface can never fall outside the edges of the surface\&.
-.PP
-If \fBrect\fR is \fBNULL\fP the clipping rectangle will be set to the full size of the surface\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetClipRect\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetColorKey.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-.TH "SDL_SetColorKey" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetColorKey \- Sets the color key (transparent pixel) in a blittable surface and RLE acceleration\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetColorKey\fP\fR(\fBSDL_Surface *surface, Uint32 flag, Uint32 key\fR);
-.SH "DESCRIPTION"
-.PP
- Sets the color key (transparent pixel) in a blittable surface and enables or disables RLE blit acceleration\&.
-.PP
-RLE acceleration can substantially speed up blitting of images with large horizontal runs of transparent pixels (i\&.e\&., pixels that match the \fBkey\fR value)\&. The \fBkey\fR must be of the same pixel format as the \fBsurface\fR, \fI\fBSDL_MapRGB\fP\fR is often useful for obtaining an acceptable value\&.
-.PP
-If \fBflag\fR is \fBSDL_SRCCOLORKEY\fP then \fBkey\fR is the transparent pixel value in the source image of a blit\&.
-.PP
-If \fBflag\fR is OR\&'d with \fBSDL_RLEACCEL\fP then the surface will be draw using RLE acceleration when drawn with \fISDL_BlitSurface\fR\&. The surface will actually be encoded for RLE acceleration the first time \fISDL_BlitSurface\fR or \fISDL_DisplayFormat\fR is called on the surface\&.
-.PP
-If \fBflag\fR is 0, this function clears any current color key\&.
-.SH "RETURN VALUE"
-.PP
-This function returns \fB0\fR, or \fB-1\fR if there was an error\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_DisplayFormat\fP\fR, \fI\fBSDL_MapRGB\fP\fR, \fI\fBSDL_SetAlpha\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetColors.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-.TH "SDL_SetColors" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetColors \- Sets a portion of the colormap for the given 8-bit surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetColors\fP\fR(\fBSDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors\fR);
-.SH "DESCRIPTION"
-.PP
-Sets a portion of the colormap for the given 8-bit surface\&.
-.PP
-When \fBsurface\fR is the surface associated with the current display, the display colormap will be updated with the requested colors\&. If \fBSDL_HWPALETTE\fP was set in \fISDL_SetVideoMode\fR flags, \fBSDL_SetColors\fP will always return \fB1\fR, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation\&.
-.PP
-The color components of a \fI\fBSDL_Color\fR\fR structure are 8-bits in size, giving you a total of 256^3 =16777216 colors\&.
-.PP
-Palettized (8-bit) screen surfaces with the \fBSDL_HWPALETTE\fP flag have two palettes, a logical palette that is used for mapping blits to/from the surface and a physical palette (that determines how the hardware will map the colors to the display)\&. \fBSDL_SetColors\fP modifies both palettes (if present), and is equivalent to calling \fISDL_SetPalette\fR with the \fBflags\fR set to \fB(SDL_LOGPAL | SDL_PHYSPAL)\fP\&.
-.SH "RETURN VALUE"
-.PP
-If \fBsurface\fR is not a palettized surface, this function does nothing, returning \fB0\fR\&. If all of the colors were set as passed to \fBSDL_SetColors\fP, it will return \fB1\fR\&. If not all the color entries were set exactly as given, it will return \fB0\fR, and you should look at the surface palette to determine the actual color palette\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CW/* Create a display surface with a grayscale palette */
-SDL_Surface *screen;
-SDL_Color colors[256];
-int i;
-\&.
-\&.
-\&.
-/* Fill colors with color information */
-for(i=0;i<256;i++){
-  colors[i]\&.r=i;
-  colors[i]\&.g=i;
-  colors[i]\&.b=i;
-}
-
-/* Create display */
-screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
-if(!screen){
-  printf("Couldn\&'t set video mode: %s
-", SDL_GetError());
-  exit(-1);
-}
-
-/* Set palette */
-SDL_SetColors(screen, colors, 0, 256);
-\&.
-\&.
-\&.
-\&.\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Color\fR\fR \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_SetPalette\fP\fR, \fI\fBSDL_SetVideoMode\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetCursor.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_SetCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetCursor \- Set the currently active mouse cursor\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_SetCursor\fP\fR(\fBSDL_Cursor *cursor\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the currently active cursor to the specified one\&. If the cursor is currently visible, the change will be immediately represented on the display\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetCursor\fP\fR, \fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_ShowCursor\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetEventFilter.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-.TH "SDL_SetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetEventFilter \- Sets up a filter to process all events before they are posted to the event queue\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_SetEventFilter\fP\fR(\fBSDL_EventFilter filter\fR);
-.SH "DESCRIPTION"
-.PP
-This function sets up a filter to process all events before they are posted to the event queue\&. This is a very powerful and flexible feature\&. The filter is prototyped as: 
-.PP
-.nf
-\f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR
-.fi
-.PP
- If the filter returns \fB1\fR, then the event will be added to the internal queue\&. If it returns \fB0\fR, then the event will be dropped from the queue\&. This allows selective filtering of dynamically\&.
-.PP
-There is one caveat when dealing with the \fBSDL_QUITEVENT\fP event type\&. The event filter is only called when the window manager desires to close the application window\&. If the event filter returns 1, then the window will be closed, otherwise the window will remain open if possible\&. If the quit event is generated by an interrupt signal, it will bypass the internal queue and be delivered to the application at the next event poll\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Events pushed onto the queue with \fI\fBSDL_PushEvent\fP\fR or \fI\fBSDL_PeepEvents\fP\fR do not get passed through the event filter\&.
-.RE
-.PP
-.RS
-\fBNote:  
-.PP
-\fIBe Careful!\fP The event filter function may run in a different thread so be careful what you do within it\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_GetEventFilter\fP\fR, \fI\fBSDL_PushEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59
--- a/docs/man3/SDL_SetGamma.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_SetGamma" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetGamma \- Sets the color gamma function for the display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetGamma\fP\fR(\fBfloat redgamma, float greengamma, float bluegamma\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the "gamma function" for the display of each color component\&. Gamma controls the brightness/contrast of colors displayed on the screen\&. A gamma value of 1\&.0 is identity (i\&.e\&., no adjustment is made)\&.
-.PP
-This function adjusts the gamma based on the "gamma function" parameter, you can directly specify lookup tables for gamma adjustment with \fISDL_SetGammaRamp\fR\&.
-.PP
-Not all display hardware is able to change gamma\&.
-.SH "RETURN VALUE"
-.PP
-Returns -1 on error (or if gamma adjustment is not supported)\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_GetGammaRamp\fR \fISDL_SetGammaRamp\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetGammaRamp.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-.TH "SDL_SetGammaRamp" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetGammaRamp \- Sets the color gamma lookup tables for the display
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetGammaRamp\fP\fR(\fBUint16 *redtable, Uint16 *greentable, Uint16 *bluetable\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the gamma lookup tables for the display for each color component\&. Each table is an array of 256 Uint16 values, representing a mapping between the input and output for that channel\&. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision\&. You may pass NULL to any of the channels to leave them unchanged\&.
-.PP
-This function adjusts the gamma based on lookup tables, you can also have the gamma calculated based on a "gamma function" parameter with \fISDL_SetGamma\fR\&.
-.PP
-Not all display hardware is able to change gamma\&.
-.SH "RETURN VALUE"
-.PP
-Returns -1 on error (or if gamma adjustment is not supported)\&.
-.SH "SEE ALSO"
-.PP
-\fISDL_SetGamma\fR \fISDL_GetGammaRamp\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetModState.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-.TH "SDL_SetModState" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetModState \- Set the current key modifier state
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_SetModState\fP\fR(\fBSDLMod modstate\fR);
-.SH "DESCRIPTION"
-.PP
-The inverse of \fI\fBSDL_GetModState\fP\fR, \fBSDL_SetModState\fP allows you to impose modifier key states on your application\&.
-.PP
-Simply pass your desired modifier states into \fBmodstate\fR\&. This value my be a logical OR\&'d combination of the following:
-.PP
-.nf
-\f(CWtypedef enum {
-  KMOD_NONE  = 0x0000,
-  KMOD_LSHIFT= 0x0001,
-  KMOD_RSHIFT= 0x0002,
-  KMOD_LCTRL = 0x0040,
-  KMOD_RCTRL = 0x0080,
-  KMOD_LALT  = 0x0100,
-  KMOD_RALT  = 0x0200,
-  KMOD_LMETA = 0x0400,
-  KMOD_RMETA = 0x0800,
-  KMOD_NUM   = 0x1000,
-  KMOD_CAPS  = 0x2000,
-  KMOD_MODE  = 0x4000,
-} SDLMod;\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_GetModState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_SetPalette.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-.TH "SDL_SetPalette" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetPalette \- Sets the colors in the palette of an 8-bit surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetPalette\fP\fR(\fBSDL_Surface *surface, int flags, SDL_Color *colors, int firstcolor, int ncolors\fR);
-.SH "DESCRIPTION"
-.PP
-Sets a portion of the palette for the given 8-bit surface\&.
-.PP
-Palettized (8-bit) screen surfaces with the \fBSDL_HWPALETTE\fP flag have two palettes, a logical palette that is used for mapping blits to/from the surface and a physical palette (that determines how the hardware will map the colors to the display)\&. \fISDL_BlitSurface\fR always uses the logical palette when blitting surfaces (if it has to convert between surface pixel formats)\&. Because of this, it is often useful to modify only one or the other palette to achieve various special color effects (e\&.g\&., screen fading, color flashes, screen dimming)\&.
-.PP
-This function can modify either the logical or physical palette by specifing \fBSDL_LOGPAL\fP or \fBSDL_PHYSPAL\fPthe in the \fBflags\fR parameter\&.
-.PP
-When \fBsurface\fR is the surface associated with the current display, the display colormap will be updated with the requested colors\&. If \fBSDL_HWPALETTE\fP was set in \fISDL_SetVideoMode\fR flags, \fBSDL_SetPalette\fP will always return \fB1\fR, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation\&.
-.PP
-The color components of a \fI\fBSDL_Color\fR\fR structure are 8-bits in size, giving you a total of 256^3=16777216 colors\&.
-.SH "RETURN VALUE"
-.PP
-If \fBsurface\fR is not a palettized surface, this function does nothing, returning \fB0\fR\&. If all of the colors were set as passed to \fBSDL_SetPalette\fP, it will return \fB1\fR\&. If not all the color entries were set exactly as given, it will return \fB0\fR, and you should look at the surface palette to determine the actual color palette\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CW        /* Create a display surface with a grayscale palette */
-        SDL_Surface *screen;
-        SDL_Color colors[256];
-        int i;
-        \&.
-        \&.
-        \&.
-        /* Fill colors with color information */
-        for(i=0;i<256;i++){
-          colors[i]\&.r=i;
-          colors[i]\&.g=i;
-          colors[i]\&.b=i;
-        }
-
-        /* Create display */
-        screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE);
-        if(!screen){
-          printf("Couldn\&'t set video mode: %s
-", SDL_GetError());
-          exit(-1);
-        }
-
-        /* Set palette */
-        SDL_SetPalette(screen, SDL_LOGPAL|SDL_PHYSPAL, colors, 0, 256);
-        \&.
-        \&.
-        \&.
-        \&.\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fISDL_SetColors\fR, \fISDL_SetVideoMode\fR, \fISDL_Surface\fR, \fISDL_Color\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetTimer.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-.TH "SDL_SetTimer" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetTimer \- Set a callback to run after the specified number of milliseconds has elapsed\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_SetTimer\fP\fR(\fBUint32 interval, SDL_TimerCallback callback\fR);
-.SH "CALLBACK"
-.PP
-/* Function prototype for the timer callback function */ typedef Uint32 (*SDL_TimerCallback)(Uint32 interval);
-.SH "DESCRIPTION"
-.PP
-Set a callback to run after the specified number of milliseconds has elapsed\&. The callback function is passed the current timer interval and returns the next timer interval\&. If the returned value is the same as the one passed in, the periodic alarm continues, otherwise a new alarm is scheduled\&.
-.PP
-To cancel a currently running timer, call \fBSDL_SetTimer(0, NULL);\fP
-.PP
-The timer callback function may run in a different thread than your main constant, and so shouldn\&'t call any functions from within itself\&.
-.PP
-The maximum resolution of this timer is 10 ms, which means that if you request a 16 ms timer, your callback will run approximately 20 ms later on an unloaded system\&. If you wanted to set a flag signaling a frame update at 30 frames per second (every 33 ms), you might set a timer for 30 ms (see example below)\&.
-.PP
-If you use this function, you need to pass \fBSDL_INIT_TIMER\fP to \fBSDL_Init()\fP\&.
-.PP
-.RS
-\fBNote:  
-.PP
-This function is kept for compatibility but has been superseded by the new timer functions \fISDL_AddTimer\fR and \fISDL_RemoveTimer\fR which support multiple timers\&.
-.RE
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_SetTimer((33/10)*10, my_callback);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_AddTimer\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SetVideoMode.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-.TH "SDL_SetVideoMode" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SetVideoMode \- Set up a video mode with the specified width, height and bits-per-pixel\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_Surface *\fBSDL_SetVideoMode\fP\fR(\fBint width, int height, int bpp, Uint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-Set up a video mode with the specified width, height and bits-per-pixel\&.
-.PP
-If \fBbpp\fR is 0, it is treated as the current display bits per pixel\&.
-.PP
-The \fBflags\fR parameter is the same as the \fBflags\fR field of the \fI\fBSDL_Surface\fR\fR structure\&. OR\&'d combinations of the following values are valid\&.
-.TP 20
-\fBSDL_SWSURFACE\fP
-Create the video surface in system memory
-.TP 20
-\fBSDL_HWSURFACE\fP
-Create the video surface in video memory
-.TP 20
-\fBSDL_ASYNCBLIT\fP
-Enables the use of asynchronous updates of the display surface\&. This will usually slow down blitting on single CPU machines, but may provide a speed increase on SMP systems\&.
-.TP 20
-\fBSDL_ANYFORMAT\fP
-Normally, if a video surface of the requested bits-per-pixel (\fBbpp\fR) is not available, SDL will emulate one with a shadow surface\&. Passing \fBSDL_ANYFORMAT\fP prevents this and causes SDL to use the video surface, regardless of its pixel depth\&.
-.TP 20
-\fBSDL_HWPALETTE\fP
-Give SDL exclusive palette access\&. Without this flag you may not always get the the colors you request with \fI\fBSDL_SetColors\fP\fR or \fI\fBSDL_SetPalette\fP\fR\&.
-.TP 20
-\fBSDL_DOUBLEBUF\fP
-Enable hardware double buffering; only valid with SDL_HWSURFACE\&. Calling \fI\fBSDL_Flip\fP\fR will flip the buffers and update the screen\&. All drawing will take place on the surface that is not displayed at the moment\&. If double buffering could not be enabled then \fBSDL_Flip\fP will just perform a \fI\fBSDL_UpdateRect\fP\fR on the entire screen\&.
-.TP 20
-\fBSDL_FULLSCREEN\fP
-SDL will attempt to use a fullscreen mode\&. If a hardware resolution change is not possible (for whatever reason), the next higher resolution will be used and the display window centered on a black background\&.
-.TP 20
-\fBSDL_OPENGL\fP
-Create an OpenGL rendering context\&. You should have previously set OpenGL video attributes with \fI\fBSDL_GL_SetAttribute\fP\fR\&.
-.TP 20
-\fBSDL_OPENGLBLIT\fP
-Create an OpenGL rendering context, like above, but allow normal blitting operations\&. The screen (2D) surface may have an alpha channel, and \fI\fBSDL_UpdateRects\fP\fR must be used for updating changes to the screen surface\&.
-.TP 20
-\fBSDL_RESIZABLE\fP
-Create a resizable window\&. When the window is resized by the user a \fI\fBSDL_VIDEORESIZE\fP\fR event is generated and \fBSDL_SetVideoMode\fP can be called again with the new size\&.
-.TP 20
-\fBSDL_NOFRAME\fP
-If possible, \fBSDL_NOFRAME\fP causes SDL to create a window with no title bar or frame decoration\&. Fullscreen modes automatically have this flag set\&.
-.PP
-.RS
-\fBNote:  
-.PP
-Whatever \fBflags\fR \fBSDL_SetVideoMode\fP could satisfy are set in the \fBflags\fR member of the returned surface\&.
-.RE
-.PP
-.RS
-\fBNote:  
-.PP
-The \fBbpp\fR parameter is the number of bits per pixel, so a \fBbpp\fR of 24 uses the packed representation of 3 bytes/pixel\&. For the more common 4 bytes/pixel mode, use a \fBbpp\fR of 32\&. Somewhat oddly, both 15 and 16 will request a 2 bytes/pixel mode, but different pixel formats\&.
-.RE
-.SH "RETURN VALUE"
-.PP
-The framebuffer surface, or \fBNULL\fR if it fails\&. The surface returned is freed by SDL_Quit() and should nt be freed by the caller\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Flip\fP\fR, \fI\fBSDL_Surface\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_ShowCursor.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-.TH "SDL_ShowCursor" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ShowCursor \- Toggle whether or not the cursor is shown on the screen\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_ShowCursor\fP\fR(\fBint toggle\fR);
-.SH "DESCRIPTION"
-.PP
-Toggle whether or not the cursor is shown on the screen\&. Passing \fBSDL_ENABLE\fP displays the cursor and passing \fBSDL_DISABLE\fP hides it\&. The current state of the mouse cursor can be queried by passing \fBSDL_QUERY\fP, either \fBSDL_DISABLE\fP or \fBSDL_ENABLE\fP will be returned\&.
-.PP
-The cursor starts off displayed, but can be turned off\&.
-.SH "RETURN VALUE"
-.PP
-Returns the current state of the cursor\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_SetCursor\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_Surface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +0,0 @@
-.TH "SDL_Surface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_Surface \- Graphical Surface Structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct SDL_Surface {
-        Uint32 flags;                           /* Read-only */
-        SDL_PixelFormat *format;                /* Read-only */
-        int w, h;                               /* Read-only */
-        Uint16 pitch;                           /* Read-only */
-        void *pixels;                           /* Read-write */
-
-        /* clipping information */
-        SDL_Rect clip_rect;                     /* Read-only */
-
-        /* Reference count -- used when freeing surface */
-        int refcount;                           /* Read-mostly */
-
-	/* This structure also contains private fields not shown here */
-} SDL_Surface;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBflags\fR
-Surface flags
-.TP 20
-\fBformat\fR
-Pixel \fIformat\fR
-.TP 20
-\fBw, h\fR
-Width and height of the surface
-.TP 20
-\fBpitch\fR
-Length of a surface scanline in bytes
-.TP 20
-\fBpixels\fR
-Pointer to the actual pixel data
-.TP 20
-\fBclip_rect\fR
-surface clip \fIrectangle\fR
-.SH "DESCRIPTION"
-.PP
-\fBSDL_Surface\fR\&'s represent areas of "graphical" memory, memory that can be drawn to\&. The video framebuffer is returned as a \fBSDL_Surface\fR by \fI\fBSDL_SetVideoMode\fP\fR and \fI\fBSDL_GetVideoSurface\fP\fR\&. Most of the fields should be pretty obvious\&. \fBw\fR and \fBh\fR are the width and height of the surface in pixels\&. \fBpixels\fR is a pointer to the actual pixel data, the surface should be \fIlocked\fR before accessing this field\&. The \fBclip_rect\fR field is the clipping rectangle as set by \fI\fBSDL_SetClipRect\fP\fR\&.
-.PP
-The following are supported in the \fBflags\fR field\&.
-.TP 20
-\fBSDL_SWSURFACE\fP
-Surface is stored in system memory
-.TP 20
-\fBSDL_HWSURFACE\fP
-Surface is stored in video memory
-.TP 20
-\fBSDL_ASYNCBLIT\fP
-Surface uses asynchronous blits if possible
-.TP 20
-\fBSDL_ANYFORMAT\fP
-Allows any pixel-format (Display surface)
-.TP 20
-\fBSDL_HWPALETTE\fP
-Surface has exclusive palette
-.TP 20
-\fBSDL_DOUBLEBUF\fP
-Surface is double buffered (Display surface)
-.TP 20
-\fBSDL_FULLSCREEN\fP
-Surface is full screen (Display Surface)
-.TP 20
-\fBSDL_OPENGL\fP
-Surface has an OpenGL context (Display Surface)
-.TP 20
-\fBSDL_OPENGLBLIT\fP
-Surface supports OpenGL blitting (Display Surface)
-.TP 20
-\fBSDL_RESIZABLE\fP
-Surface is resizable (Display Surface)
-.TP 20
-\fBSDL_HWACCEL\fP
-Surface blit uses hardware acceleration
-.TP 20
-\fBSDL_SRCCOLORKEY\fP
-Surface use colorkey blitting
-.TP 20
-\fBSDL_RLEACCEL\fP
-Colorkey blitting is accelerated with RLE
-.TP 20
-\fBSDL_SRCALPHA\fP
-Surface blit uses alpha blending
-.TP 20
-\fBSDL_PREALLOC\fP
-Surface uses preallocated memory
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PixelFormat\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_SysWMEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-.TH "SDL_SysWMEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_SysWMEvent \- Platform-dependent window manager event\&.
-.SH "DESCRIPTION"
-.PP
-The system window manager event contains a pointer to system-specific information about unknown window manager events\&. If you enable this event using \fI\fBSDL_EventState()\fP\fR, it will be generated whenever unhandled events are received from the window manager\&. This can be used, for example, to implement cut-and-paste in your application\&. 
-.PP
-.nf
-\f(CWtypedef struct {
-         Uint8 type;   /* Always SDL_SysWM */
- } SDL_SysWMEvent;\fR
-.fi
-.PP
- If you want to obtain system-specific information about the window manager, you can fill the version member of a \fBSDL_SysWMinfo\fR structure (details can be found in \fBSDL_syswm\&.h\fP, which must be included) using the \fBSDL_VERSION()\fP macro found in \fBSDL_version\&.h\fP, and pass it to the function: 
-.PP
-.sp
-\fBint \fBSDL_GetWMInfo\fP\fR(\fBSDL_SysWMinfo *info\fR);
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_EventState\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_ThreadID.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-.TH "SDL_ThreadID" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_ThreadID \- Get the 32-bit thread identifier for the current thread\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBUint32 \fBSDL_ThreadID\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-Get the 32-bit thread identifier for the current thread\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_UnlockAudio.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_UnlockAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UnlockAudio \- Unlock the callback function
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_UnlockAudio\fP\fR(\fBvoid\fR)
-.SH "DESCRIPTION"
-.PP
-Unlocks a previous \fI\fBSDL_LockAudio\fP\fR call\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_OpenAudio\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
--- a/docs/man3/SDL_UnlockSurface.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_UnlockSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UnlockSurface \- Unlocks a previously locked surface\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_UnlockSurface\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-Surfaces that were previously locked using \fBSDL_LockSurface\fP must be unlocked with \fBSDL_UnlockSurface\fP\&. Surfaces should be unlocked as soon as possible\&.
-.PP
-It should be noted that since 1\&.1\&.8, surface locks are recursive\&. See \fI\fBSDL_LockSurface\fP\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_LockSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_UnlockYUVOverlay.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_UnlockYUVOverlay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UnlockYUVOverlay \- Unlock an overlay
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_UnlockYUVOverlay\fP\fR(\fBSDL_Overlay *overlay\fR);
-.SH "DESCRIPTION"
-.PP
-The opposite to \fI\fBSDL_LockYUVOverlay\fP\fR\&. Unlocks a previously locked overlay\&. An overlay must be unlocked before it can be displayed\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_UnlockYUVOverlay\fP\fR, \fI\fBSDL_CreateYUVOverlay\fP\fR, \fI\fBSDL_Overlay\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_UpdateRect.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-.TH "SDL_UpdateRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UpdateRect \- Makes sure the given area is updated on the given screen\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_UpdateRect\fP\fR(\fBSDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h\fR);
-.SH "DESCRIPTION"
-.PP
-Makes sure the given area is updated on the given screen\&. The rectangle must be confined within the screen boundaries (no clipping is done)\&.
-.PP
-If \&'\fBx\fR\&', \&'\fBy\fR\&', \&'\fBw\fR\&' and \&'\fBh\fR\&' are all 0, \fBSDL_UpdateRect\fP will update the entire screen\&.
-.PP
-This function should not be called while \&'\fBscreen\fR\&' is \fIlocked\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_UpdateRects\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_LockSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_UpdateRects.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-.TH "SDL_UpdateRects" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UpdateRects \- Makes sure the given list of rectangles is updated on the given screen\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_UpdateRects\fP\fR(\fBSDL_Surface *screen, int numrects, SDL_Rect *rects\fR);
-.SH "DESCRIPTION"
-.PP
-Makes sure the given list of rectangles is updated on the given screen\&. The rectangles must all be confined within the screen boundaries (no clipping is done)\&.
-.PP
-This function should not be called while \fBscreen\fR is \fIlocked\fR\&.
-.PP
-.RS
-\fBNote:  
-.PP
-It is adviced to call this function only once per frame, since each call has some processing overhead\&. This is no restriction since you can pass any number of rectangles each time\&.
-.PP
-The rectangles are not automatically merged or checked for overlap\&. In general, the programmer can use his knowledge about his particular rectangles to merge them in an efficient way, to avoid overdraw\&.
-.RE
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_UpdateRect\fP\fR, \fI\fBSDL_Rect\fR\fR, \fI\fBSDL_Surface\fR\fR, \fI\fBSDL_LockSurface\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_UserEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-.TH "SDL_UserEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_UserEvent \- A user-defined event type
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 type;
-  int code;
-  void *data1;
-  void *data2;
-} SDL_UserEvent;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBtype\fR
-\fBSDL_USEREVENT\fP through to \fBSDL_NUMEVENTS-1\fP
-.TP 20
-\fBcode\fR
-User defined event code
-.TP 20
-\fBdata1\fR
-User defined data pointer
-.TP 20
-\fBdata2\fR
-User defined data pointer
-.SH "DESCRIPTION"
-.PP
-\fBSDL_UserEvent\fR is in the \fBuser\fR member of the structure \fI\fBSDL_Event\fR\fR\&. This event is unique, it is never created by SDL but only by the user\&. The event can be pushed onto the event queue using \fI\fBSDL_PushEvent\fP\fR\&. The contents of the structure members or completely up to the programmer, the only requirement is that \fBtype\fR is a value from \fBSDL_USEREVENT\fP to \fBSDL_NUMEVENTS-1\fP (inclusive)\&.
-.SH "EXAMPLES"
-.PP
-.PP
-.nf
-\f(CWSDL_Event event;
-
-event\&.type = SDL_USEREVENT;
-event\&.user\&.code = my_event_code;
-event\&.user\&.data1 = significant_data;
-event\&.user\&.data2 = 0;
-SDL_PushEvent(&event);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PushEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_VideoDriverName.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_VideoDriverName" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_VideoDriverName \- Obtain the name of the video driver
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBchar *\fBSDL_VideoDriverName\fP\fR(\fBchar *namebuf, int maxlen\fR);
-.SH "DESCRIPTION"
-.PP
-The buffer pointed to by \fBnamebuf\fR is filled up to a maximum of \fBmaxlen\fR characters (include the NULL terminator) with the name of the initialised video driver\&. The driver name is a simple one word identifier like "x11" or "windib"\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fBNULL\fP if video has not been initialised with \fBSDL_Init\fP or a pointer to \fBnamebuf\fR otherwise\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Init\fP\fR \fI\fBSDL_InitSubSystem\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_VideoInfo.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-.TH "SDL_VideoInfo" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_VideoInfo \- Video Target information
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint32 hw_available:1;
-  Uint32 wm_available:1;
-  Uint32 blit_hw:1;
-  Uint32 blit_hw_CC:1;
-  Uint32 blit_hw_A:1;
-  Uint32 blit_sw:1;
-  Uint32 blit_sw_CC:1;
-  Uint32 blit_sw_A:1;
-  Uint32 blit_fill;
-  Uint32 video_mem;
-  SDL_PixelFormat *vfmt;
-} SDL_VideoInfo;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBhw_available\fR
-Is it possible to create hardware surfaces?
-.TP 20
-\fBwm_available\fR
-Is there a window manager available
-.TP 20
-\fBblit_hw\fR
-Are hardware to hardware blits accelerated?
-.TP 20
-\fBblit_hw_CC\fR
-Are hardware to hardware colorkey blits accelerated?
-.TP 20
-\fBblit_hw_A\fR
-Are hardware to hardware alpha blits accelerated?
-.TP 20
-\fBblit_sw\fR
-Are software to hardware blits accelerated?
-.TP 20
-\fBblit_sw_CC\fR
-Are software to hardware colorkey blits accelerated?
-.TP 20
-\fBblit_sw_A\fR
-Are software to hardware alpha blits accelerated?
-.TP 20
-\fBblit_fill\fR
-Are color fills accelerated?
-.TP 20
-\fBvideo_mem\fR
-Total amount of video memory in Kilobytes
-.TP 20
-\fBvfmt\fR
-\fIPixel format\fR of the video device
-.SH "DESCRIPTION"
-.PP
-This (read-only) structure is returned by \fI\fBSDL_GetVideoInfo\fP\fR\&. It contains information on either the \&'best\&' available mode (if called before \fI\fBSDL_SetVideoMode\fP\fR) or the current video mode\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_PixelFormat\fR\fR, \fI\fBSDL_GetVideoInfo\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_VideoModeOK.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-.TH "SDL_VideoModeOK" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_VideoModeOK \- Check to see if a particular video mode is supported\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_VideoModeOK\fP\fR(\fBint width, int height, int bpp, Uint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_VideoModeOK\fP returns \fB0\fR if the requested mode is not supported under any bit depth, or returns the bits-per-pixel of the closest available mode with the given width, height and requested \fIsurface\fR flags (see \fI\fBSDL_SetVideoMode\fP\fR)\&.
-.PP
-The bits-per-pixel value returned is only a suggested mode\&. You can usually request and bpp you want when \fIsetting\fR the video mode and SDL will emulate that color depth with a shadow video surface\&.
-.PP
-The arguments to \fBSDL_VideoModeOK\fP are the same ones you would pass to \fISDL_SetVideoMode\fR
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_Surface *screen;
-Uint32 bpp;
-\&.
-\&.
-\&.
-printf("Checking mode 640x480@16bpp\&.
-");
-bpp=SDL_VideoModeOK(640, 480, 16, SDL_HWSURFACE);
-
-if(!bpp){
-  printf("Mode not available\&.
-");
-  exit(-1);
-}
-
-printf("SDL Recommends 640x480@%dbpp\&.
-", bpp);
-screen=SDL_SetVideoMode(640, 480, bpp, SDL_HWSURFACE);
-\&.
-\&.\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_GetVideoInfo\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_WM_GetCaption.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_WM_GetCaption" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_GetCaption \- Gets the window title and icon name\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_WM_GetCaption\fP\fR(\fBchar **title, char **icon\fR);
-.SH "DESCRIPTION"
-.PP
-Set pointers to the window \fBtitle\fR and \fBicon\fR name\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_WM_SetCaption\fP\fR, \fI\fBSDL_WM_SetIcon\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_WM_GrabInput.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-.TH "SDL_WM_GrabInput" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_GrabInput \- Grabs mouse and keyboard input\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBSDL_GrabMode \fBSDL_WM_GrabInput\fP\fR(\fBSDL_GrabMode mode\fR);
-.SH "DESCRIPTION"
-.PP
-Grabbing means that the mouse is confined to the application window, and nearly all keyboard input is passed directly to the application, and not interpreted by a window manager, if any\&.
-.PP
-When \fBmode\fR is \fBSDL_GRAB_QUERY\fP the grab mode is not changed, but the current grab mode is returned\&.
-.PP
-.PP
-.nf
-\f(CWtypedef enum {
-  SDL_GRAB_QUERY,
-  SDL_GRAB_OFF,
-  SDL_GRAB_ON
-} SDL_GrabMode;\fR
-.fi
-.PP
- 
-.SH "RETURN VALUE"
-.PP
-The current/new \fBSDL_GrabMode\fR\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_WM_IconifyWindow.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_WM_IconifyWindow" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_IconifyWindow \- Iconify/Minimise the window
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_WM_IconifyWindow\fP\fR(\fBvoid\fR);
-.SH "DESCRIPTION"
-.PP
-If the application is running in a window managed environment SDL attempts to iconify/minimise it\&. If \fBSDL_WM_IconifyWindow\fP is successful, the application will receive a \fI\fBSDL_APPACTIVE\fP\fR loss event\&.
-.SH "RETURN VALUE"
-.PP
-Returns non-zero on success or \fB0\fR if iconification is not support or was refused by the window manager\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02
--- a/docs/man3/SDL_WM_SetCaption.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_WM_SetCaption" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_SetCaption \- Sets the window tile and icon name\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_WM_SetCaption\fP\fR(\fBconst char *title, const char *icon\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the title-bar and icon name of the display window\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_WM_GetCaption\fP\fR, \fI\fBSDL_WM_SetIcon\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02
--- a/docs/man3/SDL_WM_SetIcon.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-.TH "SDL_WM_SetIcon" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_SetIcon \- Sets the icon for the display window\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_WM_SetIcon\fP\fR(\fBSDL_Surface *icon, Uint8 *mask\fR);
-.SH "DESCRIPTION"
-.PP
-Sets the icon for the display window\&. Win32 icons must be 32x32\&.
-.PP
-This function must be called before the first call to \fISDL_SetVideoMode\fR\&.
-.PP
-It takes an \fBicon\fR surface, and a \fBmask\fR in MSB format\&.
-.PP
-If \fBmask\fR is \fBNULL\fP, the entire icon surface will be used as the icon\&.
-.SH "EXAMPLE"
-.PP
-.nf
-\f(CWSDL_WM_SetIcon(SDL_LoadBMP("icon\&.bmp"), NULL);\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_SetVideoMode\fP\fR, \fI\fBSDL_WM_SetCaption\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02
--- a/docs/man3/SDL_WM_ToggleFullScreen.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_WM_ToggleFullScreen" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WM_ToggleFullScreen \- Toggles fullscreen mode
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_WM_ToggleFullScreen\fP\fR(\fBSDL_Surface *surface\fR);
-.SH "DESCRIPTION"
-.PP
-Toggles the application between windowed and fullscreen mode, if supported\&. (X11 is the only target currently supported, BeOS support is experimental)\&.
-.SH "RETURN VALUE"
-.PP
-Returns \fB0\fR on failure or \fB1\fR on success\&.
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02
--- a/docs/man3/SDL_WaitEvent.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-.TH "SDL_WaitEvent" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WaitEvent \- Waits indefinitely for the next available event\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBint \fBSDL_WaitEvent\fP\fR(\fBSDL_Event *event\fR);
-.SH "DESCRIPTION"
-.PP
-Waits indefinitely for the next available event, returning \fB1\fR, or \fB0\fR if there was an error while waiting for events\&. 
-.PP
-If \fBevent\fR is not \fBNULL\fP, the next event is removed from the queue and stored in that area\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Event\fR\fR, \fI\fBSDL_PollEvent\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_WaitThread.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-.TH "SDL_WaitThread" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WaitThread \- Wait for a thread to finish\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBvoid \fBSDL_WaitThread\fP\fR(\fBSDL_Thread *thread, int *status\fR);
-.SH "DESCRIPTION"
-.PP
-Wait for a thread to finish (timeouts are not supported)\&.
-.SH "RETURN VALUE"
-.PP
-The return code for the thread function is placed in the area pointed to by \fBstatus\fR, if \fBstatus\fR is not \fBNULL\fR\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateThread\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_WarpMouse.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-.TH "SDL_WarpMouse" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WarpMouse \- Set the position of the mouse cursor\&.
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBvoid \fBSDL_WarpMouse\fP\fR(\fBUint16 x, Uint16 y\fR);
-.SH "DESCRIPTION"
-.PP
-Set the position of the mouse cursor (generates a mouse motion event)\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_MouseMotionEvent\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_WasInit.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-.TH "SDL_WasInit" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_WasInit \- Check which subsystems are initialized
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-.sp
-\fBUint32 \fBSDL_WasInit\fP\fR(\fBUint32 flags\fR);
-.SH "DESCRIPTION"
-.PP
-\fBSDL_WasInit\fP allows you to see which SDL subsytems have been \fIinitialized\fR\&. \fBflags\fR is a bitwise OR\&'d combination of the subsystems you wish to check (see \fI\fBSDL_Init\fP\fR for a list of subsystem flags)\&.
-.SH "RETURN VALUE"
-.PP
-\fBSDL_WasInit\fP returns a bitwised OR\&'d combination of the initialized subsystems\&.
-.SH "EXAMPLES"
-.PP
-.nf
-\f(CW
-/* Here are several ways you can use SDL_WasInit() */
-
-/* Get init data on all the subsystems */
-Uint32 subsystem_init;
-
-subsystem_init=SDL_WasInit(SDL_INIT_EVERYTHING);
-
-if(subsystem_init&SDL_INIT_VIDEO)
-  printf("Video is initialized\&.
-");
-else
-  printf("Video is not initialized\&.
-");
-
-
-
-/* Just check for one specfic subsystem */
-
-if(SDL_WasInit(SDL_INIT_VIDEO)!=0)
-  printf("Video is initialized\&.
-");
-else
-  printf("Video is not initialized\&.
-");
-
-
-
-
-/* Check for two subsystems */
-
-Uint32 subsystem_mask=SDL_INIT_VIDEO|SDL_INIT_AUDIO;
-
-if(SDL_WasInit(subsystem_mask)==subsystem_mask)
-  printf("Video and Audio initialized\&.
-");
-else
-  printf("Video and Audio not initialized\&.
-");
-\fR
-.fi
-.PP
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_Init\fP\fR, \fI\fBSDL_Subsystem\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_keysym.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-.TH "SDL_keysym" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_keysym \- Keysym structure
-.SH "STRUCTURE DEFINITION"
-.PP
-.nf
-\f(CWtypedef struct{
-  Uint8 scancode;
-  SDLKey sym;
-  SDLMod mod;
-  Uint16 unicode;
-} SDL_keysym;\fR
-.fi
-.PP
-.SH "STRUCTURE DATA"
-.TP 20
-\fBscancode\fR
-Hardware specific scancode
-.TP 20
-\fBsym\fR
-SDL virtual keysym
-.TP 20
-\fBmod\fR
-Current key modifiers
-.TP 20
-\fBunicode\fR
-Translated character
-.SH "DESCRIPTION"
-.PP
-The \fBSDL_keysym\fR structure is used by reporting key presses and releases since it is a part of the \fI\fBSDL_KeyboardEvent\fR\fR\&.
-.PP
-The \fBscancode\fR field should generally be left alone, it is the hardware dependent scancode returned by the keyboard\&. The \fBsym\fR field is extremely useful\&. It is the SDL-defined value of the key (see \fISDL Key Syms\fR\&. This field is very useful when you are checking for certain key presses, like so: 
-.PP
-.nf
-\f(CW\&.
-\&.
-while(SDL_PollEvent(&event)){
-  switch(event\&.type){
-    case SDL_KEYDOWN:
-      if(event\&.key\&.keysym\&.sym==SDLK_LEFT)
-        move_left();
-      break;
-    \&.
-    \&.
-    \&.
-  }
-}
-\&.
-\&.\fR
-.fi
-.PP
- \fBmod\fR stores the current state of the keyboard modifiers as explained in \fI\fBSDL_GetModState\fP\fR\&. The \fBunicode\fR is only used when UNICODE translation is enabled with \fI\fBSDL_EnableUNICODE\fP\fR\&. If \fBunicode\fR is non-zero then this a the UNICODE character corresponding to the keypress\&. If the high 9 bits of the character are 0, then this maps to the equivalent ASCII character: 
-.PP
-.nf
-\f(CWchar ch;
-if ( (keysym\&.unicode & 0xFF80) == 0 ) {
-  ch = keysym\&.unicode & 0x7F;
-}
-else {
-  printf("An International Character\&.
-");
-}\fR
-.fi
-.PP
- UNICODE translation does have a slight overhead so don\&'t enable it unless its needed\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDLKey\fR\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00
--- a/docs/man3/SDL_mutexP.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_mutexP" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_mutexP \- Lock a mutex
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_mutexP\fP\fR(\fBSDL_mutex *mutex\fR);
-.SH "DESCRIPTION"
-.PP
-Locks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. If the mutex is already locked then \fBSDL_mutexP\fP will not return until it is \fIunlocked\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.PP
-SDL also defines a macro \fB#define SDL_LockMutex(m) SDL_mutexP(m)\fP\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexV\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01
--- a/docs/man3/SDL_mutexV.3	Wed Oct 07 06:11:53 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-.TH "SDL_mutexV" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
-.SH "NAME"
-SDL_mutexV \- Unlock a mutex
-.SH "SYNOPSIS"
-.PP
-\fB#include "SDL\&.h"
-#include "SDL_thread\&.h"
-.sp
-\fBint \fBSDL_mutexV\fP\fR(\fBSDL_mutex *mutex\fR);
-.SH "DESCRIPTION"
-.PP
-Unlocks the \fBmutex\fR, which was previously created with \fI\fBSDL_CreateMutex\fP\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&.
-.PP
-SDL also defines a macro \fB#define SDL_UnlockMutex(m) SDL_mutexV(m)\fP\&.
-.SH "SEE ALSO"
-.PP
-\fI\fBSDL_CreateMutex\fP\fR, \fI\fBSDL_mutexP\fP\fR
-...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01