diff pytouhou/game/laser.pxd @ 540:53fa73932e9a

Fix warnings introduced in Cython 0.20, when more than one pointer is defined on the same line.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 10 May 2014 22:20:22 +0200
parents b32cef75df59
children a6af3ff86612
line wrap: on
line diff
--- a/pytouhou/game/laser.pxd
+++ b/pytouhou/game/laser.pxd
@@ -18,7 +18,8 @@ cdef class Laser(Element):
 
     cdef unsigned long start_duration, duration, stop_duration, grazing_delay,
     cdef unsigned long grazing_extra_duration, sprite_idx_offset
-    cdef double base_pos[2], speed, start_offset, end_offset, max_length, width
+    cdef double base_pos[2]
+    cdef double speed, start_offset, end_offset, max_length, width
     cdef State state
     cdef LaserType _laser_type
 
@@ -33,7 +34,8 @@ cdef class Laser(Element):
 
 
 cdef class PlayerLaser(Element):
-    cdef double hitbox[2], angle, offset
+    cdef double hitbox[2]
+    cdef double angle, offset
     cdef unsigned long frame, duration, sprite_idx_offset, damage
     cdef Element origin
     cdef LaserType _laser_type