Mercurial > touhou
diff pytouhou/game/sprite.pxd @ 608:725bd24235a2
Make ANM0 pure-python again, by moving the Cython-dependent ANM class into its own module.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Nov 2014 14:00:17 +0100 |
parents | dacdcca59b66 |
children | 98603f2c32b4 |
line wrap: on
line diff
--- a/pytouhou/game/sprite.pxd +++ b/pytouhou/game/sprite.pxd @@ -1,5 +1,5 @@ from pytouhou.utils.interpolator cimport Interpolator -from pytouhou.formats.anm0 cimport ANM +from pytouhou.formats.animation cimport Animation cdef class Sprite: cdef public long blendfunc, frame @@ -10,7 +10,7 @@ cdef class Sprite: cdef public Interpolator scale_interpolator, fade_interpolator cdef public Interpolator offset_interpolator, rotation_interpolator cdef public Interpolator color_interpolator - cdef public ANM anm + cdef public Animation anm cdef void *_rendering_data