Mercurial > touhou
comparison pytouhou/opengl/gamerenderer.pyx @ 166:dcf32488a2c9
Better enemy death, with animation and (hopefully) correct flags handling.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 18 Oct 2011 13:17:23 -0700 |
parents | 5271789c067d |
children | c0183515a0a3 |
comparison
equal
deleted
inserted
replaced
165:c8c60291c56f | 166:dcf32488a2c9 |
---|---|
148 gluLookAt(192., 224., - 835.979370, | 148 gluLookAt(192., 224., - 835.979370, |
149 192., 224., 0., 0., -1., 0.) | 149 192., 224., 0., 0., -1., 0.) |
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.players) | 154 self.render_elements(game.players) |
154 self.render_elements(game.bullets) | 155 self.render_elements(game.bullets) |
155 self.render_elements(game.cancelled_bullets) | 156 self.render_elements(game.cancelled_bullets) |
156 self.render_elements(game.players_bullets) | 157 self.render_elements(game.players_bullets) |
157 self.render_elements(game.items) | 158 self.render_elements(game.items) |