Commits

Anonymous committed bc9568c

no message

Comments (0)

Files changed (25)

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=ref/Channel.html>Channel</a> || 
 <a href=ref/Font.html>Font</a> || 
 <a href=ref/Joystick.html>Joystick</a> || 
-<a href=ref/Rect.html>Rect</a> ||<br>
+<a href=ref/Rect.html>Rect</a> || 
+<a href=ref/Sound.html>Sound</a> || 
+<a href=ref/Surface.html>Surface</a> ||<br>
 || <a href=ref/pygame.html>pygame</a> || 
 <a href=ref/pygame_cdrom.html>cdrom</a> || 
 <a href=ref/pygame_constants.html>constants</a> || 
 <a href=ref/pygame_display.html>display</a> || 
-<a href=ref/pygame_event.html>event</a> ||<br>
+<a href=ref/pygame_event.html>event</a> || 
+<a href=ref/pygame_font.html>font</a> || 
+<a href=ref/pygame_image.html>image</a> ||<br>
 || <a href=ref/pygame_joystick.html>joystick</a> || 
 <a href=ref/pygame_key.html>key</a> || 
 <a href=ref/pygame_mixer.html>mixer</a> || 
 <a href=ref/pygame_mouse.html>mouse</a> || 
-<a href=ref/pygame_music.html>music</a> ||<br>
+<a href=ref/pygame_music.html>music</a> || 
+<a href=ref/pygame_surfarray.html>surfarray</a> || 
+<a href=ref/pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 
 <font size=+1><b>Text File Documentation</b></font><br><li><a href=init.txt>init</a> - Information about importing and initializing pygame
 </li>
-<li><a href=install.txt>install</a> - Quickie build instructions for building and installing pyGame
+<li><a href=install.txt>install</a> - Quickie build instructions for building and installing pygame
 </li><br>&nbsp;<br><font size=+1><b>Tutorials</b></font><br><li><a href=tut/DisplayModes.html>tut/DisplayModes</a> - Setting Display Modes
 </li>
 
 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Channel.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Font.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Joystick.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Rect.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 <br>
 <h2 align=center>Rect</h2>
 The rectangle object is a useful object
-representing a rectangle area. It contains many
-helpful methods, as well as a list of modifiable
-members:
+representing a rectangle area. Rectangles are
+created from the pygame.rect() function. This routine
+is also in the locals module, so importing the locals
+into your namespace allows you to just use rect().
+<br>&nbsp;<br>
+Rect contains helpful methods, as well as a list of
+modifiable members:
 top, bottom, left, right, topleft, topright,
 bottomleft, bottomright, size, width, height,
 center, centerx, centery. When changing these
-members, the rectangle will be moved to given
+members, the rectangle will be moved to the given
 assignment. (except when changing the size, width,
 or height member, which will resize the rectangle
 around the center).

docs/ref/Sound.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/Surface.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_cdrom.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_constants.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_display.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_event.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_font.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_image.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_joystick.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_key.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_mixer.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_mouse.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_music.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>
 query state of the music</td></tr>
 
 
+<tr><td><a href=#get_endevent>get_endevent</a></td><td> -
+query the current music finished event</td></tr>
+
+
 <tr><td><a href=#get_init>get_init</a></td><td> -
 query the music module</td></tr>
 
 restarts music</td></tr>
 
 
+<tr><td><a href=#set_endevent>set_endevent</a></td><td> -
+sets music finished event</td></tr>
+
+
 <tr><td><a href=#set_volume>set_volume</a></td><td> -
 set music volume</td></tr>
 
 Returns true if music is currently playing
 </ul><br>&nbsp;<br>
 
+<a name=get_endevent><font size=+2><b>get_endevent
+</b></font><br><font size=+1><tt>
+pygame.music.get_endevent([eventid]) -> int
+</tt></font><ul>
+When the music has finished playing, you can optionally have
+pygame place a user defined message on the event queue. If there
+is no callback event set, NOEVENT will be returned. Otherwise it
+will return the id of the current music finishe event.
+</ul><br>&nbsp;<br>
+
 <a name=get_init><font size=+2><b>get_init
 </b></font><br><font size=+1><tt>
 pygame.music.get_init() -> bool
 Restarts playback of the current music.
 </ul><br>&nbsp;<br>
 
