--- civil-0.83/src/civil.py~ 2006-09-11 14:07:45.000000000 +0200 +++ civil-0.83/src/civil.py 2006-09-11 14:08:30.000000000 +0200 @@ -354,31 +354,6 @@ def initAudio (): ############################################################################################### -def checkRequirements (): - """This function tries to do some sanity checks about the used system. If the system doesn't - fulfill the requirements, and the requirement is vital, then this method should return 0. If all - is ok to proceed then it should return 1.""" - - # is this the broken pygame? - if versionToInt ('1.5') <= versionToInt (pygame.version.ver) <= versionToInt('1.5.2'): - # oops, we can't just handle this version of pygame, it'll just crash and burn at any random - # point - print - print "Pygame is version %s, and that version has a few bugs that we can't " % pygame.version.ver - print "work around. Please upgrade to a version >= 1.5.1" - print - print "Sorry for the inconvenience." - print - return 0 - - else: - print "pygame version is %s, works ok" % pygame.version.ver - - # no problems - return 1 - - -############################################################################################### def setupIcon (): """Sets up the desktop icon to be used for Civil.""" # load the civil icon @@ -417,12 +392,7 @@ def initAll (): # setup a nice window manager icon setupIcon () - - # check if all kinds of requirements are met - if not checkRequirements (): - # not ok - quit () - + # set keyboard repeat speed pygame.key.set_repeat ( 200, 20 )