Added new docs for SDL 1.2.1
authorSam Lantinga <slouken@lokigames.com>
Sun, 10 Jun 2001 19:31:57 +0000
changeset 55 55f1f1b3e27d
parent 54 028447a8a758
child 56 ce9cd2cf0d0d
Added new docs for SDL 1.2.1
docs/html/Makefile.am
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/guidevideoexamples.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/sdlevent.html
docs/html/sdleventstate.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/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/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_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_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
--- a/docs/html/Makefile.am	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/Makefile.am	Sun Jun 10 19:31:57 2001 +0000
@@ -20,6 +20,7 @@
     guidetimeexamples.html \
     guidevideo.html \
     guidevideoexamples.html \
+    guidevideoopengl.html \
     index.html \
     joystick.html \
     reference.html \
--- a/docs/html/audio.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/audio.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Audio</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/cdrom.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/cdrom.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >CD-ROM</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/event.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/event.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Events</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -85,7 +85,7 @@
 ></DT
 ><DT
 ><A
-HREF="event.html#AEN3194"
+HREF="event.html#AEN3269"
 >Introduction</A
 ></DT
 ><DT
@@ -105,7 +105,7 @@
 ><H1
 CLASS="SECT1"
 ><A
-NAME="AEN3194"
+NAME="AEN3269"
 >Introduction</A
 ></H1
 ><P
--- a/docs/html/eventfunctions.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/eventfunctions.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Event Functions.</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/eventstructures.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/eventstructures.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL Event Structures.</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/general.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/general.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >General</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/guide.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guide.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL Guide</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/guideaboutsdldoc.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideaboutsdldoc.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >About SDLdoc</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -74,9 +74,9 @@
 >About SDLdoc</A
 ></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 proplr working with SDL in their spare time to people who use SDL in their everyday working lives.</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 at the project homepage: http://sdldoc.sourceforge.net.</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"
--- a/docs/html/guideaudioexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideaudioexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Audio Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -80,7 +80,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN343"
+NAME="AEN382"
 >Opening the audio device</A
 ></H2
 ><P
@@ -110,7 +110,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN347"
+NAME="AEN386"
 >Playing audio</A
 ></H2
 ><P
--- a/docs/html/guidebasicsinit.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidebasicsinit.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Initializing SDL</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -133,7 +133,15 @@
 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 */
@@ -160,7 +168,7 @@
 
     exit(0);
 }&#13;</PRE
-></P
+></DIV
 ></DIV
 ><DIV
 CLASS="NAVFOOTER"
--- a/docs/html/guidecdromexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidecdromexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >CDROM Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -80,7 +80,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN354"
+NAME="AEN393"
 >Listing CD-ROM drives</A
 ></H2
 ><P
@@ -107,7 +107,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN358"
+NAME="AEN397"
 >Opening the default drive</A
 ></H2
 ><P
@@ -156,7 +156,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN362"
+NAME="AEN401"
 >Listing the tracks on a CD</A
 ></H2
 ><P
@@ -182,7 +182,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN366"
+NAME="AEN405"
 >Play an entire CD</A
 ></H2
 ><P
--- a/docs/html/guidecredits.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidecredits.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Credits</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -81,10 +81,18 @@
 ><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
--- a/docs/html/guideeventexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideeventexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Event Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -13,8 +13,8 @@
 TITLE="Examples"
 HREF="guideexamples.html"><LINK
 REL="PREVIOUS"
-TITLE="Video Examples"
-HREF="guidevideoexamples.html"><LINK
+TITLE="Examples"
+HREF="guideexamples.html"><LINK
 REL="NEXT"
 TITLE="Audio Examples"
 HREF="guideaudioexamples.html"></HEAD
@@ -44,7 +44,7 @@
 ALIGN="left"
 VALIGN="bottom"
 ><A
-HREF="guidevideoexamples.html"
+HREF="guideexamples.html"
 >Prev</A
 ></TD
 ><TD
@@ -80,7 +80,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN336"
+NAME="AEN375"
 >Filtering and Handling Events</A
 ></H2
 ><P
@@ -192,7 +192,7 @@
 ALIGN="left"
 VALIGN="top"
 ><A
-HREF="guidevideoexamples.html"
+HREF="guideexamples.html"
 >Prev</A
 ></TD
 ><TD
@@ -217,7 +217,7 @@
 WIDTH="33%"
 ALIGN="left"
 VALIGN="top"
->Video Examples</TD
+>Examples</TD
 ><TD
 WIDTH="34%"
 ALIGN="center"
--- a/docs/html/guideexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -16,8 +16,8 @@
 TITLE="Handling the Keyboard"
 HREF="guideinputkeyboard.html"><LINK
 REL="NEXT"
-TITLE="Video Examples"
-HREF="guidevideoexamples.html"></HEAD
+TITLE="Event Examples"
+HREF="guideeventexamples.html"></HEAD
 ><BODY
 CLASS="CHAPTER"
 BGCOLOR="#FFF8DC"
@@ -57,7 +57,7 @@
 ALIGN="right"
 VALIGN="bottom"
 ><A
-HREF="guidevideoexamples.html"
+HREF="guideeventexamples.html"
 >Next</A
 ></TD
 ></TR
@@ -81,16 +81,11 @@
 ></DT
 ><DT
 ><A
-HREF="guideexamples.html#AEN297"
+HREF="guideexamples.html#AEN369"
 >Introduction</A
 ></DT
 ><DT
 ><A
-HREF="guidevideoexamples.html"
->Video Examples</A
-></DT
-><DT
-><A
 HREF="guideeventexamples.html"
 >Event Examples</A
 ></DT
@@ -116,11 +111,11 @@
 ><H1
 CLASS="SECT1"
 ><A
-NAME="AEN297"
+NAME="AEN369"
 >Introduction</A
 ></H1
 ><P
->For the moment these examples are taken directly from the old SDL documentation.</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
@@ -154,7 +149,7 @@
 ALIGN="right"
 VALIGN="top"
 ><A
-HREF="guidevideoexamples.html"
+HREF="guideeventexamples.html"
 >Next</A
 ></TD
 ></TR
@@ -176,10 +171,10 @@
 WIDTH="33%"
 ALIGN="right"
 VALIGN="top"
->Video Examples</TD
+>Event Examples</TD
 ></TR
 ></TABLE
 ></DIV
 ></BODY
 ></HTML
->
+>
\ No newline at end of file
--- a/docs/html/guideinput.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideinput.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Input handling</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -13,8 +13,8 @@
 TITLE="SDL Guide"
 HREF="guide.html"><LINK
 REL="PREVIOUS"
-TITLE="Graphics and Video"
-HREF="guidevideo.html"><LINK
+TITLE="Using OpenGL With SDL"
+HREF="guidevideoopengl.html"><LINK
 REL="NEXT"
 TITLE="Handling the Keyboard"
 HREF="guideinputkeyboard.html"></HEAD
@@ -44,7 +44,7 @@
 ALIGN="left"
 VALIGN="bottom"
 ><A
-HREF="guidevideo.html"
+HREF="guidevideoopengl.html"
 >Prev</A
 ></TD
 ><TD
@@ -104,7 +104,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN94"
+NAME="AEN135"
 >Initialization</A
 ></H2
 ><P
@@ -117,23 +117,33 @@
 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.
-<PRE
+>.  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 ) )
+>    if (SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) &#60; 0)
     {
         fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
         exit(1);
     }</PRE
->
-This will attempt to start SDL with both the video and the joystick subsystems activated.</P
+></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="AEN101"
+NAME="AEN145"
 >Querying</A
 ></H2
 ><P
@@ -154,8 +164,17 @@
 >.  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.  
-<PRE
+> - 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");
@@ -164,14 +183,14 @@
     {
         printf("    %s\n", SDL_JoystickName(i));
     }</PRE
-></P
+></DIV
 ></DIV
 ><DIV
 CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN111"
+NAME="AEN157"
 >Opening a Joystick and Receiving Joystick Events</A
 ></H2
 ><P
@@ -250,15 +269,25 @@
 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:
-<PRE
+> 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
->
-If we wanted to receive events for other joysticks we would open them with calls to <TT
+></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
@@ -269,7 +298,7 @@
 >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;
+>    SDL_Event event;
     /* Other initializtion code goes here */   
 
     /* Start main game loop here */
@@ -291,8 +320,17 @@
 
     /* 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:
-<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 ) ) 
@@ -300,9 +338,19 @@
       /* code goes here */
     }
     break;</PRE
->
-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:
-<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 ) ) 
@@ -318,8 +366,9 @@
         }
     }
     break;</PRE
->
-Ideally the code here should use <TT
+></DIV
+><P
+>Ideally the code here should use <TT
 CLASS="STRUCTFIELD"
 ><I
 >event.jaxis.value</I
