diff pytouhou/opengl/gamerenderer.pyx @ 164:5271789c067d

Implement player bullets rendering and updating.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 16 Oct 2011 08:01:28 -0700
parents 7e7368356445
children dcf32488a2c9
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx
+++ b/pytouhou/opengl/gamerenderer.pyx
@@ -153,6 +153,7 @@ cdef class GameRenderer:
             self.render_elements(game.players)
             self.render_elements(game.bullets)
             self.render_elements(game.cancelled_bullets)
+            self.render_elements(game.players_bullets)
             self.render_elements(game.items)
             #TODO: display item indicators
             glEnable(GL_FOG)