comparison pytouhou/ui/gamerenderer.pyx @ 294:94c636f8f863

Add player lasers for MarisaB.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 21 Feb 2012 14:28:38 +0100
parents 4838e9bab0f9
children f3099ebf4f61
comparison
equal deleted inserted replaced
293:ab618c2bbce8 294:94c636f8f863
82 glDisable(GL_FOG) 82 glDisable(GL_FOG)
83 self.render_elements(chain(*(enemy.objects() for enemy in game.enemies if enemy._visible))) 83 self.render_elements(chain(*(enemy.objects() for enemy in game.enemies if enemy._visible)))
84 self.render_elements(enemy for enemy in game.enemies if enemy._visible) 84 self.render_elements(enemy for enemy in game.enemies if enemy._visible)
85 self.render_elements(game.effects) 85 self.render_elements(game.effects)
86 self.render_elements(chain(game.players_bullets, 86 self.render_elements(chain(game.players_bullets,
87 game.lasers_sprites(),
87 game.players, 88 game.players,
88 game.msg_sprites(), 89 game.msg_sprites(),
89 *(player.objects() for player in game.players))) 90 *(player.objects() for player in game.players)))
90 self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items)) 91 self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items))
91 #TODO: display item indicators 92 #TODO: display item indicators