mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: add graphics quality presets system
Implement quick-access quality presets (Low, Medium, High, Ultra) that adjust multiple graphics settings at once for better user experience. Each preset configures: - Shadow rendering and distance - Anti-aliasing (MSAA) level - Normal mapping and parallax mapping - Ground clutter density The system automatically detects when settings deviate from a preset and marks them as "Custom". Presets are persisted to settings.cfg for consistency across sessions. Users can quickly switch between performance and quality modes or tweak individual settings as needed.
This commit is contained in:
parent
6a8939d420
commit
6f7c57d975
2 changed files with 211 additions and 0 deletions
|
|
@ -143,6 +143,17 @@ private:
|
|||
bool pendingAMDFramegen = false;
|
||||
bool fsrSettingsApplied_ = false;
|
||||
|
||||
// Graphics quality presets
|
||||
enum class GraphicsPreset : int {
|
||||
CUSTOM = 0,
|
||||
LOW = 1,
|
||||
MEDIUM = 2,
|
||||
HIGH = 3,
|
||||
ULTRA = 4
|
||||
};
|
||||
GraphicsPreset currentGraphicsPreset = GraphicsPreset::CUSTOM;
|
||||
GraphicsPreset pendingGraphicsPreset = GraphicsPreset::CUSTOM;
|
||||
|
||||
// UI element transparency (0.0 = fully transparent, 1.0 = fully opaque)
|
||||
float uiOpacity_ = 0.65f;
|
||||
bool minimapRotate_ = false;
|
||||
|
|
@ -252,6 +263,8 @@ private:
|
|||
void renderTalentWipeConfirmDialog(game::GameHandler& gameHandler);
|
||||
void renderEscapeMenu();
|
||||
void renderSettingsWindow();
|
||||
void applyGraphicsPreset(GraphicsPreset preset);
|
||||
void updateGraphicsPresetFromCurrentSettings();
|
||||
void renderQuestMarkers(game::GameHandler& gameHandler);
|
||||
void renderMinimapMarkers(game::GameHandler& gameHandler);
|
||||
void renderQuestObjectiveTracker(game::GameHandler& gameHandler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue