refactor(gfx): reorganize graphics includes and introduce new types

- Updated include paths for various graphics-related headers to improve organization and clarity.
- Introduced new types for SNES color, palette, and tile management, enhancing the structure of the graphics subsystem.
- Refactored existing code to utilize the new types, ensuring consistency across the codebase.

Benefits:
- Improves maintainability and readability of the graphics code.
- Facilitates future enhancements and optimizations within the graphics subsystem.
This commit is contained in:
scawful
2025-10-13 00:09:34 -04:00
parent c0d410d7f0
commit 6374da6194
131 changed files with 429 additions and 315 deletions

View File

@@ -40,6 +40,9 @@ class FeatureFlags {
// Enable performance monitoring and timing.
bool kEnablePerformanceMonitoring = true;
// Enable the new tiered graphics architecture.
bool kEnableTieredGfxArchitecture = true;
// Use NFD (Native File Dialog) instead of bespoke file dialog implementation.
#if defined(YAZE_ENABLE_NFD) && YAZE_ENABLE_NFD
bool kUseNativeFileDialog = true;
@@ -111,6 +114,8 @@ class FeatureFlags {
std::to_string(get().overworld.kApplyZSCustomOverworldASM) + "\n";
result += "kUseNativeFileDialog: " +
std::to_string(get().kUseNativeFileDialog) + "\n";
result += "kEnableTieredGfxArchitecture: " +
std::to_string(get().kEnableTieredGfxArchitecture) + "\n";
return result;
}
};