diff pytouhou/game/bullet.pxd @ 492:887de1309491

Add friendly fire in netplay.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 21 Sep 2013 20:26:39 +0200
parents 8038f1957b71
children 3c2f96f1d715
line wrap: on
line diff
--- a/pytouhou/game/bullet.pxd
+++ b/pytouhou/game/bullet.pxd
@@ -12,7 +12,7 @@ cdef class Bullet(Element):
     cdef public State state
     cdef public unsigned long flags, frame, sprite_idx_offset, damage
     cdef public double dx, dy, angle, speed
-    cdef public bint player_bullet, was_visible, grazed
+    cdef public bint was_visible, grazed
     cdef public Element target
     cdef public BulletType _bullet_type
     cdef public list attributes
@@ -20,6 +20,7 @@ cdef class Bullet(Element):
     cdef double hitbox[2]
     cdef Interpolator speed_interpolator
     cdef Game _game
+    cdef long player
 
     cdef bint is_visible(self, unsigned int screen_width, unsigned int screen_height) except? False
     cpdef set_anim(self, sprite_idx_offset=*)