Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/options/options.json
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | [ | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "FPS throttling in games", | "label": "FPS throttling in games", | ||||
"tooltip": "To save CPU workload, throttle render frequency in running games. Set to maximum to disable throttling.", | "tooltip": "To save CPU workload, throttle render frequency in running games. Set to maximum to disable throttling.", | ||||
"config": "adaptivefps.session", | "config": "adaptivefps.session", | ||||
"min": 20, | "min": 20, | ||||
"max": 100 | "max": 100 | ||||
}, | |||||
{ | |||||
"type": "number", | |||||
"label": "Max number of corpses", | |||||
"tooltip": "To save CPU workload, limits the number of corpses to display. -1 is unlimited.", | |||||
"config": "maxcorpsecount", | |||||
"min": -1, | |||||
"max": 600 | |||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "Sound", | "label": "Sound", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 314 Lines • ▼ Show 20 Lines | [ | ||||
}, | }, | ||||
{ | { | ||||
"value": "false", | "value": "false", | ||||
"label": "Multiple", | "label": "Multiple", | ||||
"tooltip": "Units and Structures can be part of multiple control groups. This is useful to keep control groups for distinct armies and a control group for the entire army simultaneously." | "tooltip": "Units and Structures can be part of multiple control groups. This is useful to keep control groups for distinct armies and a control group for the entire army simultaneously." | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
Freagarach: We should really be able to add a scroll bar to the options,,, | |||||
"type": "dropdown", | "type": "dropdown", | ||||
Done Inline ActionsWoudl'nt a slider be better? wraitii: Woudl'nt a slider be better? | |||||
"label": "Formation control", | "label": "Formation control", | ||||
"tooltip": "Decide whether formations are enabled for all orders or only 'Walk' and 'Patrol'.", | "tooltip": "Decide whether formations are enabled for all orders or only 'Walk' and 'Patrol'.", | ||||
Not Done Inline ActionsYou should also write that a restart is needed. OptimusShepard: You should also write that a restart is needed. | |||||
"config": "gui.session.formationwalkonly", | "config": "gui.session.formationwalkonly", | ||||
"list": [ | "list": [ | ||||
Done Inline ActionsMight be worth adding a max here. I don't think the value makes much sense above say 512 corpses, and it would start possibly being problematic with a very large std::deque. wraitii: Might be worth adding a max here. I don't think the value makes much sense above say 512… | |||||
{ | { | ||||
Done Inline ActionsHow about adding a sensible default? Perhaps 100? Nescio: How about adding a sensible default? Perhaps 100? | |||||
Done Inline ActionsDefault is -1 (Unlimited) Stan: Default is -1 (Unlimited) | |||||
Done Inline ActionsWhy 600? vladislavbelov: Why 600? | |||||
Done Inline ActionsI didn't put any at first @wraitii asked me to add something so I put 600 if you want more you can always use -1 Stan: I didn't put any at first @wraitii asked me to add something so I put 600 if you want more you… | |||||
Done Inline ActionsAlso because deque might be slow for big sizes. Stan: Also because deque might be slow for big sizes. | |||||
"value": "true", | "value": "true", | ||||
"label": "Walk/Patrol Only", | "label": "Walk/Patrol Only", | ||||
"tooltip": "Other orders will disband existing formations." | "tooltip": "Other orders will disband existing formations." | ||||
}, | }, | ||||
{ | { | ||||
"value": "false", | "value": "false", | ||||
"label": "No Override", | "label": "No Override", | ||||
"tooltip": "Units in formations stay in formations." | "tooltip": "Units in formations stay in formations." | ||||
} | } | ||||
] | ] | ||||
} | } | ||||
] | ] | ||||
} | } | ||||
] | ] |
Wildfire Games · Phabricator
We should really be able to add a scroll bar to the options,,,