comparison pytouhou/ui/sdl/gamerenderer.pxd @ 532:dacdcca59b66

Don’t put back the rendering data into a tuple, use a specialised struct inside Sprite to pass it to the renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 Dec 2013 21:55:26 +0100
parents b39ad30c6620
children b895ed2de71f
comparison
equal deleted inserted replaced
531:a7dc55ad9380 532:dacdcca59b66
1 from pytouhou.game.game cimport Game 1 from pytouhou.game.game cimport Game
2 from .texture cimport TextureManager 2 from .texture cimport TextureManager
3 from .sprite cimport get_sprite_rendering_data
3 from pytouhou.ui.window cimport Window 4 from pytouhou.ui.window cimport Window
4 5
5 cdef class GameRenderer: 6 cdef class GameRenderer:
6 cdef Window window 7 cdef Window window
7 cdef TextureManager texture_manager 8 cdef TextureManager texture_manager