Options Menu binary choices reversed

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Guest

Options Menu binary choices reversed

Post by Guest »

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.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Options Menu binary choices reversed

Post by _mental_ »

Looks correct to me with default options.
gameplay_options.jpg
Options set to yes are enabled and vice versa.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Options Menu binary choices reversed

Post by Graf Zahl »

You didn't by any chance load some gameplay mod that messes around with the menu, did you?
User avatar
Korell
Posts: 439
Joined: Sun May 28, 2017 1:01 pm

Re: Options Menu binary choices reversed

Post by Korell »

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?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Options Menu binary choices reversed

Post by _mental_ »

Doom Incarnate has the following definition in MENUDEF:

Code: Select all

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!
Post Reply

Return to “Closed Bugs [GZDoom]”