comparison pytouhou/ui/gamerenderer.pyx @ 306:52d791bb7c32

Rename a few attributes/methods to make a little more sense.
author Thibaut Girka <thib@sitedethib.com>
date Tue, 13 Mar 2012 19:18:14 +0100
parents f3099ebf4f61
children e935ed8dc5e6
comparison
equal deleted inserted replaced
305:5492472963b0 306:52d791bb7c32
43 43
44 back = self.background 44 back = self.background
45 game = self.game 45 game = self.game
46 texture_manager = self.texture_manager 46 texture_manager = self.texture_manager
47 47
48 if game is not None and game.effect is not None: 48 if game is not None and game.spellcard_effect is not None:
49 self.setup_camera(0, 0, 1) 49 self.setup_camera(0, 0, 1)
50 50
51 glDisable(GL_FOG) 51 glDisable(GL_FOG)
52 self.render_elements([game.effect]) 52 self.render_elements([game.spellcard_effect])
53 glEnable(GL_FOG) 53 glEnable(GL_FOG)
54 elif back is not None: 54 elif back is not None:
55 fog_b, fog_g, fog_r, fog_start, fog_end = back.fog_interpolator.values 55 fog_b, fog_g, fog_r, fog_start, fog_end = back.fog_interpolator.values
56 x, y, z = back.position_interpolator.values 56 x, y, z = back.position_interpolator.values
57 dx, dy, dz = back.position2_interpolator.values 57 dx, dy, dz = back.position2_interpolator.values