diff 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
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pyx
+++ b/pytouhou/ui/gamerenderer.pyx
@@ -76,6 +76,7 @@ cdef class GameRenderer(Renderer):
             self.setup_camera(0, 0, 1)
 
             glDisable(GL_FOG)
+            self.render_elements(chain(*(enemy.objects() for enemy in game.enemies)))
             self.render_elements(game.enemies)
             self.render_elements(game.effects)
             self.render_elements(chain(game.players_bullets,