Mercurial > touhou
comparison pytouhou/opengl/gamerenderer.pyx @ 151:5cf927cbd9c5
Merge GameState into Game. TODO: Merge PlayerState into Player
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 04 Oct 2011 23:32:02 +0200 |
parents | 4f46717390aa |
children | 7e7368356445 |
comparison
equal
deleted
inserted
replaced
150:4f46717390aa | 151:5cf927cbd9c5 |
---|---|
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.players) | 153 self.render_elements(game.players) |
154 self.render_elements(game.game_state.bullets) | 154 self.render_elements(game.bullets) |
155 self.render_elements(game.game_state.items) | 155 self.render_elements(game.items) |
156 #TODO: display item indicators | 156 #TODO: display item indicators |
157 glEnable(GL_FOG) | 157 glEnable(GL_FOG) |
158 | 158 |