comparison scripts/pytouhou @ 568:e7a4731a278b

Add a GTK+ main menu, mimicking the original EoSD one.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 01 Jul 2014 23:18:15 +0200
parents b2269b9c6119
children f0252cf111d8
comparison
equal deleted inserted replaced
567:b2269b9c6119 568:e7a4731a278b
45 45
46 logger = logging 46 logger = logging
47 logger.root.name = 'pytouhou' 47 logger.root.name = 'pytouhou'
48 48
49 logger.info('Configuration loaded from: %s', ', '.join(options.paths)) 49 logger.info('Configuration loaded from: %s', ', '.join(options.paths))
50
51 if not args.no_menu:
52 from pytouhou.menu import menu
53 menu(options, args)
50 54
51 if args.game == 'EoSD': 55 if args.game == 'EoSD':
52 from pytouhou.games.eosd import EoSDCommon as Common, EoSDGame as Game 56 from pytouhou.games.eosd import EoSDCommon as Common, EoSDGame as Game
53 57
54 if args.interface == 'EoSD': 58 if args.interface == 'EoSD':