comparison pytouhou/ui/gamerenderer.pxd @ 459:6e733ed817bd

Move every rendering function from gamerunner to gamerenderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 06 Sep 2013 22:35:54 +0200
parents 1b56d62250ab
children a71b912b45b7
comparison
equal deleted inserted replaced
458:1b56d62250ab 459:6e733ed817bd
1 from pytouhou.utils.matrix cimport Matrix 1 from pytouhou.utils.matrix cimport Matrix
2 from .background cimport BackgroundRenderer
2 from .renderer cimport Renderer 3 from .renderer cimport Renderer
3 from .shader cimport Shader 4 from .shader cimport Shader
4 5
5 cdef class GameRenderer(Renderer): 6 cdef class GameRenderer(Renderer):
6 cdef Matrix game_mvp, interface_mvp, proj 7 cdef Matrix game_mvp, interface_mvp, proj
7 cdef Shader game_shader, background_shader, interface_shader 8 cdef Shader game_shader, background_shader, interface_shader
9 cdef BackgroundRenderer background_renderer
8 10
9 cdef object game, background, background_renderer #XXX 11 cdef void load_background(self, background)
12 cdef void start(self, game)
13 cdef void render(self, game)
14 cdef void render_game(self, game)
15 cdef void render_text(self, texts)
16 cdef void render_interface(self, interface, game_boss)