Mercurial > touhou
comparison pytouhou/opengl/gamerenderer.pyx @ 199:8ec34c56fed0
Implement orbs.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 31 Oct 2011 09:38:57 -0700 |
parents | 46793ccfedca |
children | 220c122f428c |
comparison
equal
deleted
inserted
replaced
198:13918723d1bc | 199:8ec34c56fed0 |
---|---|
150 | 150 |
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.effects) | 153 self.render_elements(game.effects) |
154 self.render_elements(game.players) | 154 self.render_elements(game.players) |
155 for player in game.players: | |
156 self.render_elements(player.objects()) | |
155 self.render_elements(game.bullets) | 157 self.render_elements(game.bullets) |
156 self.render_elements(game.cancelled_bullets) | 158 self.render_elements(game.cancelled_bullets) |
157 self.render_elements(game.players_bullets) | 159 self.render_elements(game.players_bullets) |
158 self.render_elements(game.items) | 160 self.render_elements(game.items) |
159 #TODO: display item indicators | 161 #TODO: display item indicators |