diff 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
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pxd
+++ b/pytouhou/ui/gamerenderer.pxd
@@ -1,9 +1,16 @@
 from pytouhou.utils.matrix cimport Matrix
+from .background cimport BackgroundRenderer
 from .renderer cimport Renderer
 from .shader cimport Shader
 
 cdef class GameRenderer(Renderer):
     cdef Matrix game_mvp, interface_mvp, proj
     cdef Shader game_shader, background_shader, interface_shader
+    cdef BackgroundRenderer background_renderer
 
-    cdef object game, background, background_renderer #XXX
+    cdef void load_background(self, background)
+    cdef void start(self, game)
+    cdef void render(self, game)
+    cdef void render_game(self, game)
+    cdef void render_text(self, texts)
+    cdef void render_interface(self, interface, game_boss)