comparison pytouhou/games/eosd.py @ 262:8fa660da5f0c

Automatically search data files using different names.
author Thibaut Girka <thib@sitedethib.com>
date Mon, 23 Jan 2012 00:58:03 +0100
parents e59bd7979ddc
children f037bca24f2d
comparison
equal deleted inserted replaced
261:2876c267be00 262:8fa660da5f0c
47 ItemType(etama3, 3, 10), #Bomb 47 ItemType(etama3, 3, 10), #Bomb
48 ItemType(etama3, 4, 11), #Full power 48 ItemType(etama3, 4, 11), #Full power
49 ItemType(etama3, 5, 12), #1up 49 ItemType(etama3, 5, 12), #1up
50 ItemType(etama3, 6, 13)] #Star 50 ItemType(etama3, 6, 13)] #Star
51 51
52 characters = resource_loader.get_eosd_characters('102h.exe') 52 characters = resource_loader.get_eosd_characters()
53 players = [EoSDPlayer(state, self, resource_loader, characters[state.character]) for state in player_states] 53 players = [EoSDPlayer(state, self, resource_loader, characters[state.character]) for state in player_states]
54 54
55 Game.__init__(self, resource_loader, players, stage, rank, difficulty, 55 Game.__init__(self, resource_loader, players, stage, rank, difficulty,
56 bullet_types, item_types, nb_bullets_max=640, **kwargs) 56 bullet_types, item_types, nb_bullets_max=640, **kwargs)
57 57