Exemplo n.º 1
0
def runUI(*argv):
    argv = argv[1:]
    p = initArgParser()
    n = None

    n, argv = handleGeneralArgs(p, argv, n)
    initFrontend(argv, n)
    init()

    try:
        frontend.main()
    finally:
        frontend.shutdown()
Exemplo n.º 2
0
def run(*argv):
    argv = argv[1:]
    p = initArgParser()
    n = None

    n, argv = handleGeneralArgs(p, argv, n)
    n, argv = handleGameArgs(p, argv, n)
    initFrontend(argv, n)
    n, argv = handleRemainingArgs(p, argv, n)
    init()

    try:
        playBeatmap(beatmap.load(n.beatmap[0], options=n.importer_options))
    finally:
        frontend.shutdown()
Exemplo n.º 3
0
Arquivo: main.py Projeto: nystep/muz
def playBeatmap(bmap):
    try:
        frontend.gameLoop(game.Game(bmap, frontend))
    finally:
        frontend.shutdown()