Commits

Anonymous committed b731672

new version module

  • Participants
  • Parent commits fd87525

Comments (0)

Files changed (7)

 #This is a list of changes in pygame's history.
 
+Jan 6, 2001
+	added pygame.version module
+
 pygame-05
 Jan 6, 2001
 	Final cleanups for the new release
 </li>
 <li><a href=tut/DisplayModes.html>tut/DisplayModes</a> - Choosing and Configuring Display Modes
 </li>
+<li><a href=tut/chimp.py.html>tut/chimp.py</a> - 		  <BODY BGCOLOR=#FFFFFF>
+</li>
 
 <hr>
 

docs/ref/Rect.html

 Rect.colliderect(rectstyle) -> bool
 </tt></font><ul>
 Returns true if any area of the two rectangles
-overlaps. If rectangles only share an edge, they
-will be counted as overlapping.
+overlaps.
 </ul><br>&nbsp;<br>
 
 <a name=contains><font size=+2><b>contains
 # main pygame source
 # lets get things coordinated
 
+from pygame.version import version
+
 from pygame.base import *
 from pygame.surface import *
 from pygame.rect import *
+##    pygame - Python Game Library
+##    Copyright (C) 2000  Pete Shinners
+##
+##    This library is free software; you can redistribute it and/or
+##    modify it under the terms of the GNU Library General Public
+##    License as published by the Free Software Foundation; either
+##    version 2 of the License, or (at your option) any later version.
+##
+##    This library is distributed in the hope that it will be useful,
+##    but WITHOUT ANY WARRANTY; without even the implied warranty of
+##    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+##    Library General Public License for more details.
+##
+##    You should have received a copy of the GNU Library General Public
+##    License along with this library; if not, write to the Free
+##    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+##
+##    Pete Shinners
+##    pete@shinners.org
+
+"""simple pygame version info, easily accessable"""
+
+version = '0.5'
     /*DOC*/    "check overlapping rectangles\n"
     /*DOC*/    "\n"
     /*DOC*/    "Returns true if any area of the two rectangles\n"
-    /*DOC*/    "overlaps. If rectangles only share an edge, they\n"
-    /*DOC*/    "will be counted as overlapping.\n"
+    /*DOC*/    "overlaps.\n"
     /*DOC*/ ;
 
 static PyObject* rect_colliderect(PyObject* oself, PyObject* args)
 	int ticks;
 	if(!PyArg_ParseTuple(arg, "i", &ticks))
 	{
-		printf("HMM, BAD ARGUMENTS.\nLet's try to troubleshoot this little bug...\n");
+		printf("HMM, BAD ARGUMENTS IN time.delay().\nLet's try to troubleshoot this little bug...\n");
 		printf("Python Says you passed %d arguments.\n", PyTuple_Size(arg));
 		if(PyTuple_Size(arg)>= 1)
 		{