@@ -333,8 +382,17 @@
 ></TT
 > values.</P
 ><P
->Button handling is simple compared to the axis checking.
-<PRE
+>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 ) 
@@ -342,9 +400,9 @@
         /* code goes here */
     }
     break;</PRE
->
-
-Button checks are simpler than axis checks because a button can only be pressed or not pressed.  The <TT
+></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
@@ -374,12 +432,21 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN156"
+NAME="AEN214"
 >Advanced Joystick Functions</A
 ></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 we 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: 
-<PRE
+>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 we 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 )
@@ -387,8 +454,9 @@
       /* ball handling */
     }
     break;</PRE
->
-The above checks the first joyball on the joystick. The change in position will be stored in <TT
+></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
@@ -488,9 +556,17 @@
 ></P
 >
 
-Our case for the hat may resemble the following:
-
-<PRE
+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.hat | SDL_HAT_UP )
@@ -508,7 +584,7 @@
         /* Do right and down together stuff here */
     }
     break;</PRE
-></P
+></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
@@ -570,18 +646,26 @@
 ></P
 >
 
-To use these functions we just have to pass in the joystick structure we got when we opened the joystick. For Example:
-
-<PRE
+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
->
-
-This block of code would get the number of buttons on the first joystick in the system.	</P
+></DIV
+><P
+>This block of code would get the number of buttons on the first joystick in the system.	</P
 ></DIV
 ></DIV
 ></DIV
@@ -600,7 +684,7 @@
 ALIGN="left"
 VALIGN="top"
 ><A
-HREF="guidevideo.html"
+HREF="guidevideoopengl.html"
 >Prev</A
 ></TD
 ><TD
@@ -625,7 +709,7 @@
 WIDTH="33%"
 ALIGN="left"
 VALIGN="top"
->Graphics and Video</TD
+>Using OpenGL With SDL</TD
 ><TD
 WIDTH="34%"
 ALIGN="center"
--- a/docs/html/guideinputkeyboard.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guideinputkeyboard.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Handling the Keyboard</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -78,7 +78,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN205"
+NAME="AEN271"
 >Keyboard Related Structures</A
 ></H2
 ><P
@@ -88,7 +88,7 @@
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN208"
+NAME="AEN274"
 >SDLKey</A
 ></H3
 ><P
@@ -114,7 +114,7 @@
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN216"
+NAME="AEN282"
 >SDLMod</A
 ></H3
 ><P
@@ -134,7 +134,7 @@
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN222"
+NAME="AEN288"
 >SDL_keysym</A
 ></H3
 ><PRE
@@ -215,7 +215,7 @@
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN241"
+NAME="AEN307"
 >SDL_KeyboardEvent</A
 ></H3
 ><PRE
@@ -283,7 +283,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN258"
+NAME="AEN324"
 >Reading Keyboard Events</A
 ></H2
 ><P
@@ -308,8 +308,17 @@
 > events using a <TT
 CLASS="LITERAL"
 >switch</TT
-> statement, like so:
-<PRE
+> 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;
   .
@@ -334,15 +343,16 @@
   }
   .
   .</PRE
->
-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
+><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="AEN269"
+NAME="AEN338"
 >A More Detailed Look</A
 ></H2
 ><P
@@ -384,11 +394,11 @@
 ><DIV
 CLASS="EXAMPLE"
 ><A
-NAME="AEN282"
+NAME="AEN351"
 ></A
 ><P
 ><B
->Example 3-1. keys.c - Key event information</B
+>Example 3-11. Interpreting Key Event Information</B
 ></P
 ><PRE
 CLASS="PROGRAMLISTING"
@@ -405,7 +415,7 @@
         int quit = 0;
         
         /* Initialise SDL */
