Mercurial > touhou
view pytouhou/ui/sdl/texture.pxd @ 796:d876ac2ccfe1 default tip
Pass audio only once to GameRunner
This prevents it being recreated every stage change, and playing music over the
previous stages’ music.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 28 Jun 2026 14:27:03 +0200 |
| parents | a6af3ff86612 |
| children |
line wrap: on
line source
from pytouhou.lib.sdl cimport Font from pytouhou.lib.sdl cimport Surface, Window cdef class TextureManager: cdef object loader cdef Window window cdef bint load(self, dict anms) except True cdef load_texture(self, Surface texture) cdef class FontManager: cdef Font font cdef Window window cdef bint load(self, dict labels) except True
