Mercurial > touhou
comparison pytouhou/ui/gamerenderer.pyx @ 315:e935ed8dc5e6
Add out-of-screen item indicators.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Fri, 23 Mar 2012 16:27:07 +0100 |
parents | 52d791bb7c32 |
children | 13201d90bb22 |
comparison
equal
deleted
inserted
replaced
314:0f88ae611d37 | 315:e935ed8dc5e6 |
---|---|
86 self.render_elements(chain(game.players_bullets, | 86 self.render_elements(chain(game.players_bullets, |
87 game.lasers_sprites(), | 87 game.lasers_sprites(), |
88 game.players, | 88 game.players, |
89 game.msg_sprites(), | 89 game.msg_sprites(), |
90 *(player.objects() for player in game.players))) | 90 *(player.objects() for player in game.players))) |
91 self.render_elements(chain(game.bullets, game.lasers, game.cancelled_bullets, game.items)) | 91 self.render_elements(chain(game.bullets, game.lasers, |
92 game.cancelled_bullets, game.items, | |
93 (item.indicator for item in game.items if item.indicator))) | |
92 #TODO: display item indicators | 94 #TODO: display item indicators |
93 glEnable(GL_FOG) | 95 glEnable(GL_FOG) |
94 | 96 |