comparison pytouhou/game/game.pxd @ 468:feecdb4a8928

Add “except *” to cdef void functions, and type some more.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 12 Sep 2013 15:47:08 +0200
parents b16d34fca5b4
children 06f0eeb519bb
comparison
equal deleted inserted replaced
467:5bb7d2c0ff46 468:feecdb4a8928
9 cdef public Effect spellcard_effect 9 cdef public Effect spellcard_effect
10 cdef public tuple spellcard 10 cdef public tuple spellcard
11 cdef public bint time_stop, msg_wait 11 cdef public bint time_stop, msg_wait
12 cdef public unsigned short deaths_count, next_bonus 12 cdef public unsigned short deaths_count, next_bonus
13 13
14 cpdef modify_difficulty(self, long diff) 14 cdef list msg_sprites(self)
15 cdef list lasers_sprites(self)
16 cdef void modify_difficulty(self, long diff) except *
17 cpdef enable_spellcard_effect(self)
18 cpdef disable_spellcard_effect(self)
19 cdef void set_player_bomb(self) except *
20 cdef void unset_player_bomb(self) except *
15 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*) 21 cpdef drop_bonus(self, double x, double y, long _type, end_pos=*)
16 cdef void autocollect(self, Player player) 22 cdef void autocollect(self, Player player) except *
17 cpdef cancel_bullets(self) 23 cdef void cancel_bullets(self) except *
24 cpdef change_bullets_into_star_items(self)
25 cpdef change_bullets_into_bonus(self)
26 cpdef kill_enemies(self)
27 cpdef new_effect(self, pos, long anim, anm=*, long number=*)
18 cpdef new_particle(self, pos, long anim, long amp, long number=*, bint reverse=*, long duration=*) 28 cpdef new_particle(self, pos, long anim, long amp, long number=*, bint reverse=*, long duration=*)
19 cpdef new_label(self, pos, str text) 29 cpdef new_enemy(self, pos, life, instr_type, bonus_dropped, die_score)
20 cdef void update_background(self) 30 cpdef new_msg(self, sub)
21 cdef void update_enemies(self) 31 cdef new_label(self, pos, str text)
32 cpdef new_native_text(self, pos, text, align=*)
33 cpdef new_hint(self, hint)
34 cpdef new_face(self, side, effect)
35 cpdef run_iter(self, long keystate)
36 cdef void update_background(self) except *
37 cdef void update_enemies(self) except *
22 cdef void update_msg(self, long keystate) except * 38 cdef void update_msg(self, long keystate) except *
23 cdef void update_players(self, long keystate) except * 39 cdef void update_players(self, long keystate) except *
24 cdef void update_effects(self) 40 cdef void update_effects(self) except *
25 cdef void update_hints(self) 41 cdef void update_hints(self) except *
26 cdef void update_faces(self) 42 cdef void update_faces(self) except *
27 cdef void update_bullets(self) 43 cdef void update_bullets(self) except *
28 cpdef cleanup(self) 44 cpdef cleanup(self)