comparison pytouhou/ui/gamerenderer.pyx @ 286:4838e9bab0f9

Implement dialogs (MSG files).
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 12 Feb 2012 16:06:03 +0100
parents f037bca24f2d
children 94c636f8f863
comparison
equal deleted inserted replaced
285:2100276c289d 286:4838e9bab0f9
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.players, 87 game.players,
88 game.msg_sprites(),
88 *(player.objects() for player in game.players))) 89 *(player.objects() for player in game.players)))
89 self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items)) 90 self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items))
90 #TODO: display item indicators 91 #TODO: display item indicators
91 glEnable(GL_FOG) 92 glEnable(GL_FOG)
92 93