# HG changeset patch # User Jeremy Thurgood # Date 1302392770 -7200 # Node ID 62569f486edee52e14626b1979d6f36e4ca62777 # Parent 0216b50124118aff45135c2230e7f23640578844 Debug print cleanup. diff -r 0216b5012411 -r 62569f486ede skaapsteker/dialogue.py --- a/skaapsteker/dialogue.py Sun Apr 10 01:36:11 2011 +0200 +++ b/skaapsteker/dialogue.py Sun Apr 10 01:46:10 2011 +0200 @@ -41,7 +41,6 @@ def _drop_item(self, item, shift=(1, 0)): """Create a tail of the given type.""" - print "Dropping", item to_level = self._me.level to_pos = self._me.pos to_pos = to_pos[0] + shift[0], to_pos[1] + shift[1] diff -r 0216b5012411 -r 62569f486ede skaapsteker/levelscene.py --- a/skaapsteker/levelscene.py Sun Apr 10 01:36:11 2011 +0200 +++ b/skaapsteker/levelscene.py Sun Apr 10 01:46:10 2011 +0200 @@ -344,7 +344,6 @@ return if self._detect_key_sequence(ev): - print "Detected double-tap:", self._key_sequence action = self._key_tap_map.get(tuple(self._key_sequence)) if action is not None: action() diff -r 0216b5012411 -r 62569f486ede skaapsteker/physics.py --- a/skaapsteker/physics.py Sun Apr 10 01:36:11 2011 +0200 +++ b/skaapsteker/physics.py Sun Apr 10 01:46:10 2011 +0200 @@ -169,7 +169,6 @@ return not bool(new_collisions - old_collisions) def fix_bounds(self, bounds): - print "Killing", self, self.rect, self._float_pos, bounds self.kill() diff -r 0216b5012411 -r 62569f486ede skaapsteker/sound.py --- a/skaapsteker/sound.py Sun Apr 10 01:36:11 2011 +0200 +++ b/skaapsteker/sound.py Sun Apr 10 01:46:10 2011 +0200 @@ -24,13 +24,13 @@ if want_sound: # See if we can actually enabled sound try: - mixer.init(FREQ, BITSIZE, CHANNELS, BUFFER) - test_sound = mixer.Sound(data.filepath('sounds/silence.ogg')) - test_sound.play() - self.sound_enabled = True + mixer.init(FREQ, BITSIZE, CHANNELS, BUFFER) + test_sound = mixer.Sound(data.filepath('sounds/silence.ogg')) + test_sound.play() + self.sound_enabled = True except pygame.error: - print 'Unable to enable sound' - self.sound_enabled = False + print 'Unable to enable sound' + self.sound_enabled = False else: self.sound_enabled = False diff -r 0216b5012411 -r 62569f486ede skaapsteker/sprites/player.py --- a/skaapsteker/sprites/player.py Sun Apr 10 01:36:11 2011 +0200 +++ b/skaapsteker/sprites/player.py Sun Apr 10 01:46:10 2011 +0200 @@ -234,7 +234,6 @@ "Shield on." return elif 'shield' in self._me.tails and self.check_fire_rate('shield'): - print "Activating shield." self._shield_start_time = time.time() self.using_shield = 1 return