INCONS-05 + triage final d'auditoria game/

- INCONS-05: `buildScreenConfig` passa a return amb designated
  initializers, consistent amb `buildAudioConfig`.
- INCONS-01: marcat DONE (parcial) — queden 3 estils intencionals
  (namespace per estat compartit, classes per entitats, constexpr per
  alias), ja no barreja fortuïta.
- INCONS-03/04, PATCH-03, COUP-04, CONV-04: WONTFIX amb raó
  documentada (contractes diferents, linter ho dicta, o sobre-abstracció
  per a un únic caller).
- COUP-02/03, CONV-02 (parcial): DEFERRED a `refactor/options-class`
  (equivalent a COUP-01 de l'audit d'àudio).
- CONV-01: DONE per HC-01/02/03/04/05/06.
This commit is contained in:
JailDesigner committed 2026-04-20 18:16:05 +02:00
1 parent ba5cddd427
commit 1643811d86
2 files changed
+20 -20

No files matched your search

+9 -9
View File
@@ -504,15 +504,15 @@ namespace Options {
}
auto buildScreenConfig() -> Screen::Config {
Screen::Config config;
config.zoom = window.zoom;
config.fullscreen = window.fullscreen;
config.vsync = video.vsync;
config.scaling_mode = video.scaling_mode;
config.texture_filter = video.texture_filter;
config.gpu_acceleration = video.gpu.acceleration;
config.preferred_driver = video.gpu.preferred_driver;
return config;
return {
.zoom = window.zoom,
.fullscreen = window.fullscreen,
.vsync = video.vsync,
.scaling_mode = video.scaling_mode,
.texture_filter = video.texture_filter,
.gpu_acceleration = video.gpu.acceleration,
.preferred_driver = video.gpu.preferred_driver,
};
}
auto buildAudioConfig() -> ::Audio::Config {