Merge branch 'main' into feat/netcode-rework

This commit is contained in:
2024-05-30 19:25:14 +02:00
parent 851c9a5190
commit 60ab679756
175 changed files with 1443 additions and 112 deletions
+25
View File
@@ -0,0 +1,25 @@
import { defineStore } from "pinia";
enum CardStyles {
HERON = "heron",
ORIGINAL = "original"
}
export const useSettingsStore = defineStore("settingstore", {
state: () => ({
cardStyle: CardStyles.HERON,
shaderQuality: 3,
shaderFramerate: 0,
shaderPixelated: true
}),
actions: {
switchCardStyles() {
if (this.cardStyle === CardStyles.HERON) {
this.cardStyle = CardStyles.ORIGINAL
} else {
this.cardStyle = CardStyles.HERON
}
}
},
persist: true
});