view pytouhou/ui/opengl/sprite.pxd @ 535:a50c0a1b628f

Don’t stop music loading if the pos file isn’t found.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 05 Apr 2014 13:51:31 +0200
parents dacdcca59b66
children 53fa73932e9a
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef struct RenderingData:
    float pos[12], left, right, bottom, top
    unsigned char color[4]
    long key

cdef RenderingData* get_sprite_rendering_data(Sprite sprite) nogil
cdef void render_sprite(Sprite sprite) nogil