view pytouhou/ui/opengl/texture.pxd @ 795:2d60a14f4816

python: Rewrite the main entrypoint in Rust This lets us progressively replace Python modules with Rust ones. Currently missing features include: - Saving replays - Networking code for cooperative mode - Reading a configuration file for options - Maybe more. But the base game is working, so yay!
author Link Mauve <linkmauve@linkmauve.fr>
date Tue, 02 Jun 2026 19:06:16 +0200
parents a6af3ff86612
children
line wrap: on
line source

from pytouhou.lib.sdl cimport Font

cdef class TextureManager:
    cdef object loader, renderer, texture_class

    cdef bint load(self, dict anms) except True

cdef class FontManager:
    cdef Font font
    cdef object renderer, texture_class

    cdef bint load(self, dict labels) except True