Mercurial > touhou
diff eclviewer.py @ 122:174324a4da51
Add support for launch animations! (Warning: slow :()
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 10 Sep 2011 01:26:30 +0200 |
parents | fad7b44cebf2 |
children | 11ab06f4c4c6 |
line wrap: on
line diff
--- a/eclviewer.py +++ b/eclviewer.py @@ -19,7 +19,7 @@ import os from pytouhou.resource.loader import Loader from pytouhou.game.background import Background from pytouhou.opengl.gamerenderer import GameRenderer -from pytouhou.game.game import Game +from pytouhou.game.games import EoSDGame from pytouhou.game.player import Player @@ -27,7 +27,7 @@ def main(path, stage_num): resource_loader = Loader() resource_loader.scan_archives(os.path.join(path, name) for name in ('CM.DAT', 'ST.DAT')) - game = Game(resource_loader, [Player()], stage_num, 3, 16) + game = EoSDGame(resource_loader, [Player()], stage_num, 3, 16) # Load stage data stage = resource_loader.get_stage('stage%d.std' % stage_num)