[feature] disable studio sounds
PlayUISound is used to play tool sound effects e.g. while rotating an actor. https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/studio/studio.cpp#L2264-L2267
Tooltip sounds are triggered via scripts: https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/shared/sharhelp.cht#L572-L583
https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/kauai/src/screxeg.cpp#L835-L853
ADOPT_WAVE is used to link sounds to mouse click events for toolbar buttons
Clicking the Scene cover https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/studio/studio.cht#L481
Clicking secondary tools https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/studio/sectools.cht#L385
Can these be made into a user preference at some point in the future. We are a long way off from the modern version with new renderer, higher resolutions, etc - but there is a settings dialog of a sort, the options could go there...
Sure.
As an example, Better Speed is saved in the registry.
https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/studio/utest.cpp#L1997-L2016
It also saves a small blob of binary data as UserData
This includes a flag kflgMcZeeAudio for disabling McZee tooltips.
https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/inc/stdiodef.h#L885-L911
https://github.com/foone/3DMMForever/blob/79b301091175459dd39ec53bbb8a711248e969c6/src/shared/sharhelp.cht#L572-L583