-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global MsgBoxes and Commandline #2583
Global MsgBoxes and Commandline #2583
Conversation
Thanks. If you want, we can use this PR as "learning PR" on Friday? |
Even a clang-format off/on between else and if seems to give problems with clang-format 10.0.0. So I moved the comment with clang-format off/on to before the else. Let's see if this solves the clang-format problem.
Well, if we are going to experiment, I prefer not to do that on any of my working branches, but of coarse we always can create a temporary branch to do so. |
Yes sure. But we might also want to touch this one. But let's wait what tomorrow brings ;-) BTW: Congrats the coding style now worked ;-) |
This PR modifies soundbase and all sound implementations at once, because all CSound implementations depend on CSoundbase, so these can't be merged one by one in steps. This first step however still has backwards compatibility to the rest of the code. The second stage steps will be removing the backwards compatibility (which a.o. will improve error handling), so than we need to modify main.cpp, client.cpp and probably some other files too. but this can be done in multiple PR'steps. The third stage steps will be using the new soundproperties functionality which will affect several gui files, but also these changes can be merged in multiple steps. NOTES: Since this PR Needs jamulussoftware#2583 Global MsgBoxes and Commandline to be implemented first, this commit has to include these changes into global.h and main.cpp too. The avoid clang-format issues again this PR also includes a modified settings.cpp.
Should this PR be closed in favor of #2598? |
NOTES: Since this PR Needs jamulussoftware#2583 Global MsgBoxes and Commandline to be implemented first, this commit has to include these changes into global.h and main.cpp too. The avoid clang-format issues again this PR also includes a modified settings.cpp.
Short description of changes
New attempt replacing #2541
Added global messagebox and commandline parameter parsing classes to global.h/main.c
Adapted all messageboxes to use the new CMsgBoxes class.
CHANGELOG:
Context: Fixes an issue?
General improvement and preparation for sound-redesign.
Does this change need documentation? What needs to be documented and how?
Status of this Pull Request
What is missing until this pull request can be merged?
Checklist