comparison eosd @ 421:b1248bab2d0f

Add back music and SFX playback using SDL_mixer instead of pyglet, and add FLAC and Vorbis support.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:07:15 +0200
parents e23871eddb7a
children 52829ebe2561
comparison
equal deleted inserted replaced
420:3a7b36324611 421:b1248bab2d0f
202 runner.load_game(game, background, stage.bgms, replay, save_keystates) 202 runner.load_game(game, background, stage.bgms, replay, save_keystates)
203 try: 203 try:
204 runner.start() 204 runner.start()
205 break 205 break
206 except NextStage: 206 except NextStage:
207 game.music.pause()
208 if not story or stage_num == (7 if boss_rush else 6 if rank > 0 else 5): 207 if not story or stage_num == (7 if boss_rush else 6 if rank > 0 else 5):
209 break 208 break
210 stage_num += 1 209 stage_num += 1
211 states = [player.state.copy() for player in game.players] # if player.state.lives >= 0] 210 states = [player.state.copy() for player in game.players] # if player.state.lives >= 0]
212 except GameOver: 211 except GameOver: