Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
163:ee0bbde02c48 | 164:5271789c067d |
---|---|
151 glDisable(GL_FOG) | 151 glDisable(GL_FOG) |
152 self.render_elements(game.enemies) | 152 self.render_elements(game.enemies) |
153 self.render_elements(game.players) | 153 self.render_elements(game.players) |
154 self.render_elements(game.bullets) | 154 self.render_elements(game.bullets) |
155 self.render_elements(game.cancelled_bullets) | 155 self.render_elements(game.cancelled_bullets) |
156 self.render_elements(game.players_bullets) | |
156 self.render_elements(game.items) | 157 self.render_elements(game.items) |
157 #TODO: display item indicators | 158 #TODO: display item indicators |
158 glEnable(GL_FOG) | 159 glEnable(GL_FOG) |
159 | 160 |