From d0369fe1c6bf933ce8f70eadaae9a18aab89d7b7 Mon Sep 17 00:00:00 2001 From: aerinon Date: Wed, 12 Feb 2020 10:29:52 -0700 Subject: [PATCH] Add experimental checkbox to gui --- Gui.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gui.py b/Gui.py index 6656b3e3..f700f2a6 100755 --- a/Gui.py +++ b/Gui.py @@ -83,6 +83,8 @@ def guiMain(args=None): hintsVar = IntVar() hintsVar.set(1) #set default hintsCheckbutton = Checkbutton(checkBoxFrame, text="Include Helpful Hints", variable=hintsVar) + experimentVar = IntVar() + experimentCheckbutton = Checkbutton(checkBoxFrame, text="Enable Experimental Features", variable=experimentVar) customVar = IntVar() customCheckbutton = Checkbutton(checkBoxFrame, text="Use custom item pool", variable=customVar) @@ -98,6 +100,7 @@ def guiMain(args=None): retroCheckbutton.pack(expand=True, anchor=W) shuffleGanonCheckbutton.pack(expand=True, anchor=W) hintsCheckbutton.pack(expand=True, anchor=W) + experimentCheckbutton.pack(expand=True, anchor=W) customCheckbutton.pack(expand=True, anchor=W) romOptionsFrame = LabelFrame(rightHalfFrame, text="Rom options") @@ -452,6 +455,7 @@ def guiMain(args=None): guiargs.uw_palettes = uwPalettesVar.get() guiargs.shuffleganon = bool(shuffleGanonVar.get()) guiargs.hints = bool(hintsVar.get()) + guiargs.experimental = bool(experimentVar.get()) guiargs.enemizercli = enemizerCLIpathVar.get() guiargs.shufflebosses = enemizerBossVar.get() guiargs.shuffleenemies = enemyShuffleVar.get() @@ -1259,6 +1263,7 @@ def guiMain(args=None): romVar.set(args.rom) shuffleGanonVar.set(args.shuffleganon) hintsVar.set(args.hints) + experimentVar.set(args.experimental) enemizerCLIpathVar.set(args.enemizercli) potShuffleVar.set(args.shufflepots) enemyShuffleVar.set(args.shuffleenemies)