Mercurial > touhou
changeset 628:df3c4ef5f2cc
Partially revert 98603f2c32b4, as the creation of a .h file made some checking tools unhappy.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 19 Apr 2015 19:08:39 +0200 |
parents | ec972eb44391 |
children | 26d9d251f658 |
files | pytouhou/game/sprite.pxd pytouhou/game/sprite.pyx |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/game/sprite.pxd +++ b/pytouhou/game/sprite.pxd @@ -1,7 +1,7 @@ from pytouhou.utils.interpolator cimport Interpolator from pytouhou.formats.animation cimport Animation -cdef public class Sprite[object Sprite, type SpriteType]: +cdef class Sprite: cdef public int blendfunc, frame cdef public float width_override, height_override, angle cdef public bint removed, changed, visible, force_rotation
--- a/pytouhou/game/sprite.pyx +++ b/pytouhou/game/sprite.pyx @@ -16,7 +16,7 @@ from libc.stdlib cimport free from libc.string cimport memcpy -cdef public class Sprite[object Sprite, type SpriteType]: +cdef class Sprite: def __dealloc__(self): if self._rendering_data != NULL: free(self._rendering_data)