comparison pytouhou/game/game.pxd @ 502:3d3285918ba1

Disallow collection of items dropped by the other player in netplay, also fixes a longstanding bug where autocollection worked with those items.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 23 Oct 2013 18:24:08 +0200
parents 887de1309491
children 292fea5c584e
comparison
equal deleted inserted replaced
501:4778c482f24a 502:3d3285918ba1
19 cdef void modify_difficulty(self, long diff) except * 19 cdef void modify_difficulty(self, long diff) except *
20 cpdef enable_spellcard_effect(self) 20 cpdef enable_spellcard_effect(self)
21 cpdef disable_spellcard_effect(self) 21 cpdef disable_spellcard_effect(self)
22 cdef void set_player_bomb(self) except * 22 cdef void set_player_bomb(self) except *
23 cdef void unset_player_bomb(self) except * 23 cdef void unset_player_bomb(self) except *
24 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*) 24 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*, player=*)
25 cdef void autocollect(self, Player player) except * 25 cdef void autocollect(self, Player player) except *
26 cdef void cancel_bullets(self) except * 26 cdef void cancel_bullets(self) except *
27 cdef void cancel_player_lasers(self) except * 27 cdef void cancel_player_lasers(self) except *
28 cpdef change_bullets_into_star_items(self) 28 cpdef change_bullets_into_star_items(self)
29 cpdef change_bullets_into_bonus(self) 29 cpdef change_bullets_into_bonus(self)