comparison pytouhou/ui/gamerenderer.pyx @ 242:1d3c8c7473a2

Implement auxiliary animations of enemies like magic circles, and interruptions from ecl.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 02 Jan 2012 15:46:29 +0100
parents 98c64ffcbdff
children 6bd565019f9a
comparison
equal deleted inserted replaced
241:dd2bd7283bec 242:1d3c8c7473a2
74 74
75 if game is not None: 75 if game is not None:
76 self.setup_camera(0, 0, 1) 76 self.setup_camera(0, 0, 1)
77 77
78 glDisable(GL_FOG) 78 glDisable(GL_FOG)
79 self.render_elements(chain(*(enemy.objects() for enemy in game.enemies)))
79 self.render_elements(game.enemies) 80 self.render_elements(game.enemies)
80 self.render_elements(game.effects) 81 self.render_elements(game.effects)
81 self.render_elements(chain(game.players_bullets, 82 self.render_elements(chain(game.players_bullets,
82 game.players, 83 game.players,
83 *(player.objects() for player in game.players))) 84 *(player.objects() for player in game.players)))