mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-01 06:24:55 -07:00
Give options a designated initializer to make crossreferencing their usage easier (#905)
## Description of change This always bothered me, you have a commandline arg and it's a massive pain in the ass to work out where it's used because the flag never really matches the enum name. Array designated initializers are a C99 extension that clang+gcc both support. I suspect msvc still blows up, but are people still using that? I can change it to a std::invoke lambda instead. Chose to drop the (unused?) option sorting func because, well, unused. ## Testing Builds in CI, didn't do much more intense testing.
This commit is contained in:
+634
-812
File diff suppressed because it is too large
Load Diff
@@ -325,6 +325,8 @@ namespace launcher {
|
|||||||
OBSWebSocketDebug,
|
OBSWebSocketDebug,
|
||||||
ScreenshotIncludeOverlay,
|
ScreenshotIncludeOverlay,
|
||||||
ScreenshotSubscreens,
|
ScreenshotSubscreens,
|
||||||
|
|
||||||
|
_Count,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class OptionsCategory {
|
enum class OptionsCategory {
|
||||||
|
|||||||
Reference in New Issue
Block a user