comparison pytouhou/game/game.pxd @ 783:ec1e06402a97

Replace SDL2_mixer with the kira crate
author Link Mauve <linkmauve@linkmauve.fr>
date Fri, 21 Nov 2025 10:21:59 +0100
parents a6af3ff86612
children 1f152ca95658
comparison
equal deleted inserted replaced
782:a30ce01b9154 783:ec1e06402a97
1 from pytouhou.game.effect cimport Effect 1 from pytouhou.game.effect cimport Effect
2 from pytouhou.game.player cimport Player 2 from pytouhou.game.player cimport Player
3 from pytouhou.game.text cimport Text, NativeText 3 from pytouhou.game.text cimport Text, NativeText
4 from pytouhou.game.music cimport MusicPlayer
5 from pytouhou.utils.random cimport Random 4 from pytouhou.utils.random cimport Random
6 5
7 cdef class Game: 6 cdef class Game:
8 cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame 7 cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame
9 cdef public list bullet_types, laser_types, item_types, players, enemies, effects, bullets, lasers, cancelled_bullets, players_bullets, players_lasers, items, labels, faces, hints, bonus_list 8 cdef public list bullet_types, laser_types, item_types, players, enemies, effects, bullets, lasers, cancelled_bullets, players_bullets, players_lasers, items, labels, faces, hints, bonus_list
10 cdef public object interface, boss, msg_runner 9 cdef public object interface, boss, msg_runner
11 cdef public dict texts 10 cdef public dict texts
12 cdef public MusicPlayer sfx_player 11 cdef public object sfx_player, music
13 cdef public Random prng 12 cdef public Random prng
14 cdef public double continues 13 cdef public double continues
15 cdef public Effect spellcard_effect 14 cdef public Effect spellcard_effect
16 cdef public tuple spellcard 15 cdef public tuple spellcard
17 cdef public bint time_stop, msg_wait 16 cdef public bint time_stop, msg_wait