Mercurial > touhou
view pytouhou/ui/sdl/texture.pxd @ 784:1f152ca95658
Replace pytouhou.utils.random.Random with a Rust version
libtouhou.Prng now supports having its seed generated randomly using the
getrandom crate, and is now exposed to Python.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 23 Nov 2025 12:48:03 +0100 |
| 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
