Mercurial > touhou
diff pytouhou/ui/background.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 | 5d7bb2fd74f7 |
children | feecdb4a8928 |
line wrap: on
line diff
--- a/pytouhou/ui/background.pxd +++ b/pytouhou/ui/background.pxd @@ -11,6 +11,7 @@ cdef class BackgroundRenderer: cdef unsigned short blendfunc, nb_vertices cdef Vertex *vertex_buffer cdef unsigned int use_fixed_pipeline, vbo + cdef object background - cpdef render_background(self) - cpdef prerender(self, background) + cdef void render_background(self) + cdef void load(self, background)