comparison pytouhou/ui/gamerenderer.pxd @ 468:feecdb4a8928

Add “except *” to cdef void functions, and type some more.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 12 Sep 2013 15:47:08 +0200
parents 36bc577b2392
children c622eaf64428
comparison
equal deleted inserted replaced
467:5bb7d2c0ff46 468:feecdb4a8928
1 from pytouhou.utils.matrix cimport Matrix 1 from pytouhou.utils.matrix cimport Matrix
2 from pytouhou.game.game cimport Game
2 from .background cimport BackgroundRenderer 3 from .background cimport BackgroundRenderer
3 from .renderer cimport Renderer, Framebuffer 4 from .renderer cimport Renderer, Framebuffer
4 from .shader cimport Shader 5 from .shader cimport Shader
6 from .window cimport Window
5 7
6 cdef class GameRenderer(Renderer): 8 cdef class GameRenderer(Renderer):
7 cdef Matrix game_mvp, interface_mvp, proj 9 cdef Matrix game_mvp, interface_mvp, proj
8 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader 10 cdef Shader game_shader, background_shader, interface_shader, passthrough_shader
9 cdef Framebuffer framebuffer 11 cdef Framebuffer framebuffer
10 cdef BackgroundRenderer background_renderer 12 cdef BackgroundRenderer background_renderer
11 13
12 cdef void load_background(self, background) 14 cdef void load_background(self, background) except *
13 cdef void start(self, game) 15 cdef void start(self, Game game) except *
14 cdef void render(self, game, window) 16 cdef void render(self, Game game, Window window) except *
15 cdef void render_game(self, game) 17 cdef void render_game(self, Game game) except *
16 cdef void render_text(self, texts) 18 cdef void render_text(self, texts) except *
17 cdef void render_interface(self, interface, game_boss) 19 cdef void render_interface(self, interface, game_boss) except *