-        if( SDL_Init( SDL_INIT_VIDEO ) ){
+        if( SDL_Init( SDL_INIT_VIDEO ) &#60; 0){
             fprintf( stderr, "Could not initialise SDL: %s\n", SDL_GetError() );
             exit( -1 );
         }
@@ -518,13 +528,13 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN285"
+NAME="AEN354"
 >Game-type Input</A
 ></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="AEN288"
+NAME="AEN357"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -575,8 +585,17 @@
 >
 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:
-<PRE
+>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;
@@ -649,8 +668,9 @@
     /* Update the alien position */
     alien_x += alien_xvel;
     alien_y += alien_yvel;</PRE
->
-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
+><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
--- a/docs/html/guidepreface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidepreface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Preface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/guidethebasics.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidethebasics.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >The Basics</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/guidetimeexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidetimeexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Time Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -80,7 +80,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN373"
+NAME="AEN412"
 >Time based game loop</A
 ></H2
 ><P
--- a/docs/html/guidevideo.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidevideo.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Graphics and Video</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -16,8 +16,8 @@
 TITLE="Initializing SDL"
 HREF="guidebasicsinit.html"><LINK
 REL="NEXT"
-TITLE="Input handling"
-HREF="guideinput.html"></HEAD
+TITLE="Using OpenGL With SDL"
+HREF="guidevideoopengl.html"></HEAD
 ><BODY
 CLASS="CHAPTER"
 BGCOLOR="#FFF8DC"
@@ -57,7 +57,7 @@
 ALIGN="right"
 VALIGN="bottom"
 ><A
-HREF="guideinput.html"
+HREF="guidevideoopengl.html"
 >Next</A
 ></TD
 ></TR
@@ -73,572 +73,322 @@
 >Chapter 2. Graphics and Video</A
 ></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="GUIDEVIDEOOPENGL"
->Using OpenGL With SDL</A
+NAME="GUIDEVIDEOINTRO"
+>Introduction to SDL Video</A
 ></H1
 ><P
->SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, MacOS 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
+>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="AEN65"
->Initialisation</A
+NAME="AEN68"
+>Initializing the Video Display</A
 ></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
+>This is what almost all SDL programs have to do in one way or
+another.</P
+><DIV
+CLASS="EXAMPLE"
+><A
+NAME="AEN71"
 ></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, <I
-CLASS="EMPHASIS"
->not</I
-> by passing the <TT
-CLASS="LITERAL"
->SDL_DOUBLEBUF</TT
-> flag to <TT
-CLASS="FUNCTION"
->SDL_SetVideoMode</TT
->.
-<PRE
+><P
+><B
+>Example 2-1. Initializing the Video Display</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;
+>    SDL_Surface *screen;
 
-    /* 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 );
+    /* Initialize the SDL library */
+    if( SDL_Init(SDL_INIT_VIDEO) &#60; 0 ) {
+        fprintf(stderr,
+                "Couldn't initialize SDL: %s\n", SDL_GetError());
+        exit(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;
-
+    /* Clean up on exit */
+    atexit(SDL_Quit);
+    
     /*
-     * 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.
+     * Initialize the display in a 640x480 8-bit palettized mode,
+     * requesting a software surface
      */
-    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 );
+    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"
+>Initializing the Best Video Mode</A
+></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="AEN77"
->Drawing</A
+NAME="AEN80"
+>Loading and Displaying a BMP File</A
 ></H2
 ><P
->Apart from initialisation, using OpenGL within SDL is the same as using. However if you have request a double buffered display (using <A
-HREF="sdlglsetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SetAttribute</TT
-></A
->) and one (which can be checked by using <A
-HREF="sdlglgetattribute.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_GetAttribute</TT
-></A
->), then you must use <A
-HREF="sdlglswapbuffers.html"
-><TT
-CLASS="FUNCTION"
->SDL_GL_SwapBuffers()</TT
-></A
-> to swap the buffers and update the display.</P
-><P
->A full example code listing is now presented below.</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="AEN87"
+NAME="AEN83"
 ></A
 ><P
 ><B
->Example 2-1. gl.c - SDL OpenGL Example</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"
+>Drawing Directly to the Display</A
+></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"
 >/*
- * SDL OpenGL Tutorial.
- * (c) Michael Vance, 2000
- * briareos@lokigames.com
- *
- * Distributed under terms of the LGPL. 
+ * Return the pixel value at (x, y)
+ * NOTE: The surface must be locked before calling this!
  */
-
-#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 )
+Uint32 getpixel(SDL_Surface *surface, int x, int y)
 {
-    /*
-     * Quit SDL so we can release the fullscreen
-     * mode and restore the previous video settings,
-     * etc.
-     */
-    SDL_Quit( );
+    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;
 
-    /* Exit program. */
-    exit( code );
-}
+    case 2:
+        return *(Uint16 *)p;
 
-static void handle_key_down( SDL_keysym* keysym )
-{
+    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;
 
-    /* 
-     * 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 );
+    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 SDLK_SPACE:
-        should_rotate = !should_rotate;
+
+    case 2:
+        *(Uint16 *)p = pixel;
         break;
-    default:
+
+    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;
     }
-
-}
-
-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;
+}</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 */
 
-    /*
-     * 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 };
+    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);
 
-    /* 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 );
+    x = screen-&#62;w / 2;
+    y = screen-&#62;h / 2;
 
-    /* Rotate. */
-    glRotatef( angle, 0.0, 1.0, 0.0 );
-
-    if( should_rotate ) {
-
-        if( ++angle &#62; 360.0f ) {
-            angle = 0.0f;
+    /* 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;
         }
-
     }
 
-    /* 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 );
+    putpixel(screen, x, y, yellow);
 
-    /*
-     * 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 );
+    if ( SDL_MUSTLOCK(screen) ) {
+        SDL_UnlockSurface(screen);
     }
-
-    /* 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;
+    /* Update just the part of the display that we've changed */
+    SDL_UpdateRect(screen, x, y, 1, 1);
 
-    /*
-     * 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
+    return;&#13;</PRE
 ></DIV
 ></DIV
 ></DIV
@@ -674,7 +424,7 @@
 ALIGN="right"
 VALIGN="top"
 ><A
-HREF="guideinput.html"
+HREF="guidevideoopengl.html"
 >Next</A
 ></TD
 ></TR
@@ -696,7 +446,7 @@
 WIDTH="33%"
 ALIGN="right"
 VALIGN="top"
->Input handling</TD
+>Using OpenGL With SDL</TD
 ></TR
 ></TABLE
 ></DIV
--- a/docs/html/guidevideoexamples.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/guidevideoexamples.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Video Examples</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -80,7 +80,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN303"
+NAME="AEN375"
 >Initializing the video display</A
 ></H2
 ><P
@@ -112,7 +112,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN307"
+NAME="AEN379"
 >Initializing the best video mode</A
 ></H2
 ><P
@@ -134,7 +134,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN311"
+NAME="AEN383"
 >Loading and displaying a BMP file</A
 ></H2
 ><P
@@ -211,7 +211,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN315"
+NAME="AEN387"
 >Drawing directly to the display</A
 ></H2
 ><P
@@ -276,7 +276,7 @@
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN319"
+NAME="AEN391"
 >Fastest possible surface blit</A
 ></H2
 ><P
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/guidevideoopengl.html	Sun Jun 10 19:31:57 2001 +0000
@@ -0,0 +1,719 @@
+<HTML
+><HEAD
+><TITLE
+>Using OpenGL With SDL</TITLE
+><META
+NAME="GENERATOR"
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
+"><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
+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"
+>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"
+>Next</A
+></TD
+></TR
+></TABLE
+><HR
+ALIGN="LEFT"
+WIDTH="100%"></DIV
+><DIV
+CLASS="SECT1"
+><H1
+CLASS="SECT1"
+><A
+NAME="GUIDEVIDEOOPENGL"
+>Using OpenGL With SDL</A
+></H1
+><P
+>SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, MacOS 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"
+>Initialisation</A
+></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, <I
+CLASS="EMPHASIS"
+>not</I
+> 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"
+>Drawing</A
+></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
+WIDTH="100%"
+BORDER="0"
+CELLPADDING="0"
+CELLSPACING="0"
+><TR
+><TD
+WIDTH="33%"
+ALIGN="left"
+VALIGN="top"
+><A
+HREF="guidevideo.html"
+>Prev</A
+></TD
+><TD
+WIDTH="34%"
+ALIGN="center"
+VALIGN="top"
+><A
+HREF="index.html"
+>Home</A
+></TD
+><TD
+WIDTH="33%"
+ALIGN="right"
+VALIGN="top"
+><A
+HREF="guideinput.html"
+>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"
+>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	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/index.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 ></TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="NEXT"
 TITLE="SDL Guide"
@@ -87,7 +87,12 @@
 ><DL
 ><DT
 ><A
-HREF="guidevideo.html#GUIDEVIDEOOPENGL"
+HREF="guidevideo.html#GUIDEVIDEOINTRO"
+>Introduction to SDL Video</A
+></DT
+><DT
+><A
+HREF="guidevideoopengl.html"
 >Using OpenGL With SDL</A
 ></DT
 ></DL
@@ -120,16 +125,11 @@
 ><DL
 ><DT
 ><A
-HREF="guideexamples.html#AEN297"
+HREF="guideexamples.html#AEN369"
 >Introduction</A
 ></DT
 ><DT
 ><A
-HREF="guidevideoexamples.html"
->Video Examples</A
-></DT
-><DT
-><A
 HREF="guideeventexamples.html"
 >Event Examples</A
 ></DT
@@ -305,7 +305,7 @@
 ><A
 HREF="sdlfreesurface.html"
 >SDL_FreeSurface</A
-> &#8212; Frees (deletes) and SDL_Surface</DT
+> &#8212; Frees (deletes) a SDL_Surface</DT
 ><DT
 ><A
 HREF="sdllocksurface.html"
@@ -542,7 +542,7 @@
 ><DL
 ><DT
 ><A
-HREF="event.html#AEN3194"
+HREF="event.html#AEN3269"
 >Introduction</A
 ></DT
 ><DT
@@ -965,7 +965,7 @@
 ></DT
 ><DT
 >8-1. <A
-HREF="sdlkey.html#AEN4177"
+HREF="sdlkey.html#AEN4252"
 >SDL Keysym definitions</A
 ></DT
 ><DT
@@ -984,14 +984,109 @@
 >List of Examples</B
 ></DT
 ><DT
+>1-1. <A
+HREF="guidebasicsinit.html#AEN60"
+>Initializing SDL</A
+></DT
+><DT
 >2-1. <A
-HREF="guidevideo.html#AEN87"
->gl.c - SDL OpenGL Example</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="guideinputkeyboard.html#AEN282"
->keys.c - Key event information</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
--- a/docs/html/joystick.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/joystick.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >Joystick</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/reference.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/reference.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL Reference</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
--- a/docs/html/sdlactiveevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlactiveevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_ActiveEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3447"
+NAME="AEN3522"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3450"
+NAME="AEN3525"
 ></A
 ><H2
 >Structure Definition</H2
@@ -96,14 +96,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3453"
+NAME="AEN3528"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3455"
+NAME="AEN3530"
 ></A
 ><P
 ></P
@@ -187,7 +187,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3476"
+NAME="AEN3551"
 ></A
 ><H2
 >Description</H2
@@ -245,7 +245,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3492"
+NAME="AEN3567"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdladdtimer.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdladdtimer.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_AddTimer</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7854"
+NAME="AEN7933"
 ></A
 ><H2
 >Name</H2
@@ -82,14 +82,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7857"
+NAME="AEN7936"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7858"
+NAME="AEN7937"
 ></A
 ><P
 ></P
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7867"
+NAME="AEN7946"
 ></A
 ><H2
 >Description</H2
@@ -153,9 +153,15 @@
 >.</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.</P
+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 maximum resolution of this timer is 10 ms, which means that if
+>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
@@ -173,7 +179,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7878"
+NAME="AEN7958"
 ></A
 ><H2
 >Return Value</H2
@@ -187,7 +193,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7882"
+NAME="AEN7962"
 ></A
 ><H2
 >Examples</H2
@@ -200,7 +206,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7886"
+NAME="AEN7966"
 ></A
 ><H2
 >See Also</H2
@@ -211,6 +217,13 @@
 CLASS="FUNCTION"
 >SDL_RemoveTimer</TT
 ></A
+>,
+<A
+HREF="sdlpushevent.html"
+><TT
+CLASS="FUNCTION"
+>SDL_PushEvent</TT
+></A
 ></P
 ></DIV
 ><DIV
--- a/docs/html/sdlaudiocvt.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlaudiocvt.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_AudioCVT</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6262"
+NAME="AEN6337"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6265"
+NAME="AEN6340"
 ></A
 ><H2
 >Structure Definition</H2
@@ -104,14 +104,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6268"
+NAME="AEN6343"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN6270"
+NAME="AEN6345"
 ></A
 ><P
 ></P
@@ -318,7 +318,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6322"
+NAME="AEN6397"
 ></A
 ><H2
 >Description</H2
@@ -459,7 +459,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6367"
+NAME="AEN6442"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlaudiospec.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlaudiospec.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_AudioSpec</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5885"
+NAME="AEN5960"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5888"
+NAME="AEN5963"
 ></A
 ><H2
 >Structure Definition</H2
@@ -101,14 +101,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5891"
+NAME="AEN5966"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN5893"
+NAME="AEN5968"
 ></A
 ><P
 ></P
@@ -245,7 +245,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5928"
+NAME="AEN6003"
 ></A
 ><H2
 >Description</H2
@@ -295,7 +295,7 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN5942"
+NAME="AEN6017"
 ></A
 ><P
 ></P
@@ -499,7 +499,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6017"
+NAME="AEN6092"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlblitsurface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlblitsurface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_BlitSurface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1806"
+NAME="AEN1883"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1809"
+NAME="AEN1886"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1810"
+NAME="AEN1887"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1816"
+NAME="AEN1893"
 ></A
 ><H2
 >Description</H2
@@ -170,27 +170,37 @@
 > is not modified).</P
 ><P
 >The blit function should not be called on a locked surface.</P
-><DIV
-CLASS="NOTE"
-><BLOCKQUOTE
-CLASS="NOTE"
 ><P
-><B
->Note: </B
 >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
->.</P
-></BLOCKQUOTE
-></DIV
+> 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="AEN1835"
+NAME="AEN1912"
 ></A
 ><H2
 >Return Value</H2
@@ -226,7 +236,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1843"
+NAME="AEN1920"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlbuildaudiocvt.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlbuildaudiocvt.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_BuildAudioCVT</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6380"
+NAME="AEN6455"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6383"
+NAME="AEN6458"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6384"
+NAME="AEN6459"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6390"
+NAME="AEN6465"
 ></A
 ><H2
 >Description</H2
@@ -172,7 +172,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6406"
+NAME="AEN6481"
 ></A
 ><H2
 >Return Values</H2
@@ -185,7 +185,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6410"
+NAME="AEN6485"
 ></A
 ><H2
 >Examples</H2
@@ -201,7 +201,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6415"
+NAME="AEN6490"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcd.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcd.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CD</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6941"
+NAME="AEN7017"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6944"
+NAME="AEN7020"
 ></A
 ><H2
 >Structure Definition</H2
@@ -99,14 +99,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6947"
+NAME="AEN7023"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN6949"
+NAME="AEN7025"
 ></A
 ><P
 ></P
@@ -222,7 +222,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6979"
+NAME="AEN7055"
 ></A
 ><H2
 >Description</H2
@@ -252,7 +252,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6989"
+NAME="AEN7065"
 ></A
 ><H2
 >Examples</H2
@@ -269,7 +269,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6992"
+NAME="AEN7068"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdclose.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdclose.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDClose</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6916"
+NAME="AEN6992"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6919"
+NAME="AEN6995"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6920"
+NAME="AEN6996"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6926"
+NAME="AEN7002"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6930"
+NAME="AEN7006"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdeject.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdeject.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDEject</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6888"
+NAME="AEN6964"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6891"
+NAME="AEN6967"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6892"
+NAME="AEN6968"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6898"
+NAME="AEN6974"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6902"
+NAME="AEN6978"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6907"
+NAME="AEN6983"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdname.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdname.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDName</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6615"
+NAME="AEN6691"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6618"
+NAME="AEN6694"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6619"
+NAME="AEN6695"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6625"
+NAME="AEN6701"
 ></A
 ><H2
 >Description</H2
@@ -130,7 +130,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6630"
+NAME="AEN6706"
 ></A
 ><H2
 >Examples</H2
@@ -156,7 +156,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6640"
+NAME="AEN6716"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdnumdrives.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdnumdrives.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDNumDrives</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6593"
+NAME="AEN6669"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6596"
+NAME="AEN6672"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6597"
+NAME="AEN6673"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6603"
+NAME="AEN6679"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6606"
+NAME="AEN6682"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdopen.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdopen.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDOpen</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6649"
+NAME="AEN6725"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6652"
+NAME="AEN6728"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6653"
+NAME="AEN6729"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6659"
+NAME="AEN6735"
 ></A
 ><H2
 >Description</H2
@@ -137,7 +137,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6667"
+NAME="AEN6743"
 ></A
 ><H2
 >Examples</H2
@@ -178,7 +178,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6670"
+NAME="AEN6746"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdpause.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdpause.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDPause</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6800"
+NAME="AEN6876"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6803"
+NAME="AEN6879"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6804"
+NAME="AEN6880"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6810"
+NAME="AEN6886"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6814"
+NAME="AEN6890"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6819"
+NAME="AEN6895"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdplay.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdplay.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDPlay</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6718"
+NAME="AEN6794"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6721"
+NAME="AEN6797"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6722"
+NAME="AEN6798"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6728"
+NAME="AEN6804"
 ></A
 ><H2
 >Description</H2
@@ -137,7 +137,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6734"
+NAME="AEN6810"
 ></A
 ><H2
 >Return Values</H2
@@ -153,7 +153,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6739"
+NAME="AEN6815"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdplaytracks.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdplaytracks.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDPlayTracks</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6750"
+NAME="AEN6826"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6753"
+NAME="AEN6829"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6754"
+NAME="AEN6830"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6760"
+NAME="AEN6836"
 ></A
 ><H2
 >Description</H2
@@ -186,7 +186,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6778"
+NAME="AEN6854"
 ></A
 ><H2
 >Return Value</H2
@@ -203,7 +203,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6783"
+NAME="AEN6859"
 ></A
 ><H2
 >Examples</H2
@@ -228,7 +228,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6787"
+NAME="AEN6863"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdresume.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdresume.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDResume</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6830"
+NAME="AEN6906"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6833"
+NAME="AEN6909"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6834"
+NAME="AEN6910"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6840"
+NAME="AEN6916"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6844"
+NAME="AEN6920"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6849"
+NAME="AEN6925"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdstatus.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdstatus.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDStatus</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6683"
+NAME="AEN6759"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6686"
+NAME="AEN6762"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6687"
+NAME="AEN6763"
 ></A
 ><P
 ></P
@@ -116,7 +116,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6694"
+NAME="AEN6770"
 ></A
 ><H2
 >Description</H2
@@ -164,7 +164,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6706"
+NAME="AEN6782"
 ></A
 ><H2
 >Example</H2
@@ -190,7 +190,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6709"
+NAME="AEN6785"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdstop.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdstop.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDStop</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6860"
+NAME="AEN6936"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6863"
+NAME="AEN6939"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6864"
+NAME="AEN6940"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6870"
+NAME="AEN6946"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6874"
+NAME="AEN6950"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6879"
+NAME="AEN6955"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcdtrack.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcdtrack.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CDtrack</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7003"
+NAME="AEN7079"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7006"
+NAME="AEN7082"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7009"
+NAME="AEN7085"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN7011"
+NAME="AEN7087"
 ></A
 ><P
 ></P
@@ -187,7 +187,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7032"
+NAME="AEN7108"
 ></A
 ><H2
 >Description</H2
@@ -230,7 +230,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7044"
+NAME="AEN7120"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcloseaudio.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcloseaudio.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CloseAudio</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6555"
+NAME="AEN6631"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6558"
+NAME="AEN6634"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6559"
+NAME="AEN6635"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6565"
+NAME="AEN6641"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6568"
+NAME="AEN6644"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcolor.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcolor.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_Color</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2581"
+NAME="AEN2660"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2584"
+NAME="AEN2663"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2587"
+NAME="AEN2666"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2589"
+NAME="AEN2668"
 ></A
 ><P
 ></P
@@ -181,7 +181,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2608"
+NAME="AEN2687"
 ></A
 ><H2
 >Description</H2
@@ -203,7 +203,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2615"
+NAME="AEN2694"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcondbroadcast.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcondbroadcast.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CondBroadcast</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7712"
+NAME="AEN7788"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7715"
+NAME="AEN7791"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7716"
+NAME="AEN7792"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7722"
+NAME="AEN7798"
 ></A
 ><H2
 >Description</H2
@@ -134,7 +134,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7728"
+NAME="AEN7804"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcondsignal.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcondsignal.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CondSignal</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7685"
+NAME="AEN7761"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7688"
+NAME="AEN7764"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7689"
+NAME="AEN7765"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7695"
+NAME="AEN7771"
 ></A
 ><H2
 >Description</H2
@@ -134,7 +134,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7701"
+NAME="AEN7777"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcondwait.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcondwait.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CondWait</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7739"
+NAME="AEN7815"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7742"
+NAME="AEN7818"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7743"
+NAME="AEN7819"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7749"
+NAME="AEN7825"
 ></A
 ><H2
 >Description</H2
@@ -134,7 +134,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7755"
+NAME="AEN7831"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcondwaittimeout.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcondwaittimeout.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CondWaitTimeout</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7768"
+NAME="AEN7844"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7771"
+NAME="AEN7847"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7772"
+NAME="AEN7848"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7778"
+NAME="AEN7854"
 ></A
 ><H2
 >Description</H2
@@ -147,7 +147,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7787"
+NAME="AEN7863"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlconvertaudio.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlconvertaudio.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_ConvertAudio</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6426"
+NAME="AEN6501"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6429"
+NAME="AEN6504"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6430"
+NAME="AEN6505"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6436"
+NAME="AEN6511"
 ></A
 ><H2
 >Description</H2
@@ -240,7 +240,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6471"
+NAME="AEN6546"
 ></A
 ><H2
 >Examples</H2
@@ -317,7 +317,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6474"
+NAME="AEN6549"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlconvertsurface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlconvertsurface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_ConvertSurface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1766"
+NAME="AEN1843"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1769"
+NAME="AEN1846"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1770"
+NAME="AEN1847"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1776"
+NAME="AEN1853"
 ></A
 ><H2
 >Description</H2
@@ -151,7 +151,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1787"
+NAME="AEN1864"
 ></A
 ><H2
 >Return Value</H2
@@ -165,7 +165,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1791"
+NAME="AEN1868"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatecond.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatecond.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateCond</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7634"
+NAME="AEN7710"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7637"
+NAME="AEN7713"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7638"
+NAME="AEN7714"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7644"
+NAME="AEN7720"
 ></A
 ><H2
 >Description</H2
@@ -123,7 +123,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7647"
+NAME="AEN7723"
 ></A
 ><H2
 >Examples</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7650"
+NAME="AEN7726"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatecursor.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatecursor.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateCursor</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1989"
+NAME="AEN2068"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1992"
+NAME="AEN2071"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1993"
+NAME="AEN2072"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1999"
+NAME="AEN2078"
 ></A
 ><H2
 >Description</H2
@@ -134,7 +134,7 @@
 <DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2005"
+NAME="AEN2084"
 ></A
 ><P
 ></P
@@ -210,7 +210,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2026"
+NAME="AEN2105"
 ></A
 ><H2
 >Example</H2
@@ -301,7 +301,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2029"
+NAME="AEN2108"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatemutex.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatemutex.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateMutex</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7195"
+NAME="AEN7271"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7198"
+NAME="AEN7274"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7199"
+NAME="AEN7275"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7205"
+NAME="AEN7281"
 ></A
 ><H2
 >Description</H2
@@ -123,7 +123,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7208"
+NAME="AEN7284"
 ></A
 ><H2
 >Examples</H2
@@ -152,7 +152,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7211"
+NAME="AEN7287"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatergbsurface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatergbsurface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateRGBSurface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1316"
+NAME="AEN1358"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1319"
+NAME="AEN1361"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1320"
+NAME="AEN1362"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1326"
+NAME="AEN1368"
 ></A
 ><H2
 >Description</H2
@@ -153,7 +153,7 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN1338"
+NAME="AEN1380"
 ></A
 ><P
 ></P
@@ -198,7 +198,21 @@
 ><TD
 ALIGN="LEFT"
 VALIGN="TOP"
->With this flag SDL will attempt to find the best location for this surface, either in system memory or video memory, to obtain hardware colorkey blitting support.</TD
+>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
@@ -211,18 +225,108 @@
 ><TD
 ALIGN="LEFT"
 VALIGN="TOP"
->With this flag SDL will attempt to find the best location for this surface, either in system memory or video memory, to obtain hardware alpha support</TD
+>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="AEN1357"
+NAME="AEN1411"
+></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="AEN1415"
+></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="AEN1418"
 ></A
 ><H2
 >See Also</H2
@@ -268,6 +372,20 @@
 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
--- a/docs/html/sdlcreatergbsurfacefrom.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatergbsurfacefrom.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateRGBSurfaceFrom</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1376"
+NAME="AEN1441"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1379"
+NAME="AEN1444"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1380"
+NAME="AEN1445"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1386"
+NAME="AEN1451"
 ></A
 ><H2
 >Description</H2
@@ -132,7 +132,7 @@
 > specified in the parameter list. The pixel data is not copied into the <SPAN
 CLASS="STRUCTNAME"
 >SDL_Surface</SPAN
-> structure so it should no be freed until the surface has been freed with a called to <A
+> 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
@@ -153,7 +153,20 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1398"
+NAME="AEN1463"
+></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="AEN1467"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatesemaphore.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatesemaphore.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateSemaphore</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7311"
+NAME="AEN7387"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7314"
+NAME="AEN7390"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7315"
+NAME="AEN7391"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7321"
+NAME="AEN7397"
 ></A
 ><H2
 >Description</H2
@@ -152,7 +152,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7330"
+NAME="AEN7406"
 ></A
 ><H2
 >Return Value</H2
@@ -166,7 +166,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7334"
+NAME="AEN7410"
 ></A
 ><H2
 >Examples</H2
@@ -185,7 +185,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7338"
+NAME="AEN7414"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreatethread.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreatethread.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateThread</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7076"
+NAME="AEN7152"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7079"
+NAME="AEN7155"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7080"
+NAME="AEN7156"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7086"
+NAME="AEN7162"
 ></A
 ><H2
 >Description</H2
@@ -140,7 +140,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7092"
+NAME="AEN7168"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlcreateyuvoverlay.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlcreateyuvoverlay.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_CreateYUVOverlay</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2310"
+NAME="AEN2389"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2313"
+NAME="AEN2392"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2314"
+NAME="AEN2393"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2320"
+NAME="AEN2399"
 ></A
 ><H2
 >Description</H2
@@ -159,7 +159,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2333"
+NAME="AEN2412"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldelay.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldelay.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_Delay</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7830"
+NAME="AEN7906"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7833"
+NAME="AEN7909"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7834"
+NAME="AEN7910"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7840"
+NAME="AEN7916"
 ></A
 ><H2
 >Description</H2
@@ -124,11 +124,25 @@
 CLASS="EMPHASIS"
 >least</I
 > 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 <I
+CLASS="EMPHASIS"
+>at least</I
+> 10 ms.
+Some platforms have shorter clock ticks but this is the most common.</P
+></BLOCKQUOTE
+></DIV
 ></DIV
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7845"
+NAME="AEN7924"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldestroycond.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldestroycond.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DestroyCond</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7663"
+NAME="AEN7739"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7666"
+NAME="AEN7742"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7667"
+NAME="AEN7743"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7673"
+NAME="AEN7749"
 ></A
 ><H2
 >Description</H2
@@ -123,7 +123,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7676"
+NAME="AEN7752"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldestroymutex.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldestroymutex.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DestroyMutex</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7224"
+NAME="AEN7300"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7227"
+NAME="AEN7303"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7228"
+NAME="AEN7304"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7234"
+NAME="AEN7310"
 ></A
 ><H2
 >Description</H2
@@ -126,7 +126,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7238"
+NAME="AEN7314"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldestroysemaphore.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldestroysemaphore.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DestroySemaphore</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7357"
+NAME="AEN7433"
 ></A
 ><H2
 >Name</H2
@@ -84,14 +84,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7361"
+NAME="AEN7437"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7362"
+NAME="AEN7438"
 ></A
 ><P
 ></P
@@ -116,7 +116,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7368"
+NAME="AEN7444"
 ></A
 ><H2
 >Description</H2
@@ -144,7 +144,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7375"
+NAME="AEN7451"
 ></A
 ><H2
 >Examples</H2
@@ -160,7 +160,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7379"
+NAME="AEN7455"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldisplayformat.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldisplayformat.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DisplayFormat</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1898"
+NAME="AEN1975"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1901"
+NAME="AEN1978"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1902"
+NAME="AEN1979"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1908"
+NAME="AEN1985"
 ></A
 ><H2
 >Description</H2
@@ -137,7 +137,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1915"
+NAME="AEN1992"
 ></A
 ><H2
 >Return Value</H2
@@ -151,7 +151,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1919"
+NAME="AEN1996"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldisplayformatalpha.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldisplayformatalpha.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DisplayFormatAlpha</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1936"
+NAME="AEN2013"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1939"
+NAME="AEN2016"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1940"
+NAME="AEN2017"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1946"
+NAME="AEN2023"
 ></A
 ><H2
 >Description</H2
@@ -128,11 +128,19 @@
 >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="AEN1951"
+NAME="AEN2030"
 ></A
 ><H2
 >Return Value</H2
@@ -146,7 +154,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1955"
+NAME="AEN2034"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdldisplayyuvoverlay.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdldisplayyuvoverlay.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_DisplayYUVOverlay</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2410"
+NAME="AEN2489"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2413"
+NAME="AEN2492"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2414"
+NAME="AEN2493"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2420"
+NAME="AEN2499"
 ></A
 ><H2
 >Description</H2
@@ -146,7 +146,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2429"
+NAME="AEN2508"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlenablekeyrepeat.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlenablekeyrepeat.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_EnableKeyRepeat</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5217"
+NAME="AEN5292"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5220"
+NAME="AEN5295"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5221"
+NAME="AEN5296"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5227"
+NAME="AEN5302"
 ></A
 ><H2
 >Description</H2
@@ -155,7 +155,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5238"
+NAME="AEN5313"
 ></A
 ><H2
 >Return Value</H2
--- a/docs/html/sdlenableunicode.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlenableunicode.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_EnableUNICODE</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5187"
+NAME="AEN5262"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5190"
+NAME="AEN5265"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5191"
+NAME="AEN5266"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5197"
+NAME="AEN5272"
 ></A
 ><H2
 >Description</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5205"
+NAME="AEN5280"
 ></A
 ><H2
 >Return Value</H2
@@ -153,7 +153,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5208"
+NAME="AEN5283"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_Event</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3214"
+NAME="AEN3289"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3217"
+NAME="AEN3292"
 ></A
 ><H2
 >Structure Definition</H2
@@ -106,14 +106,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3220"
+NAME="AEN3295"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3222"
+NAME="AEN3297"
 ></A
 ><P
 ></P
@@ -361,7 +361,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3289"
+NAME="AEN3364"
 ></A
 ><H2
 >Description</H2
@@ -385,7 +385,7 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3297"
+NAME="AEN3372"
 ></A
 ><P
 ></P
@@ -648,7 +648,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3377"
+NAME="AEN3452"
 ></A
 ><H2
 >Use</H2
@@ -853,7 +853,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3434"
+NAME="AEN3509"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdleventstate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdleventstate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_EventState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5028"
+NAME="AEN5103"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5031"
+NAME="AEN5106"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5032"
+NAME="AEN5107"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5038"
+NAME="AEN5113"
 ></A
 ><H2
 >Description</H2
@@ -193,7 +193,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5059"
+NAME="AEN5134"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlfillrect.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlfillrect.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_FillRect</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1858"
+NAME="AEN1935"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1861"
+NAME="AEN1938"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1862"
+NAME="AEN1939"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1868"
+NAME="AEN1945"
 ></A
 ><H2
 >Description</H2
@@ -164,7 +164,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1880"
+NAME="AEN1957"
 ></A
 ><H2
 >Return Value</H2
@@ -181,7 +181,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1885"
+NAME="AEN1962"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlflip.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlflip.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_Flip</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN969"
+NAME="AEN1011"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN972"
+NAME="AEN1014"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN973"
+NAME="AEN1015"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN979"
+NAME="AEN1021"
 ></A
 ><H2
 >Description</H2
@@ -145,7 +145,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN987"
+NAME="AEN1029"
 ></A
 ><H2
 >Return Value</H2
@@ -162,7 +162,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN992"
+NAME="AEN1034"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlfreecursor.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlfreecursor.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_FreeCursor</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2042"
+NAME="AEN2121"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2045"
+NAME="AEN2124"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2046"
+NAME="AEN2125"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2052"
+NAME="AEN2131"
 ></A
 ><H2
 >Description</H2
@@ -129,7 +129,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2057"
+NAME="AEN2136"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlfreesurface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlfreesurface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_FreeSurface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,22 +73,22 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1409"
+NAME="AEN1478"
 ></A
 ><H2
 >Name</H2
->SDL_FreeSurface&nbsp;--&nbsp;Frees (deletes) and SDL_Surface</DIV
+>SDL_FreeSurface&nbsp;--&nbsp;Frees (deletes) a SDL_Surface</DIV
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1412"
+NAME="AEN1481"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1413"
+NAME="AEN1482"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1419"
+NAME="AEN1488"
 ></A
 ><H2
 >Description</H2
@@ -129,7 +129,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1424"
+NAME="AEN1493"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlfreewav.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlfreewav.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_FreeWAV</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6235"
+NAME="AEN6310"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6238"
+NAME="AEN6313"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6239"
+NAME="AEN6314"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6245"
+NAME="AEN6320"
 ></A
 ><H2
 >Description</H2
@@ -139,7 +139,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6253"
+NAME="AEN6328"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlfreeyuvoverlay.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlfreeyuvoverlay.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_FreeYUVOverlay</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2440"
+NAME="AEN2519"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2443"
+NAME="AEN2522"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2444"
+NAME="AEN2523"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2450"
+NAME="AEN2529"
 ></A
 ><H2
 >Description</H2
@@ -136,7 +136,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2457"
+NAME="AEN2536"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetappstate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetappstate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetAppState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5309"
+NAME="AEN5384"
 ></A
 ><H2
 >Name</H2
@@ -84,14 +84,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5313"
+NAME="AEN5388"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5314"
+NAME="AEN5389"
 ></A
 ><P
 ></P
@@ -115,7 +115,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5320"
+NAME="AEN5395"
 ></A
 ><H2
 >Description</H2
@@ -124,7 +124,7 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN5323"
+NAME="AEN5398"
 ></A
 ><P
 ></P
@@ -180,7 +180,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5338"
+NAME="AEN5413"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetaudiostatus.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetaudiostatus.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetAudioStatus</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN6168"
+NAME="AEN6243"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN6171"
+NAME="AEN6246"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN6172"
+NAME="AEN6247"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6178"
+NAME="AEN6253"
 ></A
 ><H2
 >Description</H2
@@ -138,7 +138,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN6185"
+NAME="AEN6260"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetcliprect.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetcliprect.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetClipRect</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1738"
+NAME="AEN1815"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1741"
+NAME="AEN1818"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1742"
+NAME="AEN1819"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1748"
+NAME="AEN1825"
 ></A
 ><H2
 >Description</H2
@@ -132,7 +132,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1753"
+NAME="AEN1830"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetcursor.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetcursor.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetCursor</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2091"
+NAME="AEN2170"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2094"
+NAME="AEN2173"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2095"
+NAME="AEN2174"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2101"
+NAME="AEN2180"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2104"
+NAME="AEN2183"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgeteventfilter.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgeteventfilter.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetEventFilter</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN4997"
+NAME="AEN5072"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5000"
+NAME="AEN5075"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5001"
+NAME="AEN5076"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5007"
+NAME="AEN5082"
 ></A
 ><H2
 >Description</H2
@@ -132,7 +132,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5013"
+NAME="AEN5088"
 ></A
 ><H2
 >Return Value</H2
@@ -145,7 +145,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5017"
+NAME="AEN5092"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetgammaramp.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetgammaramp.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetGammaRamp</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1141"
+NAME="AEN1183"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1144"
+NAME="AEN1186"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1145"
+NAME="AEN1187"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1151"
+NAME="AEN1193"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1155"
+NAME="AEN1197"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1158"
+NAME="AEN1200"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetkeyname.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetkeyname.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetKeyName</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5162"
+NAME="AEN5237"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5165"
+NAME="AEN5240"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5166"
+NAME="AEN5241"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5172"
+NAME="AEN5247"
 ></A
 ><H2
 >Description</H2
@@ -133,7 +133,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5178"
+NAME="AEN5253"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetkeystate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetkeystate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetKeyState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5068"
+NAME="AEN5143"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5071"
+NAME="AEN5146"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5072"
+NAME="AEN5147"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5078"
+NAME="AEN5153"
 ></A
 ><H2
 >Description</H2
@@ -149,7 +149,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5088"
+NAME="AEN5163"
 ></A
 ><H2
 >Example</H2
@@ -163,7 +163,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5092"
+NAME="AEN5167"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetmodstate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetmodstate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetModState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5103"
+NAME="AEN5178"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5106"
+NAME="AEN5181"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5107"
+NAME="AEN5182"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5113"
+NAME="AEN5188"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5116"
+NAME="AEN5191"
 ></A
 ><H2
 >Return Value</H2
@@ -130,7 +130,7 @@
 >The return value can be an OR'd combination of the SDLMod enum.</P
 ><P
 ><A
-NAME="AEN5120"
+NAME="AEN5195"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -158,7 +158,7 @@
 >
 SDL also defines the following symbols for convenience:
 <A
-NAME="AEN5123"
+NAME="AEN5198"
 ></A
 ><BLOCKQUOTE
 CLASS="BLOCKQUOTE"
@@ -174,7 +174,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5125"
+NAME="AEN5200"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetmousestate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetmousestate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetMouseState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5247"
+NAME="AEN5322"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5250"
+NAME="AEN5325"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5251"
+NAME="AEN5326"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5257"
+NAME="AEN5332"
 ></A
 ><H2
 >Description</H2
@@ -150,7 +150,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5266"
+NAME="AEN5341"
 ></A
 ><H2
 >Example</H2
@@ -163,7 +163,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5269"
+NAME="AEN5344"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetrelativemousestate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetrelativemousestate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetRelativeMouseState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5280"
+NAME="AEN5355"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5283"
+NAME="AEN5358"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5284"
+NAME="AEN5359"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5290"
+NAME="AEN5365"
 ></A
 ><H2
 >Description</H2
@@ -152,7 +152,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5300"
+NAME="AEN5375"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetrgb.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetrgb.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetRGB</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1261"
+NAME="AEN1303"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1264"
+NAME="AEN1306"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1265"
+NAME="AEN1307"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1271"
+NAME="AEN1313"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1275"
+NAME="AEN1317"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetrgba.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetrgba.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetRGBA</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1290"
+NAME="AEN1332"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1293"
+NAME="AEN1335"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1294"
+NAME="AEN1336"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1300"
+NAME="AEN1342"
 ></A
 ><H2
 >Description</H2
@@ -130,7 +130,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1305"
+NAME="AEN1347"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetthreadid.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetthreadid.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetThreadID</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7118"
+NAME="AEN7194"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7121"
+NAME="AEN7197"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7122"
+NAME="AEN7198"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7128"
+NAME="AEN7204"
 ></A
 ><H2
 >Description</H2
@@ -129,7 +129,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7133"
+NAME="AEN7209"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetticks.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetticks.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetTicks</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7808"
+NAME="AEN7884"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7811"
+NAME="AEN7887"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7812"
+NAME="AEN7888"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7818"
+NAME="AEN7894"
 ></A
 ><H2
 >Description</H2
@@ -123,7 +123,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7821"
+NAME="AEN7897"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetvideoinfo.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetvideoinfo.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetVideoInfo</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN656"
+NAME="AEN695"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN659"
+NAME="AEN698"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN660"
+NAME="AEN699"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN666"
+NAME="AEN705"
 ></A
 ><H2
 >Description</H2
@@ -136,7 +136,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN672"
+NAME="AEN711"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlgetvideosurface.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlgetvideosurface.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GetVideoSurface</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN634"
+NAME="AEN673"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN637"
+NAME="AEN676"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN638"
+NAME="AEN677"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN644"
+NAME="AEN683"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN647"
+NAME="AEN686"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglattr.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglattr.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GLattr</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2470"
+NAME="AEN2549"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2473"
+NAME="AEN2552"
 ></A
 ><H2
 >Attributes</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN2475"
+NAME="AEN2554"
 ></A
 ><P
 ></P
@@ -261,7 +261,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2526"
+NAME="AEN2605"
 ></A
 ><H2
 >Description</H2
@@ -286,7 +286,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2534"
+NAME="AEN2613"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglgetattribute.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglgetattribute.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GL_GetAttribute</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2210"
+NAME="AEN2289"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2213"
+NAME="AEN2292"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2214"
+NAME="AEN2293"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2220"
+NAME="AEN2299"
 ></A
 ><H2
 >Description</H2
@@ -144,7 +144,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2229"
+NAME="AEN2308"
 ></A
 ><H2
 >Return Value</H2
@@ -160,7 +160,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2234"
+NAME="AEN2313"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglgetprocaddress.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglgetprocaddress.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GL_GetProcAddress</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2180"
+NAME="AEN2259"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2183"
+NAME="AEN2262"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2184"
+NAME="AEN2263"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2190"
+NAME="AEN2269"
 ></A
 ><H2
 >Description</H2
@@ -139,7 +139,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2198"
+NAME="AEN2277"
 ></A
 ><H2
 >Example</H2
@@ -176,7 +176,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2201"
+NAME="AEN2280"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglloadlibrary.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglloadlibrary.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GL_LoadLibrary</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2150"
+NAME="AEN2229"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2153"
+NAME="AEN2232"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2154"
+NAME="AEN2233"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2160"
+NAME="AEN2239"
 ></A
 ><H2
 >Description</H2
@@ -148,7 +148,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2171"
+NAME="AEN2250"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglsetattribute.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglsetattribute.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GL_SetAttribute</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2244"
+NAME="AEN2323"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2247"
+NAME="AEN2326"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2248"
+NAME="AEN2327"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2254"
+NAME="AEN2333"
 ></A
 ><H2
 >Description</H2
@@ -150,7 +150,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2265"
+NAME="AEN2344"
 ></A
 ><H2
 >Return Value</H2
@@ -166,7 +166,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2270"
+NAME="AEN2349"
 ></A
 ><H2
 >Example</H2
@@ -199,7 +199,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2276"
+NAME="AEN2355"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlglswapbuffers.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlglswapbuffers.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_GL_SwapBuffers</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN2286"
+NAME="AEN2365"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN2289"
+NAME="AEN2368"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN2290"
+NAME="AEN2369"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2296"
+NAME="AEN2375"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN2299"
+NAME="AEN2378"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlinit.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlinit.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_Init</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN401"
+NAME="AEN440"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN404"
+NAME="AEN443"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN405"
+NAME="AEN444"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN411"
+NAME="AEN450"
 ></A
 ><H2
 >Description</H2
@@ -126,7 +126,7 @@
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN415"
+NAME="AEN454"
 ></A
 ><P
 ></P
@@ -262,7 +262,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN455"
+NAME="AEN494"
 ></A
 ><H2
 >Return Value</H2
@@ -278,7 +278,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN460"
+NAME="AEN499"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlinitsubsystem.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlinitsubsystem.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_InitSubSystem</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN471"
+NAME="AEN510"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN474"
+NAME="AEN513"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN475"
+NAME="AEN514"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN481"
+NAME="AEN520"
 ></A
 ><H2
 >Description</H2
@@ -142,7 +142,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN490"
+NAME="AEN529"
 ></A
 ><H2
 >Examples</H2
@@ -170,7 +170,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN493"
+NAME="AEN532"
 ></A
 ><H2
 >Return Value</H2
@@ -186,7 +186,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN498"
+NAME="AEN537"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoyaxisevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoyaxisevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoyAxisEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3695"
+NAME="AEN3770"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3698"
+NAME="AEN3773"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3701"
+NAME="AEN3776"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3703"
+NAME="AEN3778"
 ></A
 ><P
 ></P
@@ -184,7 +184,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3723"
+NAME="AEN3798"
 ></A
 ><H2
 >Description</H2
@@ -229,7 +229,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3736"
+NAME="AEN3811"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoyballevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoyballevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoyBallEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3888"
+NAME="AEN3963"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3891"
+NAME="AEN3966"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3894"
+NAME="AEN3969"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3896"
+NAME="AEN3971"
 ></A
 ><P
 ></P
@@ -189,7 +189,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3917"
+NAME="AEN3992"
 ></A
 ><H2
 >Description</H2
@@ -239,7 +239,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3931"
+NAME="AEN4006"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoybuttonevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoybuttonevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoyButtonEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3750"
+NAME="AEN3825"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3753"
+NAME="AEN3828"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3756"
+NAME="AEN3831"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3758"
+NAME="AEN3833"
 ></A
 ><P
 ></P
@@ -193,7 +193,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3781"
+NAME="AEN3856"
 ></A
 ><H2
 >Description</H2
@@ -250,7 +250,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3798"
+NAME="AEN3873"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoyhatevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoyhatevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoyHatEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3812"
+NAME="AEN3887"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3815"
+NAME="AEN3890"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3818"
+NAME="AEN3893"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3820"
+NAME="AEN3895"
 ></A
 ><P
 ></P
@@ -184,7 +184,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3840"
+NAME="AEN3915"
 ></A
 ><H2
 >Description</H2
@@ -312,7 +312,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3874"
+NAME="AEN3949"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickclose.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickclose.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickClose</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5847"
+NAME="AEN5922"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5850"
+NAME="AEN5925"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5851"
+NAME="AEN5926"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5857"
+NAME="AEN5932"
 ></A
 ><H2
 >Description</H2
@@ -133,7 +133,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5863"
+NAME="AEN5938"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickeventstate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickeventstate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickEventState</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5347"
+NAME="AEN5422"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5350"
+NAME="AEN5425"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5351"
+NAME="AEN5426"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5357"
+NAME="AEN5432"
 ></A
 ><H2
 >Description</H2
@@ -152,7 +152,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5368"
+NAME="AEN5443"
 ></A
 ><H2
 >Return Value</H2
@@ -175,7 +175,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5374"
+NAME="AEN5449"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickgetaxis.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickgetaxis.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickGetAxis</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5698"
+NAME="AEN5773"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5701"
+NAME="AEN5776"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5702"
+NAME="AEN5777"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5708"
+NAME="AEN5783"
 ></A
 ><H2
 >Description</H2
@@ -155,7 +155,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5719"
+NAME="AEN5794"
 ></A
 ><H2
 >Return Value</H2
@@ -170,7 +170,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5723"
+NAME="AEN5798"
 ></A
 ><H2
 >Examples</H2
@@ -188,7 +188,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5727"
+NAME="AEN5802"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickgetball.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickgetball.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickGetBall</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5811"
+NAME="AEN5886"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5814"
+NAME="AEN5889"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5815"
+NAME="AEN5890"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5821"
+NAME="AEN5896"
 ></A
 ><H2
 >Description</H2
@@ -142,7 +142,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5829"
+NAME="AEN5904"
 ></A
 ><H2
 >Return Value</H2
@@ -158,7 +158,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5834"
+NAME="AEN5909"
 ></A
 ><H2
 >Examples</H2
@@ -179,7 +179,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5838"
+NAME="AEN5913"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickgetbutton.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickgetbutton.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickGetButton</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5782"
+NAME="AEN5857"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5785"
+NAME="AEN5860"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5786"
+NAME="AEN5861"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5792"
+NAME="AEN5867"
 ></A
 ><H2
 >Description</H2
@@ -132,7 +132,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5797"
+NAME="AEN5872"
 ></A
 ><H2
 >Return Value</H2
@@ -148,7 +148,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5802"
+NAME="AEN5877"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickgethat.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickgethat.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickGetHat</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5736"
+NAME="AEN5811"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5739"
+NAME="AEN5814"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5740"
+NAME="AEN5815"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5746"
+NAME="AEN5821"
 ></A
 ><H2
 >Description</H2
@@ -132,7 +132,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5751"
+NAME="AEN5826"
 ></A
 ><H2
 >Return Value</H2
@@ -214,7 +214,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5773"
+NAME="AEN5848"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickindex.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickindex.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickIndex</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5536"
+NAME="AEN5611"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5539"
+NAME="AEN5614"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5540"
+NAME="AEN5615"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5546"
+NAME="AEN5621"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5550"
+NAME="AEN5625"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5553"
+NAME="AEN5628"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickname.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickname.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickName</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5444"
+NAME="AEN5519"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5447"
+NAME="AEN5522"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5448"
+NAME="AEN5523"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5454"
+NAME="AEN5529"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5458"
+NAME="AEN5533"
 ></A
 ><H2
 >Return Value</H2
@@ -137,7 +137,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5461"
+NAME="AEN5536"
 ></A
 ><H2
 >Examples</H2
@@ -155,7 +155,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5465"
+NAME="AEN5540"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoysticknumaxes.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoysticknumaxes.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickNumAxes</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5562"
+NAME="AEN5637"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5565"
+NAME="AEN5640"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5566"
+NAME="AEN5641"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5572"
+NAME="AEN5647"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5576"
+NAME="AEN5651"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5579"
+NAME="AEN5654"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoysticknumballs.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoysticknumballs.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickNumBalls</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5590"
+NAME="AEN5665"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5593"
+NAME="AEN5668"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5594"
+NAME="AEN5669"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5600"
+NAME="AEN5675"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5604"
+NAME="AEN5679"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5607"
+NAME="AEN5682"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoysticknumbuttons.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoysticknumbuttons.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickNumButtons</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5646"
+NAME="AEN5721"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5649"
+NAME="AEN5724"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5650"
+NAME="AEN5725"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5656"
+NAME="AEN5731"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5660"
+NAME="AEN5735"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5663"
+NAME="AEN5738"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoysticknumhats.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoysticknumhats.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickNumHats</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5618"
+NAME="AEN5693"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5621"
+NAME="AEN5696"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5622"
+NAME="AEN5697"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5628"
+NAME="AEN5703"
 ></A
 ><H2
 >Description</H2
@@ -125,7 +125,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5632"
+NAME="AEN5707"
 ></A
 ><H2
 >Return Value</H2
@@ -135,7 +135,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5635"
+NAME="AEN5710"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickopen.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickopen.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickOpen</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5474"
+NAME="AEN5549"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5477"
+NAME="AEN5552"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5478"
+NAME="AEN5553"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5484"
+NAME="AEN5559"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5488"
+NAME="AEN5563"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5493"
+NAME="AEN5568"
 ></A
 ><H2
 >Examples</H2
@@ -176,7 +176,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5497"
+NAME="AEN5572"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickopened.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickopened.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickOpened</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5506"
+NAME="AEN5581"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5509"
+NAME="AEN5584"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5510"
+NAME="AEN5585"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5516"
+NAME="AEN5591"
 ></A
 ><H2
 >Description</H2
@@ -127,7 +127,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5520"
+NAME="AEN5595"
 ></A
 ><H2
 >Return Value</H2
@@ -143,7 +143,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5525"
+NAME="AEN5600"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdljoystickupdate.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdljoystickupdate.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_JoystickUpdate</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN5674"
+NAME="AEN5749"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN5677"
+NAME="AEN5752"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN5678"
+NAME="AEN5753"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5684"
+NAME="AEN5759"
 ></A
 ><H2
 >Description</H2
@@ -128,7 +128,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN5689"
+NAME="AEN5764"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlkey.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlkey.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDLKey</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN4171"
+NAME="AEN4246"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4174"
+NAME="AEN4249"
 ></A
 ><H2
 >Description</H2
@@ -89,7 +89,7 @@
 >&#13;<DIV
 CLASS="TABLE"
 ><A
-NAME="AEN4177"
+NAME="AEN4252"
 ></A
 ><P
 ><B
--- a/docs/html/sdlkeyboardevent.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlkeyboardevent.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_KeyboardEvent</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN3503"
+NAME="AEN3578"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3506"
+NAME="AEN3581"
 ></A
 ><H2
 >Structure Definition</H2
@@ -96,14 +96,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3509"
+NAME="AEN3584"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN3511"
+NAME="AEN3586"
 ></A
 ><P
 ></P
@@ -177,7 +177,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3530"
+NAME="AEN3605"
 ></A
 ><H2
 >Description</H2
@@ -271,7 +271,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN3556"
+NAME="AEN3631"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlkeysym.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlkeysym.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_keysym</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN4116"
+NAME="AEN4191"
 ></A
 ><H2
 >Name</H2
@@ -81,7 +81,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4119"
+NAME="AEN4194"
 ></A
 ><H2
 >Structure Definition</H2
@@ -97,14 +97,14 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4122"
+NAME="AEN4197"
 ></A
 ><H2
 >Structure Data</H2
 ><DIV
 CLASS="INFORMALTABLE"
 ><A
-NAME="AEN4124"
+NAME="AEN4199"
 ></A
 ><P
 ></P
@@ -181,7 +181,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4143"
+NAME="AEN4218"
 ></A
 ><H2
 >Description</H2
@@ -272,7 +272,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN4162"
+NAME="AEN4237"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlkillthread.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlkillthread.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_KillThread</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN7169"
+NAME="AEN7245"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN7172"
+NAME="AEN7248"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN7173"
+NAME="AEN7249"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7179"
+NAME="AEN7255"
 ></A
 ><H2
 >Description</H2
@@ -133,7 +133,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN7184"
+NAME="AEN7260"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdllistmodes.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdllistmodes.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_ListModes</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN715"
+NAME="AEN754"
 ></A
 ><H2
 >Name</H2
@@ -82,14 +82,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN718"
+NAME="AEN757"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN719"
+NAME="AEN758"
 ></A
 ><P
 ></P
@@ -113,7 +113,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN725"
+NAME="AEN764"
 ></A
 ><H2
 >Description</H2
@@ -169,7 +169,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN740"
+NAME="AEN779"
 ></A
 ><H2
 >Example</H2
@@ -206,7 +206,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN743"
+NAME="AEN782"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlloadbmp.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlloadbmp.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_LoadBMP</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
 "><LINK
 REL="HOME"
 TITLE="SDL Library Documentation"
@@ -73,7 +73,7 @@
 ><DIV
 CLASS="REFNAMEDIV"
 ><A
-NAME="AEN1505"
+NAME="AEN1574"
 ></A
 ><H2
 >Name</H2
@@ -81,14 +81,14 @@
 ><DIV
 CLASS="REFSYNOPSISDIV"
 ><A
-NAME="AEN1508"
+NAME="AEN1577"
 ></A
 ><H2
 >Synopsis</H2
 ><DIV
 CLASS="FUNCSYNOPSIS"
 ><A
-NAME="AEN1509"
+NAME="AEN1578"
 ></A
 ><P
 ></P
@@ -112,7 +112,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1515"
+NAME="AEN1584"
 ></A
 ><H2
 >Description</H2
@@ -122,7 +122,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1518"
+NAME="AEN1587"
 ></A
 ><H2
 >Return Value</H2
@@ -136,7 +136,7 @@
 ><DIV
 CLASS="REFSECT1"
 ><A
-NAME="AEN1522"
+NAME="AEN1591"
 ></A
 ><H2
 >See Also</H2
--- a/docs/html/sdlloadwav.html	Sun Jun 10 18:39:47 2001 +0000
+++ b/docs/html/sdlloadwav.html	Sun Jun 10 19:31:57 2001 +0000
@@ -4,7 +4,7 @@
 >SDL_LoadWAV</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.61
+CONTENT="Modular DocBook HTML Stylesheet Version 1.64
</