This is a small gamesetup cleanup that has two little behavior changes:
- It makes the settingTitle and settingLabel object more consistent with the others in terms of tooltips.
If the control (dropdown/checkbox/...) is enabled, then the tooltip can also be shown for the according label.
However as the strings are written currently (tooltips are phrased as instructions),
they can only be shown if the control is enabled (otherwise the instruction cannot be followed by the player).
The gamedescription.js strings could be used in the future if the control is disabled.
Hence the settingText[n] object also receives the tooltip style (for consistency),
but no set tooltip text due to that enabled tooltip constraint (the text object is only visible if the control is disabled).
While at it, move the g_IsController check to enabled to remove a bit of duplication.
- Display the text "Yes" / "No" for disabled checkboxes to the host as well.
This avoids a bit of confusion as to whether or not that object is enabled (the sprite is a bit ambiguous).
And it also makes it more consistent with the dropdowns that are also hidden if disabled.