shadow toggling

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-14 00:04:25 -07:00
parent b98057007b
commit ac94a2c2ed
21 changed files with 400 additions and 354 deletions

View file

@ -6,6 +6,7 @@ var msaa = 1
var ssaa = 1
var scaling = 0
var theme = 0
var shadows = 1
var theme_index = [
"res://UI/Themes/Dark.tres",
@ -25,6 +26,7 @@ func updateConfig():
config.set_value("GRAPHICS", "fov", FOV)
config.set_value("GRAPHICS", "msaa", msaa)
config.set_value("GRAPHICS", "ssaa", ssaa)
config.set_value("GRAPHICS", "shadows", shadows)
config.set_value("INTERFACE", "scaling", scaling)
config.set_value("INTERFACE", "theme", theme)
config.save("user://settings.cfg")
@ -39,6 +41,7 @@ func loadConfig():
FOV = config.get_value("GRAPHICS", "fov")
msaa = config.get_value("GRAPHICS", "msaa")
ssaa = config.get_value("GRAPHICS", "ssaa")
shadows = config.get_value("GRAPHICS", "shadows")
scaling = config.get_value("INTERFACE", "scaling")
theme = config.get_value("INTERFACE", "theme")
print("config loaded.")