comparison pytouhou/vm/eclrunner.py @ 105:572740acdb25

A few changes in the execution order to match 102h.exe
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 17:18:47 +0200
parents 789994275968
children c7847bfed427
comparison
equal deleted inserted replaced
104:6c59d0eeb5fa 105:572740acdb25
75 if y < -990: #102h.exe@0x41184b 75 if y < -990: #102h.exe@0x41184b
76 y = self._game_state.prng.rand_double() * 416 76 y = self._game_state.prng.rand_double() * 416
77 if z < -990: #102h.exe@0x411881 77 if z < -990: #102h.exe@0x411881
78 y = self._game_state.prng.rand_double() * 800 78 y = self._game_state.prng.rand_double() * 800
79 enemy = self._new_enemy_func((x, y), life, instr_type) 79 enemy = self._new_enemy_func((x, y), life, instr_type)
80 self.processes.append(ECLRunner(self._ecl, sub, enemy, self._game_state)) 80 process = ECLRunner(self._ecl, sub, enemy, self._game_state)
81 self.processes.append(process)
82 process.run_iteration()
81 83
82 84
83 85
84 86
85 class ECLRunner(object): 87 class ECLRunner(object):