Skip to content

Commit 7baec57

Browse files
authored
Merge pull request #1 from MetisC/codex/add-new-check-options-to-home-screen
Add travel map quest/favorites panels and virtual keyboard options
2 parents 4266a4e + 23e29b4 commit 7baec57

5 files changed

Lines changed: 365 additions & 10 deletions

File tree

Assets/Resources/defaults.ini.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ SDFFontRendering=True
105105
EnableGeographicBackgrounds=False
106106
DungeonExitWagonPrompt=True
107107
TravelMapLocationsOutline=False
108+
ShowRelevantQuestLocations=False
109+
ShowFavoriteLocations=False
110+
ShowTravelMapVirtualKeyboard=False
111+
TravelMapFavoriteLocations=
108112
IllegalRestWarning=True
109113
LargeHUD=False
110114
LargeHUDDocked=True

Assets/Scripts/Game/UserInterfaceWindows/DaggerfallAdvancedSettingsWindow.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ enum IconsPositioningSchemes { classic, medium, small, smalldeckleft, smalldeckr
119119
Checkbox geographicBackgrounds;
120120
Checkbox dungeonExitWagonPrompt;
121121
Checkbox travelMapLocationsOutline;
122+
Checkbox showRelevantQuestLocations;
123+
Checkbox showFavoriteLocations;
124+
Checkbox showTravelMapVirtualKeyboard;
122125

123126
// Enhancements
124127
Checkbox modSystem;
@@ -311,6 +314,9 @@ private void Interface(Panel leftPanel, Panel rightPanel)
311314
geographicBackgrounds = AddCheckbox(rightPanel, "geographicBackgrounds", DaggerfallUnity.Settings.EnableGeographicBackgrounds);
312315
dungeonExitWagonPrompt = AddCheckbox(rightPanel, "dungeonExitWagonPrompt", DaggerfallUnity.Settings.DungeonExitWagonPrompt);
313316
travelMapLocationsOutline = AddCheckbox(rightPanel, "travelMapLocationsOutline", DaggerfallUnity.Settings.TravelMapLocationsOutline);
317+
showRelevantQuestLocations = AddCheckbox(rightPanel, "showRelevantQuestLocations", DaggerfallUnity.Settings.ShowRelevantQuestLocations);
318+
showFavoriteLocations = AddCheckbox(rightPanel, "showFavoriteLocations", DaggerfallUnity.Settings.ShowFavoriteLocations);
319+
showTravelMapVirtualKeyboard = AddCheckbox(rightPanel, "showTravelMapVirtualKeyboard", DaggerfallUnity.Settings.ShowTravelMapVirtualKeyboard);
314320
}
315321

316322
private void Enhancements(Panel leftPanel, Panel rightPanel)
@@ -485,6 +491,9 @@ private void SaveSettings()
485491
DaggerfallUnity.Settings.GuildQuestListBox = guildQuestListBox.IsChecked;
486492
DaggerfallUnity.Settings.BowLeftHandWithSwitching = bowLeftHandWithSwitching.IsChecked;
487493
DaggerfallUnity.Settings.TravelMapLocationsOutline = travelMapLocationsOutline.IsChecked;
494+
DaggerfallUnity.Settings.ShowRelevantQuestLocations = showRelevantQuestLocations.IsChecked;
495+
DaggerfallUnity.Settings.ShowFavoriteLocations = showFavoriteLocations.IsChecked;
496+
DaggerfallUnity.Settings.ShowTravelMapVirtualKeyboard = showTravelMapVirtualKeyboard.IsChecked;
488497

489498
DaggerfallUnity.Settings.DungeonAmbientLightScale = dungeonAmbientLightScale.GetValue();
490499
DaggerfallUnity.Settings.NightAmbientLightScale = nightAmbientLightScale.GetValue();
@@ -859,4 +868,4 @@ private void SoundVolume_OnMouseUp(BaseScreenComponent sender, Vector2 position)
859868

860869
#endregion
861870
}
862-
}
871+
}

0 commit comments

Comments
 (0)