Author Topic: Options Menu  (Read 3384 times)

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Options Menu
« on: 20 June 2011, 00:21:54 »
Are there any particular options that people want, that are already set with glestadv.ini and isn't already, in the options menu? I know resolution is one.

------------------------------------

Progress:
RenderShadowTextureSize (Partially added, needs to be updated with resolution)
'Resolution' <- DisplayHeight, DisplayWidth, DisplayRefreshFrequency (Silnarm added Windows implemenation, Yggdrasil added SDL implementation, needs testing)
CameraInvertXAxis (Added, needs testing)
CameraInvertYAxis (Added, needs testing)
GsAutoRepairEnabled (Added, needs testing)
GsAutoReturnEnabled (Added, needs testing)
RenderEnableBumpMapping (Added, needs testing)
RenderEnableSpecMapping (Added, needs testing)
DisplayWindowed (Added by silnarm, needs testing)
RenderShadowFrameSkip (Added, needs testing)
UiConsoleMaxLines (Added, needs testing)
UiFocusArrows (Added, needs testing)
UiScrollSpeed (Added, needs testing)

Controls keymap (Added by silnarm, needs testing)

Problems:
- I think I've messed up the anchoring again. (fixed)
- Toggle fullscreen doesn't seem to work properly on Windows. (fixed by silnarm)
- Lang strings need to be added for the new options. (added for English)
- Might need to rearrange the widgets to fit the text better.
« Last Edit: 19 July 2011, 12:07:40 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Options Menu
« Reply #1 on: 20 June 2011, 02:25:23 »
I think most of the options available that a standard user could have at least some reason to change, should be there. Obviously, space is not an issue, so there's no harm in putting EVERY option in (though some might be put into an "advanced" category, meant only for people who know what they're doing). It would also be nice if we could have tooltips for all the options (use the data available on the wiki: https://docs.megaglest.org/GAE/INI)

CameraFov
CameraInvertXAxis
CameraInvertYAxis
CameraMaxDistance
CameraMaxYaw
CameraMinDistance
CameraMinYaw
DisplayHeight
DisplayRefreshFrequency
DisplayWidth
DisplayWindowed
GsAutoRepairEnabled
GsAutoReturnEnabled
GsDayTime
NetConsistencyChecks
NetPlayerName
RenderColorBits
RenderDepthBits
RenderDistanceMax
RenderDistanceMin
RenderFilter
RenderFilterMaxAnisotropy
RenderFogOfWarSmoothing
RenderFogOfWarSmoothingFrameSkip
RenderFontScaler
RenderFov
RenderFpsMax
RenderInterpolateWithSIMD
RenderLightsMax
RenderShadowAlpha
RenderShadowFrameSkip
RenderShadowTextureSize
RenderShadows
RenderStencilBits
RenderTextures3D
SoundStaticBuffers
SoundStreamingBuffers
SoundVolumeAmbient
SoundVolumeFx
SoundVolumeMusic
UiConsoleMaxLines
UiConsoleTimeout
UiFocusArrows
UiLocale
UiPhotoMode
UiScrollSpeed

This above is pretty much all the stuff that should need to be set by users, to my knowledge. It filters out INI settings that should never be touched (eg: world refresh rate, as changing this will break some timers), setting that only have a single option (eg: graphics factory, which must be OpenGL), or settings that are practically never used (eg: first time, which is only used to tell the engine to try and guess the settings for the user, which will overwrite the user's own settings, and would generally be undesired). Obviously, those things can still be changed in the INI and will be documented on the wiki (tip: new INI entries should be added to the wiki the moment they are added to the git master).
« Last Edit: 18 June 2016, 19:00:30 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #2 on: 20 June 2011, 04:05:08 »
Space is always an issue and adding every option increases the workload without much benefit. I want to focus on the options that will give the most benefit to users.

Filtering out the ones already implemented and some that don't need to be edited by players:
CameraInvertXAxis
CameraInvertYAxis
DisplayRefreshFrequency
DisplayWindowed
GsAutoRepairEnabled
GsAutoReturnEnabled
RenderShadowFrameSkip
RenderShadowTextureSize
RenderEnableBumpMapping
RenderEnableSpecMapping
'Resolution' <- DisplayHeight, DisplayWidth
UiConsoleMaxLines
UiFocusArrows
UiScrollSpeed

'Shadow Quality' could group a few but I'll leave them seperate for now.

I wrote a script that generates the ini descriptions for the wiki. So when one is added the description can be added right next to it at the same time.
« Last Edit: 20 June 2011, 06:31:50 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #3 on: 17 July 2011, 08:15:32 »
This is mostly completed as of commit 74b2d0b8.. . Please let me know if there are any bugs.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Options Menu
« Reply #4 on: 17 July 2011, 11:49:06 »
This is mostly completed as of commit 74b2d0b8.. . Please let me know if there are any bugs.
Excellent. I'll have to take a look when I get time.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Options Menu
« Reply #5 on: 19 July 2011, 02:03:07 »
I stuck the keymap widget on the controls tab, and I've removed the network tab for now, seeing as we have nothing to put on it for the time being.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Options Menu
« Reply #6 on: 19 July 2011, 04:31:49 »
Nice job, with this finished it finally fixed my resolution problem!  :thumbup:
Don't forget to fix the language file, at the controls tab there is: ???HotKeys???
Also for the audio tab, do you think there could be a percentage or something like that? If not, it's ok.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Options Menu
« Reply #7 on: 19 July 2011, 06:07:55 »
Don't forget to fix the language file, at the controls tab there is: ???HotKeys???
Feel free to remind me in a couple days if any language keys are still missing.  I'm a bit occupied with getting myself out of the ghetto (finally! :P).

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Options Menu
« Reply #8 on: 20 July 2011, 03:31:36 »
Nice job, with this finished it finally fixed my resolution problem!  :thumbup:
Yeah, this was probably fixed a while ago, bug from original Glest code, Windows wasn't being informed that the resolution change was of a temporary nature.

Quote
Don't forget to fix the language file, at the controls tab there is: ???HotKeys???
Sorry, I get lazy... if it doesn't show up in the solution explorer, it doesn't exist!  :P
Added.

Quote
Also for the audio tab, do you think there could be a percentage or something like that? If not, it's ok.
Could do I guess... just have to fix those rounding problems so Omega doesn't complain about his 80 becoming 79.

Don't forget to fix the language file, at the controls tab there is: ???HotKeys???
Feel free to remind me in a couple days if any language keys are still missing.  I'm a bit occupied with getting myself out of the ghetto (finally! :P).

We programmer types should really be adding new keys to the English lang file when we use them in code, and mostly do... except me, perhaps.

Good luck with your move, hope all goes smoothly.

Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #9 on: 1 September 2011, 09:19:11 »
Some of the text doesn't fit in the space properly so I was thinking instead of having two panels on a tab page have one that scrolls and possibly have anchor link type buttons that moves the scroller to the correspoding heading when pressed. That would also leave some space should we implement option descriptions.

Something like this:
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Options Menu
« Reply #10 on: 1 September 2011, 21:52:15 »
I like it, but I think we should just have one "sidebar" (shown in white on that image).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #11 on: 6 September 2011, 10:46:38 »
The white would be the model background when done properly. It's only white because I moved the section in paint.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Psychedelic_hands

  • Guest
Re: Options Menu
« Reply #12 on: 7 September 2011, 11:17:31 »
Looks good, can't wait to play around with all the options.

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #13 on: 11 September 2011, 08:03:16 »
Here's a comparison of the in-game options layout with a better example of what the final result will look like. The top two are the old layout and the bottom one is new.

Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Options Menu
« Reply #14 on: 11 September 2011, 15:27:15 »
I like the new layout. Looks much better and well arranged.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Options Menu
« Reply #15 on: 11 September 2011, 18:25:11 »
Wow, looks great. How many of the settings are available in this menu? Just the ones you mentioned in your post above, or more than that?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Options Menu
« Reply #16 on: 14 September 2011, 12:48:29 »
I haven't changed the settings just how they are arranged.

I've committed the changes. There's a bug with the scrollbar where it resets if you move the options window in-game but I'm not sure how to fix it. It's not a big problem though.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Options Menu
« Reply #17 on: 25 September 2011, 20:10:21 »
Looks really nice  :thumbup:

Might make the 'sections' foldable one day...
Fixed the scrollbar thing for OptionPanels (though I noticed the Keymap widget does it too...)
Glest Advanced Engine - Code Monkey

Timeline | Downloads