comparison pytouhou/formats/anm0.pxd @ 525:43ecf0f98f4d

Precalculate the inverse of the texture size at ANM load, to not recalculate at every sprite change.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 18 Dec 2013 18:15:45 +0100
parents
children
comparison
equal deleted inserted replaced
524:7f016dfbdfb1 525:43ecf0f98f4d
1 cdef class ANM:
2 cdef public long version
3 cdef public unicode first_name, secondary_name
4 cdef public dict sprites, scripts
5 cdef public object texture
6
7 cdef double size_inv[2]