+<a name=set_endevent><font size=+2><b>set_endevent
+</b></font><br><font size=+1><tt>
+pygame.music.set_endevent([eventid]) -> None
+</tt></font><ul>
+When the music has finished playing, you can optionally have
+pygame place a user defined message on the event queue. If the
+eventid field is omittied or NOEVENT, no messages will be sent
+when the music finishes playing. Once the endevent is set, it
+will be called every time the music finished playing.
+</ul><br>&nbsp;<br>
+
 <a name=set_volume><font size=+2><b>set_volume
 </b></font><br><font size=+1><tt>
 pygame.music.set_volume(val) -> None

docs/ref/pygame_surfarray.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/ref/pygame_time.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 <a href=Channel.html>Channel</a> || 
 <a href=Font.html>Font</a> || 
 <a href=Joystick.html>Joystick</a> || 
-<a href=Rect.html>Rect</a> ||<br>
+<a href=Rect.html>Rect</a> || 
+<a href=Sound.html>Sound</a> || 
+<a href=Surface.html>Surface</a> ||<br>
 || <a href=pygame.html>pygame</a> || 
 <a href=pygame_cdrom.html>cdrom</a> || 
 <a href=pygame_constants.html>constants</a> || 
 <a href=pygame_display.html>display</a> || 
-<a href=pygame_event.html>event</a> ||<br>
+<a href=pygame_event.html>event</a> || 
+<a href=pygame_font.html>font</a> || 
+<a href=pygame_image.html>image</a> ||<br>
 || <a href=pygame_joystick.html>joystick</a> || 
 <a href=pygame_key.html>key</a> || 
 <a href=pygame_mixer.html>mixer</a> || 
 <a href=pygame_mouse.html>mouse</a> || 
-<a href=pygame_music.html>music</a> ||<br>
+<a href=pygame_music.html>music</a> || 
+<a href=pygame_surfarray.html>surfarray</a> || 
+<a href=pygame_time.html>time</a> ||<br>
 
 
 </td></tr></table>

docs/util/makedocs.py

         l.append(str)
     l.sort()
     str = ''
-    for x in range(0, len(l), 7):
-        row = l[x:x+5]
+    items_per_line = 7
+    for x in range(0, len(l), items_per_line):
+        row = l[x:x+items_per_line]
         str += '|| ' + ' || \n'.join(row) + ' ||<br>\n'
     return str
     
     global MODULETOC
     pathed_toc = create_toc(alldocs[2], 'ref/')
     MODULETOC = create_toc(alldocs[2])
+    print MODULETOC
+
 
     #categorize
     alldocs[2] = categorize(alldocs[2])
-
     #write html
     print 'writing...'
     writefuncdoc(alldocs)

docs/util/pagelate.html

 <table border=0 width=100% cellpadding=0 cellspacing=0 bgcolor=#f5f5f5><tr valign=top>
 <td rowspan=2><table border=0 cellpadding=5 cellspacing=0 bgcolor=#333377>
 <tr height=86 align=left><td valign=middle><font color=#ffffff size=+5>
-	<a href=../><font size=+5 color=#ffffff><i><b>
+	<a href=../index.html><font size=+5 color=#ffffff><i><b>
       pygame</b></i></font></a>&nbsp;&nbsp;</td>
 <td valign=middle><tt><font color=#dddddd><br>
 	PyGame<br>Documentation</font>
 
     /*DOC*/ static char doc_Rect_MODULE[] =
     /*DOC*/    "The rectangle object is a useful object\n"
-    /*DOC*/    "representing a rectangle area. It contains many\n"
-    /*DOC*/    "helpful methods, as well as a list of modifiable\n"
-    /*DOC*/    "members:\n"
+    /*DOC*/    "representing a rectangle area. Rectangles are\n"
+	/*DOC*/    "created from the pygame.rect() function. This routine\n"
+	/*DOC*/    "is also in the locals module, so importing the locals\n"
+	/*DOC*/    "into your namespace allows you to just use rect().\n"
+    /*DOC*/    "\n"
+    /*DOC*/    "Rect contains helpful methods, as well as a list of\n"
+    /*DOC*/    "modifiable members:\n"
     /*DOC*/    "top, bottom, left, right, topleft, topright,\n"
     /*DOC*/    "bottomleft, bottomright, size, width, height,\n"
     /*DOC*/    "center, centerx, centery. When changing these\n"
-    /*DOC*/    "members, the rectangle will be moved to given\n"
+    /*DOC*/    "members, the rectangle will be moved to the given\n"
     /*DOC*/    "assignment. (except when changing the size, width,\n"
     /*DOC*/    "or height member, which will resize the rectangle\n"
     /*DOC*/    "around the center).\n"