[WAD bug] Options Menu binary choices reversed

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Options Menu binary choices reversed

Postby Jenny Bopperhall » Sat Sep 15, 2018 12:50 am

Dev Build Version: 3.6pre-79-g2d53ad6f1

Put quite simply, when you start the game, with or without mods, and go into the Options menu, all options that are a binary Yes/No or On/Off are reversed.

Easiest example is Gameplay Options, as the only options there that is working like it should is the Autoaim Enable option, jump and crouch enable, and enable mouselook. All others are set to Yes, which confusingly now means No.
Jenny Bopperhall
 

Re: Options Menu binary choices reversed

Postby _mental_ » Sat Sep 15, 2018 1:57 am

Looks correct to me with default options.

gameplay_options.jpg

Options set to yes are enabled and vice versa.
You do not have the required permissions to view the files attached to this post.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Options Menu binary choices reversed

Postby Graf Zahl » Sat Sep 15, 2018 2:06 am

You didn't by any chance load some gameplay mod that messes around with the menu, did you?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Options Menu binary choices reversed

Postby Korell » Sat Sep 15, 2018 7:23 am

I just saw this same bug mentioned in the Doom Incarnate mod thread here: viewtopic.php?f=43&t=58594&start=315#p1072868
Was this mod being used by the original poster or is something else going on here?
User avatar
Korell
 
Joined: 28 May 2017

Re: Options Menu binary choices reversed

Postby _mental_ » Sat Sep 15, 2018 7:34 am

Doom Incarnate has the following definition in MENUDEF:
Code: Select allExpand view
OptionValue "YesNo"
{
   0, "Yes"
   1, "No"
}

Compare it with GZDoom's definition here. It's reversed indeed.

Instead of inventing a wheel any mod should use predefined values, i.e. NoYes in the given case. And do not override existing definitions too!
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests