diff pytouhou/opengl/gamerenderer.pyx @ 150:4f46717390aa

Introduce items, implement ECL instruction 83
author Thibaut Girka <thib@sitedethib.com>
date Tue, 04 Oct 2011 23:09:41 +0200
parents 6460814b68ea
children 5cf927cbd9c5
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx
+++ b/pytouhou/opengl/gamerenderer.pyx
@@ -152,5 +152,7 @@ cdef class GameRenderer:
             self.render_elements(game.enemies)
             self.render_elements(game.players)
             self.render_elements(game.game_state.bullets)
+            self.render_elements(game.game_state.items)
+            #TODO: display item indicators
             glEnable(GL_FOG)