comparison pytouhou/games/eosd.py @ 231:c417bb6c98bf

Search for 102h.exe in the game directory instead of the current directory.
author Thibaut Girka <thib@sitedethib.com>
date Fri, 30 Dec 2011 19:17:55 +0100
parents 1c24a6d93c1b
children 8843e26f80c3
comparison
equal deleted inserted replaced
230:1c24a6d93c1b 231:c417bb6c98bf
50 ItemType(etama3, 5, 12), #1up 50 ItemType(etama3, 5, 12), #1up
51 ItemType(etama3, 6, 13)] #Star 51 ItemType(etama3, 6, 13)] #Star
52 52
53 characters = resource_loader.get_eosd_characters('102h.exe') 53 characters = resource_loader.get_eosd_characters('102h.exe')
54 54
55 #eosd_characters = [ReimuA, ReimuB, MarisaA, MarisaB]
56 players = [] 55 players = []
57 for player in player_states: 56 for player in player_states:
58 #players.append(eosd_characters[player.character](player, self, resource_loader))
59 players.append(EoSDPlayer(player, self, resource_loader, sht=characters[player.character])) 57 players.append(EoSDPlayer(player, self, resource_loader, sht=characters[player.character]))
60 58
61 Game.__init__(self, resource_loader, players, stage, rank, difficulty, 59 Game.__init__(self, resource_loader, players, stage, rank, difficulty,
62 bullet_types, item_types, nb_bullets_max=640, **kwargs) 60 bullet_types, item_types, nb_bullets_max=640, **kwargs)
63 61